- coverity fix 10184
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis2 / AliForwarddNdetaTask.h
CommitLineData
b2e7f2d6 1//
2// Task to analyse the AOD for for dN/deta in the forward regions
3//
4#ifndef ALIFORWARDDNDETATASK_H
5#define ALIFORWARDDNDETATASK_H
4acee65c 6#include "AliBasedNdetaTask.h"
b2e7f2d6 7class TList;
8class TH2D;
9class TH1D;
10
11/**
12 * Task to determine the
13 */
fe52e455 14class AliForwarddNdetaTask : public AliBasedNdetaTask
b2e7f2d6 15{
16public:
17 /**
18 * Constructor
19 *
20 */
21 AliForwarddNdetaTask();
22 /**
23 * Constructor
24 *
25 * @param name Name of task
26 * @param maxVtx Set @f$v_z@f$ range
27 */
28 AliForwarddNdetaTask(const char* name);
b2e7f2d6 29 /**
30 * Destructor
31 *
32 */
fe52e455 33 virtual ~AliForwarddNdetaTask() {}
b2e7f2d6 34 /**
35 * Called at end of event processing..
36 *
37 * This is called once in the master
38 *
39 * @param option Not used
40 */
41 virtual void Terminate(Option_t* option);
42protected:
b2e7f2d6 43 /**
fe52e455 44 * Copy constructor
b2e7f2d6 45 */
fe52e455 46 AliForwarddNdetaTask(const AliForwarddNdetaTask& o);
b2e7f2d6 47 /**
fe52e455 48 * Assigmement operator
b2e7f2d6 49 *
fe52e455 50 * @return Reference to this
b2e7f2d6 51 */
fe52e455 52 AliForwarddNdetaTask& operator=(const AliForwarddNdetaTask&) { return *this; }
53
b2e7f2d6 54 /**
fe52e455 55 * Retrieve the histogram
b2e7f2d6 56 *
fe52e455 57 * @param aod AOD event
58 * @param mc Whether to get the MC histogram or not
59 *
60 * @return Retrieved histogram or null
b2e7f2d6 61 */
fb3430ac 62 TH2D* GetHistogram(const AliAODEvent* aod, Bool_t mc);
b2e7f2d6 63 TH2D* fSumPrimary; // Sum of primary histograms
fb3430ac 64 TNamed* fSNNString; // sqrt(s_NN) string
65 TNamed* fSysString; // Collision system string
b2e7f2d6 66
fe52e455 67 ClassDef(AliForwarddNdetaTask,1); // Determine multiplicity in forward region
b2e7f2d6 68};
69
70#endif
fe52e455 71//
72// Local Variables:
73// mode: C++
74// End:
75//