#include "AliAnalysisTask.h"
class AliVEvent;
class AliAODEvent;
+class AliAODHeader;
+class AliAODTracklets;
class AliMCEvent;
+class AliInputEventHandler;
class TTree;
// To be implemented by user
virtual void UserCreateOutputObjects() {;}
virtual void UserExec(Option_t* /*option*/) {;}
-
- // Getters
+ // Helpers for adding branches to the AOD
+ virtual void AddAODBranch(const char* cname, void* addobj);
+// Getters
+ virtual Int_t DebugLevel() {return fDebug; }
virtual AliVEvent* InputEvent() {return fInputEvent;}
- virtual AliAODEvent* AODEvent() {return fOutputAOD;}
- virtual TTree* OutputTree() {return fTreeA;}
- virtual AliMCEvent* MCEvent() {return fMCEvent;}
- protected:
- Int_t fDebug; // Debug flag
- AliVEvent* fInputEvent; //! VEvent Input
- AliAODEvent* fOutputAOD; //! AOD out
- AliMCEvent* fMCEvent; //! MC
- TTree* fTreeA; // AOD output Tree
+ virtual AliAODEvent* AODEvent() {return fOutputAOD; }
+ virtual TTree* OutputTree() {return fTreeA; }
+ virtual AliMCEvent* MCEvent() {return fMCEvent; }
+ virtual Long64_t Entry() {return fEntry; }
+ virtual const char* CurrentFileName();
+ protected:
+ Int_t fDebug; // Debug flag
+ Int_t fEntry; // Current entry in the chain
+ AliVEvent* fInputEvent; //! VEvent Input
+ AliInputEventHandler* fInputHandler; //! Input Handler
+ AliAODEvent* fOutputAOD; //! AOD out
+ AliMCEvent* fMCEvent; //! MC
+ TTree* fTreeA; // AOD output Tree
+ static AliAODHeader* fgAODHeader; //! Header for replication
+ static TClonesArray* fgAODTracks; //! Tracks for replication
+ static TClonesArray* fgAODVertices; //! Vertices for replication
+ static TClonesArray* fgAODV0s; //! V0s for replication
+ static TClonesArray* fgAODPMDClusters; //! PMDClusters for replication
+ static TClonesArray* fgAODJets; //! Jets for replication
+ static TClonesArray* fgAODFMDClusters; //! FMDClusters for replication
+ static TClonesArray* fgAODCaloClusters; //! CaloClusters for replication
+ static AliAODTracklets* fgAODTracklets; //! Tracklets for replication
ClassDef(AliAnalysisTaskSE, 1); // Analysis task for standard jet analysis
};