1 #ifndef ALITOFRAWDATA_H
2 #define ALITOFRAWDATA_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////////
10 // This class provides the TOF raw data object //
12 ////////////////////////////////////////////////////
16 class AliTOFrawData : public TObject {
19 AliTOFrawData(); // default ctr
20 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
21 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
22 ~AliTOFrawData() {}; // default dtr
23 AliTOFrawData(const AliTOFrawData& r); // dummy copy constructor
24 AliTOFrawData& operator=(const AliTOFrawData& r); // dummy assignment operator
25 void Update(Int_t tof, Int_t tot, Int_t leading, Int_t trailing, Int_t psBit, Int_t acq, Int_t errorFlag);
27 Int_t GetTRM() const {return fTRM;};
28 Int_t GetTRMchain() const {return fTRMchain;};
29 Int_t GetTDC() const {return fTDC;};
30 Int_t GetTDCchannel() const {return fTDCchannel;};
32 Int_t GetTOF() const {return fTime;};
34 Int_t GetLeading() const {return fLeading;};
35 Int_t GetTrailing() const {return fTrailing;};
37 Int_t GetDeltaBC() const {return fDeltaBC;};
38 Int_t GetL0L1Latency() const {return fL0L1Latency;};
40 void SetDeltaBC(Int_t value) {fDeltaBC = value;};
41 void SetL0L1Latency(Int_t value) {fL0L1Latency = value;};
44 Int_t fACQflag; // ACQ flag
45 Int_t fPSbit; // Packing bit
48 Int_t fTRMchain; // TRM Chain ID
49 Int_t fTDC; // TDC number
50 Int_t fTDCchannel; // TDC channel number
52 Int_t fLeading; // Leading Edge
53 Int_t fTrailing; // Trailing Edge
54 Int_t fToT; // Time-Over-Threashould
57 Int_t fError; // Error flag
59 Int_t fDeltaBC; // delta BC
60 Int_t fL0L1Latency; // L0-L1 latency
62 ClassDef(AliTOFrawData, 2) // class for TOF raw data