Default values changed
[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) {}
0742d588 22 AliESDCaloTrack(const AliESDCaloTrack &act): TObject(act)
23 {fRecParticle = act.fRecParticle;}
aabde193 24 virtual ~AliESDCaloTrack() {
e04a0e59 25 //PH delete fRecParticle;
aabde193 26 }
0beb93ab 27 AliESDCaloTrack(TParticle* recpart);
0742d588 28 Float_t Px() const { return fRecParticle->Px(); }
29 Float_t Py() const { return fRecParticle->Py(); }
30 Float_t Pz() const { return fRecParticle->Pz(); }
35b3b406 31
0742d588 32 TParticle * GetRecParticle() const {return fRecParticle;}
e04a0e59 33
35b3b406 34private:
0742d588 35 AliESDCaloTrack & operator=(const AliESDCaloTrack &)
36 {Fatal("= operator","Not implemented\n"); return *this;}
0beb93ab 37 TParticle *fRecParticle; // reconstructed particle from PHOS or EMCAL
35b3b406 38
0beb93ab 39 ClassDef(AliESDCaloTrack,2) //ESD calorimeter track class
672b5f43 40};
41
42#endif