ClassImp(AliTOFHitData)
AliTOFHitData::AliTOFHitData():
- TObject(),fDDLID(-1),fSlotID(-1),fACQ(-1),fChain(-1),fPS(-1),fTDC(-1),fChan(-1),fTime(-1),fTimeBin(-1),fTOT(-1),fTOTBin(-1)
+ TObject(),fDDLID(-1),fSlotID(-1),fACQ(-1),fChain(-1),fPS(-1),fTDC(-1),fChan(-1),fTime(-1),fTimeBin(-1),fTOT(-1),fTOTBin(-1),fDeltaBunchID(-1),fDeltaEventCounter(-1)
{
//ctor
}
//-----------------------------------------------------------------------------
AliTOFHitData::AliTOFHitData(const AliTOFHitData &source):
- TObject(),fDDLID(-1),fSlotID(-1),fACQ(-1),fChain(-1),fPS(-1),fTDC(-1),fChan(-1),fTime(-1),fTimeBin(-1),fTOT(-1),fTOTBin(-1){
+ TObject(),fDDLID(-1),fSlotID(-1),fACQ(-1),fChain(-1),fPS(-1),fTDC(-1),fChan(-1),fTime(-1),fTimeBin(-1),fTOT(-1),fTOTBin(-1),fDeltaBunchID(-1),fDeltaEventCounter(-1){
// copy constructor
for (Int_t i = 0; i < 5; i++) this->fVolume[i]=source.fVolume[i];
this->fDDLID=source.fDDLID;
this->fChan=source.fChan;
this->fTime=source.fTime;
this->fTimeBin=source.fTimeBin;
+ this->fDeltaBunchID=source.fDeltaBunchID;
+ this->fDeltaEventCounter=source.fDeltaEventCounter;
}
//-----------------------------------------------------------------------------
this->fTimeBin= source.fTimeBin;
this->fTOT= source.fTOT;
this->fTOTBin= source.fTOTBin;
+ this->fDeltaBunchID=source.fDeltaBunchID;
+ this->fDeltaEventCounter=source.fDeltaEventCounter;
return *this;
}
//----------------------------------------------------------------------------
Int_t GetTimeBin() const {return fTimeBin;};
Float_t GetTOT() const {return fTOT;};
Int_t GetTOTBin() const {return fTOTBin;};
+ Int_t GetDeltaBunchID() const {return fDeltaBunchID;};
+ Int_t GetDeltaEventCounter() const {return fDeltaEventCounter;};
void SetVolume(Int_t *Volume);
void SetTimeBin(Int_t timeBin) {fTimeBin=timeBin;};
void SetTOT(Float_t TOT) { fTOT=TOT;};
void SetTOTBin(Int_t TOTBin) {fTOTBin=TOTBin;};
+ void SetDeltaBunchID(Int_t Value) {fDeltaBunchID=Value;};
+ void SetDeltaEventCounter(Int_t Value) {fDeltaEventCounter=Value;};
private:
Int_t fVolume[5]; // TOF volume index
Int_t fTimeBin; // time [TDC bin = 24.4ps]
Float_t fTOT; // tot [ns]
Int_t fTOTBin; // TOT [TOT bin = 48.4ps]
+ Int_t fDeltaBunchID; // TRM bunchID - miniEventID
+ Int_t fDeltaEventCounter; // TRM event counter - DRM local event counter
ClassDef(AliTOFHitData, 1);
};