CbmRoot
Loading...
Searching...
No Matches
CbmMuchBeamTimeDigi.h
Go to the documentation of this file.
1/* Copyright (C) 2014-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Mikhail Ryzhinskiy, Florian Uhlig [committer], Volker Friese, Pierre-Alain Loizeau, David Emschermann */
4
5// TODO comment to be changed
23#ifndef CBMMUCHBEAMTIMEDIGI_H
24#define CBMMUCHBEAMTIMEDIGI_H 1
25
26#include "CbmMuchDigi.h" // for CbmMuchDigi
27
28#include <Rtypes.h> // for ClassDef
29
30#include <cstdint>
31#include <string> // for string
32
34public:
36 CbmMuchBeamTimeDigi(int32_t address, int32_t charge = 0, uint64_t time = 0);
40
41
43
44 void SetPadX(int32_t padX) { fPadX = padX; }
45 void SetPadY(int32_t padY) { fPadY = padY; }
46 void SetRocId(int32_t rocId) { fRocId = rocId; }
47 void SetNxId(int32_t nxId) { fNxId = nxId; }
48 void SetNxCh(int32_t nxCh) { fNxCh = nxCh; }
49 void SetElink(int32_t elink) { fElink = elink; }
50
51 int32_t GetPadX() const { return fPadX; }
52 int32_t GetPadY() const { return fPadY; }
53 int32_t GetRocId() const { return fRocId; }
54 int32_t GetNxId() const { return fNxId; }
55 int32_t GetNxCh() const { return fNxCh; }
56 int32_t GetElink() const { return fElink; }
57
58 std::string ToString() const { return std::string {""}; }
59
60
64 static const char* GetClassName() { return "CbmMuchBeamTimeDigi"; }
65
66
67private:
68 int32_t fPadX;
69 int32_t fPadY;
70 int32_t fRocId;
71 int32_t fNxId;
72 int32_t fNxCh;
73 int32_t fElink;
74
76};
77#endif
void SetNxId(int32_t nxId)
void SetPadX(int32_t padX)
void SetPadY(int32_t padY)
ClassDef(CbmMuchBeamTimeDigi, 3)
CbmMuchBeamTimeDigi & operator=(const CbmMuchBeamTimeDigi &)
void SetRocId(int32_t rocId)
std::string ToString() const
void SetNxCh(int32_t nxCh)
static const char * GetClassName()
Class name (static)
void SetElink(int32_t elink)