]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliESDCaloTrack.h
Coding Convention Violations
[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(): TObject(), fRecParticle(0) {}
22   virtual ~AliESDCaloTrack() {
23     //PH    delete fRecParticle;
24   }
25   AliESDCaloTrack(TParticle* recpart);
26   Float_t Px() { return fRecParticle->Px(); }
27   Float_t Py() { return fRecParticle->Py(); }
28   Float_t Pz() { return fRecParticle->Pz(); }
29
30   TParticle * GetRecParticle() {return fRecParticle;}
31
32 private:
33   TParticle *fRecParticle; // reconstructed particle from PHOS or EMCAL
34
35   ClassDef(AliESDCaloTrack,2)  //ESD calorimeter track class 
36 };
37
38 #endif