]>
Commit | Line | Data |
---|---|---|
3f7668d5 | 1 | #ifndef ALIPHOSCPVHIT_H |
2 | #define ALIPHOSCPVHIT_H | |
3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //////////////////////////////////////////////// | |
9 | // Hit class for CPV // | |
10 | // // | |
11 | // Author: Yuri Kharlov, IHEP, Protvino // | |
12 | // e-mail: Yuri.Kharlov@cern.ch // | |
13 | // Last modified: 23 March 2000 // | |
14 | //////////////////////////////////////////////// | |
15 | ||
16 | // --- ROOT system --- | |
17 | #include <TLorentzVector.h> | |
18 | ||
19 | // --- galice header files --- | |
20 | ||
21 | //============================================================================== | |
22 | // AliPHOSCPVHit | |
23 | //============================================================================== | |
24 | ||
25 | class AliPHOSCPVHit : public TObject { | |
26 | ||
27 | private: | |
28 | TLorentzVector fMomentum; // 4-momentum of the particle | |
29 | Float_t fXhit; // Hit's X-coordinates | |
30 | Float_t fYhit; // Hit's Y-coordinates | |
31 | Int_t fIpart; // Hit's particle type | |
32 | ||
33 | public: | |
34 | virtual ~AliPHOSCPVHit() {} | |
35 | AliPHOSCPVHit() {} | |
36 | AliPHOSCPVHit(TLorentzVector p, Float_t *xy, Int_t ipart); | |
37 | ||
38 | TLorentzVector GetMomentum() { return fMomentum; } | |
39 | Float_t GetX() { return fXhit; } | |
40 | Float_t GetY() { return fYhit; } | |
41 | Int_t GetIpart() { return fIpart; } | |
42 | void Print(); | |
43 | ||
44 | ClassDef(AliPHOSCPVHit,1) // Hit object in one CPV module | |
45 | }; | |
46 | ||
47 | #endif |