2 // Task to analyse the AOD for for dN/deta in the forward regions
4 #ifndef ALIFORWARDDNDETATASK_H
5 #define ALIFORWARDDNDETATASK_H
6 #include <AliBasedNdetaTask.h>
12 * Task to determine the
14 class AliForwarddNdetaTask : public AliBasedNdetaTask
21 AliForwarddNdetaTask();
25 * @param name Name of task
26 * @param maxVtx Set @f$v_z@f$ range
28 AliForwarddNdetaTask(const char* name);
33 virtual ~AliForwarddNdetaTask() {}
35 * Called at end of event processing..
37 * This is called once in the master
39 * @param option Not used
41 virtual void Terminate(Option_t* option);
46 AliForwarddNdetaTask(const AliForwarddNdetaTask& o);
48 * Assigmement operator
50 * @return Reference to this
52 AliForwarddNdetaTask& operator=(const AliForwarddNdetaTask&) { return *this; }
55 * Retrieve the histogram
57 * @param aod AOD event
58 * @param mc Whether to get the MC histogram or not
60 * @return Retrieved histogram or null
62 TH2D* GetHistogram(AliAODEvent* aod, Bool_t mc);
63 TH2D* fSumPrimary; // Sum of primary histograms
64 TNamed* fSNNString; //
65 TNamed* fSysString; //
67 ClassDef(AliForwarddNdetaTask,1); // Determine multiplicity in forward region