Line data Source code
1 : #ifndef ALITOFTRMGLOBALTRAILER_H
2 : #define ALITOFTRMGLOBALTRAILER_H
3 :
4 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 : * See cxx source for full Copyright notice */
6 :
7 : /* $Id: AliTOFRawDataFormat.h 23881 2008-02-12 16:46:22Z decaro $ */
8 :
9 : ///////////////////////////////////////////////////////////////
10 : // //
11 : // This classes provide the TOF raw data bit fields. //
12 : // //
13 : ///////////////////////////////////////////////////////////////
14 :
15 : #include "TROOT.h"
16 :
17 : class AliTOFTRMGlobalTrailer
18 : {
19 : public:
20 : UInt_t GetSlotID() const {return fSlotID;};
21 10944 : UInt_t GetEventCRC() const {return fEventCRC;};
22 10944 : UInt_t GetEventCounter() const {return fEventCounter;};
23 : UInt_t GetWordType() const {return fWordType;};
24 : private:
25 : UInt_t fSlotID: 4; // TRM number
26 : UInt_t fEventCRC: 12; // event CRC
27 : UInt_t fEventCounter: 12; // event couter
28 : UInt_t fWordType: 4; // word type
29 : };
30 :
31 : #endif /* ALITOFTRMGLOBALTRAILER_H */
|