//_________________________________________________________________________
// 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()
//
//
// --- AliRoot system ---
#include "AliCaloTrackReader.h"
+#include "AliAODEvent.h"
class AliCaloTrackAODReader : public AliCaloTrackReader {
public:
AliCaloTrackAODReader() ; // ctor
- AliCaloTrackAODReader(const AliCaloTrackAODReader & g) ; // cpy ctor
+ //AliCaloTrackAODReader(const AliCaloTrackAODReader & g) ; // cpy ctor
//AliCaloTrackAODReader & operator = (const AliCaloTrackAODReader & g) ;//cpy assignment
virtual ~AliCaloTrackAODReader() {;} //virtual dtor
- void FillInputCTS() ;
- void FillInputEMCAL() ;
- void FillInputPHOS() ;
- void FillInputEMCALCells() ;
- void FillInputPHOSCells() ;
-
- void GetVertex(Double_t v[3]) const ;
+
Double_t GetBField() const;
- void SwitchOnWriteAOD() {fWriteOutputAOD = kTRUE;}
- void SwitchOffWriteAOD() {fWriteOutputAOD = kFALSE;}
-
- void SetInputOutputMCEvent(AliVEvent* esd, AliAODEvent* aod, AliMCEvent* mc) ;
+ //void GetSecondInputAODVertex(Double_t v[3]) const ;
-private:
-
- Bool_t fWriteOutputAOD; //Write selected tracks and caloclusters in output AOD
-
- ClassDef(AliCaloTrackAODReader,2)
+ void SetInputOutputMCEvent(AliVEvent* esd, AliAODEvent* aod, AliMCEvent* mc) ;
+
+ TString GetFiredTriggerClasses() {return ((AliAODEvent*)GetInputEvent())->GetFiredTriggerClasses();}
+
+ ClassDef(AliCaloTrackAODReader,5)
} ;
#endif //ALICALOTRACKAODREADER_H