]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFTDCUnpackedHit.h
coveritiy
[u/mrichter/AliRoot.git] / TOF / AliTOFTDCUnpackedHit.h
CommitLineData
702659f6 1#ifndef ALITOFTDCUNPACHEDHIT_H
2#define ALITOFTDCUNPACKEDHIT_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
17class AliTOFTDCUnpackedHit
18{
19 public:
46b17363 20 UInt_t GetHitTime() const {return fHitTime;};
21 UInt_t GetChan() const {return fChan;};
22 UInt_t GetTDCID() const {return fTDCID;};
23 UInt_t GetEBit() const {return fEBit;};
24 UInt_t GetPSBits() const {return fPSBits;};
25 UInt_t GetMBO() const {return fMBO;};
702659f6 26 private:
ebe73777 27 UInt_t fHitTime: 21; // leading or trailing edge measurement
28 UInt_t fChan: 3; // TDC channel number
29 UInt_t fTDCID: 4; // TDC ID
30 UInt_t fEBit: 1; // E bit
31 UInt_t fPSBits: 2; // PS bits
32 UInt_t fMBO: 1; // must-be-zero bits
702659f6 33};
34
35#endif