AliPhysics  5b8f126 (5b8f126)
AliFMDMCEventInspector.h
Go to the documentation of this file.
1 //
2 // This class inspects the event
3 //
4 #ifndef ALIFMDMCEVENTINSPECTOR_H
5 #define ALIFMDMCEVENTINSPECTOR_H
6 
16 #include "AliFMDEventInspector.h"
17 class AliMCEvent;
18 class TH2F;
19 class AliStack;
20 class TVector3;
21 
43 {
44 public:
54  AliFMDMCEventInspector(const char* name);
64  virtual ~AliFMDMCEventInspector();
73 
79  void SetupForData(const TAxis& vtxAxis);
97  UInt_t ProcessMC(AliMCEvent* event,
98  UInt_t& triggers,
99  UShort_t& ivz,
100  TVector3& ip,
101  Double_t& b,
102  Double_t& c,
103  Int_t& npart,
104  Int_t& nbin,
105  Double_t& phiR);
121  virtual Bool_t CompareResults(Double_t vz, Double_t trueVz,
122  Double_t cent, Double_t mcC,
123  Double_t b,
124  Int_t npart, Int_t nbin);
130  virtual void ReadProductionDetails(AliMCEvent* event);
131 protected:
141  virtual Bool_t ReadCentrality(const AliESDEvent& esd, Double_t& cent,
142  UShort_t& qual) const;
152  Bool_t IsSingleDiffractive(AliStack* stack,
153  Double_t xiMin=0,
154  Double_t xiMax=1./81) const;
155  virtual Bool_t CheckFastPartition(bool) const { return false; }
156 
157  TH1F* fHVertex; // Histogram of vertex
158  TH2F* fHVertexXY;// Histogram of vertex (xy)
159  TH1F* fHPhiR; // Histogram of event plane
160  TH1F* fHB; // Histogram of impact parameter
161  TH1F* fHMcC; // Histogram of centrality derived from imp. par.
162  TH2F* fHBvsPart; // Impact parameter vs # participants
163  TH2F* fHBvsBin; // Impact parameter vs # participants
164  TH2F* fHBvsCent; // Impact parameter vs centrality
165  TH2F* fHVzComp; // True vs reconstructed vz
166  TH2F* fHCentVsPart; // Centrality versus # participants
167  TH2F* fHCentVsBin; // Centrality versus # binary collisions
168  TH2F* fHCentVsMcC; // Compare centralities
169  TString fProduction; // Production information
170  ClassDef(AliFMDMCEventInspector,4); // Inspect the event
171 };
172 
173 #endif
174 // Local Variables:
175 // mode: C++
176 // End:
177 
178 
179 
double Double_t
Definition: External.C:58
Definition: External.C:236
virtual Bool_t CompareResults(Double_t vz, Double_t trueVz, Double_t cent, Double_t mcC, Double_t b, Int_t npart, Int_t nbin)
virtual Bool_t ReadCentrality(const AliESDEvent &esd, Double_t &cent, UShort_t &qual) const
TCanvas * c
Definition: TestFitELoss.C:172
AliStack * stack
int Int_t
Definition: External.C:63
unsigned int UInt_t
Definition: External.C:33
virtual void ReadProductionDetails(AliMCEvent *event)
void SetupForData(const TAxis &vtxAxis)
AliFMDMCEventInspector & operator=(const AliFMDMCEventInspector &)
UInt_t ProcessMC(AliMCEvent *event, UInt_t &triggers, UShort_t &ivz, TVector3 &ip, Double_t &b, Double_t &c, Int_t &npart, Int_t &nbin, Double_t &phiR)
Bool_t IsSingleDiffractive(AliStack *stack, Double_t xiMin=0, Double_t xiMax=1./81) const
unsigned short UShort_t
Definition: External.C:28
bool Bool_t
Definition: External.C:53
virtual Bool_t CheckFastPartition(bool) const