]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliESDCaloTrack.h
Cleaning the task in the destructor if it was posted
[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"
ca87beac 16class AliPHOSRecParticle;
83c56597 17class AliEMCALRecParticle;
ca87beac 18
672b5f43 19class AliESDCaloTrack : public TObject {
35b3b406 20
21public:
22 AliESDCaloTrack() {}
23 virtual ~AliESDCaloTrack() {}
24 AliESDCaloTrack(AliPHOSRecParticle* recpart);
83c56597 25 AliESDCaloTrack(AliEMCALRecParticle* recpart);
35b3b406 26 Float_t Px() { return fPx; }
27 Float_t Py() { return fPy; }
28 Float_t Pz() { return fPz; }
29
30private:
83c56597 31 Float_t fPx; // x-component of PHOS/EMCAL rec.particle
32 Float_t fPy; // y-component of PHOS/EMCAL rec.particle
33 Float_t fPz; // z-component of PHOS/EMCAL rec.particle
35b3b406 34
672b5f43 35 ClassDef(AliESDCaloTrack,1) //ESD calorimeter track class
36};
37
38#endif