]>
Commit | Line | Data |
---|---|---|
5232d0de | 1 | #ifndef ALIANALYSISTASKSE_H |
2 | #define ALIANALYSISTASKSE_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | /* $Id$ */ | |
8 | ||
9 | #include "AliAnalysisTask.h" | |
10 | class AliVEvent; | |
11 | class AliAODEvent; | |
3f2431c4 | 12 | class AliAODHeader; |
c185e0db | 13 | class AliAODTracklets; |
5232d0de | 14 | class AliMCEvent; |
80d13558 | 15 | class AliInputEventHandler; |
5232d0de | 16 | class TTree; |
17 | ||
18 | ||
19 | ||
20 | class AliAnalysisTaskSE : public AliAnalysisTask | |
21 | { | |
22 | public: | |
23 | AliAnalysisTaskSE(); | |
24 | AliAnalysisTaskSE(const char* name); | |
26f071d8 | 25 | AliAnalysisTaskSE(const AliAnalysisTaskSE& obj); |
26 | AliAnalysisTaskSE& operator=(const AliAnalysisTaskSE& other); | |
5232d0de | 27 | virtual ~AliAnalysisTaskSE() {;} |
28 | // Implementation of interface methods | |
29 | virtual void ConnectInputData(Option_t *option = ""); | |
30 | virtual void CreateOutputObjects(); | |
31 | virtual void Exec(Option_t* option); | |
32 | virtual void SetDebugLevel(Int_t level) {fDebug = level;} | |
33 | virtual void Init() {;} | |
34 | // To be implemented by user | |
35 | virtual void UserCreateOutputObjects() {;} | |
26f071d8 | 36 | virtual void UserExec(Option_t* /*option*/) {;} |
164e94ff | 37 | // Helpers for adding branches to the AOD |
0134949d | 38 | virtual void AddAODBranch(const char* cname, void* addobj); |
164e94ff | 39 | // Getters |
4d0a82af | 40 | virtual Int_t DebugLevel() {return fDebug; } |
5232d0de | 41 | virtual AliVEvent* InputEvent() {return fInputEvent;} |
4d0a82af | 42 | virtual AliAODEvent* AODEvent() {return fOutputAOD; } |
43 | virtual TTree* OutputTree() {return fTreeA; } | |
44 | virtual AliMCEvent* MCEvent() {return fMCEvent; } | |
45 | virtual Long64_t Entry() {return fEntry; } | |
46 | virtual const char* CurrentFileName(); | |
80d13558 | 47 | protected: |
48 | Int_t fDebug; // Debug flag | |
49 | Int_t fEntry; // Current entry in the chain | |
50 | AliVEvent* fInputEvent; //! VEvent Input | |
51 | AliInputEventHandler* fInputHandler; //! Input Handler | |
52 | AliAODEvent* fOutputAOD; //! AOD out | |
53 | AliMCEvent* fMCEvent; //! MC | |
54 | TTree* fTreeA; // AOD output Tree | |
c185e0db | 55 | static AliAODHeader* fgAODHeader; //! Header for replication |
56 | static TClonesArray* fgAODTracks; //! Tracks for replication | |
57 | static TClonesArray* fgAODVertices; //! Vertices for replication | |
58 | static TClonesArray* fgAODV0s; //! V0s for replication | |
59 | static TClonesArray* fgAODPMDClusters; //! PMDClusters for replication | |
60 | static TClonesArray* fgAODJets; //! Jets for replication | |
61 | static TClonesArray* fgAODFMDClusters; //! FMDClusters for replication | |
62 | static TClonesArray* fgAODCaloClusters; //! CaloClusters for replication | |
63 | static AliAODTracklets* fgAODTracklets; //! Tracklets for replication | |
5232d0de | 64 | ClassDef(AliAnalysisTaskSE, 1); // Analysis task for standard jet analysis |
65 | }; | |
66 | ||
67 | #endif |