Adding the individual channel mult in order to be used in the event plane calculation.
[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"
0c6c629b 10#include "AliVEvent.h"
11
5232d0de 12class AliAODEvent;
3f2431c4 13class AliAODHeader;
c185e0db 14class AliAODTracklets;
5a922844 15class AliAODCaloCells;
5232d0de 16class AliMCEvent;
80d13558 17class AliInputEventHandler;
f0ee78b0 18class AliAnalysisCuts;
620ad672 19class AliESDfriend;
cec9e119 20class AliEventTag;
5a922844 21
5232d0de 22class TTree;
1ec2c8dc 23class TList;
5232d0de 24
25
26class AliAnalysisTaskSE : public AliAnalysisTask
27{
28 public:
29 AliAnalysisTaskSE();
30 AliAnalysisTaskSE(const char* name);
26f071d8 31 AliAnalysisTaskSE(const AliAnalysisTaskSE& obj);
32 AliAnalysisTaskSE& operator=(const AliAnalysisTaskSE& other);
5232d0de 33 virtual ~AliAnalysisTaskSE() {;}
34 // Implementation of interface methods
f0ee78b0 35 virtual void ConnectInputData(Option_t *option = "");
36 virtual void CreateOutputObjects();
37 virtual void Exec(Option_t* option);
38 virtual void SetDebugLevel(Int_t level) {fDebug = level;}
39 virtual void Init() {;}
1ec2c8dc 40 virtual Bool_t Notify();
5232d0de 41 // To be implemented by user
f0ee78b0 42 virtual void UserCreateOutputObjects() {;}
43 virtual void UserExec(Option_t* /*option*/) {;}
1ec2c8dc 44 virtual Bool_t UserNotify() {return kTRUE;}
45 virtual void NotifyRun() {;}
f0ee78b0 46
164e94ff 47 // Helpers for adding branches to the AOD
f0ee78b0 48 virtual void AddAODBranch(const char* cname, void* addobj, const char *fname="");
49 // Event Selection
0c6c629b 50 virtual void SelectCollisionCandidates(UInt_t offlineTriggerMask = AliVEvent::kMB) {fOfflineTriggerMask = offlineTriggerMask;}
cec9e119 51 // Loading the declared input branches
52 void LoadBranches() const;
bf666461 53 // Getters
620ad672 54 virtual Int_t DebugLevel() {return fDebug; }
55 virtual AliVEvent* InputEvent() {return fInputEvent;}
56 virtual AliESDfriend* ESDfriend() {return fESDfriend; }
57 virtual AliAODEvent* AODEvent() {return fOutputAOD; }
58 virtual TTree* OutputTree() {return fTreeA; }
59 virtual AliMCEvent* MCEvent() {return fMCEvent; }
60 virtual Long64_t Entry() {return fEntry; }
cec9e119 61 virtual const AliEventTag *EventTag() const;
620ad672 62 virtual const char* CurrentFileName();
63 virtual Bool_t IsStandardAOD() const;
64 virtual TList* GetQAHistos() const {return fHistosQA;}
85c71ba7 65 virtual Bool_t IsEventInBinZero() { return kFALSE;}
66
80d13558 67 protected:
68 Int_t fDebug; // Debug flag
1ec2c8dc 69 // IO
80d13558 70 Int_t fEntry; // Current entry in the chain
71 AliVEvent* fInputEvent; //! VEvent Input
620ad672 72 AliESDfriend* fESDfriend; //! ESD friend
80d13558 73 AliInputEventHandler* fInputHandler; //! Input Handler
74 AliAODEvent* fOutputAOD; //! AOD out
75 AliMCEvent* fMCEvent; //! MC
76 TTree* fTreeA; // AOD output Tree
1ec2c8dc 77 Int_t fCurrentRunNumber;//! Current run number
78 // Output histos for QA
79 TList* fHistosQA; //! Output histos for QA
80 // Provisions for replication
c185e0db 81 static AliAODHeader* fgAODHeader; //! Header for replication
82 static TClonesArray* fgAODTracks; //! Tracks for replication
83 static TClonesArray* fgAODVertices; //! Vertices for replication
84 static TClonesArray* fgAODV0s; //! V0s for replication
85 static TClonesArray* fgAODPMDClusters; //! PMDClusters for replication
86 static TClonesArray* fgAODJets; //! Jets for replication
87 static TClonesArray* fgAODFMDClusters; //! FMDClusters for replication
88 static TClonesArray* fgAODCaloClusters; //! CaloClusters for replication
113bc2bd 89 static TClonesArray* fgAODMCParticles; //! MC Particles for replicatio
c185e0db 90 static AliAODTracklets* fgAODTracklets; //! Tracklets for replication
5a922844 91 static AliAODCaloCells* fgAODEmcalCells; //! Emcal Cell replication
92 static AliAODCaloCells* fgAODPhosCells; //! Phos Cell replication
866d8d78 93 static TClonesArray* fgAODDimuons; //! Dimuons replication
bf666461 94 // Event Selection
0c6c629b 95 UInt_t fOfflineTriggerMask; // Task processes collision candidates only
f0ee78b0 96
0c6c629b 97 ClassDef(AliAnalysisTaskSE, 4); // Analysis task for standard jet analysis
5232d0de 98};
99
100#endif