only cosmetics
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRecParticle.h
CommitLineData
6ad0bfa0 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 */
5
6/* $Id$ */
7
8////////////////////////////////////////////////
9// A Reconstructed Particle in PHOS //
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 "AliPHOSTrackSegment.h"
25
09fc14a0 26const static Int_t kUNDEFINED = -1;
27const static Int_t kGAMMA = 0 ;
28const static Int_t kELECTRON = 1 ;
29const static Int_t kNEUTRAL = 2 ;
30const static Int_t kCHARGED = 3 ;
31const static Int_t kCHARGEDHADRON = 4 ;
b9bbdad1 32const static Int_t kNEUTRALHADRON = 5 ;
33const static Int_t kNEUTRALEM = 6 ;
c1d256cb 34const static Int_t kGAMMAHADRON = 7 ;
09fc14a0 35
6ad0bfa0 36class AliPHOSRecParticle : public TParticle {
37
38public:
39
40 AliPHOSRecParticle() {}; // ctor
41 AliPHOSRecParticle(AliPHOSTrackSegment * ts) ; // ctor
42
43 virtual ~AliPHOSRecParticle(){} ; // dtor
44
15605d3c 45 virtual Int_t DistancetoPrimitive(Int_t px, Int_t py) ;
46 virtual void Draw(Option_t *option) ;
47 virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py) ;
6ad0bfa0 48 AliPHOSTrackSegment * GetPHOSTrackSegment() { return fPHOSTrackSegment ; }
49 Int_t GetType() { return fType ; }
50 TString Name() ;
15605d3c 51 virtual void Paint(Option_t * option="");
09fc14a0 52 void Print() ;
53 void SetType(Int_t type) { fType = type ; }
6ad0bfa0 54
55private:
56
57 AliPHOSTrackSegment * fPHOSTrackSegment ; // pointer to the associated track segment in PHOS
26d4b141 58 Int_t fType ; // identified particle type
6ad0bfa0 59
92862013 60 ClassDef(AliPHOSRecParticle,1) // Reconstructed Particle, version 1
6ad0bfa0 61
62};
63
64#endif // AliPHOSRECPARTICLE_H