]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG4/PartCorrBase/AliCaloTrackESDReader.h
In case of merging AOD inputs, recover vertex from both inputs, not from first.
[u/mrichter/AliRoot.git] / PWG4 / PartCorrBase / AliCaloTrackESDReader.h
index 6c7135f10b3383292811f52f7dff7a7c011b9fba..4a7d21ff5afd7d5cbf7b9d7d5a4bbc1b7c555add 100755 (executable)
@@ -8,7 +8,12 @@
 // Class for reading data (ESDs) in order to do prompt gamma 
 //  or other particle identification and correlations
 // 
-
+// It is a filtering class, transforms ESD tracks or CaloClusters
+// into AOD tracks and calocluters, which are the basic input of the analysis
+// classes in this frame.
+// It is recommended to use the official filter AliAnalysisTaskESDfilter, and 
+// then the reader for AODs AliCaloTrackAODReader.//
+//
 //*-- Author: Gustavo Conesa (INFN-LNF)
 
 // --- ROOT system --- 
 #include "AliCaloTrackReader.h" 
 
 class AliCaloTrackESDReader : public AliCaloTrackReader {
-       
-public: 
-       
-       AliCaloTrackESDReader() ; // ctor
-       AliCaloTrackESDReader(const AliCaloTrackESDReader & g) ; // cpy ctor
-       //AliCaloTrackESDReader & operator = (const AliCaloTrackESDReader & g) ;//cpy assignment
-       virtual ~AliCaloTrackESDReader() {;} //virtual dtor
-       
-       void FillInputCTS  () ;
-       void FillInputEMCAL() ;
-       void FillInputPHOS () ;  
-       void FillInputEMCALCells() ;
-       void FillInputPHOSCells() ;
-       
-       void GetVertex(Double_t v[3]) const ;
-       
-       AliVEvent*  GetInputEvent() const {return GetESD();}
-       void SetInputEvent(TObject* esd, TObject* aod, TObject* mc) ; 
-       
-       ClassDef(AliCaloTrackESDReader,1)
-} ;
+  
+  public: 
+  
+  AliCaloTrackESDReader() ; // ctor
+  AliCaloTrackESDReader(const AliCaloTrackESDReader & g) ; // cpy ctor
+  //AliCaloTrackESDReader & operator = (const AliCaloTrackESDReader & g) ;//cpy assignment
+  virtual ~AliCaloTrackESDReader() {;} //virtual dtor
+  
+  void FillInputCTS  () ;
+  void FillInputEMCAL() ;
+  void FillInputPHOS () ;  
+  void FillInputEMCALCells() ;
+  void FillInputPHOSCells() ;
+  
+  void GetVertex(Double_t v[3]) const ;
+  Double_t GetBField() const;
+  void SetInputOutputMCEvent(AliVEvent* esd, AliAODEvent* aod, AliMCEvent* mc) ; 
+  
+  ClassDef(AliCaloTrackESDReader,1)
+    } ;
 
 
 #endif //ALICALOTRACKESDREADER_H