Removed the SDigits and Digits steps. Reconstruction starts with Digits and ends...
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALRecParticle.h
CommitLineData
a83bd548 1#ifndef ALIEMCALRECPARTICLE_H
2#define ALIEMCALRECPARTICLE_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 EMCAL
10// To become a general class of AliRoot ?
11// why not
12//*-- Author: Yves Schutz (SUBATECH)
13
14// --- ROOT system ---
15
16// --- Standard library ---
17
18// --- AliRoot header files ---
19
20#include "AliEMCALFastRecParticle.h"
21class TParticle ;
22
23class AliEMCALRecParticle : public AliEMCALFastRecParticle {
24
25 public:
26
27 AliEMCALRecParticle() { fEMCALTrackSegment = 0 ; fDebug = kFALSE ; }
28 AliEMCALRecParticle(const AliEMCALRecParticle & rp) ; // ctor
29 virtual ~AliEMCALRecParticle(){ }
30
31 Int_t GetEMCALTSIndex()const { return fEMCALTrackSegment ; }
32 virtual const Int_t GetNPrimariesToRecParticles() const ;
33 virtual const Int_t GetNPrimaries() const ;
34 virtual const TParticle * GetPrimary(Int_t index) const ;
35 void SetDebug() { fDebug = kTRUE ; }
36 void UnsetDebug() { fDebug = kFALSE ; }
37 void SetTrackSegment(Int_t index){fEMCALTrackSegment = index; }
38
39 typedef TClonesArray RecParticlesList ;
40
41 private:
42
43 Int_t fEMCALTrackSegment ; // pointer to the associated track segment in EMCAL
d64c959b 44 Bool_t fDebug ; // to steer debug output
a83bd548 45
46 ClassDef(AliEMCALRecParticle,2) // Reconstructed Particle
47};
48
49#endif // AliEMCALRECPARTICLE_H