]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/FORWARD/analysis2/AliCentraldNdetaTask.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / AliCentraldNdetaTask.h
1 //
2 // Task to analyse the AOD for for dN/deta in the central regions 
3 //
4 #ifndef ALICENTRALDNDETATASK_H
5 #define ALICENTRALDNDETATASK_H
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 pwglf_forward_dndeta
14  * 
15  */
16 #include "AliBasedNdetaTask.h"
17 class TList;
18 class TH2D;
19 class TH1D;
20
21 /**
22  * Tasks to determine @f$ dN/d\eta@f$ in the forward regions
23  *
24  * @ingroup pwglf_forward_tasks_dndeta
25  * @ingroup pwglf_forward_dndeta
26  */
27 class AliCentraldNdetaTask : public AliBasedNdetaTask
28 {
29 public:
30   /** 
31    * Constructor 
32    * 
33    */
34   AliCentraldNdetaTask();
35   /** 
36    * Constructor
37    *
38    * @param name Name of task - ignored
39    */
40   AliCentraldNdetaTask(const char* name);
41   /**
42    * Destructor
43    * 
44    */
45   virtual ~AliCentraldNdetaTask() {}
46 protected:
47   /** 
48    * Get the histogram 
49    * 
50    * @param aod 
51    * @param mc 
52    * 
53    * @return 
54    */
55   TH2D* GetHistogram(const AliAODEvent& aod, Bool_t mc=false);
56   /** 
57    * Get the colour to use for markers (only pp - in PbPb we use a rainbow)
58    * 
59    * @return Marker colour 
60    */
61   virtual Int_t GetColor() const { return kMagenta+2; }
62   /** 
63    * Get the marker style 
64    * 
65    * @return Marker style 
66    */
67   virtual Int_t GetMarker() const { return GetMarkerStyle(kSquare); }
68
69   ClassDef(AliCentraldNdetaTask,2); // Determine multiplicity in central area
70 };
71
72 #endif
73 // Local Variables:
74 //   mode: C++
75 // End:
76