]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG2/FORWARD/analysis2/AliCentraldNdetaTask.h
updated dphi correlation analysis
[u/mrichter/AliRoot.git] / PWG2 / FORWARD / analysis2 / AliCentraldNdetaTask.h
CommitLineData
ec82df5b 1//
2// Task to analyse the AOD for for dN/deta in the central regions
3//
4#ifndef ALICENTRALDNDETATASK_H
5#define ALICENTRALDNDETATASK_H
ffca499d 6/**
7 * @file AliCentraldNdetaTask.h
8 * @author Hans Hjersing Dalsgaard
9 * @date Wed Mar 23 13:59:26 2011
10 *
11 * @brief
12 *
13 * @ingroup pwg2_forward_dndeta
14 *
15 */
fe52e455 16#include "AliBasedNdetaTask.h"
ec82df5b 17class TList;
18class TH2D;
19class TH1D;
20
21/**
ffca499d 22 * Tasks to determine @f$ dN/d\eta@f$ in the forward regions
23 *
24 * @ingroup pwg2_forward_tasks_dndeta
25 * @ingroup pwg2_forward_dndeta
ec82df5b 26 */
fe52e455 27class AliCentraldNdetaTask : public AliBasedNdetaTask
ec82df5b 28{
29public:
30 /**
31 * Constructor
32 *
33 */
fe52e455 34 AliCentraldNdetaTask() : AliBasedNdetaTask() {}
ec82df5b 35 /**
36 * Constructor
ffca499d 37 *
38 * @param name Name of task - ignored
ec82df5b 39 */
aeb7e3ec 40 AliCentraldNdetaTask(const char* name);
ec82df5b 41 /**
42 * Destructor
43 *
44 */
fe52e455 45 virtual ~AliCentraldNdetaTask() {}
ec82df5b 46protected:
ec82df5b 47 /**
fe52e455 48 * Get the histogram
ec82df5b 49 *
fe52e455 50 * @param aod
51 * @param mc
ec82df5b 52 *
fe52e455 53 * @return
ec82df5b 54 */
fb3430ac 55 TH2D* GetHistogram(const AliAODEvent* aod, Bool_t mc=false);
ffca499d 56 /**
57 * Get the colour to use for markers
58 *
59 * @return Marker colour
60 */
61 virtual Int_t GetColor() const { return kRed+1; }
62 /**
63 * Get the marker style
64 *
65 * @return Marker style
66 */
67 virtual Int_t GetMarker() const { return 21; }
ec82df5b 68
69 ClassDef(AliCentraldNdetaTask,1); // Determine multiplicity in central area
70};
71
72#endif
fe52e455 73// Local Variables:
74// mode: C++
75// End:
76