]>
Commit | Line | Data |
---|---|---|
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 | * | |
bd6f5206 | 13 | * @ingroup pwglf_forward_dndeta |
ffca499d | 14 | * |
15 | */ | |
fe52e455 | 16 | #include "AliBasedNdetaTask.h" |
ec82df5b | 17 | class TList; |
18 | class TH2D; | |
19 | class TH1D; | |
20 | ||
21 | /** | |
ffca499d | 22 | * Tasks to determine @f$ dN/d\eta@f$ in the forward regions |
23 | * | |
bd6f5206 | 24 | * @ingroup pwglf_forward_tasks_dndeta |
25 | * @ingroup pwglf_forward_dndeta | |
ec82df5b | 26 | */ |
fe52e455 | 27 | class AliCentraldNdetaTask : public AliBasedNdetaTask |
ec82df5b | 28 | { |
29 | public: | |
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 | 46 | protected: |
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 | /** |
9ecab72f | 57 | * Get the colour to use for markers (only pp - in PbPb we use a rainbow) |
ffca499d | 58 | * |
59 | * @return Marker colour | |
60 | */ | |
9ecab72f | 61 | virtual Int_t GetColor() const { return kMagenta+2; } |
ffca499d | 62 | /** |
63 | * Get the marker style | |
64 | * | |
65 | * @return Marker style | |
66 | */ | |
9ecab72f | 67 | virtual Int_t GetMarker() const { return GetMarkerStyle(kSquare); } |
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 |