]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PWG4/PartCorrBase/AliCaloTrackAODReader.h
AliCalorimeterUtils: Fix to be able to use PHOS bad map and geometry matrices
[u/mrichter/AliRoot.git] / PWG4 / PartCorrBase / AliCaloTrackAODReader.h
index 516a4f75e4feeab1bab988dbf8250453c8113c19..7281ffb0d7465d6feb9d10a9b0535c647066945b 100755 (executable)
@@ -7,53 +7,39 @@
 //_________________________________________________________________________
 // Class for reading data (AODs) in order to do prompt gamma or other particle
 // identification and correlations.
-// Mixing analysis can be done, input AOD with events
+// This part is commented: Mixing analysis can be done, input AOD with events
 // is opened in the AliCaloTrackReader::Init()
 //
 //
 // -- Author: Gustavo Conesa (INFN-LNF)
 
-// --- ROOT system --- 
+#include "AliAnalysisTaskSE.h"
 
-// --- AliRoot system ---
-#include "AliCaloTrackReader.h" 
 #include "AliAODEvent.h"
+#include "AliCaloTrackReader.h" 
 
 class AliCaloTrackAODReader : public AliCaloTrackReader {
        
 public: 
        
   AliCaloTrackAODReader() ; // ctor
-  AliCaloTrackAODReader(const AliCaloTrackAODReader & g)  ; // cpy ctor
-  //AliCaloTrackAODReader & operator = (const AliCaloTrackAODReader & g) ;//cpy assignment
   virtual ~AliCaloTrackAODReader() {;} //virtual dtor
+     
+  AliCentrality* GetCentrality() const ;  
+  void SetInputOutputMCEvent(AliVEvent* esd, AliAODEvent* aod, AliMCEvent* mc) ; 
   
-  void FillInputCTS()   ;
-  void FillInputEMCAL() ;
-  void FillInputPHOS()  ;
-  void FillInputEMCALCells() ;
-  void FillInputPHOSCells()  ;
-       
-  Double_t GetBField() const;
-
-  void GetSecondInputAODVertex(Double_t v[3]) const ;
-  void GetVertex(Double_t v[3]) const ;
+  AliVEvent* GetOriginalInputEvent() const { return fOrgInputEvent; }
   
-  void SetInputOutputMCEvent(AliVEvent* esd, AliAODEvent* aod, AliMCEvent* mc) ; 
-  void SwitchOnWriteStdAOD()  {fWriteOutputStdAOD = kTRUE;}
-  void SwitchOffWriteStdAOD() {fWriteOutputStdAOD = kFALSE;}
-
   TString GetFiredTriggerClasses() {return ((AliAODEvent*)GetInputEvent())->GetFiredTriggerClasses();}
-       
-  // Get calorimeter (Super)module number where this cluster falled
-  Int_t GetModuleNumber(AliAODCaloCluster * cluster) const ;
-       
-  void Print(const Option_t * opt) const;
-       
+  
 private:
-  Bool_t            fWriteOutputStdAOD;   // Write selected standard tracks and caloclusters in output AOD
-
-  ClassDef(AliCaloTrackAODReader,4)
+  
+  AliVEvent *fOrgInputEvent; //! Original input event, not from filtering
+  
+  AliCaloTrackAODReader(const AliCaloTrackAODReader & ) ; // cpy ctor
+  AliCaloTrackAODReader & operator = (const AliCaloTrackAODReader & g) ;//cpy assignment
+  
+  ClassDef(AliCaloTrackAODReader,6)
 } ;
 
 #endif //ALICALOTRACKAODREADER_H