]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Added two private member, fDeltaBunchID and fDeltaEventCounter, and related getter...
authordecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 19 Sep 2008 16:48:26 +0000 (16:48 +0000)
committerdecaro <decaro@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 19 Sep 2008 16:48:26 +0000 (16:48 +0000)
TOF/AliTOFHitData.cxx
TOF/AliTOFHitData.h

index 02d1dc6695179bb47dc672570e90ac88b9a3402e..503a337dd5e764a212bc707a00e1349c00f152c1 100644 (file)
@@ -32,14 +32,14 @@ $Log$
 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;
@@ -53,6 +53,8 @@ AliTOFHitData::AliTOFHitData(const AliTOFHitData &source):
   this->fChan=source.fChan;
   this->fTime=source.fTime;
   this->fTimeBin=source.fTimeBin;
+  this->fDeltaBunchID=source.fDeltaBunchID;
+  this->fDeltaEventCounter=source.fDeltaEventCounter;
 }
 
 //-----------------------------------------------------------------------------
@@ -71,6 +73,8 @@ AliTOFHitData& AliTOFHitData::operator=(const AliTOFHitData & source) {
   this->fTimeBin= source.fTimeBin;
   this->fTOT= source.fTOT;
   this->fTOTBin= source.fTOTBin;
+  this->fDeltaBunchID=source.fDeltaBunchID;
+  this->fDeltaEventCounter=source.fDeltaEventCounter;
   return *this;
 }
 //----------------------------------------------------------------------------
index 33cf39eba5eccc179479ee7e76ac2d7fd257b026..fbe61f6164fdc419fdc29994950d7bfab02802e3 100644 (file)
@@ -36,6 +36,8 @@ class AliTOFHitData : public TObject{
   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);
 
@@ -50,6 +52,8 @@ class AliTOFHitData : public TObject{
   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
@@ -64,6 +68,8 @@ class AliTOFHitData : public TObject{
   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);
 };