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