CbmRoot
CbmMuchBeamTimeDigi.cxx
Go to the documentation of this file.
1 // TODO comment to be changed
15 #include "CbmMuchBeamTimeDigi.h"
16 
17 // -------------------------------------------------------------------------
19  : CbmMuchDigi()
20  , fPadX(-1)
21  , fPadY(-1)
22  , fRocId(-1)
23  , fNxId(-1)
24  , fNxCh(-1)
25  , fElink(-1) {}
26 // -------------------------------------------------------------------------
27 
28 
29 // -------------------------------------------------------------------------
31  Int_t charge,
32  ULong64_t time)
33  : CbmMuchDigi(address, charge, time)
34  , fPadX(-1)
35  , fPadY(-1)
36  , fRocId(-1)
37  , fNxId(-1)
38  , fNxCh(-1)
39  , fElink(-1) {}
40 // -------------------------------------------------------------------------
41 
43  : CbmMuchDigi(*digi)
44  , fPadX(digi->GetPadX())
45  , fPadY(digi->GetPadY())
46  , fRocId(digi->GetRocId())
47  , fNxId(digi->GetNxId())
48  , fNxCh(digi->GetNxCh())
49  , fElink(digi->GetElink()) {}
50 
52  : CbmMuchDigi(rhs)
53  , fPadX(rhs.fPadX)
54  , fPadY(rhs.fPadY)
55  , fRocId(rhs.fRocId)
56  , fNxId(rhs.fNxId)
57  , fNxCh(rhs.fNxCh)
58  , fElink(rhs.fElink) {}
59 
62 
63  if (this != &rhs) {
65  fPadX = rhs.fPadX;
66  fPadY = rhs.fPadY;
67  fRocId = rhs.fRocId;
68  fNxId = rhs.fNxId;
69  fNxCh = rhs.fNxCh;
70  fElink = rhs.fElink;
71  }
72  return *this;
73 }
74 
CbmMuchBeamTimeDigi::fNxId
Int_t fNxId
Definition: CbmMuchBeamTimeDigi.h:67
CbmMuchBeamTimeDigi::fPadY
Int_t fPadY
Definition: CbmMuchBeamTimeDigi.h:65
CbmMuchBeamTimeDigi
Definition: CbmMuchBeamTimeDigi.h:29
CbmMuchBeamTimeDigi::fPadX
Int_t fPadX
Definition: CbmMuchBeamTimeDigi.h:64
CbmMuchBeamTimeDigi::operator=
CbmMuchBeamTimeDigi & operator=(const CbmMuchBeamTimeDigi &)
Definition: CbmMuchBeamTimeDigi.cxx:61
CbmMuchBeamTimeDigi.h
ClassImp
ClassImp(CbmConverterManager) InitStatus CbmConverterManager
Definition: CbmConverterManager.cxx:12
CbmMuchBeamTimeDigi::fNxCh
Int_t fNxCh
Definition: CbmMuchBeamTimeDigi.h:68
CbmMuchDigi
Definition: CbmMuchDigi.h:31
CbmMuchBeamTimeDigi::fElink
Int_t fElink
Definition: CbmMuchBeamTimeDigi.h:69
CbmMuchBeamTimeDigi::fRocId
Int_t fRocId
Definition: CbmMuchBeamTimeDigi.h:66
CbmMuchBeamTimeDigi::CbmMuchBeamTimeDigi
CbmMuchBeamTimeDigi()
Definition: CbmMuchBeamTimeDigi.cxx:18
CbmMuchDigi::operator=
CbmMuchDigi & operator=(const CbmMuchDigi &)
Definition: CbmMuchDigi.cxx:23