]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliESDCaloTrack.cxx
Cleaning the task in the destructor if it was posted
[u/mrichter/AliRoot.git] / STEER / AliESDCaloTrack.cxx
CommitLineData
35b3b406 1/**************************************************************************
2 * Copyright(c) 1998-2002, ALICE Experiment at CERN, All rights reserved. *
3 * *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
6 * *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 * *
15 **************************************************************************/
16
17/* $Id$ */
672b5f43 18#include "AliESDCaloTrack.h"
83c56597 19#include "AliPHOSRecParticle.h"
20#include "AliEMCALRecParticle.h"
35b3b406 21
22//-------------------------------------------------------------------------
23// Class AliESDCaloTrack
24// This is the class to deal with during the physical analysis of data
25// It converts calorimeter (PHOS or EMCAL) reconstructed particles
26// into event summary data object
27//-------------------------------------------------------------------------
672b5f43 28
29ClassImp(AliESDCaloTrack)
30
35b3b406 31AliESDCaloTrack::AliESDCaloTrack(AliPHOSRecParticle* recpart)
32{
33 // Convert AliPHOSRecParticle to AliESDCaloTrack
34 fPx = recpart->Px();
35 fPy = recpart->Py();
36 fPz = recpart->Pz();
37}
83c56597 38
39AliESDCaloTrack::AliESDCaloTrack(AliEMCALRecParticle* recpart)
40{
41 // Convert AliEMCALRecParticle to AliESDCaloTrack
42 fPx = recpart->Px();
43 fPy = recpart->Py();
44 fPz = recpart->Pz();
45}
46