]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TOF/AliTOFTDCPackedHit.h
New task to check TPC-ITS track prolongation eff with cosmics
[u/mrichter/AliRoot.git] / TOF / AliTOFTDCPackedHit.h
CommitLineData
702659f6 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
17class AliTOFTDCPackedHit
18{
19 public:
20 UInt_t GetHitTime() {return fHitTime;};
21 UInt_t GetTOTWidth() {return fTOTWidth;};
22 UInt_t GetChan() {return fChan;};
23 UInt_t GetTDCID() {return fTDCID;};
24 UInt_t GetEBit() {return fEBit;};
25 UInt_t GetPSBits() {return fPSBits;};
26 UInt_t GetMBO() {return fMBO;};
27 private:
ebe73777 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
702659f6 35};
36
37#endif