AliPhysics  c7b8e89 (c7b8e89)
AliForwardMCCorrectionsTask.h
Go to the documentation of this file.
1 //
2 // Calculate the corrections in the forward regions
3 //
4 #ifndef ALIFORWARDMCCORRECTIONS_H
5 #define ALIFORWARDMCCORRECTIONS_H
6 
17 #include <AliESDFMD.h>
18 #include "AliFMDMCTrackDensity.h"
19 #include "AliForwardUtil.h"
20 #include <TH1I.h>
21 class AliESDEvent;
23 class TList;
24 class TVector3;
25 
51 {
52 public:
58  AliForwardMCCorrectionsTask(const char* name);
72  virtual Bool_t PreEvent();
81  void Print(Option_t* option="") const;
94 protected:
115  {
119  VtxBin();
127  VtxBin(Double_t low, Double_t high, const TAxis& etaAxis);
133  VtxBin(const VtxBin& o){;}
141  VtxBin& operator=(const VtxBin& o){return *this;}
156  TH2D* MakeBg(const TH2D* hits, const TH2D* primary) const;
165  void Terminate(const TList* i,
166  TList* o,
167  UShort_t iVz,
169 
170  AliForwardUtil::Histos fHists; // Cache of per-ring histograms
171  // ClassDef(VtxBin,2); // Vertex bin
172  };
192  Bool_t ProcessESD(const AliESDEvent& esd, const AliMCEvent& mc,
194  const TVector3& ip);
200  virtual void CreateCorrections(TList* results);
210  UShort_t iVz);
211 
212 
213  AliFMDMCTrackDensity fTrackDensity; // Get the track density
214  AliESDFMD fESDFMD; // Cache object
216  ClassDef(AliForwardMCCorrectionsTask,4) // Forward corrections class
217 };
218 
219 #endif
220 // Local Variables:
221 // mode: C++
222 // End:
223 
virtual void CreateCorrections(TList *results)
double Double_t
Definition: External.C:58
TH2D * MakeBg(const TH2D *hits, const TH2D *primary) const
const AliBaseMCTrackDensity & GetTrackDensity() const
void Print(Option_t *option="") const
AliForwardMCCorrectionsTask & operator=(const AliForwardMCCorrectionsTask &o)
AliBaseMCCorrectionsTask::VtxBin * CreateVtxBin(Double_t low, Double_t high)
Various utilities used in PWGLF/FORWARD.
Definition: External.C:228
AliBaseMCTrackDensity & GetTrackDensity()
virtual Bool_t FinalizeVtxBin(AliBaseMCCorrectionsTask::VtxBin *bin, UShort_t iVz)
unsigned short UShort_t
Definition: External.C:28
void Terminate(const TList *i, TList *o, UShort_t iVz, AliFMDCorrSecondaryMap *map)
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
Bool_t ProcessESD(const AliESDEvent &esd, const AliMCEvent &mc, AliBaseMCCorrectionsTask::VtxBin &bin, const TVector3 &ip)