AliPhysics  8d00e07 (8d00e07)
AliCentralMCMultiplicityTask.h
Go to the documentation of this file.
1 //
2 // Base class for classes that calculate the multiplicity in the
3 // SPD clusters event-by-event
4 //
5 #ifndef ALICENTRALMCMULTIPLICITYTASK_H
6 #define ALICENTRALMCMULTIPLICITYTASK_H
7 
18 #include "AliSPDMCTrackDensity.h"
19 class AliESDEvent;
20 class AliMCEvent;
21 
41 {
42 public:
52  AliCentralMCMultiplicityTask(const char* name);
65  virtual Bool_t Book();
71  virtual void CreateBranches(AliAODHandler* ah);
80  virtual Bool_t PreData(const TAxis& v, const TAxis& e);
87  virtual Bool_t PreEvent();
95  virtual Bool_t Event(AliESDEvent& esd);
101  virtual void Print(Option_t* option="") const;
114 
115 protected:
130  AliSPDMCTrackDensity fTrackDensity; // Calculate N_ch,incl from MC
132  ClassDef(AliCentralMCMultiplicityTask,2) // Forward multiplicity class
133 };
134 
135 #endif
136 // Local Variables:
137 // mode: C++
138 // End:
139 
virtual void CreateBranches(AliAODHandler *ah)
virtual Bool_t Event(AliESDEvent &esd)
const AliSPDMCTrackDensity & GetTrackDensity() const
virtual Bool_t PreData(const TAxis &v, const TAxis &e)
AliCentralMCMultiplicityTask & operator=(const AliCentralMCMultiplicityTask &o)
virtual void Print(Option_t *option="") const
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53