2 // Calculate the event plane in the forward regions using the FMD
4 #ifndef ALIFMDEVENTPLANETASK_H
5 #define ALIFMDEVENTPLANETASK_H
7 * @file AliFMDEventPlaneTask.h
8 * @author Alexander Hansen
9 * @date Tue Feb 21 2012
14 * @ingroup pwglf_forward_flow
16 #include "AliBaseAODTask.h"
17 #include "AliFMDEventPlaneFinder.h"
18 class AliAODForwardMult;
23 * Calculate the event plane in the forward regions using the FMD
29 * - AnalysisResults.root
31 * @ingroup pwglf_forward_tasks_flow
32 * @ingroup pwglf_forward_flow
36 class AliFMDEventPlaneTask : public AliBaseAODTask
42 AliFMDEventPlaneTask();
46 * @param name Name of task
48 AliFMDEventPlaneTask(const char* name);
52 virtual ~AliFMDEventPlaneTask() {}
55 * @name Task interface methods
58 * Create output objects
60 * @return true on success
62 virtual Bool_t Book();
66 * @param aod AOD Event
68 * @return true on success
70 virtual Bool_t Event(AliAODEvent& aod);
74 * @return true on success
76 virtual Bool_t Finalize();
78 * Get reference to the EventPlaneFinder algorithm
80 * @return Reference to AliFMDEventPlaneFinder object
82 AliFMDEventPlaneFinder& GetEventPlaneFinder() { return fEventPlaneFinder; }
84 * Get reference to the EventPlaneFinder algorithm
86 * @return Reference to AliFMDEventPlaneFinder object
88 const AliFMDEventPlaneFinder& GetEventPlaneFinder() const { return fEventPlaneFinder; }
93 * @param o Object to copy from
95 AliFMDEventPlaneTask(const AliFMDEventPlaneTask& o);
99 * @return Reference to this object
101 AliFMDEventPlaneTask& operator=(const AliFMDEventPlaneTask&);
103 AliFMDEventPlaneFinder fEventPlaneFinder; // Eventplane finder for the FMD
104 TH1D* fHistVertexSel; // Diagnostics histogram
106 ClassDef(AliFMDEventPlaneTask, 3); // Analysis task for FMD analysis