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