]>
Commit | Line | Data |
---|---|---|
a83bd548 | 1 | #ifndef ALIEMCALRECPARTICLE_H |
2 | #define ALIEMCALRECPARTICLE_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 | // A Reconstructed Particle in EMCAL | |
10 | // To become a general class of AliRoot ? | |
11 | // why not | |
12 | //*-- Author: Yves Schutz (SUBATECH) | |
13 | ||
14 | // --- ROOT system --- | |
15 | ||
16 | // --- Standard library --- | |
17 | ||
18 | // --- AliRoot header files --- | |
19 | ||
6d2f044f | 20 | #include "AliESDtrack.h" |
a83bd548 | 21 | #include "AliEMCALFastRecParticle.h" |
22 | class TParticle ; | |
d956e9b7 | 23 | #include "TVector3.h" |
a83bd548 | 24 | |
25 | class AliEMCALRecParticle : public AliEMCALFastRecParticle { | |
26 | ||
27 | public: | |
28 | ||
6d2f044f | 29 | AliEMCALRecParticle() ; |
a83bd548 | 30 | AliEMCALRecParticle(const AliEMCALRecParticle & rp) ; // ctor |
31 | virtual ~AliEMCALRecParticle(){ } | |
32 | ||
ab091cd5 | 33 | Int_t GetEMCALRPIndex()const { return fEMCALRecPoint ; } |
17323043 | 34 | virtual Int_t GetNPrimariesToRecParticles() const ; |
35 | virtual Int_t GetNPrimaries() const ; | |
d956e9b7 | 36 | TVector3 GetPos() const { return fPos ; } |
a83bd548 | 37 | virtual const TParticle * GetPrimary(Int_t index) const ; |
6d2f044f | 38 | const Double_t *GetPID(); |
a83bd548 | 39 | void SetDebug() { fDebug = kTRUE ; } |
d956e9b7 | 40 | void SetPos(TVector3 pos) { fPos.SetXYZ( pos.X(), pos.Y(), pos.Z() ); } |
a83bd548 | 41 | void UnsetDebug() { fDebug = kFALSE ; } |
ab091cd5 | 42 | void SetRecPoint(Int_t index){fEMCALRecPoint = index; } |
a83bd548 | 43 | |
44 | typedef TClonesArray RecParticlesList ; | |
45 | ||
46 | private: | |
47 | ||
ab091cd5 | 48 | Int_t fEMCALRecPoint ; // pointer to the associated track segment in EMCAL |
d64c959b | 49 | Bool_t fDebug ; // to steer debug output |
d956e9b7 | 50 | TVector3 fPos ; // position in the global alice coordinate system |
304864ab | 51 | Double_t fPID[AliPID::kSPECIESN] ; // PID probability densities |
a83bd548 | 52 | |
6d2f044f | 53 | ClassDef(AliEMCALRecParticle,3) // Reconstructed Particle |
a83bd548 | 54 | }; |
55 | ||
56 | #endif // AliEMCALRECPARTICLE_H |