]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TOF/AliTOFTDCPackedHit.h
updating ChangeLog
[u/mrichter/AliRoot.git] / TOF / AliTOFTDCPackedHit.h
1 #ifndef ALITOFTDCPACHEDHIT_H
2 #define ALITOFTDCPACKEDHIT_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 AliTOFTDCPackedHit
18 {
19  public:
20   UInt_t GetHitTime() const {return fHitTime;};
21   UInt_t GetTOTWidth() const {return fTOTWidth;};
22   UInt_t GetChan() const {return fChan;};
23   UInt_t GetTDCID() const {return fTDCID;};
24   UInt_t GetEBit() const {return fEBit;};
25   UInt_t GetPSBits() const {return fPSBits;};
26   UInt_t GetMBO() const {return fMBO;};
27  private:
28   UInt_t fHitTime:  13; // time-of-flight measurement
29   UInt_t fTOTWidth:  8; // time-over-threshold measurement
30   UInt_t fChan:      3; // TDC channel number
31   UInt_t fTDCID:     4; // TDC ID
32   UInt_t fEBit:      1; // E bit
33   UInt_t fPSBits:    2; // PS bits
34   UInt_t fMBO:       1; // must-be-zero bits
35 };
36
37 #endif