]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFDRMStatusHeader1.h
o fix for coverity bug 19907
[u/mrichter/AliRoot.git] / TOF / AliTOFDRMStatusHeader1.h
1 #ifndef ALITOFDRMSTATUSHEADER1_H
2 #define ALITOFDRMSTATUSHEADER1_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 AliTOFDRMStatusHeader1
18 {
19  public:
20   UInt_t GetSlotID() const {return fSlotID;};
21   UInt_t GetPartecipatingSlotID() const {return fPartecipatingSlotID;};
22   UInt_t GetCBit() const {return fCBit;};
23   UInt_t GetVersID() const {return fVersID;};
24   UInt_t GetDRMhSize() const {return fDRMhSize;};
25   UInt_t GetUNDEFINED() const {return fUNDEFINED;};
26   UInt_t GetWordType() const {return fWordType;};
27  private:
28   UInt_t fSlotID:              4;
29   UInt_t fPartecipatingSlotID: 11;
30   UInt_t fCBit:                1;
31   UInt_t fVersID:              5;
32   UInt_t fDRMhSize:            4;
33   UInt_t fUNDEFINED:           3;
34   UInt_t fWordType:            4;
35 };
36
37 #endif