]>
Commit | Line | Data |
---|---|---|
a5c83ba9 | 1 | #ifndef ALIJJETCORRTASK_H |
2 | #define ALIJJETCORRTASK_H | |
3 | ||
4 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | //______________________________________________________________________________ | |
7 | // Analysis task for high pt particle correlations | |
8 | // author: R.Diaz, J. Rak, D.J. Kim | |
9 | // ALICE Group University of Jyvaskyla | |
10 | // Finland | |
11 | // | |
12 | // Fill the analysis containers for ESD or AOD | |
13 | // Note: Adapted for AliAnalysisTaskSE | |
14 | ////////////////////////////////////////////////////////////////////////////// | |
15 | ||
16 | ||
17 | #include "AliAnalysisTaskSE.h" | |
18 | #include "AliJJetCORRAnalysis.h" | |
19 | #include "AliJJetTask.h" | |
20 | #include "AliJCard.h" | |
21 | ||
22 | class AliJJetCORRAnalysis; | |
23 | class AliJRunTable; | |
24 | //============================================================== | |
25 | ||
26 | using namespace std; | |
27 | ||
28 | class AliJJetCORRTask : public AliAnalysisTaskSE { | |
29 | ||
30 | public: | |
31 | AliJJetCORRTask(); | |
32 | AliJJetCORRTask(const char *name, TString inputformat); | |
33 | AliJJetCORRTask(const AliJJetCORRTask& ap); | |
34 | AliJJetCORRTask& operator = (const AliJJetCORRTask& ap); | |
35 | virtual ~AliJJetCORRTask(); | |
36 | ||
37 | // methods to fill from AliAnalysisTaskSE | |
38 | virtual void UserCreateOutputObjects(); | |
39 | virtual void Init(); | |
40 | virtual void LocalInit() { Init(); } | |
41 | virtual void UserExec(Option_t *option); | |
42 | virtual void Terminate(Option_t *); | |
43 | virtual Bool_t UserNotify() { std::cout<<"DEBUG UserNotify"<<std::endl; return kTRUE;} | |
44 | ||
45 | void SetJetTaskName(TString name){ fJetTaskName=name; } | |
46 | void SetJJetCORRAnalysis(AliJJetCORRAnalysis * jco){ fJJetCORRAnalysis=jco; } | |
47 | void SetCard( AliJCard * card ){ fCard=card; } | |
48 | void SetTargetJetIndex( int jfindex ) { fTargetJetIndex = jfindex; } // PlayCorrelation only for selected jetfinder | |
49 | ||
50 | bool IsGoodEvent(AliVEvent *event); | |
51 | void SetDebugMode( int debug) { fDebugMode = debug; }; | |
52 | ||
53 | private: | |
54 | AliJJetTask * fJetTask; | |
55 | TString fJetTaskName; | |
56 | AliJJetCORRAnalysis * fJJetCORRAnalysis; //! | |
57 | TDirectory * fOutput; | |
58 | AliJCard * fCard; | |
59 | AliAnalysisUtils *fAnaUtils; | |
60 | AliJRunTable *fRunTable; // | |
61 | Bool_t fFirstEvent; // | |
62 | int cBin; | |
63 | int zBin; | |
64 | double zVert; | |
65 | int fDebugMode; | |
66 | int fTargetJetIndex; | |
67 | int fevt; | |
68 | ||
69 | ClassDef(AliJJetCORRTask, 1); | |
70 | }; | |
71 | #endif // AliJJetCORRTask_H |