4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
7 ////////////////////////////////////////////////////////////////
8 // TOF Class used in reconstruction
10 // (see implementation file for details)
12 //-- Authors: Bologna-ITEP-Salerno Group
13 ////////////////////////////////////////////////////////////////
18 //_______________________________________________________
19 class AliTOFPad : public TObject{
23 AliTOFPad(Int_t sector, Int_t plate, Int_t strip, Int_t pixel);
25 void SetGeom (Int_t sector, Int_t plate, Int_t strip, Int_t pixel);
26 void SetTofChargeHit(Float_t realTime, Float_t charge, Float_t geantTime, Int_t hitnum);
27 void SetTrack(Int_t track) {fTrack=track;}
28 void SetTrackMatched(Int_t track) {fTrackMatched=track;}
29 void AddState(Int_t state) {fState+=state;}
30 void SetRealTime (Float_t realTime) {fRealTime=realTime;}
31 void SetGeantTime(Float_t geantTime){fGeantTime=geantTime;}
32 void SetCharge (Float_t charge) {fCharge=charge;}
33 void SetAverageTime(Float_t averageTime) {fAverageTime=averageTime;}
34 void SetHit (Int_t hit) {fHit=hit;}
35 Int_t GetSector() const {return fSector;}
36 Int_t GetPlate() const {return fPlate;}
37 Int_t GetStrip() const {return fStrip;}
38 Int_t GetPixel() const {return fPixel;}
39 Int_t GetTrack() const {return fTrack;}
40 Int_t GetTrackMatched() const {return fTrackMatched;}
41 Int_t GetState() const {return fState;}
42 Float_t GetRealTime() const {return fRealTime;}
43 Float_t GetGeantTime() const {return fGeantTime;}
44 Float_t GetCharge() const {return fCharge;}
45 Float_t GetAverageTime() const {return fAverageTime;}
46 Int_t GetHit() const {return fHit;}
49 Int_t fSector, fPlate, fStrip, fPixel; // sector, plate, strip and pad number
50 Int_t fTrack; // track number of first track fired the pixel
51 Int_t fTrackMatched; // track number i of TrackArray[i-1] matched with the pixel
52 Int_t fState; // =1, if the pixel is fired by the track
53 Float_t fRealTime; // real time [ns] given by the pad
54 Float_t fGeantTime; // GEANT3.21 time [ns] i.e. true time
55 Float_t fCharge; // charge related to the pad
56 Float_t fAverageTime; // average time of the pad cluster due to the Edge Effect [ns]
57 Int_t fHit; // hit number khit of HitArray[khit-1] which fired the pixel
59 ClassDef(AliTOFPad,1) // TOF Class used in reconstruction
62 #endif /* ALITOFPAD_H */