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 */
8 //_________________________________________________________________________
9 // A Reconstructed Particle in EMCAL
10 // To become a general class of AliRoot ?
12 //*-- Author: Yves Schutz (SUBATECH)
14 // --- ROOT system ---
16 // --- Standard library ---
18 // --- AliRoot header files ---
20 #include "AliESDtrack.h"
21 #include "AliEMCALFastRecParticle.h"
25 class AliEMCALRecParticle : public AliEMCALFastRecParticle {
29 AliEMCALRecParticle() ;
30 AliEMCALRecParticle(const AliEMCALRecParticle & rp) ; // ctor
31 virtual ~AliEMCALRecParticle(){ }
33 Int_t GetEMCALRPIndex()const { return fEMCALRecPoint ; }
34 virtual const Int_t GetNPrimariesToRecParticles() const ;
35 virtual const Int_t GetNPrimaries() const ;
36 TVector3 GetPos() const { return fPos ; }
37 virtual const TParticle * GetPrimary(Int_t index) const ;
38 const Double_t *GetPID();
39 void SetDebug() { fDebug = kTRUE ; }
40 void SetPos(TVector3 pos) { fPos.SetXYZ( pos.X(), pos.Y(), pos.Z() ); }
41 void UnsetDebug() { fDebug = kFALSE ; }
42 void SetRecPoint(Int_t index){fEMCALRecPoint = index; }
44 typedef TClonesArray RecParticlesList ;
48 Int_t fEMCALRecPoint ; // pointer to the associated track segment in EMCAL
49 Bool_t fDebug ; // to steer debug output
50 TVector3 fPos ; // position in the global alice coordinate system
51 Double_t fPID[AliESDtrack::kSPECIESN] ; // PID probability densities
53 ClassDef(AliEMCALRecParticle,3) // Reconstructed Particle
56 #endif // AliEMCALRECPARTICLE_H