]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFrawData.h
Unique container name for each task
[u/mrichter/AliRoot.git] / TOF / AliTOFrawData.h
index 6c66428fc7f7f1cbaf4a3d9c9b628c0f26702729..4ad50961ef661d893e16a38280be45e5ff0787b4 100644 (file)
@@ -18,21 +18,27 @@ class AliTOFrawData : public TObject {
  public:
   AliTOFrawData(); // default ctr
   AliTOFrawData(Int_t a, Int_t b, Int_t c, Int_t d, Int_t e, Int_t f, Int_t g, Int_t h, Int_t l); // ctr
-  AliTOFrawData(Int_t a, Int_t b, Int_t c, Int_t d, Int_t e, Int_t f, Float_t ee, Float_t ff, Int_t g, Int_t h, Int_t l); // ctr
+  AliTOFrawData(Int_t a, Int_t b, Int_t c, Int_t d, Int_t e, Int_t f, Int_t ee, Int_t ff, Int_t g, Int_t h, Int_t l, Int_t deltaBC = 0, Int_t l0l1 = 0); // ctr
   ~AliTOFrawData() {}; // default dtr
   AliTOFrawData(const AliTOFrawData& r);     // dummy copy constructor
   AliTOFrawData& operator=(const AliTOFrawData& r); // dummy assignment operator
-  void Update(Float_t tof, Float_t tot, Float_t leading, Float_t trailing, Int_t psBit, Int_t acq, Int_t errorFlag);
+  void Update(Int_t tof, Int_t tot, Int_t leading, Int_t trailing, Int_t psBit, Int_t acq, Int_t errorFlag);
 
   Int_t GetTRM()        const {return fTRM;};
   Int_t GetTRMchain()   const {return fTRMchain;};
   Int_t GetTDC()        const {return fTDC;};
   Int_t GetTDCchannel() const {return fTDCchannel;};
   
-  Float_t GetTOF() const {return fTime;};
-  Float_t GetTOT() const {return fToT;};
-  Float_t GetLeading() const {return fLeading;};
-  Float_t GetTrailing() const {return fTrailing;};
+  Int_t GetTOF() const {return fTime;};
+  Int_t GetTOT() const;
+  Int_t GetLeading() const {return fLeading;};
+  Int_t GetTrailing() const {return fTrailing;};
+
+  Int_t GetDeltaBC() const {return fDeltaBC;};
+  Int_t GetL0L1Latency() const {return fL0L1Latency;};
+
+  void SetDeltaBC(Int_t value) {fDeltaBC = value;};
+  void SetL0L1Latency(Int_t value) {fL0L1Latency = value;};
   
  private:
   Int_t fACQflag;    // ACQ flag
@@ -43,14 +49,17 @@ class AliTOFrawData : public TObject {
   Int_t fTDC;        // TDC number 
   Int_t fTDCchannel; // TDC channel number
   
-  Float_t fLeading;  // Leading Edge
-  Float_t fTrailing; // Trailing Edge
-  Float_t fToT;      // Time-Over-Threashould
-  Float_t fTime;     // Time
-  
+  Int_t fLeading;  // Leading Edge
+  Int_t fTrailing; // Trailing Edge
+  Int_t fToT;      // Time-Over-Threashould
+  Int_t fTime;     // Time
+
   Int_t fError;      // Error flag
   
-  ClassDef(AliTOFrawData, 0)  // class for TOF raw data
+  Int_t fDeltaBC; // delta BC
+  Int_t fL0L1Latency; // L0-L1 latency
+  
+  ClassDef(AliTOFrawData, 2)  // class for TOF raw data
 };
 
 #endif