AliPhysics  7f2a7c4 (7f2a7c4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliForwardMCMultiplicityTask.h
Go to the documentation of this file.
1 //
2 // Calculate the multiplicity in the forward regions event-by-event
3 //
4 #ifndef ALIFORWARDMCMULTIPLICITYTASK_H
5 #define ALIFORWARDMCMULTIPLICITYTASK_H
6 
17 #include "AliFMDMCEventInspector.h"
18 #include "AliMultEventClassifier.h"
19 #include "AliFMDESDFixer.h"
20 #include "AliFMDMCSharingFilter.h"
22 #include "AliFMDMCCorrector.h"
23 #include "AliFMDHistCollector.h"
24 // #include "AliFMDEnergyFitter.h"
25 #include "AliFMDEventPlaneFinder.h"
26 #include <AliESDFMD.h>
27 class AliESDEvent;
28 class TH2D;
29 class TList;
31 
53 {
54 public:
60  AliForwardMCMultiplicityTask(const char* name);
80  virtual Bool_t Book();
87  virtual Bool_t PreEvent();
93  virtual Bool_t Event(AliESDEvent& esd);
100  virtual Bool_t PostEvent();
101  /*
102  * @}
103  */
109  void SetOnlyPrimary(Bool_t use);
126  // AliMultEventClassifier& GetMultEventClassifier() { return fMultEventClassifier; }
181  // const AliMultEventClassifier& GetMultEventClassifier() const { return fMultEventClassifier; }
187  const AliFMDESDFixer& GetESDFixer() const { return fESDFixer; }
205  const AliFMDCorrector& GetCorrections() const { return fCorrections; }
227 protected:
250  virtual void InitMembers(const TAxis& pe, const TAxis& pv);
254  virtual void CreateBranches(AliAODHandler* ah);
261  virtual void EstimatedNdeta(const TList* input, TList* output) const;
262 
263  AliESDFMD fESDFMD; // Sharing corrected ESD object
264  AliESDFMD fMCESDFMD; // MC 'Sharing corrected' ESD object
265  AliForwardUtil::Histos fMCHistos; // MC Cache histograms
266  AliAODForwardMult fMCAODFMD; // MC Output object
267  AliForwardUtil::Histos fMCRingSums; // Cache histograms
268  TH2D* fPrimary; // Per event primary particles
269 
271  // AliMultEventClassifier fMultEventClassifier;//Event class
272  AliFMDESDFixer fESDFixer; // Algorithm
278 
279  ClassDef(AliForwardMCMultiplicityTask,5) // Forward multiplicity class
280 };
281 
282 #endif
283 // Local Variables:
284 // mode: C++
285 // End:
286 
const AliFMDEventInspector & GetEventInspector() const
const AliFMDEventPlaneFinder & GetEventPlaneFinder() const
const AliFMDESDFixer & GetESDFixer() const
virtual Bool_t Event(AliESDEvent &esd)
const AliFMDMCTrackDensity & GetTrackDensity() const
AliFMDMCDensityCalculator fDensityCalculator
AliFMDEventPlaneFinder & GetEventPlaneFinder()
virtual void CreateBranches(AliAODHandler *ah)
const AliFMDDensityCalculator & GetDensityCalculator() const
const AliFMDMCTrackDensity & GetTrackDensity() const
const AliFMDSharingFilter & GetSharingFilter() const
ClassDef(AliBaseESDTask, 1)
virtual void EstimatedNdeta(const TList *input, TList *output) const
Definition: External.C:228
AliFMDDensityCalculator & GetDensityCalculator()
AliForwardMCMultiplicityTask & operator=(const AliForwardMCMultiplicityTask &o)
const AliFMDCorrector & GetCorrections() const
virtual void InitMembers(const TAxis &pe, const TAxis &pv)
AliFMDEventInspector & GetEventInspector()
const AliFMDHistCollector & GetHistCollector() const
bool Bool_t
Definition: External.C:53