]>
Commit | Line | Data |
---|---|---|
9632bb06 | 1 | // |
2 | // Calculate the event plane in the forward regions using the FMD | |
3 | // | |
4 | #ifndef ALIFMDEVENTPLANETASK_H | |
5 | #define ALIFMDEVENTPLANETASK_H | |
6 | /** | |
7 | * @file AliFMDEventPlaneTask.h | |
8 | * @author Alexander Hansen | |
9 | * @date Tue Feb 21 2012 | |
10 | * | |
11 | * @brief | |
12 | * | |
13 | * | |
14 | * @ingroup pwglf_forward_flow | |
15 | */ | |
c8b1a7db | 16 | #include "AliBaseAODTask.h" |
9632bb06 | 17 | #include "AliFMDEventPlaneFinder.h" |
18 | class AliAODForwardMult; | |
19 | class TH1D; | |
20 | class TH2D; | |
21 | ||
9632bb06 | 22 | /** |
23 | * Calculate the event plane in the forward regions using the FMD | |
24 | * | |
25 | * @par Inputs: | |
26 | * - AliAODEvent | |
27 | * | |
28 | * Outputs: | |
29 | * - AnalysisResults.root | |
30 | * | |
31 | * @ingroup pwglf_forward_tasks_flow | |
32 | * @ingroup pwglf_forward_flow | |
33 | * | |
34 | * | |
35 | */ | |
c8b1a7db | 36 | class AliFMDEventPlaneTask : public AliBaseAODTask |
9632bb06 | 37 | { |
38 | public: | |
39 | /** | |
40 | * Constructor | |
41 | */ | |
42 | AliFMDEventPlaneTask(); | |
43 | /** | |
44 | * Constructor | |
45 | * | |
46 | * @param name Name of task | |
47 | */ | |
48 | AliFMDEventPlaneTask(const char* name); | |
49 | /** | |
50 | * Destructor | |
51 | */ | |
52 | virtual ~AliFMDEventPlaneTask() {} | |
53 | /** | |
54 | * @{ | |
55 | * @name Task interface methods | |
56 | */ | |
57 | /** | |
58 | * Create output objects | |
c8b1a7db | 59 | * |
60 | * @return true on success | |
9632bb06 | 61 | */ |
c8b1a7db | 62 | virtual Bool_t Book(); |
9632bb06 | 63 | /** |
64 | * Process each event | |
65 | * | |
c8b1a7db | 66 | * @param aod AOD Event |
67 | * | |
68 | * @return true on success | |
9632bb06 | 69 | */ |
c8b1a7db | 70 | virtual Bool_t Event(AliAODEvent& aod); |
9632bb06 | 71 | /** |
72 | * End of job | |
73 | * | |
c8b1a7db | 74 | * @return true on success |
9632bb06 | 75 | */ |
c8b1a7db | 76 | virtual Bool_t Finalize(); |
9632bb06 | 77 | /** |
78 | * Get reference to the EventPlaneFinder algorithm | |
79 | * | |
80 | * @return Reference to AliFMDEventPlaneFinder object | |
81 | */ | |
82 | AliFMDEventPlaneFinder& GetEventPlaneFinder() { return fEventPlaneFinder; } | |
83 | /** | |
84 | * Get reference to the EventPlaneFinder algorithm | |
85 | * | |
86 | * @return Reference to AliFMDEventPlaneFinder object | |
87 | */ | |
88 | const AliFMDEventPlaneFinder& GetEventPlaneFinder() const { return fEventPlaneFinder; } | |
9632bb06 | 89 | protected: |
90 | /** | |
91 | * Copy constructor | |
92 | * | |
93 | * @param o Object to copy from | |
94 | */ | |
95 | AliFMDEventPlaneTask(const AliFMDEventPlaneTask& o); | |
96 | /** | |
97 | * Assignment operator | |
98 | * | |
99 | * @return Reference to this object | |
100 | */ | |
101 | AliFMDEventPlaneTask& operator=(const AliFMDEventPlaneTask&); | |
102 | ||
9632bb06 | 103 | AliFMDEventPlaneFinder fEventPlaneFinder; // Eventplane finder for the FMD |
9632bb06 | 104 | TH1D* fHistVertexSel; // Diagnostics histogram |
9632bb06 | 105 | |
c8b1a7db | 106 | ClassDef(AliFMDEventPlaneTask, 3); // Analysis task for FMD analysis |
9632bb06 | 107 | }; |
108 | ||
109 | #endif | |
110 | // Local Variables: | |
111 | // mode: C++ | |
112 | // End: |