]>
Commit | Line | Data |
---|---|---|
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 "AliAnalysisTaskSE.h" | |
8 | ||
9 | ||
10 | class AliJetFinder; | |
11 | class AliESDEvent; | |
12 | class AliAODEvent; | |
13 | class AliJetHistos; | |
14 | class AliAODExtension; | |
15 | class TTree; | |
16 | class TChain; | |
17 | class TString; | |
18 | ||
19 | ||
20 | ||
21 | class AliAnalysisTaskJets : public AliAnalysisTaskSE | |
22 | { | |
23 | public: | |
24 | AliAnalysisTaskJets(); | |
25 | AliAnalysisTaskJets(const char* name); | |
26 | AliAnalysisTaskJets(const char* name, TChain* chain); | |
27 | virtual ~AliAnalysisTaskJets() {;} | |
28 | // Implementation of interface methods | |
29 | virtual void UserCreateOutputObjects(); | |
30 | virtual void Init(); | |
31 | virtual void LocalInit() {Init();} | |
32 | virtual void UserExec(Option_t *option); | |
33 | virtual void SetConfigFile(const char *c) {fConfigFile = c;} | |
34 | virtual void SetJetFinder(AliJetFinder *finder) {fJetFinder = finder;} | |
35 | virtual void SetNonStdBranch(const char *c){fNonStdBranch = c;} | |
36 | virtual const char* GetNonStdBranch(){return fNonStdBranch.Data();} | |
37 | virtual void SetNonStdOutputFile(const char *c){fNonStdFile = c;} | |
38 | virtual void SetBookAODBackground(Bool_t b){fUseAODBackground = b;} | |
39 | virtual void Terminate(Option_t *option); | |
40 | virtual void ReadAODFromOutput() {fReadAODFromOutput = kTRUE;} | |
41 | virtual void SetFilterPt(Float_t f){fFilterPt = f;} | |
42 | ||
43 | private: | |
44 | AliAnalysisTaskJets(const AliAnalysisTaskJets &det); | |
45 | AliAnalysisTaskJets &operator=(const AliAnalysisTaskJets &det); | |
46 | ||
47 | private: | |
48 | TString fConfigFile; // the name of the ConfigFile | |
49 | TString fNonStdBranch; // the name of the non-std branch name | |
50 | TString fNonStdFile; // The optional name of the output file the non-std brnach is written to | |
51 | AliJetFinder* fJetFinder; // Pointer to the jet finder | |
52 | AliJetHistos* fHistos; // Histogram manager class | |
53 | AliAODExtension* fAODExtension; // AOD extension we in case we write a non-sdt brnach to a separate file and the aod is standard | |
54 | TList* fListOfHistos; // Output list of histograms | |
55 | TChain* fChain; // Chain | |
56 | Int_t fOpt; // Detector configuration used | |
57 | Bool_t fReadAODFromOutput; // Force reading of the AOD from the output | |
58 | Bool_t fUseAODBackground; // decide wether we book the backround branch or not | |
59 | Float_t fFilterPt; // use this as a switch for writing the AOD, minium p_T of leading jet | |
60 | ClassDef(AliAnalysisTaskJets, 7); // Analysis task for standard jet analysis | |
61 | }; | |
62 | ||
63 | #endif |