4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
9 ////////////////////////////////////////////////
10 // Digitization classes for set: TOF //
11 ////////////////////////////////////////////////
15 #include "TClonesArray.h"
17 //_______________________________________________________
19 class AliTOFRoc : public TObject {
49 Int_t AddItem (Int_t, Int_t, Int_t, Float_t, Float_t);
50 // Int_t AddItem (Int_t, UInt_t);
52 void SetTime (UInt_t, UInt_t, Float_t);
53 void SetTime (UInt_t, UInt_t);
54 void SetCharge(UInt_t, UInt_t,UInt_t,Float_t);
55 void SetCharge(UInt_t, UInt_t);
56 Float_t GetTime (Int_t,UInt_t&);
57 Float_t GetCharge(Int_t);
58 Int_t GetTotPad(Int_t);
60 UInt_t BitCount (UInt_t);
63 inline Int_t GetSize() {return Items*8+4;}
64 inline Int_t GetItems() {return Items;}
65 inline UInt_t GetChrgRow(Int_t i){return ChrgRow[i];}
66 inline UInt_t GetTimeRow(Int_t i){return TimeRow[i];}
67 inline void SetHeader(UInt_t head){Header=head;}
71 //_______________________________________________________
72 class AliTOFRawDigit : public TObject{
80 virtual ~AliTOFRawDigit(){};
82 ClassDef(AliTOFRawDigit,2)
86 //_______________________________________________________
87 class AliTOFRawSector : public TObject{
90 TClonesArray *fRocData;
92 UInt_t GlobalCheckSum;
96 virtual ~AliTOFRawSector();
100 inline TClonesArray *GetRocData() {return fRocData;}
101 inline void SetGlobalCS(UInt_t gcs){GlobalCheckSum=gcs;}
102 inline void SetHeader (UInt_t hdr){Header = hdr;}
104 ClassDef(AliTOFRawSector,2)