AliPhysics  41af4b0 (41af4b0)
AliFMDEnergyFitterTask.h
Go to the documentation of this file.
1 // Histogram and fit the energy loss distributions for the FMD
2 //
3 // Wraps AliFMDEnergyFitter
4 #ifndef ALIFMDENERGYFITTERTASK_H
5 #define ALIFMDENERGYFITTERTASK_H
6 
16 #include "AliBaseESDTask.h"
17 #include "AliFMDEventInspector.h"
18 #include "AliFMDEnergyFitter.h"
19 #include "AliFMDESDFixer.h"
20 class AliESDEvent;
21 class TH2D;
22 class TList;
23 class TTree;
24 
25 
45 {
46 public:
52  AliFMDEnergyFitterTask(const char* name);
66  virtual Bool_t Setup();
78  virtual Bool_t Book();
86  virtual void PreCorrections(const AliESDEvent* esd);
94  virtual Bool_t PreData(const TAxis& vertex, const TAxis& eta);
101  virtual Bool_t Event(AliESDEvent& esd);
107  virtual Bool_t Finalize();
116  void Print(Option_t* option="") const;
157  void SetDebug(Int_t dbg);
164  void SetOnlyMB(Bool_t onlyMB) { fOnlyMB = onlyMB; }
165  /* @} */
178  virtual TAxis* DefaultEtaAxis() const;
187  virtual TAxis* DefaultVertexAxis() const;
188  /* @} */
189 protected:
204 
205  virtual const char* DefaultConfig() const { return "elossFitConfig.C"; }
206 
208  AliFMDESDFixer fESDFixer; // Algorithm
210  Bool_t fOnlyMB; // Only MB flag
211 
212  ClassDef(AliFMDEnergyFitterTask,4) // Forward multiplicity class
213 };
214 
215 #endif
216 // Local Variables:
217 // mode: C++
218 // End:
219 
AliFMDEventInspector fEventInspector
const AliFMDEventInspector & GetEventInspector() const
AliFMDEnergyFitter fEnergyFitter
void SetOnlyMB(Bool_t onlyMB)
virtual Bool_t Event(AliESDEvent &esd)
virtual const char * DefaultConfig() const
AliFMDEnergyFitterTask & operator=(const AliFMDEnergyFitterTask &o)
virtual TAxis * DefaultVertexAxis() const
AliFMDEventInspector & GetEventInspector()
virtual Bool_t PreData(const TAxis &vertex, const TAxis &eta)
int Int_t
Definition: External.C:63
Definition: External.C:228
AliFMDESDFixer & GetESDFixer()
virtual void PreCorrections(const AliESDEvent *esd)
void Print(Option_t *option="") const
virtual TAxis * DefaultEtaAxis() const
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
AliFMDEnergyFitter & GetEnergyFitter()