Adapt to interfaces.
[u/mrichter/AliRoot.git] / JETAN / AliAnalysisTaskJets.h
CommitLineData
e5b96aa0 1#ifndef ALIANALYSISTASKJETS_H
2#define ALIANALYSISTASKJETS_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7#include "AliAnalysisTask.h"
8class AliJetFinder;
1b307662 9class AliESDEvent;
9ff7671d 10class TTree;
1d27ecd2 11class AliAODEvent;
22003a60 12class AliJetHistos;
13
e5b96aa0 14
15class AliAnalysisTaskJets : public AliAnalysisTask
16{
19e6695b 17 public:
18 AliAnalysisTaskJets();
19 AliAnalysisTaskJets(const char* name);
20 virtual ~AliAnalysisTaskJets() {;}
21 // Implementation of interface methods
22 virtual void ConnectInputData(Option_t *option = "");
eaabc21f 23 virtual void CreateOutputObjects();
19e6695b 24 virtual void Init();
76c48857 25 virtual void LocalInit() {Init();}
19e6695b 26 virtual void Exec(Option_t *option);
27 virtual void Terminate(Option_t *option);
28 virtual void SetDebugLevel(Int_t level) {fDebug = level;}
29
e5b96aa0 30 private:
22003a60 31 Int_t fDebug; // Debug flag
32 AliJetFinder* fJetFinder; // Pointer to the jet finder
9ff7671d 33 TTree* fTree; //! The input tree
22003a60 34 AliESDEvent* fESD; //! ESD
35 AliAODEvent* fAOD; //! AOD
36 TTree* fTreeA; // tree of reconstructed jets
37 AliJetHistos* fHistos; // Histogram manager class
38 TList* fListOfHistos; // Output list of histograms
39
40 ClassDef(AliAnalysisTaskJets, 2); // Analysis task for standard jet analysis
e5b96aa0 41};
42
43#endif