Line data Source code
1 : #ifndef ALITOFTRMGLOBALHEADER_H
2 : #define ALITOFTRMGLOBALHEADER_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 AliTOFTRMGlobalHeader
18 : {
19 : public:
20 43776 : UInt_t GetSlotID() const {return fSlotID;};
21 10944 : UInt_t GetEventWords() const {return fEventWords;};
22 10944 : UInt_t GetACQBits() const {return fACQBits;};
23 10944 : UInt_t GetLBit() const {return fLBit;};
24 10944 : UInt_t GetEBit() const {return fEBit;};
25 : UInt_t GetMBZ() const {return fMBZ;};
26 : UInt_t GetWordType() const {return fWordType;};
27 : private:
28 : UInt_t fSlotID: 4;
29 : UInt_t fEventWords: 13;
30 : UInt_t fACQBits: 2;
31 : UInt_t fLBit: 1;
32 : UInt_t fEBit: 1;
33 : UInt_t fMBZ: 7;
34 : UInt_t fWordType: 4;
35 : };
36 :
37 : #endif /* ALITOFTRMGLOBALHEADER_H */
|