]>
Commit | Line | Data |
---|---|---|
a73f33f0 | 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 */ | |
5 | ||
6 | /* $Id$ */ | |
7 | ||
8 | //////////////////////////////////////////////// | |
9 | // A Particle modified by PHOS response // | |
10 | // Yves Schutz SUBATECH // | |
11 | // To become a general class of AliRoot ? // | |
12 | // // | |
13 | //////////////////////////////////////////////// | |
14 | ||
15 | // --- ROOT system --- | |
16 | ||
17 | #include "TParticle.h" | |
18 | #include "TVector3.h" | |
19 | ||
20 | // --- Standard library --- | |
21 | ||
22 | // --- AliRoot header files --- | |
23 | ||
f96d3dc7 | 24 | //#include "AliPHOSRecParticle.h" |
a73f33f0 | 25 | |
26 | typedef TClonesArray FastRecParticlesList ; | |
f96d3dc7 | 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 ; | |
a73f33f0 | 36 | |
37 | ||
38 | class AliPHOSFastRecParticle : public TParticle { | |
39 | ||
40 | public: | |
41 | ||
42 | AliPHOSFastRecParticle() {}; // ctor | |
43 | AliPHOSFastRecParticle(const AliPHOSFastRecParticle & rp) ; // ctor | |
44 | AliPHOSFastRecParticle(const TParticle & p) ; // ctor | |
45 | virtual ~AliPHOSFastRecParticle() ; // dtor | |
46 | ||
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 ; } | |
51 | TString Name() ; | |
52 | virtual void Paint(Option_t * option=""); | |
53 | void Print() ; | |
54 | void SetType(Int_t type) { fType = type ; } | |
55 | ||
f96d3dc7 | 56 | protected: |
a73f33f0 | 57 | |
58 | Int_t fType ; // identified particle type | |
59 | ||
60 | ClassDef(AliPHOSFastRecParticle,1) // Reconstructed Particle, version 1 | |
61 | ||
62 | }; | |
63 | ||
64 | #endif // AliPHOSFASTRECPARTICLE_H |