Cut on dca of TPC inner param
[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;
3f2431c4 12class AliAODHeader;
c185e0db 13class AliAODTracklets;
5a922844 14class AliAODCaloCells;
5232d0de 15class AliMCEvent;
80d13558 16class AliInputEventHandler;
5a922844 17
5232d0de 18class TTree;
1ec2c8dc 19class TList;
5232d0de 20
21
22class AliAnalysisTaskSE : public AliAnalysisTask
23{
24 public:
25 AliAnalysisTaskSE();
26 AliAnalysisTaskSE(const char* name);
26f071d8 27 AliAnalysisTaskSE(const AliAnalysisTaskSE& obj);
28 AliAnalysisTaskSE& operator=(const AliAnalysisTaskSE& other);
5232d0de 29 virtual ~AliAnalysisTaskSE() {;}
30 // Implementation of interface methods
31 virtual void ConnectInputData(Option_t *option = "");
32 virtual void CreateOutputObjects();
33 virtual void Exec(Option_t* option);
34 virtual void SetDebugLevel(Int_t level) {fDebug = level;}
35 virtual void Init() {;}
1ec2c8dc 36 virtual Bool_t Notify();
5232d0de 37 // To be implemented by user
38 virtual void UserCreateOutputObjects() {;}
26f071d8 39 virtual void UserExec(Option_t* /*option*/) {;}
1ec2c8dc 40 virtual Bool_t UserNotify() {return kTRUE;}
41 virtual void NotifyRun() {;}
42
164e94ff 43 // Helpers for adding branches to the AOD
3cee83d7 44 virtual void AddAODBranch(const char* cname, void* addobj, const char *fname="");
164e94ff 45// Getters
4d0a82af 46 virtual Int_t DebugLevel() {return fDebug; }
5232d0de 47 virtual AliVEvent* InputEvent() {return fInputEvent;}
4d0a82af 48 virtual AliAODEvent* AODEvent() {return fOutputAOD; }
49 virtual TTree* OutputTree() {return fTreeA; }
50 virtual AliMCEvent* MCEvent() {return fMCEvent; }
51 virtual Long64_t Entry() {return fEntry; }
52 virtual const char* CurrentFileName();
3cee83d7 53 virtual Bool_t IsStandardAOD() const;
1ec2c8dc 54 virtual TList* GetQAHistos() const {return fHistosQA;}
80d13558 55 protected:
56 Int_t fDebug; // Debug flag
1ec2c8dc 57 // IO
80d13558 58 Int_t fEntry; // Current entry in the chain
59 AliVEvent* fInputEvent; //! VEvent Input
60 AliInputEventHandler* fInputHandler; //! Input Handler
61 AliAODEvent* fOutputAOD; //! AOD out
62 AliMCEvent* fMCEvent; //! MC
63 TTree* fTreeA; // AOD output Tree
1ec2c8dc 64 Int_t fCurrentRunNumber;//! Current run number
65 // Output histos for QA
66 TList* fHistosQA; //! Output histos for QA
67 // Provisions for replication
c185e0db 68 static AliAODHeader* fgAODHeader; //! Header for replication
69 static TClonesArray* fgAODTracks; //! Tracks for replication
70 static TClonesArray* fgAODVertices; //! Vertices for replication
71 static TClonesArray* fgAODV0s; //! V0s for replication
72 static TClonesArray* fgAODPMDClusters; //! PMDClusters for replication
73 static TClonesArray* fgAODJets; //! Jets for replication
74 static TClonesArray* fgAODFMDClusters; //! FMDClusters for replication
75 static TClonesArray* fgAODCaloClusters; //! CaloClusters for replication
113bc2bd 76 static TClonesArray* fgAODMCParticles; //! MC Particles for replicatio
c185e0db 77 static AliAODTracklets* fgAODTracklets; //! Tracklets for replication
5a922844 78 static AliAODCaloCells* fgAODEmcalCells; //! Emcal Cell replication
79 static AliAODCaloCells* fgAODPhosCells; //! Phos Cell replication
80
5232d0de 81 ClassDef(AliAnalysisTaskSE, 1); // Analysis task for standard jet analysis
82};
83
84#endif