]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/PartCorrBase/AliCaloTrackESDReader.h
Added access to magnetic field value in readers. Corrected bugs in AliMCAnalysisUtils...
[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
24 class AliCaloTrackESDReader : public AliCaloTrackReader {
25   
26   public: 
27   
28   AliCaloTrackESDReader() ; // ctor
29   AliCaloTrackESDReader(const AliCaloTrackESDReader & g) ; // cpy ctor
30   //AliCaloTrackESDReader & operator = (const AliCaloTrackESDReader & g) ;//cpy assignment
31   virtual ~AliCaloTrackESDReader() {;} //virtual dtor
32   
33   void FillInputCTS  () ;
34   void FillInputEMCAL() ;
35   void FillInputPHOS () ;  
36   void FillInputEMCALCells() ;
37   void FillInputPHOSCells() ;
38   
39   void GetVertex(Double_t v[3]) const ;
40   Double_t GetBField() const;
41   void SetInputOutputMCEvent(AliVEvent* esd, AliAODEvent* aod, AliMCEvent* mc) ; 
42   
43   ClassDef(AliCaloTrackESDReader,1)
44     } ;
45
46
47 #endif //ALICALOTRACKESDREADER_H
48
49
50