Line data Source code
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 */
5 :
6 : /* $Id$ */
7 :
8 : ////////////////////////////////////////////////////
9 : // //
10 : // This class provides the TOF raw data object //
11 : // //
12 : ////////////////////////////////////////////////////
13 :
14 : #include "TObject.h"
15 :
16 : class AliTOFrawData : public TObject {
17 : // TOF rawData class
18 : public:
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 150 : ~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);
26 :
27 600 : Int_t GetTRM() const {return fTRM;};
28 400 : Int_t GetTRMchain() const {return fTRMchain;};
29 402 : Int_t GetTDC() const {return fTDC;};
30 400 : Int_t GetTDCchannel() const {return fTDCchannel;};
31 :
32 800 : Int_t GetTOF() const {return fTime;};
33 : Int_t GetTOT() const;
34 0 : Int_t GetLeading() const {return fLeading;};
35 0 : Int_t GetTrailing() const {return fTrailing;};
36 :
37 200 : Int_t GetDeltaBC() const {return fDeltaBC;};
38 200 : Int_t GetL0L1Latency() const {return fL0L1Latency;};
39 :
40 0 : void SetDeltaBC(Int_t value) {fDeltaBC = value;};
41 0 : void SetL0L1Latency(Int_t value) {fL0L1Latency = value;};
42 :
43 : private:
44 : Int_t fACQflag; // ACQ flag
45 : Int_t fPSbit; // Packing bit
46 :
47 : Int_t fTRM; // TRM ID
48 : Int_t fTRMchain; // TRM Chain ID
49 : Int_t fTDC; // TDC number
50 : Int_t fTDCchannel; // TDC channel number
51 :
52 : Int_t fLeading; // Leading Edge
53 : Int_t fTrailing; // Trailing Edge
54 : Int_t fToT; // Time-Over-Threashould
55 : Int_t fTime; // Time
56 :
57 : Int_t fError; // Error flag
58 :
59 : Int_t fDeltaBC; // delta BC
60 : Int_t fL0L1Latency; // L0-L1 latency
61 :
62 26 : ClassDef(AliTOFrawData, 2) // class for TOF raw data
63 : };
64 :
65 : #endif
|