]>
Commit | Line | Data |
---|---|---|
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 | #include <AliHit.h> | |
21 | ||
22 | //============================================================================== | |
23 | // AliPHOSCPVHit | |
24 | //============================================================================== | |
25 | ||
26 | class AliPHOSCPVHit : public AliHit { | |
27 | ||
28 | public: | |
29 | virtual ~AliPHOSCPVHit() {} | |
30 | AliPHOSCPVHit() {} | |
31 | AliPHOSCPVHit(Int_t shunt, Int_t track, TLorentzVector p, Float_t *xy, Int_t ipart); | |
32 | ||
33 | TLorentzVector GetMomentum() { return fMomentum; } | |
34 | Int_t GetIpart() { return fIpart; } | |
35 | void Print(); | |
36 | ||
37 | private: | |
38 | TLorentzVector fMomentum; // 4-momentum of the particle | |
39 | Int_t fIpart; // Hit's particle type | |
40 | ||
41 | ClassDef(AliPHOSCPVHit,1) // Hit object in one CPV module | |
42 | }; | |
43 | ||
44 | #endif |