AliPhysics  9c66e61 (9c66e61)
AliForwardQATask.h
Go to the documentation of this file.
1 //
2 // Calculate the qa in the forward regions event-by-event
3 //
4 #ifndef ALIFORWARDQATASK_H
5 #define ALIFORWARDQATASK_H
6 
16 #include "AliBaseESDTask.h"
17 #include "AliFMDEventInspector.h"
18 #include "AliFMDESDFixer.h"
19 #include "AliFMDSharingFilter.h"
21 #include "AliFMDEnergyFitter.h"
22 #include <AliESDFMD.h>
23 class AliESDEvent;
24 class TH2D;
25 class TAxis;
26 
44 {
45 public:
51  AliForwardQATask(const char* name);
65  virtual Bool_t Setup();
77  virtual Bool_t Book();
85  virtual Bool_t PreData(const TAxis& vertex, const TAxis& eta);
86 
93  virtual Bool_t PreEvent();
101  virtual Bool_t Event(AliESDEvent& esd);
107  virtual Bool_t Finalize();
123  virtual TAxis* DefaultEtaAxis() const;
132  virtual TAxis* DefaultVertexAxis() const;
133  /* @} */
179  const AliFMDESDFixer& GetESDFixer() const { return fESDFixer; }
206  void SetDebug(Int_t dbg);
212  void Print(Option_t* option="") const;
218  Bool_t IsMC() const { return GetEventInspector().IsMC(); }
219 protected:
234 
235  Bool_t fEnableLowFlux;// Whether to use low-flux code
236  AliESDFMD fESDFMD; // Sharing corrected ESD object
237  AliForwardUtil::Histos fHistos; // Cache histograms
239  AliFMDESDFixer fESDFixer; // Algorithm
243 
244  ClassDef(AliForwardQATask,4) // Forward QA class
245 };
246 
247 #endif
248 // Local Variables:
249 // mode: C++
250 // End:
251 
virtual Bool_t Finalize()
AliFMDEventInspector fEventInspector
const AliFMDDensityCalculator & GetDensityCalculator() const
AliForwardQATask & operator=(const AliForwardQATask &o)
Bool_t IsMC() const
virtual Bool_t Event(AliESDEvent &esd)
const AliFMDEventInspector & GetEventInspector() const
const AliFMDESDFixer & GetESDFixer() const
AliFMDSharingFilter & GetSharingFilter()
AliForwardUtil::Histos fHistos
void Print(Option_t *option="") const
void SetDebug(Int_t dbg)
int Int_t
Definition: External.C:63
AliFMDESDFixer & GetESDFixer()
Definition: External.C:228
virtual Bool_t Book()
AliFMDEnergyFitter fEnergyFitter
const AliFMDSharingFilter & GetSharingFilter() const
AliFMDESDFixer fESDFixer
AliFMDSharingFilter fSharingFilter
virtual Bool_t Setup()
virtual Bool_t PreData(const TAxis &vertex, const TAxis &eta)
AliFMDEventInspector & GetEventInspector()
const AliFMDEnergyFitter & GetEnergyFitter() const
const char Option_t
Definition: External.C:48
AliFMDDensityCalculator & GetDensityCalculator()
AliFMDEnergyFitter & GetEnergyFitter()
bool Bool_t
Definition: External.C:53
virtual TAxis * DefaultVertexAxis() const
virtual Bool_t PreEvent()
AliFMDDensityCalculator fDensityCalculator
virtual TAxis * DefaultEtaAxis() const