Getter for entry in tree addded.
[u/mrichter/AliRoot.git] / ANALYSIS / AliAnalysisTaskSE.h
CommitLineData
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"
10class AliVEvent;
11class AliAODEvent;
12class AliMCEvent;
13class TTree;
14
15
16
17class AliAnalysisTaskSE : public AliAnalysisTask
18{
19 public:
20 AliAnalysisTaskSE();
21 AliAnalysisTaskSE(const char* name);
26f071d8 22 AliAnalysisTaskSE(const AliAnalysisTaskSE& obj);
23 AliAnalysisTaskSE& operator=(const AliAnalysisTaskSE& other);
5232d0de 24 virtual ~AliAnalysisTaskSE() {;}
25 // Implementation of interface methods
26 virtual void ConnectInputData(Option_t *option = "");
27 virtual void CreateOutputObjects();
28 virtual void Exec(Option_t* option);
29 virtual void SetDebugLevel(Int_t level) {fDebug = level;}
30 virtual void Init() {;}
31 // To be implemented by user
32 virtual void UserCreateOutputObjects() {;}
26f071d8 33 virtual void UserExec(Option_t* /*option*/) {;}
5232d0de 34
35 // Getters
36 virtual AliVEvent* InputEvent() {return fInputEvent;}
37 virtual AliAODEvent* AODEvent() {return fOutputAOD;}
38 virtual TTree* OutputTree() {return fTreeA;}
39 virtual AliMCEvent* MCEvent() {return fMCEvent;}
40 protected:
41 Int_t fDebug; // Debug flag
42 AliVEvent* fInputEvent; //! VEvent Input
43 AliAODEvent* fOutputAOD; //! AOD out
44 AliMCEvent* fMCEvent; //! MC
45 TTree* fTreeA; // AOD output Tree
46 ClassDef(AliAnalysisTaskSE, 1); // Analysis task for standard jet analysis
47};
48
49#endif