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 | |
6ad0bfa0 |
16 | // --- Standard library --- |
17 | |
18 | // --- AliRoot header files --- |
19 | |
bd46e694 |
20 | #include "AliPHOSFastRecParticle.h" |
8f3968d8 |
21 | class TParticle ; |
6ad0bfa0 |
22 | |
bd46e694 |
23 | class AliPHOSRecParticle : public AliPHOSFastRecParticle { |
6ad0bfa0 |
24 | |
baef0810 |
25 | public: |
6ad0bfa0 |
26 | |
2731cd1e |
27 | AliPHOSRecParticle() { } |
a73f33f0 |
28 | AliPHOSRecParticle(const AliPHOSRecParticle & rp) ; // ctor |
9995f078 |
29 | virtual ~AliPHOSRecParticle(){ } |
2731cd1e |
30 | |
baef0810 |
31 | Int_t GetPHOSTSIndex()const { return fPHOSTrackSegment ; } |
8f3968d8 |
32 | const Int_t AliPHOSRecParticle::GetNPrimaries() const ; |
33 | const TParticle * AliPHOSRecParticle::GetPrimary(Int_t index) const ; |
9995f078 |
34 | void SetTraskSegment(Int_t index){fPHOSTrackSegment = index; } |
6ad0bfa0 |
35 | |
88714635 |
36 | typedef TClonesArray RecParticlesList ; |
c0d5b57d |
37 | |
38 | private: |
88714635 |
39 | |
c0d5b57d |
40 | Int_t fPHOSTrackSegment ; // pointer to the associated track segment in PHOS |
41 | |
b2a60966 |
42 | ClassDef(AliPHOSRecParticle,1) // Reconstructed Particle |
6ad0bfa0 |
43 | }; |
44 | |
45 | #endif // AliPHOSRECPARTICLE_H |