]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/FORWARD/analysis2/AliCentralMCMultiplicityTask.h
remove buggy histos
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / AliCentralMCMultiplicityTask.h
CommitLineData
52047b6f 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/**
8 * @file AliCentralMCMultiplicityTask.h
9 * @author Hans Hjersing Dalsgaard
10 * @date Wed Mar 23 14:00:03 2011
11 *
12 * @brief
13 *
bd6f5206 14 * @ingroup pwglf_forward_aod
52047b6f 15 *
16 */
17#include "AliCentralMultiplicityTask.h"
c6d6aa81 18#include "AliSPDMCTrackDensity.h"
52047b6f 19//class AliForwardCorrectionManager;
20class AliESDEvent;
21class AliMCEvent;
52047b6f 22
23/**
24 * Class that calculates the multiplicity in the
25 * central region event-by-event
26 *
27 * @par Inputs:
28 * - AliESDEvent
29 *
30 * @par Outputs:
31 * - 2 AliAODCentralMult (one from data and one from MC)
32 *
33 * @par Histograms
34 *
35 * @par Corrections used
36 *
bd6f5206 37 * @ingroup pwglf_forward_tasks
38 * @ingroup pwglf_forward_aod
52047b6f 39 *
40 */
41class AliCentralMCMultiplicityTask : public AliCentralMultiplicityTask
42{
43public:
44 /**
45 * @{
46 * @name Interface methods
47 */
48 /**
49 * Constructor
50 *
51 * @param name Name of task
52 */
53 AliCentralMCMultiplicityTask(const char* name);
54 /**
55 * Constructor
56 *
57 * Reserved for ROOT's I/O system - do not use
58 */
59 AliCentralMCMultiplicityTask();
60 /**
61 * Copy constructor
62 *
63 * @param o Object to copy from
64 */
65 AliCentralMCMultiplicityTask(const AliCentralMCMultiplicityTask& o);
66 /**
67 * Assignment operator
68 *
69 * @param o Object to assign from
70 *
71 * @return Reference to this object
72 */
c6d6aa81 73 AliCentralMCMultiplicityTask& operator=(const AliCentralMCMultiplicityTask&o);
52047b6f 74 /**
75 * Create output objects
76 *
77 */
78 virtual void UserCreateOutputObjects();
79 /**
80 * Process each event
81 *
82 * @param option Not used
83 */
84 virtual void UserExec(Option_t* option);
85 /**
86 * End of job
87 *
88 * @param option Not used
89 */
90 virtual void Terminate(Option_t* option);
91 /**
92 * Print information
93 *
94 * @param option Not used
95 */
96 virtual void Print(Option_t* option="") const;
97
98protected:
c6d6aa81 99 AliSPDMCTrackDensity fTrackDensity; // Calculate N_ch,incl
100 // from MC
52047b6f 101 AliAODCentralMult fAODMCCentral; // Output object
52047b6f 102 ClassDef(AliCentralMCMultiplicityTask,1) // Forward multiplicity class
103};
104
105#endif
106// Local Variables:
107// mode: C++
108// End:
109