Update Balance Function correction Maps (Alis Rodriguez Manso <alisrm@nikhef.nl>)
[u/mrichter/AliRoot.git] / JETAN / AliAnalysisTaskJetsReader.h
CommitLineData
d89b8229 1#ifndef ALIANALYSISTASKJETSREADER_H
2#define ALIANALYSISTASKJETSREADER_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7//----------------------------------------------------------------
8// Analysis task for interfacing the jet reader with the analysis framework
9//
10// Authors: magali.estienne@subatech.in2p3.fr
11// alexandre.shabetai@cern.ch
12//----------------------------------------------------------------
13
14#include "AliAnalysisTaskSE.h"
15
16class AliJetReader;
17class TTree;
18class TString;
19class AliJetCalTrkEvent;
20
21class AliAnalysisTaskJetsReader : public AliAnalysisTaskSE
22{
23 public:
24 AliAnalysisTaskJetsReader();
25 AliAnalysisTaskJetsReader(const char* name);
26 virtual ~AliAnalysisTaskJetsReader();
27 // Implementation of interface methods
28 virtual void UserCreateOutputObjects();
29 virtual void Init();
30 virtual void LocalInit() {Init();}
31 virtual void UserExec(Option_t *option);
32 virtual void SetConfigFile(const char *c) {fConfigFile = c;}
33 virtual void SetJetReader(AliJetReader *reader) {fJetReader = reader;}
34 virtual void Terminate(Option_t *option);
35 virtual void ReadAODFromOutput() {fReadAODFromOutput = kTRUE;}
36 virtual AliJetReader* GetJetReader() {return fJetReader;}
37
38 private:
39 AliAnalysisTaskJetsReader(const AliAnalysisTaskJetsReader& rd);
40 AliAnalysisTaskJetsReader& operator = (const AliAnalysisTaskJetsReader& rd);
41 TString fConfigFile; // The name of the ConfigFile
42 AliJetReader* fJetReader; // Pointer to the jet finder
43 Bool_t fReadAODFromOutput; // Force reading of the AOD from the output
44 AliJetCalTrkEvent* fReaderEvent; //! Pointer to AliJetCalTrkEvent
45 TTree* fExchangeTree; //! Tree of AliJetCalTrkEvent
46
47 ClassDef(AliAnalysisTaskJetsReader, 1) // Jet reader Analysis task
48
49};
50#endif