]>
Commit | Line | Data |
---|---|---|
8d312f00 | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
e2d51347 | 3 | /* $Id: $ */ |
8d312f00 | 4 | |
5 | #ifndef AliAnalysisTaskScalarProduct_H | |
6 | #define AliAnalysisTaskScalarProduct_H | |
7 | ||
8 | // AliAnalysisTaskScalarProduct: | |
9 | // analysis task for Scalar Product method | |
10 | // Author: Naomi van der Kolk (kolk@nikhef.nl) | |
11 | ||
12 | class AliESDEvent; | |
13 | class AliAODEvent; | |
88e00a8a | 14 | class AliCFManager; |
8d312f00 | 15 | class AliFlowAnalysisWithScalarProduct; |
16 | class AliFlowEventSimpleMaker; | |
88e00a8a | 17 | class TList; |
8d312f00 | 18 | |
19 | #include "TString.h" | |
20 | #include "AliAnalysisTask.h" | |
21 | ||
22 | class AliAnalysisTaskScalarProduct : public AliAnalysisTask { | |
23 | public: | |
882ffd6a | 24 | AliAnalysisTaskScalarProduct(); |
9d062fe3 | 25 | AliAnalysisTaskScalarProduct(const char *name,Bool_t QAon = kFALSE); |
e2d51347 | 26 | virtual ~AliAnalysisTaskScalarProduct(); |
8d312f00 | 27 | |
28 | virtual void ConnectInputData(Option_t *); | |
29 | virtual void CreateOutputObjects(); | |
30 | virtual void Exec(Option_t *option); | |
31 | virtual void Terminate(Option_t *); | |
32 | ||
33 | void SetAnalysisType(TString type) { this->fAnalysisType = type; } | |
34 | TString GetAnalysisType() const { return this->fAnalysisType; } | |
88e00a8a | 35 | |
36 | void SetCFManager1(AliCFManager* cfmgr) {this->fCFManager1 = cfmgr; } | |
37 | AliCFManager* GetCFManager1() {return this->fCFManager1; } | |
38 | void SetCFManager2(AliCFManager* cfmgr) {this->fCFManager2 = cfmgr; } | |
39 | AliCFManager* GetCFManager2() {return this->fCFManager2; } | |
9d062fe3 | 40 | void SetQAList1(TList* list) {this->fQAInt = list; } |
41 | TList* GetQAList1() {return this->fQAInt; } | |
42 | void SetQAList2(TList* list) {this->fQADiff = list; } | |
43 | TList* GetQAList2() {return this->fQADiff; } | |
44 | void SetQAOn(Bool_t kt) {this->fQA = kt; } | |
45 | Bool_t GetQAOn() {return this->fQA; } | |
88e00a8a | 46 | |
8d312f00 | 47 | private: |
b76ccfd5 | 48 | |
49 | AliAnalysisTaskScalarProduct(const AliAnalysisTaskScalarProduct& aAnalysisTask); | |
50 | AliAnalysisTaskScalarProduct& operator=(const AliAnalysisTaskScalarProduct& aAnalysisTask); | |
51 | ||
9d062fe3 | 52 | AliESDEvent* fESD; // ESD object |
53 | AliAODEvent* fAOD; // AOD object | |
8d312f00 | 54 | AliFlowAnalysisWithScalarProduct* fSP; // analysis object |
55 | AliFlowEventSimpleMaker* fEventMaker; // FlowEventSimple maker object | |
9d062fe3 | 56 | TString fAnalysisType; // can be MC, ESD or AOD |
88e00a8a | 57 | AliCFManager* fCFManager1; // correction framework manager |
58 | AliCFManager* fCFManager2; // correction framework manager | |
9d062fe3 | 59 | TList* fListHistos; // collection of output |
60 | TList* fQAInt; // QA histogram list | |
61 | TList* fQADiff; // QA histogram list | |
62 | ||
63 | Bool_t fQA; // flag to set the filling of the QA hostograms | |
8d312f00 | 64 | |
65 | ClassDef(AliAnalysisTaskScalarProduct, 1); // example of analysis | |
66 | }; | |
67 | ||
df802279 | 68 | #endif |