AliPhysics  323987d (323987d)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliDisplacedVertexSelection Class Reference

#include <AliDisplacedVertexSelection.h>

Inheritance diagram for AliDisplacedVertexSelection:

Public Member Functions

 AliDisplacedVertexSelection ()
 
 AliDisplacedVertexSelection (const AliDisplacedVertexSelection &o)
 
AliDisplacedVertexSelectionoperator= (const AliDisplacedVertexSelection &o)
 
void SetupForData (TList *l, const char *name=0, Bool_t mc=false)
 
void Print (Option_t *option="") const
 
Bool_t Process (const AliESDEvent *esd)
 
Bool_t ProcessMC (const AliMCEvent *mcevent)
 
Bool_t IsSatellite () const
 
Double_t GetVertexZ () const
 
Double_t GetCentralityPercentile () const
 

Protected Types

enum  { kMaxK = 10, kInvalidVtxZ = 9999 }
 

Protected Member Functions

Bool_t CheckOutlier (Int_t ivtx, const AliESDEvent *esd) const
 
Float_t GetZemCorr (Int_t k, Bool_t minusminus) const
 
 ClassDef (AliDisplacedVertexSelection, 4)
 

Protected Attributes

TH1DfDeltaTdc
 
TH1DfSumTdc
 
TH1DfZdcEnergy
 
TH1DfZemEnergy
 
TH2DfCorrelationZemZdc
 
TH2DfCorrelationSumDelta
 
Double_t fVertexZ
 
Double_t fCent
 
TH1DfHVertexZ
 
TH1DfHCent
 
Bool_t fMC
 

Detailed Description

Selection of events from satellite interactions

Definition at line 25 of file AliDisplacedVertexSelection.h.

Member Enumeration Documentation

anonymous enum
protected
Enumerator
kMaxK 
kInvalidVtxZ 

Definition at line 100 of file AliDisplacedVertexSelection.h.

Constructor & Destructor Documentation

AliDisplacedVertexSelection::AliDisplacedVertexSelection ( )

Constructor

AliDisplacedVertexSelection::AliDisplacedVertexSelection ( const AliDisplacedVertexSelection o)

Copy constructor

Parameters
oObject to copy from

Definition at line 36 of file AliDisplacedVertexSelection.cxx.

Member Function Documentation

Bool_t AliDisplacedVertexSelection::CheckOutlier ( Int_t  ivtx,
const AliESDEvent esd 
) const
protected

Definition at line 216 of file AliDisplacedVertexSelection.cxx.

Referenced by Process().

AliDisplacedVertexSelection::ClassDef ( AliDisplacedVertexSelection  ,
 
)
protected
Double_t AliDisplacedVertexSelection::GetCentralityPercentile ( ) const
inline

Return the centrality percentile

Returns
Centrality percentile (ZDC vs ZEM)

Definition at line 95 of file AliDisplacedVertexSelection.h.

Referenced by AliFMDEventInspector::ReadCentrality().

Double_t AliDisplacedVertexSelection::GetVertexZ ( ) const
inline

Get the interaction point Z-coordinate from ZDC timing.

Returns
Interaction point Z-coordinate

Definition at line 88 of file AliDisplacedVertexSelection.h.

Referenced by AliFMDMCEventInspector::ProcessMC(), and AliFMDEventInspector::ReadVertex().

Float_t AliDisplacedVertexSelection::GetZemCorr ( Int_t  k,
Bool_t  minusminus 
) const
protected

Definition at line 171 of file AliDisplacedVertexSelection.cxx.

Referenced by Process().

Bool_t AliDisplacedVertexSelection::IsSatellite ( ) const
inline

Check if this event is marked as a satellite interaction

Returns
true if the found vertex isn't invalid

Definition at line 81 of file AliDisplacedVertexSelection.h.

Referenced by AliFMDMCEventInspector::ProcessMC(), AliFMDEventInspector::ReadCentrality(), AliFMDEventInspector::ReadTriggers(), and AliFMDEventInspector::ReadVertex().

AliDisplacedVertexSelection & AliDisplacedVertexSelection::operator= ( const AliDisplacedVertexSelection o)

Assingment operator

Parameters
oObject to assign from
Returns
Reference to this object

Definition at line 53 of file AliDisplacedVertexSelection.cxx.

void AliDisplacedVertexSelection::Print ( Option_t option = "") const

Print information

Parameters
optionNot used

Definition at line 158 of file AliDisplacedVertexSelection.cxx.

Bool_t AliDisplacedVertexSelection::Process ( const AliESDEvent esd)

Process an ESD event to get the information

Parameters
esdESD event
Returns
true on success

Definition at line 344 of file AliDisplacedVertexSelection.cxx.

Referenced by AliFMDEventInspector::Process().

Bool_t AliDisplacedVertexSelection::ProcessMC ( const AliMCEvent *  mcevent)

Process an MC event to find true satellite vertex

Parameters
mceventMC event
Returns
true if found or not MC input, false in case of problems

Definition at line 305 of file AliDisplacedVertexSelection.cxx.

Referenced by AliFMDMCEventInspector::ProcessMC().

void AliDisplacedVertexSelection::SetupForData ( TList l,
const char *  name = 0,
Bool_t  mc = false 
)

Define the output

Parameters
lList to add output to
nameName of the list
mcTrue if we're looking at MC data

Definition at line 70 of file AliDisplacedVertexSelection.cxx.

Referenced by AliFMDMCEventInspector::SetupForData(), and AliFMDEventInspector::SetupForData().

Member Data Documentation

Double_t AliDisplacedVertexSelection::fCent
protected

Definition at line 111 of file AliDisplacedVertexSelection.h.

Referenced by GetCentralityPercentile(), and Process().

TH2D* AliDisplacedVertexSelection::fCorrelationSumDelta
protected

Definition at line 109 of file AliDisplacedVertexSelection.h.

Referenced by operator=(), Process(), and SetupForData().

TH2D* AliDisplacedVertexSelection::fCorrelationZemZdc
protected

Definition at line 108 of file AliDisplacedVertexSelection.h.

Referenced by operator=(), Process(), and SetupForData().

TH1D* AliDisplacedVertexSelection::fDeltaTdc
protected

Definition at line 104 of file AliDisplacedVertexSelection.h.

Referenced by operator=(), Process(), and SetupForData().

TH1D* AliDisplacedVertexSelection::fHCent
protected

Definition at line 113 of file AliDisplacedVertexSelection.h.

Referenced by Process(), and SetupForData().

TH1D* AliDisplacedVertexSelection::fHVertexZ
protected

Definition at line 112 of file AliDisplacedVertexSelection.h.

Referenced by Process(), and SetupForData().

Bool_t AliDisplacedVertexSelection::fMC
protected
TH1D* AliDisplacedVertexSelection::fSumTdc
protected

Definition at line 105 of file AliDisplacedVertexSelection.h.

Referenced by operator=(), Process(), and SetupForData().

Double_t AliDisplacedVertexSelection::fVertexZ
protected

Definition at line 110 of file AliDisplacedVertexSelection.h.

Referenced by GetVertexZ(), IsSatellite(), Process(), and ProcessMC().

TH1D* AliDisplacedVertexSelection::fZdcEnergy
protected

Definition at line 106 of file AliDisplacedVertexSelection.h.

Referenced by operator=(), Process(), and SetupForData().

TH1D* AliDisplacedVertexSelection::fZemEnergy
protected

Definition at line 107 of file AliDisplacedVertexSelection.h.

Referenced by operator=(), Process(), and SetupForData().


The documentation for this class was generated from the following files: