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 */
8 ////////////////////////////////////////////////
9 // A Reconstructed Particle in PHOS //
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 "AliPHOSTrackSegment.h"
26 const static Int_t kUNDEFINED = -1;
27 const static Int_t kGAMMA = 0 ;
28 const static Int_t kELECTRON = 1 ;
29 const static Int_t kNEUTRAL = 2 ;
30 const static Int_t kCHARGED = 3 ;
31 const static Int_t kCHARGEDHADRON = 4 ;
32 const static Int_t kNEUTRON = 5 ;
34 class AliPHOSRecParticle : public TParticle {
38 AliPHOSRecParticle() {}; // ctor
39 AliPHOSRecParticle(AliPHOSTrackSegment * ts) ; // ctor
41 virtual ~AliPHOSRecParticle(){} ; // dtor
43 AliPHOSTrackSegment * GetPHOSTrackSegment() { return fPHOSTrackSegment ; }
44 Int_t GetType() { return fType ; }
47 void SetType(Int_t type) { fType = type ; }
51 AliPHOSTrackSegment * fPHOSTrackSegment ; // pointer to the associated track segment in PHOS
52 Int_t fType ; // identified particle type
54 ClassDef(AliPHOSRecParticle,1) // Reconstructed Particle, version 1
58 #endif // AliPHOSRECPARTICLE_H