]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/PartCorrBase/AliCaloTrackESDReader.h
clear method implemented on CaloClusters/CaloCells, call this method when clearing...
[u/mrichter/AliRoot.git] / PWG4 / PartCorrBase / AliCaloTrackESDReader.h
1 #ifndef ALICALOTRACKESDREADER_H
2 #define ALICALOTRACKESDREADER_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice     */
5 /* $Id:  $ */
6
7 //_________________________________________________________________________
8 // Class for reading data (ESDs) in order to do prompt gamma 
9 //  or other particle identification and correlations
10 // 
11 //
12 //
13 //
14 //*-- Author: Gustavo Conesa (INFN-LNF)
15
16 // --- ROOT system --- 
17
18 // --- AliRoot system ---
19 #include "AliCaloTrackReader.h" 
20 #include "AliESDEvent.h"
21 //class AliESDCentrality;
22
23 class AliCaloTrackESDReader : public AliCaloTrackReader {
24   
25   public: 
26   
27   AliCaloTrackESDReader() ; // ctor
28   //AliCaloTrackESDReader(const AliCaloTrackESDReader & g) ; // cpy ctor
29   //AliCaloTrackESDReader & operator = (const AliCaloTrackESDReader & g) ;//cpy assignment
30   virtual ~AliCaloTrackESDReader() {;} //virtual dtor
31
32   Double_t GetBField() const;
33   void SetInputOutputMCEvent(AliVEvent* esd, AliAODEvent* aod, AliMCEvent* mc) ; 
34         
35   TString GetFiredTriggerClasses() {return ((AliESDEvent*)GetInputEvent())->GetFiredTriggerClasses();}
36   
37   AliESDCentrality* GetCentrality() const {return dynamic_cast<AliESDEvent*> (fInputEvent)->GetCentrality();}
38   
39   void FillInputVZERO();
40
41   ClassDef(AliCaloTrackESDReader,1)
42 } ;
43
44
45 #endif //ALICALOTRACKESDREADER_H
46
47
48