AliPhysics  cda3415 (cda3415)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliFMDMCTrackInspector.h
Go to the documentation of this file.
1 #ifndef ALIFMDMCTRACKINSPECTOR_H
2 #define ALIFMDMCTRACKINSPECTOR_H
3 #include "AliFMDEnergyFitter.h"
4 #include "AliFMDMCTrackELoss.h"
5 #include <TArrayF.h>
6 class AliMCEvent;
7 class AliESDEvent;
8 
16 {
17 public:
27  AliFMDMCTrackInspector(const char* title);
31  virtual ~AliFMDMCTrackInspector();
32 
40  virtual void CreateOutputObjects(TList* dir);
48  virtual Bool_t PreEvent(const AliMCEvent& mcInput);
58  virtual Bool_t Event(const AliESDEvent& esdInput,
59  const AliMCEvent& mcInput,
60  Double_t cent=-1);
66  virtual Bool_t PostEvent();
67 
79  const AliFMDMCTrackELoss& GetTracker() const { return fTracker; }
80 protected:
90 
95 public:
97  {
101  RingHistos();
108  RingHistos(UShort_t d, Char_t r);
118  RingHistos(const RingHistos& o){;}
126  RingHistos& operator=(const RingHistos& o){return *this;}
138  Double_t low,
139  Double_t high) const;
149  virtual void SetupForData(const TAxis& eAxis,
150  const TAxis& cAxis,
151  Double_t maxDE=10,
152  Int_t nDEbins=300,
153  Bool_t useIncrBin=true);
161  virtual void FillMC(UShort_t flag, Double_t eta, Double_t mult);
169  virtual void Scale(TH1* dist) const;
186  TObjArray* Fit(TList* dir,
187  Double_t lowCut,
188  UShort_t nParticles,
189  UShort_t minEntries,
190  UShort_t minusBins,
191  Double_t relErrorCut,
192  Double_t chi2nuCut,
193  Double_t minWeight,
194  Double_t regCut,
195  EResidualMethod residuals) const;
196 
197  TH2* fPrimary; // @f$\Delta@f$ vs @f$\eta@f$ for primaries
198  TH2* fSecondary; // @f$\Delta@f$ vs @f$\eta@f$ for second.
199  public:
203  ClassDef(RingHistos,1); // Cache of histograms per ring
204  };
205 protected:
218  TArrayF fIp;
223 
225 };
226 
227 #endif
228 // Local Variables:
229 // mode: C++
230 // End:
double Double_t
Definition: External.C:58
const char * title
Definition: MakeQAPdf.C:26
virtual Bool_t PreEvent(const AliMCEvent &mcInput)
ClassDef(AliFMDMCTrackInspector, 1)
virtual void SetupForData(const TAxis &eAxis, const TAxis &cAxis, Double_t maxDE=10, Int_t nDEbins=300, Bool_t useIncrBin=true)
char Char_t
Definition: External.C:18
virtual void Scale(TH1 *dist) const
RingHistos & operator=(const RingHistos &o)
virtual Bool_t Event(const AliESDEvent &esdInput, const AliMCEvent &mcInput, Double_t cent=-1)
int Int_t
Definition: External.C:63
const AliFMDMCTrackELoss & GetTracker() const
virtual void FillMC(UShort_t flag, Double_t eta, Double_t mult)
Definition: External.C:220
TArrayD MakeIncreasingAxis(Int_t nBins, Double_t low, Double_t high) const
unsigned short UShort_t
Definition: External.C:28
AliFMDMCTrackELoss & GetTracker()
bool Bool_t
Definition: External.C:53
AliFMDMCTrackInspector & operator=(const AliFMDMCTrackInspector &)
AliFMDEnergyFitter::RingHistos * CreateRingHistos(UShort_t d, Char_t r) const
TObjArray * Fit(TList *dir, Double_t lowCut, UShort_t nParticles, UShort_t minEntries, UShort_t minusBins, Double_t relErrorCut, Double_t chi2nuCut, Double_t minWeight, Double_t regCut, EResidualMethod residuals) const
Definition: External.C:196
virtual void CreateOutputObjects(TList *dir)