1 #ifndef ALIDISPLACEDVERTEXSELECTION_H
2 #define ALIDISPLACEDVERTEXSELECTION_H
7 * Selection of events from satellite interactions
9 class AliDisplacedVertexSelection : public TObject
15 AliDisplacedVertexSelection();
19 * @param o Object to copy from
21 AliDisplacedVertexSelection(const AliDisplacedVertexSelection& o);
25 * @param o Object to assign from
27 * @return Reference to this object
29 AliDisplacedVertexSelection& operator=(const AliDisplacedVertexSelection& o);
33 * @param l List to add output to
34 * @param name Name of the list
36 void Output(TList* l, const char* name=0) const;
40 * @param option Not used
42 void Print(Option_t* option="") const;
44 * Process an ESD event to get the information
46 * @param esd ESD event
48 * @return true on success
50 Bool_t Process(const AliESDEvent* esd);
52 Double_t GetVertexZ() const { return fVertexZ; }
53 Double_t GetCentralityPercentile() const { return fCent; }
55 * Check for displaced vertices (M.Guilbaud)
59 * @return displaced vertex
61 Double_t CheckDisplacedVertex(const AliESDEvent* esd) const;
63 * Calculate Centrality for displaced vertices (M.Guilbaud)
67 * @return displaced vertex centrality
69 Double_t CalculateDisplacedVertexCent(const AliESDEvent* esd) const;
75 ClassDef(AliDisplacedVertexSelection,1); // Cuts on ESD Mult