AliPhysics  2c6b7ad (2c6b7ad)
AliDisplacedVertexSelection.h
Go to the documentation of this file.
1 
11 #ifndef ALIDISPLACEDVERTEXSELECTION_H
12 #define ALIDISPLACEDVERTEXSELECTION_H
13 #include <TObject.h>
14 class AliESDEvent;
15 class AliMCEvent;
16 class TH1D;
17 class TH2D;
18 class TList;
19 
26 {
27 public:
53  void SetupForData(TList* l, const char* name=0, Bool_t mc=false);
59  void Print(Option_t* option="") const;
67  Bool_t Process(const AliESDEvent* esd);
75  Bool_t ProcessMC(const AliMCEvent* mcevent);
81  Bool_t IsSatellite() const { return fVertexZ != kInvalidVtxZ; }
88  Double_t GetVertexZ() const { return fVertexZ; }
96 protected:
97  Bool_t CheckOutlier(Int_t ivtx, const AliESDEvent* esd) const;
98  Float_t GetZemCorr(Int_t k, Bool_t minusminus) const;
99 
100  enum {
101  kMaxK = 10,
103  };
110  Double_t fVertexZ; // Interaction point Z-coordinate
111  Double_t fCent; // Centrality percentile
112  TH1D* fHVertexZ; // Histogram of vertices
113  TH1D* fHCent; // Histogram of centrality
114  Bool_t fMC; // MC flag
115 
116  ClassDef(AliDisplacedVertexSelection,4); // Satelitte collisions
117 };
118 
119 #endif
120 // Local Variables:
121 // mode: C++
122 // End:
Bool_t Process(const AliESDEvent *esd)
double Double_t
Definition: External.C:58
int Int_t
Definition: External.C:63
float Float_t
Definition: External.C:68
Bool_t ProcessMC(const AliMCEvent *mcevent)
Definition: External.C:228
Definition: External.C:212
Float_t GetZemCorr(Int_t k, Bool_t minusminus) const
AliDisplacedVertexSelection & operator=(const AliDisplacedVertexSelection &o)
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
void SetupForData(TList *l, const char *name=0, Bool_t mc=false)
Bool_t CheckOutlier(Int_t ivtx, const AliESDEvent *esd) const
void Print(Option_t *option="") const