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

#include <AliDisplacedVertexSelectionAD.h>

Inheritance diagram for AliDisplacedVertexSelectionAD:

Public Types

enum  EEventType { kUnknown, kMain, kSatelliteA, kSatelliteC }
 
enum  { kInvalidTime = -9999, kInvalidVtxZ = 9999 }
 

Public Member Functions

 AliDisplacedVertexSelectionAD ()
 
 AliDisplacedVertexSelectionAD (const AliDisplacedVertexSelectionAD &o)
 
virtual ~AliDisplacedVertexSelectionAD ()
 
AliDisplacedVertexSelectionADoperator= (const AliDisplacedVertexSelectionAD &o)
 
Bool_t IsSatellite () const
 
Bool_t IsSatelliteA () const
 
Bool_t IsSatelliteC () const
 
Bool_t IsMain () const
 
EEventType GetEventType () const
 
Double_t GetIPz () const
 
void SetupForData (TList *l, const char *name=0, Bool_t mc=false)
 
void Print (Option_t *option="") const
 
Bool_t Process (const AliESDEvent *esd)
 

Protected Member Functions

Double_t MeanTime (AliESDAD *adESD, AliESDADfriend *adFriend, Bool_t aNotC) const
 
 ClassDef (AliDisplacedVertexSelectionAD, 1)
 

Protected Attributes

Double_t fIPz
 
EEventType fEventType
 
TH2fAC
 
TH2fSumDelta
 
TH2fSumDeltaSatA
 
TH2fSumDeltaSatC
 
TH1fIPzAll
 
TH1fIPzMain
 
TH1fIPzSatA
 
TH1fIPzSatC
 
TH2fIPzDelta
 
TH2fIPzSum
 
TH2fIPzBunch
 
TListfSlewing
 
AliADCalibData * fCalib
 
Double_t fSpacing
 
Int_t fMaxBunch
 

Detailed Description

Check AD signal to see of this is a satelitte-main collision, and give interaction point.

Definition at line 18 of file AliDisplacedVertexSelectionAD.h.

Member Enumeration Documentation

anonymous enum

Some default values

Enumerator
kInvalidTime 
kInvalidVtxZ 

Definition at line 30 of file AliDisplacedVertexSelectionAD.h.

Enumerator
kUnknown 
kMain 
kSatelliteA 
kSatelliteC 

Definition at line 21 of file AliDisplacedVertexSelectionAD.h.

Constructor & Destructor Documentation

AliDisplacedVertexSelectionAD::AliDisplacedVertexSelectionAD ( )
inline

Constructor

Definition at line 37 of file AliDisplacedVertexSelectionAD.h.

AliDisplacedVertexSelectionAD::AliDisplacedVertexSelectionAD ( const AliDisplacedVertexSelectionAD o)
inline

Copy constructor

Parameters
oObject to copy from

Definition at line 61 of file AliDisplacedVertexSelectionAD.h.

virtual AliDisplacedVertexSelectionAD::~AliDisplacedVertexSelectionAD ( )
inlinevirtual

Destructor

Definition at line 84 of file AliDisplacedVertexSelectionAD.h.

Member Function Documentation

AliDisplacedVertexSelectionAD::ClassDef ( AliDisplacedVertexSelectionAD  ,
 
)
protected
EEventType AliDisplacedVertexSelectionAD::GetEventType ( ) const
inline

Get the event type

Returns
Event type

Definition at line 123 of file AliDisplacedVertexSelectionAD.h.

Double_t AliDisplacedVertexSelectionAD::GetIPz ( ) const
inline

Get the interaction point Z-coordinate from ZDC timing.

Returns
Interaction point Z-coordinate

Definition at line 129 of file AliDisplacedVertexSelectionAD.h.

Referenced by AliTestAD::UserExec().

Bool_t AliDisplacedVertexSelectionAD::IsMain ( ) const
inline

Check if this is main-main event

Returns

Definition at line 117 of file AliDisplacedVertexSelectionAD.h.

Bool_t AliDisplacedVertexSelectionAD::IsSatellite ( ) const
inline

Check if this event is marked as a satellite-main interaction

Returns
true if the found vertex isn't invalid

Definition at line 99 of file AliDisplacedVertexSelectionAD.h.

Referenced by AliTestAD::UserExec().

Bool_t AliDisplacedVertexSelectionAD::IsSatelliteA ( ) const
inline

Check if this event is marked as a satellite-main interaction

Returns
true if the event is satellite-main from A-debunched beam

Definition at line 105 of file AliDisplacedVertexSelectionAD.h.

Referenced by IsSatellite().

Bool_t AliDisplacedVertexSelectionAD::IsSatelliteC ( ) const
inline

Check if this event is marked as a satellite-main interaction

Returns
true if the event is satellite-main from C-debunched beam

Definition at line 111 of file AliDisplacedVertexSelectionAD.h.

Referenced by IsSatellite().

Double_t AliDisplacedVertexSelectionAD::MeanTime ( AliESDAD *  adESD,
AliESDADfriend *  adFriend,
Bool_t  aNotC 
) const
protected

Calculate the (weighted) mean time on either side

Parameters
adESDAD object
adFriendAD friend object
aNotCA side if true, C otherwise
Returns
The mean time

Definition at line 215 of file AliDisplacedVertexSelectionAD.cxx.

Referenced by Process().

AliDisplacedVertexSelectionAD& AliDisplacedVertexSelectionAD::operator= ( const AliDisplacedVertexSelectionAD o)
inline

Assignement operator

Parameters
oObject to assign from
Returns
Reference to this

Definition at line 93 of file AliDisplacedVertexSelectionAD.h.

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

Print information

Parameters
optionNot used

Definition at line 144 of file AliDisplacedVertexSelectionAD.cxx.

Bool_t AliDisplacedVertexSelectionAD::Process ( const AliESDEvent esd)

Process an ESD event to get the information

Parameters
esdESD event
Returns
true on success

Definition at line 151 of file AliDisplacedVertexSelectionAD.cxx.

Referenced by AliTestAD::UserExec().

void AliDisplacedVertexSelectionAD::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 27 of file AliDisplacedVertexSelectionAD.cxx.

Referenced by AliTestAD::UserExec().

Member Data Documentation

TH2* AliDisplacedVertexSelectionAD::fAC
protected

Definition at line 168 of file AliDisplacedVertexSelectionAD.h.

Referenced by Process(), and SetupForData().

AliADCalibData* AliDisplacedVertexSelectionAD::fCalib
protected

Definition at line 180 of file AliDisplacedVertexSelectionAD.h.

Referenced by MeanTime(), and SetupForData().

EEventType AliDisplacedVertexSelectionAD::fEventType
protected
Double_t AliDisplacedVertexSelectionAD::fIPz
protected

Definition at line 166 of file AliDisplacedVertexSelectionAD.h.

Referenced by GetIPz(), and Process().

TH1* AliDisplacedVertexSelectionAD::fIPzAll
protected

Definition at line 172 of file AliDisplacedVertexSelectionAD.h.

Referenced by Process(), and SetupForData().

TH2* AliDisplacedVertexSelectionAD::fIPzBunch
protected

Definition at line 178 of file AliDisplacedVertexSelectionAD.h.

Referenced by Process(), and SetupForData().

TH2* AliDisplacedVertexSelectionAD::fIPzDelta
protected

Definition at line 176 of file AliDisplacedVertexSelectionAD.h.

Referenced by Process(), and SetupForData().

TH1* AliDisplacedVertexSelectionAD::fIPzMain
protected

Definition at line 173 of file AliDisplacedVertexSelectionAD.h.

Referenced by Process(), and SetupForData().

TH1* AliDisplacedVertexSelectionAD::fIPzSatA
protected

Definition at line 174 of file AliDisplacedVertexSelectionAD.h.

Referenced by Process(), and SetupForData().

TH1* AliDisplacedVertexSelectionAD::fIPzSatC
protected

Definition at line 175 of file AliDisplacedVertexSelectionAD.h.

Referenced by Process(), and SetupForData().

TH2* AliDisplacedVertexSelectionAD::fIPzSum
protected

Definition at line 177 of file AliDisplacedVertexSelectionAD.h.

Referenced by Process(), and SetupForData().

Int_t AliDisplacedVertexSelectionAD::fMaxBunch
protected

Definition at line 182 of file AliDisplacedVertexSelectionAD.h.

Referenced by Process(), and SetupForData().

TList* AliDisplacedVertexSelectionAD::fSlewing
protected

Definition at line 179 of file AliDisplacedVertexSelectionAD.h.

Referenced by MeanTime(), and SetupForData().

Double_t AliDisplacedVertexSelectionAD::fSpacing
protected

Definition at line 181 of file AliDisplacedVertexSelectionAD.h.

Referenced by Process().

TH2* AliDisplacedVertexSelectionAD::fSumDelta
protected

Definition at line 169 of file AliDisplacedVertexSelectionAD.h.

Referenced by Process(), and SetupForData().

TH2* AliDisplacedVertexSelectionAD::fSumDeltaSatA
protected

Definition at line 170 of file AliDisplacedVertexSelectionAD.h.

Referenced by Process(), and SetupForData().

TH2* AliDisplacedVertexSelectionAD::fSumDeltaSatC
protected

Definition at line 171 of file AliDisplacedVertexSelectionAD.h.

Referenced by Process(), and SetupForData().


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