Fixing Coding violations
[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
b2a60966 8//_________________________________________________________________________
9// A Reconstructed Particle in PHOS
10// To become a general class of AliRoot ?
2f04ed65 11// why not
b2a60966 12//*-- Author: Yves Schutz (SUBATECH)
6ad0bfa0 13
14// --- ROOT system ---
15
6ad0bfa0 16// --- Standard library ---
17
18// --- AliRoot header files ---
19
bd46e694 20#include "AliPHOSFastRecParticle.h"
06e774ed 21#include "AliESDtrack.h"
22
8f3968d8 23class TParticle ;
d956e9b7 24#include "TVector3.h"
6ad0bfa0 25
bd46e694 26class AliPHOSRecParticle : public AliPHOSFastRecParticle {
6ad0bfa0 27
baef0810 28 public:
6ad0bfa0 29
51d189f4 30 AliPHOSRecParticle() { fPHOSTrackSegment = 0 ; fDebug = kFALSE ; }
a73f33f0 31 AliPHOSRecParticle(const AliPHOSRecParticle & rp) ; // ctor
9995f078 32 virtual ~AliPHOSRecParticle(){ }
2731cd1e 33
a278df55 34 Int_t GetPHOSTSIndex()const { return fPHOSTrackSegment ; }
35 virtual const Int_t GetNPrimariesToRecParticles() const ;
36 virtual const Int_t GetNPrimaries() const ;
d956e9b7 37 TVector3 GetPos() const { return fPos ; }
a278df55 38 virtual const TParticle * GetPrimary(Int_t index) const ;
06e774ed 39 const Double_t *GetPID();
a278df55 40 void SetDebug() { fDebug = kTRUE ; }
d956e9b7 41 void SetPos(TVector3 pos) { fPos.SetXYZ( pos.X(), pos.Y(), pos.Z() ); }
a278df55 42 void UnsetDebug() { fDebug = kFALSE ; }
43 void SetTrackSegment(Int_t index){fPHOSTrackSegment = index; }
6ad0bfa0 44
88714635 45 typedef TClonesArray RecParticlesList ;
c0d5b57d 46
47 private:
88714635 48
c0d5b57d 49 Int_t fPHOSTrackSegment ; // pointer to the associated track segment in PHOS
d956e9b7 50 Bool_t fDebug ; // to steer debug output
51 TVector3 fPos ; // position in the global alice coordinate system
06e774ed 52 Double_t fPID[AliESDtrack::kSPECIES+4] ; // PID probability densities
51d189f4 53
06e774ed 54 ClassDef(AliPHOSRecParticle,3) // Reconstructed Particle
6ad0bfa0 55};
56
57#endif // AliPHOSRECPARTICLE_H