]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliESDCaloTrack.h
Changes needed by the new TOF reconstruction. Minor improvement in GetP (Yu.Belikov)
[u/mrichter/AliRoot.git] / STEER / AliESDCaloTrack.h
CommitLineData
672b5f43 1#ifndef ALIESDCALOTRACK_H
2#define ALIESDCALOTRACK_H
35b3b406 3/* Copyright(c) 1998-2002, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
672b5f43 5
35b3b406 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//-------------------------------------------------------------------------
672b5f43 14
35b3b406 15#include "TObject.h"
0beb93ab 16#include "TParticle.h"
ca87beac 17
672b5f43 18class AliESDCaloTrack : public TObject {
35b3b406 19
20public:
aabde193 21 AliESDCaloTrack(): TObject(), fRecParticle(0) {}
22 virtual ~AliESDCaloTrack() {
e04a0e59 23 //PH delete fRecParticle;
aabde193 24 }
0beb93ab 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(); }
35b3b406 29
e04a0e59 30 TParticle * GetRecParticle() {return fRecParticle;}
31
35b3b406 32private:
0beb93ab 33 TParticle *fRecParticle; // reconstructed particle from PHOS or EMCAL
35b3b406 34
0beb93ab 35 ClassDef(AliESDCaloTrack,2) //ESD calorimeter track class
672b5f43 36};
37
38#endif