]>
Commit | Line | Data |
---|---|---|
6ad0bfa0 | 1 | #ifndef ALIPHOSRECPARTICLE_H |
2 | #define ALIPHOSRECPARTICLE_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 | ||
b2a60966 | 8 | //_________________________________________________________________________ |
9 | // A Reconstructed Particle in PHOS | |
10 | // To become a general class of AliRoot ? | |
2f04ed65 | 11 | // why not |
b2a60966 | 12 | //*-- Author: Yves Schutz (SUBATECH) |
6ad0bfa0 | 13 | |
14 | // --- ROOT system --- | |
15 | ||
16 | #include "TParticle.h" | |
17 | #include "TVector3.h" | |
18 | ||
19 | // --- Standard library --- | |
20 | ||
21 | // --- AliRoot header files --- | |
22 | ||
23 | #include "AliPHOSTrackSegment.h" | |
bd46e694 | 24 | #include "AliPHOSFastRecParticle.h" |
6ad0bfa0 | 25 | |
bd46e694 | 26 | class AliPHOSRecParticle : public AliPHOSFastRecParticle { |
6ad0bfa0 | 27 | |
28 | public: | |
29 | ||
88714635 | 30 | AliPHOSRecParticle() { |
31 | // ctor | |
32 | } | |
6ad0bfa0 | 33 | AliPHOSRecParticle(AliPHOSTrackSegment * ts) ; // ctor |
a73f33f0 | 34 | AliPHOSRecParticle(const AliPHOSRecParticle & rp) ; // ctor |
88714635 | 35 | virtual ~AliPHOSRecParticle(){ |
36 | // dtor | |
37 | } | |
83974468 | 38 | AliPHOSTrackSegment * GetPHOSTrackSegment() const ; |
6c370def | 39 | Int_t GetPHOSTrackSegmentIndex(){ |
40 | // Getter | |
41 | return fPHOSTrackSegment ; | |
42 | } | |
83974468 | 43 | Int_t * GetPrimaries(Int_t & number) ; |
6ad0bfa0 | 44 | |
88714635 | 45 | typedef TClonesArray RecParticlesList ; |
c0d5b57d | 46 | |
47 | private: | |
88714635 | 48 | |
c0d5b57d | 49 | Int_t fPHOSTrackSegment ; // pointer to the associated track segment in PHOS |
50 | ||
b2a60966 | 51 | ClassDef(AliPHOSRecParticle,1) // Reconstructed Particle |
6ad0bfa0 | 52 | }; |
53 | ||
54 | #endif // AliPHOSRECPARTICLE_H |