2 // Base class for classes that calculate the multiplicity in the
3 // SPD clusters event-by-event
5 #ifndef ALICENTRALMCMULTIPLICITYTASK_H
6 #define ALICENTRALMCMULTIPLICITYTASK_H
8 * @file AliCentralMCMultiplicityTask.h
9 * @author Hans Hjersing Dalsgaard
10 * @date Wed Mar 23 14:00:03 2011
14 * @ingroup pwg2_forward_aod
17 #include "AliCentralMultiplicityTask.h"
18 #include "AliSPDMCTrackDensity.h"
19 //class AliForwardCorrectionManager;
24 * Class that calculates the multiplicity in the
25 * central region event-by-event
31 * - 2 AliAODCentralMult (one from data and one from MC)
35 * @par Corrections used
37 * @ingroup pwg2_forward_tasks
38 * @ingroup pwg2_forward_aod
41 class AliCentralMCMultiplicityTask : public AliCentralMultiplicityTask
46 * @name Interface methods
51 * @param name Name of task
53 AliCentralMCMultiplicityTask(const char* name);
57 * Reserved for ROOT's I/O system - do not use
59 AliCentralMCMultiplicityTask();
63 * @param o Object to copy from
65 AliCentralMCMultiplicityTask(const AliCentralMCMultiplicityTask& o);
69 * @param o Object to assign from
71 * @return Reference to this object
73 AliCentralMCMultiplicityTask& operator=(const AliCentralMCMultiplicityTask&o);
75 * Create output objects
78 virtual void UserCreateOutputObjects();
82 * @param option Not used
84 virtual void UserExec(Option_t* option);
88 * @param option Not used
90 virtual void Terminate(Option_t* option);
94 * @param option Not used
96 virtual void Print(Option_t* option="") const;
99 AliSPDMCTrackDensity fTrackDensity; // Calculate N_ch,incl
101 AliAODCentralMult fAODMCCentral; // Output object
102 ClassDef(AliCentralMCMultiplicityTask,1) // Forward multiplicity class