1 #ifndef ALITOFHITFIELD_H
2 #define ALITOFHITFIELD_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 ///////////////////////////////////////////////////////////////
8 // This class provides the minimum-size TOF hit info //
10 // author: Roberto Preghenella (R+) //
11 // preghenella@bo.infn.it //
13 ///////////////////////////////////////////////////////////////
22 AliTOFHitField(); // default constructor
23 virtual ~AliTOFHitField(); // default destructor
24 AliTOFHitField(const AliTOFHitField &source); // copy constructor
25 AliTOFHitField &operator=(const AliTOFHitField &source); // operator=
27 UInt_t GetIndex() const {return fIndex;}; // get index
28 UShort_t GetTimeBin() const {return fTimeBin;}; // get time bin
29 UShort_t GetTOTBin() const {return fTOTBin;}; // get TOT bin
30 UChar_t GetDeltaBC() const {return fDeltaBC;}; // get delta BC
31 UShort_t GetL0L1Latency() const {return fL0L1Latency;}; // get L0-L1 latency
33 void SetIndex(UInt_t value) {fIndex = value;}; // set index
34 void SetTimeBin(UShort_t value) {fTimeBin = value;}; // set time bin
35 void SetTOTBin(UShort_t value) {fTOTBin = value;}; // set TOT bin
36 void SetDeltaBC(UChar_t value) {fDeltaBC = value;}; // set delta BC
37 void SetL0L1Latency(UShort_t value) {fL0L1Latency = value;}; // set L0-L1 latency
41 UInt_t fIndex; // channel index
42 UShort_t fTimeBin; // time bin [24.4 ps]
43 UShort_t fTOTBin; // TOT bin [48.8 ps]
44 UChar_t fDeltaBC; // delta BC [BC bins]
45 UShort_t fL0L1Latency; // L0-L1 latency [BC bins]
47 ClassDef(AliTOFHitField, 1);
50 #endif /* ALITOFHITFIELD_H */