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 "AliEMCALFastRecParticle.h"
24 class AliEMCALRecParticle : public AliEMCALFastRecParticle {
28 AliEMCALRecParticle() { fEMCALRecPoint = 0 ; fDebug = kFALSE ; }
29 AliEMCALRecParticle(const AliEMCALRecParticle & rp) ; // ctor
30 virtual ~AliEMCALRecParticle(){ }
32 Int_t GetEMCALRPIndex()const { return fEMCALRecPoint ; }
33 virtual const Int_t GetNPrimariesToRecParticles() const ;
34 virtual const Int_t GetNPrimaries() const ;
35 TVector3 GetPos() const { return fPos ; }
36 virtual const TParticle * GetPrimary(Int_t index) const ;
37 void SetDebug() { fDebug = kTRUE ; }
38 void SetPos(TVector3 pos) { fPos.SetXYZ( pos.X(), pos.Y(), pos.Z() ); }
39 void UnsetDebug() { fDebug = kFALSE ; }
40 void SetRecPoint(Int_t index){fEMCALRecPoint = index; }
42 typedef TClonesArray RecParticlesList ;
46 Int_t fEMCALRecPoint ; // pointer to the associated track segment in EMCAL
47 Bool_t fDebug ; // to steer debug output
48 TVector3 fPos ; // position in the global alice coordinate system
50 ClassDef(AliEMCALRecParticle,2) // Reconstructed Particle
53 #endif // AliEMCALRECPARTICLE_H