]>
Commit | Line | Data |
---|---|---|
d89b8229 | 1 | #ifndef ALIANALYSISTASKJETSFINDER_H |
2 | #define ALIANALYSISTASKJETSFINDER_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 finders with the analysis framework | |
9 | // | |
10 | // Author: magali.estienne@subatech.in2p3.fr | |
11 | // alexandre.shabetai@cern.ch | |
12 | //---------------------------------------------------------------- | |
13 | ||
14 | #include "AliAnalysisTaskSE.h" | |
15 | #include "AliJetCalTrk.h" | |
16 | ||
17 | class AliJetFinder; | |
18 | class AliJetHistos; | |
19 | class AliAODExtension; | |
20 | class TTree; | |
21 | class TString; | |
22 | ||
23 | class AliAnalysisTaskJetsFinder : public AliAnalysisTaskSE | |
24 | { | |
25 | public: | |
26 | AliAnalysisTaskJetsFinder(); | |
27 | AliAnalysisTaskJetsFinder(const char* name); | |
28 | virtual ~AliAnalysisTaskJetsFinder(); | |
29 | // Implementation of interface methods | |
30 | virtual void UserCreateOutputObjects(); | |
31 | virtual void Init(); | |
32 | virtual Bool_t Notify(); | |
33 | virtual void LocalInit() {Init();} | |
34 | virtual void ConnectInputData(Option_t *); | |
35 | virtual void UserExec(Option_t *option); | |
36 | virtual void SetConfigFile(const char *c) {fConfigFile = c;} | |
37 | virtual void SetJetFinder(AliJetFinder *finder) {fJetFinder = finder;} | |
38 | virtual void SetNonStdBranch(const char *c){fNonStdBranch = c;} | |
39 | virtual const char* GetNonStdBranch(){return fNonStdBranch.Data();} | |
40 | virtual void SetNonStdOutputFile(const char *c){fNonStdFile = c;} | |
41 | virtual void SetBookAODBackground(Bool_t b){fUseAODBackground = b;} | |
42 | virtual void Terminate(Option_t *option); | |
43 | virtual void SetFilterPt(Float_t f){fFilterPt = f;} | |
44 | ||
45 | AliJetFinder* GetJetFinder() {return fJetFinder;} | |
46 | ||
47 | private: | |
48 | AliAnalysisTaskJetsFinder(const AliAnalysisTaskJetsFinder &det); | |
49 | AliAnalysisTaskJetsFinder &operator=(const AliAnalysisTaskJetsFinder &det); | |
50 | ||
51 | TString fConfigFile; // The name of the ConfigFile | |
52 | TString fNonStdBranch; // The name of the non-std branch name | |
53 | TString fNonStdFile; // The optional name of the output file the non-std brnach is written to | |
54 | AliJetFinder* fJetFinder; // Pointer to the jet finder | |
55 | AliJetHistos* fHistos; //! Histogram manager class | |
56 | AliAODExtension* fAODExtension; // AOD extension in case we write a non-sdt brnach to a separate file and the aod is standard | |
57 | TList* fListOfHistos; //! Output list of histograms | |
58 | TTree* fTreeI; //! Input Tree | |
59 | AliJetCalTrkEvent* fEvent; //! Pointer to jet input objects | |
60 | Bool_t fUseAODBackground; // Decide wether we book the backround branch or not | |
61 | Float_t fFilterPt; // Use this as a switch for writing the AOD, minium p_T of leading jet | |
62 | ||
63 | ClassDef(AliAnalysisTaskJetsFinder, 1) // Jet Finder Analysis task | |
64 | ||
65 | }; | |
66 | ||
67 | #endif |