Line data Source code
1 : #ifndef ALITOFHITT0_H
2 : #define ALITOFHITT0_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 :
6 : ////////////////////////////////////////////////
7 : // //
8 : // Hit class for TOF //
9 : // Interface //
10 : // Getters, Setters and member variables //
11 : // declared here //
12 : // //
13 : ////////////////////////////////////////////////
14 :
15 : /* $Id$ */
16 :
17 : #include "AliHit.h"
18 :
19 : class AliTOFhitT0 : public AliHit {
20 : public:
21 : AliTOFhitT0();
22 : AliTOFhitT0(Int_t shunt, Int_t track, Int_t * const vol,
23 : Float_t * const hits);
24 : AliTOFhitT0(const AliTOFhitT0 & hit) ;
25 : AliTOFhitT0& operator = (const AliTOFhitT0& hit);
26 348 : virtual ~AliTOFhitT0() {}
27 : // getters for AliTOFhitT0 object
28 336 : Int_t GetSector() const {return fSector;}
29 336 : Int_t GetPlate() const {return fPlate;}
30 336 : Int_t GetPadx() const {return fPadx;}
31 336 : Int_t GetPadz() const {return fPadz;}
32 336 : Int_t GetStrip() const {return fStrip;}
33 336 : Float_t GetTof() const {return fTof;}
34 168 : Float_t GetLen() const {return fLenTof;}
35 0 : Float_t GetMom() const {return fPmom;}
36 0 : Float_t GetPx() const {return fPx;}
37 0 : Float_t GetPy() const {return fPy;}
38 0 : Float_t GetPz() const {return fPz;}
39 168 : Float_t GetDx() const {return fDx;}
40 0 : Float_t GetDy() const {return fDy;}
41 168 : Float_t GetDz() const {return fDz;}
42 0 : Float_t GetIncA() const {return fIncA;}
43 0 : Float_t GetEdep() const {return fEdep;}
44 :
45 : protected:
46 : Int_t fSector; // number of sector
47 : Int_t fPlate; // number of plate
48 : Int_t fStrip; // number of strip
49 : Int_t fPadx; // number of pad along x
50 : Int_t fPadz; // number of pad along z
51 : // X, Y and Z coordinates of the hit are defined on mother class
52 : // AliHit
53 : Float_t fPx; // px in TOF
54 : Float_t fPy; // py in TOF
55 : Float_t fPz; // pz in TOF
56 : Float_t fPmom; // P in TOF
57 : Float_t fTof; // Time of Flight
58 : Float_t fLenTof; // track length at the TOF
59 : Float_t fDx; // x of impact point in pad r.s.
60 : Float_t fDy; // y of impact point in pad r.s.
61 : Float_t fDz; // z of impact point in pad r.s.
62 : Float_t fIncA; // Incidence angle
63 : Float_t fEdep; // Energy lost in TOF sensitive layer
64 :
65 28 : ClassDef(AliTOFhitT0,1) // Hit for Time Of Flight
66 : };
67 :
68 : #endif /* ALITOFHITT0_H */
|