AliPhysics  1168478 (1168478)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliFMDMCSharingFilter.h
Go to the documentation of this file.
1 //
2 // Class to do the sharing correction for MC data.
3 //
4 #ifndef ALIFMDMCSHARINGFILTER_H
5 #define ALIFMDMCSHARINGFILTER_H
6 
16 #include "AliFMDSharingFilter.h"
17 #include "AliFMDMCTrackDensity.h"
18 
45 {
46 public:
50  virtual ~AliFMDMCSharingFilter();
56  fTrackDensity(),
57  fFMD1i(0),
58  fFMD2i(0),
59  fFMD2o(0),
60  fFMD3i(0),
61  fFMD3o(0) /*,
62  fOperComp(0) */
63  {}
69  AliFMDMCSharingFilter(const char* title);
84 
97 
110  Bool_t FilterMC(const AliESDFMD& input,
111  const AliMCEvent& event,
112  const TVector3& ip,
113  AliESDFMD& output,
114  TH2D* primary);
122  void CompareResults(const AliESDFMD& esd, const AliESDFMD& mc);
123 
139  void Terminate(const TList* dir, TList* output, Int_t nEvents);
145  void Print(Option_t* option="") const;
146 
147  virtual void SetDebug(Int_t dbg=1);
148 protected:
150  TH2D* fFMD1i; // ESD-MC correlation
151  TH2D* fFMD2i; // ESD-MC correlation
152  TH2D* fFMD2o; // ESD-MC correlation
153  TH2D* fFMD3i; // ESD-MC correlation
154  TH2D* fFMD3o; // ESD-MC correlation
155  // TH2I* fOperComp; // Operation vs # trackrefs
157 };
158 
159 #endif
160 // Local Variables:
161 // mode: C++
162 // End:
Bool_t FilterMC(const AliESDFMD &input, const AliMCEvent &event, const TVector3 &ip, AliESDFMD &output, TH2D *primary)
void Print(Option_t *option="") const
const char * title
Definition: MakeQAPdf.C:26
const AliFMDMCTrackDensity & GetTrackDensity() const
AliFMDMCSharingFilter & operator=(const AliFMDMCSharingFilter &o)
int Int_t
Definition: External.C:63
Definition: External.C:228
AliFMDMCTrackDensity & GetTrackDensity()
void Terminate(const TList *dir, TList *output, Int_t nEvents)
ClassDef(AliFMDMCSharingFilter, 3)
virtual void SetDebug(Int_t dbg=1)
Float_t nEvents[nProd]
Input train file.
AliFMDMCTrackDensity fTrackDensity
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
void CreateOutputObjects(TList *dir)
void CompareResults(const AliESDFMD &esd, const AliESDFMD &mc)
TDirectoryFile * dir