AliPhysics  e34b7ac (e34b7ac)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliFMDMCHitEnergyFitterTask.h
Go to the documentation of this file.
1 #ifndef ALIFMDMCHITENERGYFITTERTASK_H
2 #define ALIFMDMCHITENERGYFITTERTASK_H
3 #include <AliBaseESDTask.h>
5 #include <AliFMDEventInspector.h>
6 class AliMCAuxHandler;
7 
50 {
51 public:
56  : AliBaseESDTask(),
57  fEventInspector(),
58  fEnergyFitter(),
59  fHitHandler(0)
60  {}
67  AliFMDMCHitEnergyFitterTask(const char* name,
68  Bool_t useTuple=false);
73 
80  Bool_t Setup();
87  Bool_t Book();
98  Bool_t PreData(const TAxis& ipz, const TAxis& eta);
106  Bool_t Event(AliESDEvent& esd);
114  Bool_t Finalize() { fEnergyFitter.Fit(fResults); return true; }
120  void Print(Option_t* option="") const;
133  {
134  return fEventInspector;
135  }
148  {
149  return fEnergyFitter;
150  }
151  void SetDebug(Int_t dbg) {
153 protected:
173  TAxis* DefaultEtaAxis() const;
179  TAxis* DefaultVertexAxis() const;
180 
181  AliFMDEventInspector fEventInspector; // The event inspector
182  AliFMDMCHitEnergyFitter fEnergyFitter; // The energy loss fitter
183  AliMCAuxHandler* fHitHandler; // Handler for reading hits in
184 
185  ClassDef(AliFMDMCHitEnergyFitterTask,1); // Task to fit Delta from MC hits
186 };
187 
188 #endif
189 // Local Variables:
190 // mode: C++
191 // End:
const AliFMDEventInspector & GetEventInspector() const
const AliFMDMCHitEnergyFitter & GetEnergyFitter() const
virtual void Fit(const TList *dir)
AliFMDMCHitEnergyFitter & GetEnergyFitter()
Bool_t PreData(const TAxis &ipz, const TAxis &eta)
void Print(Option_t *option="") const
int Int_t
Definition: External.C:63
virtual void SetDebug(Int_t dbg)
ClassDef(AliFMDMCHitEnergyFitterTask, 1)
void SetDebug(Int_t dbg=1)
const char Option_t
Definition: External.C:48
AliFMDEventInspector & GetEventInspector()
bool Bool_t
Definition: External.C:53
AliFMDMCHitEnergyFitterTask & operator=(const AliFMDMCHitEnergyFitterTask &o)