2 * @file AliDisplacedVertexSelection.h
3 * @author Christian Holm Christensen <cholm@master.hehi.nbi.dk>
4 * @date Thu Feb 7 00:53:03 2013
6 * @brief Selection of events from satellite interactions
8 * @ingroup pwglf_forward_aod
11 #ifndef ALIDISPLACEDVERTEXSELECTION_H
12 #define ALIDISPLACEDVERTEXSELECTION_H
17 * Selection of events from satellite interactions
19 * @ingroup pwglf_forward_aod
21 class AliDisplacedVertexSelection : public TObject
27 AliDisplacedVertexSelection();
31 * @param o Object to copy from
33 AliDisplacedVertexSelection(const AliDisplacedVertexSelection& o);
37 * @param o Object to assign from
39 * @return Reference to this object
41 AliDisplacedVertexSelection& operator=(const AliDisplacedVertexSelection& o);
45 * @param l List to add output to
46 * @param name Name of the list
48 void CreateOutputObjects(TList* l, const char* name=0) const;
52 * @param option Not used
54 void Print(Option_t* option="") const;
56 * Process an ESD event to get the information
58 * @param esd ESD event
60 * @return true on success
62 Bool_t Process(const AliESDEvent* esd);
64 * Get the interaction point Z-coordinate from ZDC timing.
67 * @return Interaction point Z-coordinate
69 Double_t GetVertexZ() const { return fVertexZ; }
71 * Return the centrality percentile
74 * @return Centrality percentile (ZDC vs ZEM)
76 Double_t GetCentralityPercentile() const { return fCent; }
78 * Check for displaced vertices (M.Guilbaud)
82 * @return displaced vertex
84 Double_t CheckDisplacedVertex(const AliESDEvent* esd) const;
86 * Calculate Centrality for displaced vertices (M.Guilbaud)
90 * @return displaced vertex centrality
92 Double_t CalculateDisplacedVertexCent(const AliESDEvent* esd) const;
95 Double_t fVertexZ; // Interaction point Z-coordinate
96 Double_t fCent; // Centrality percentile
98 ClassDef(AliDisplacedVertexSelection,2); // Satelitte collisions