1 #ifndef ALIPHOSFASTRECPARTICLE_H
2 #define ALIPHOSFASTRECPARTICLE_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
8 ////////////////////////////////////////////////
9 // A Particle modified by PHOS response //
10 // Yves Schutz SUBATECH //
11 // To become a general class of AliRoot ? //
13 ////////////////////////////////////////////////
15 // --- ROOT system ---
17 #include "TParticle.h"
20 // --- Standard library ---
22 // --- AliRoot header files ---
24 //#include "AliPHOSRecParticle.h"
26 typedef TClonesArray FastRecParticlesList ;
27 const static Int_t kUNDEFINED = -1;
28 const static Int_t kGAMMA = 0 ;
29 const static Int_t kELECTRON = 1 ;
30 const static Int_t kNEUTRAL = 2 ;
31 const static Int_t kCHARGED = 3 ;
32 const static Int_t kCHARGEDHADRON = 4 ;
33 const static Int_t kNEUTRALHADRON = 5 ;
34 const static Int_t kNEUTRALEM = 6 ;
35 const static Int_t kGAMMAHADRON = 7 ;
38 class AliPHOSFastRecParticle : public TParticle {
42 AliPHOSFastRecParticle() {}; // ctor
43 AliPHOSFastRecParticle(const AliPHOSFastRecParticle & rp) ; // ctor
44 AliPHOSFastRecParticle(const TParticle & p) ; // ctor
45 virtual ~AliPHOSFastRecParticle() ; // dtor
47 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) ;
48 virtual void Draw(Option_t *option) ;
49 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) ;
50 Int_t GetType() { return fType ; }
52 virtual void Paint(Option_t * option="");
54 void SetType(Int_t type) { fType = type ; }
58 Int_t fType ; // identified particle type
60 ClassDef(AliPHOSFastRecParticle,1) // Reconstructed Particle, version 1
64 #endif // AliPHOSFASTRECPARTICLE_H