]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFTRMChainHeader.h
restore threshold getters after parameter dynamics update (fw v. >= A012)
[u/mrichter/AliRoot.git] / TOF / AliTOFTRMChainHeader.h
1 #ifndef ALITOFTRMCHAINHEADER_H
2 #define ALITOFTRMCHAINHEADER_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 AliTOFTRMChainHeader
18 {
19  public:
20   UInt_t GetSlotID() const {return fSlotID;};
21   UInt_t GetBunchID() const {return fBunchID;};
22   UInt_t GetPB24Temp() const {return fPB24Temp;};
23   UInt_t GetPB24ID() const {return fPB24ID;};
24   UInt_t GetTSBit() const {return fTSBit;};
25   UInt_t GetWordType() const {return fWordType;};
26  private:
27   UInt_t fSlotID:    4; // TRM number
28   UInt_t fBunchID:  12; // bunch ID
29   UInt_t fPB24Temp:  8; // PB24 temperature
30   UInt_t fPB24ID:    3; // PB24 ID
31   UInt_t fTSBit:     1; // TS bit
32   UInt_t fWordType:  4; // word type
33 };
34
35 #endif