]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSFastRecParticle.h
Fast simulation ready to be tested
[u/mrichter/AliRoot.git] / PHOS / AliPHOSFastRecParticle.h
CommitLineData
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
26typedef TClonesArray FastRecParticlesList ;
f96d3dc7 27const static Int_t kUNDEFINED = -1;
28const static Int_t kGAMMA = 0 ;
29const static Int_t kELECTRON = 1 ;
30const static Int_t kNEUTRAL = 2 ;
31const static Int_t kCHARGED = 3 ;
32const static Int_t kCHARGEDHADRON = 4 ;
33const static Int_t kNEUTRALHADRON = 5 ;
34const static Int_t kNEUTRALEM = 6 ;
35const static Int_t kGAMMAHADRON = 7 ;
a73f33f0 36
37
38class AliPHOSFastRecParticle : public TParticle {
39
40public:
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 56protected:
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