]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/PartCorrBase/AliCaloTrackESDReader.h
Add calorimeter utility class for geometry access, cell indexing bad channels rejecti...
[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 // It is a filtering class, transforms ESD tracks or CaloClusters
12 // into AOD tracks and calocluters, which are the basic input of the analysis
13 // classes in this frame.
14 // It is recommended to use the official filter AliAnalysisTaskESDfilter, and 
15 // then the reader for AODs AliCaloTrackAODReader.//
16 //
17 //*-- Author: Gustavo Conesa (INFN-LNF)
18
19 // --- ROOT system --- 
20
21 // --- AliRoot system ---
22 #include "AliCaloTrackReader.h" 
23 #include "AliESDEvent.h"
24
25 class AliCaloTrackESDReader : public AliCaloTrackReader {
26   
27   public: 
28   
29   AliCaloTrackESDReader() ; // ctor
30   AliCaloTrackESDReader(const AliCaloTrackESDReader & g) ; // cpy ctor
31   //AliCaloTrackESDReader & operator = (const AliCaloTrackESDReader & g) ;//cpy assignment
32   virtual ~AliCaloTrackESDReader() {;} //virtual dtor
33   
34   void FillInputCTS  () ;
35   void FillInputEMCAL() ;
36   void FillInputPHOS () ;  
37   void FillInputEMCALCells() ;
38   void FillInputPHOSCells() ;
39   
40   void GetVertex(Double_t v[3]) const ;
41   Double_t GetBField() const;
42   void SetInputOutputMCEvent(AliVEvent* esd, AliAODEvent* aod, AliMCEvent* mc) ; 
43         
44   TString GetFiredTriggerClasses() {return ((AliESDEvent*)GetInputEvent())->GetFiredTriggerClasses();}
45
46   ClassDef(AliCaloTrackESDReader,1)
47 } ;
48
49
50 #endif //ALICALOTRACKESDREADER_H
51
52
53