]>
Commit | Line | Data |
---|---|---|
15ec34b9 | 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 | |
bf33f8f0 | 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 |
2bf4d9d6 | 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 |
15ec34b9 | 22 | ~AliTOFrawData() {}; // default dtr |
23 | AliTOFrawData(const AliTOFrawData& r); // dummy copy constructor | |
24 | AliTOFrawData& operator=(const AliTOFrawData& r); // dummy assignment operator | |
bf33f8f0 | 25 | void Update(Int_t tof, Int_t tot, Int_t leading, Int_t trailing, Int_t psBit, Int_t acq, Int_t errorFlag); |
15ec34b9 | 26 | |
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;}; | |
31 | ||
bf33f8f0 | 32 | Int_t GetTOF() const {return fTime;}; |
0192b95f | 33 | Int_t GetTOT() const; |
bf33f8f0 | 34 | Int_t GetLeading() const {return fLeading;}; |
35 | Int_t GetTrailing() const {return fTrailing;}; | |
2bf4d9d6 | 36 | |
37 | Int_t GetDeltaBC() const {return fDeltaBC;}; | |
38 | Int_t GetL0L1Latency() const {return fL0L1Latency;}; | |
39 | ||
40 | void SetDeltaBC(Int_t value) {fDeltaBC = value;}; | |
41 | void SetL0L1Latency(Int_t value) {fL0L1Latency = value;}; | |
15ec34b9 | 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 | ||
bf33f8f0 | 52 | Int_t fLeading; // Leading Edge |
53 | Int_t fTrailing; // Trailing Edge | |
54 | Int_t fToT; // Time-Over-Threashould | |
55 | Int_t fTime; // Time | |
2bf4d9d6 | 56 | |
15ec34b9 | 57 | Int_t fError; // Error flag |
58 | ||
2bf4d9d6 | 59 | Int_t fDeltaBC; // delta BC |
60 | Int_t fL0L1Latency; // L0-L1 latency | |
61 | ||
62 | ClassDef(AliTOFrawData, 2) // class for TOF raw data | |
15ec34b9 | 63 | }; |
64 | ||
65 | #endif |