]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliESDCaloTrack.h
Adapting macro for RECREATE option
[u/mrichter/AliRoot.git] / STEER / AliESDCaloTrack.h
1 #ifndef ALIESDCALOTRACK_H
2 #define ALIESDCALOTRACK_H
3 /* Copyright(c) 1998-2002, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 //-------------------------------------------------------------------------
9 //   Class AliESDCaloTrack
10 //   This is the class to deal with during the physical analysis of data
11 //   It converts calorimeter (PHOS or EMCAL) reconstructed particles   
12 //   into event summary data object
13 //-------------------------------------------------------------------------
14
15 #include "TObject.h"
16 #include "TParticle.h"
17
18 class AliESDCaloTrack : public TObject {
19
20 public:
21   AliESDCaloTrack() {}
22   virtual ~AliESDCaloTrack() {}
23   AliESDCaloTrack(TParticle* recpart);
24   Float_t Px() { return fRecParticle->Px(); }
25   Float_t Py() { return fRecParticle->Py(); }
26   Float_t Pz() { return fRecParticle->Pz(); }
27
28 private:
29   TParticle *fRecParticle; // reconstructed particle from PHOS or EMCAL
30
31   ClassDef(AliESDCaloTrack,2)  //ESD calorimeter track class 
32 };
33
34 #endif