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 | |
24 | #include "AliPHOSRecParticle.h" |
25 | |
26 | typedef TClonesArray FastRecParticlesList ; |
27 | |
28 | |
29 | class AliPHOSFastRecParticle : public TParticle { |
30 | |
31 | public: |
32 | |
33 | AliPHOSFastRecParticle() {}; // ctor |
34 | AliPHOSFastRecParticle(const AliPHOSFastRecParticle & rp) ; // ctor |
35 | AliPHOSFastRecParticle(const TParticle & p) ; // ctor |
36 | virtual ~AliPHOSFastRecParticle() ; // dtor |
37 | |
38 | virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) ; |
39 | virtual void Draw(Option_t *option) ; |
40 | virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) ; |
41 | Int_t GetType() { return fType ; } |
42 | TString Name() ; |
43 | virtual void Paint(Option_t * option=""); |
44 | void Print() ; |
45 | void SetType(Int_t type) { fType = type ; } |
46 | |
47 | private: |
48 | |
49 | Int_t fType ; // identified particle type |
50 | |
51 | ClassDef(AliPHOSFastRecParticle,1) // Reconstructed Particle, version 1 |
52 | |
53 | }; |
54 | |
55 | #endif // AliPHOSFASTRECPARTICLE_H |