AliPhysics  ced2227 (ced2227)
AliTrackletAODdNdeta::Sub Struct Referenceabstract
Inheritance diagram for AliTrackletAODdNdeta::Sub:

Public Member Functions

 Sub (const char *name="")
 
 Sub (const Sub &o)
 
virtual ~Sub ()
 
Suboperator= (const Sub &)
 
const char * GetName () const
 
virtual Bool_t WorkerInit (Container *parent, const TAxis &etaAxis, const TAxis &ipzAxis, const TAxis &deltaAxis)
 
virtual Bool_t ProcessTracklet (AliAODTracklet *tracklet, Double_t ipz, UShort_t signal, Double_t weight)=0
 
virtual Bool_t FinalizeInit (Container *parent)=0
 
virtual Bool_t MasterFinalize (Container *parent, TH1 *ipz, Double_t tailCut, Double_t tailMax)=0
 
virtual void SetDebug (UShort_t lvl)
 

Protected Attributes

TString fName
 
ContainerfContainer
 
UShort_t fDebug
 

Detailed Description

Base class for sub-components

Definition at line 421 of file AliTrackletAODdNdeta.C.

Constructor & Destructor Documentation

AliTrackletAODdNdeta::Sub::Sub ( const char *  name = "")
inline

Constructor

Definition at line 427 of file AliTrackletAODdNdeta.C.

AliTrackletAODdNdeta::Sub::Sub ( const Sub o)
inline

Copy constructor

Parameters
oObject to copy from

Definition at line 433 of file AliTrackletAODdNdeta.C.

virtual AliTrackletAODdNdeta::Sub::~Sub ( )
inlinevirtual

Destructor

Definition at line 437 of file AliTrackletAODdNdeta.C.

Member Function Documentation

virtual Bool_t AliTrackletAODdNdeta::Sub::FinalizeInit ( Container parent)
pure virtual

Initialize this sub-component at the time of finalizing the job. Should find sum container in parent and extract data from that container.

Parameters
parentParent container of sum data
Returns
true on success

Implemented in AliTrackletAODdNdeta::CentBin, and AliTrackletAODdNdeta::Histos.

Referenced by AliTrackletAODdNdeta::Histos::IsGenerated(), AliTrackletAODdNdeta::CentBin::operator=(), and WorkerInit().

virtual Bool_t AliTrackletAODdNdeta::Sub::MasterFinalize ( Container parent,
TH1 ipz,
Double_t  tailCut,
Double_t  tailMax 
)
pure virtual

Called on master when terminating

Parameters
parentParent container
ipzDistribution of interaction point Z coordinate
tailCutCut on tails
tailMaxMaximum to integrate tail to
Returns
true on success

Implemented in AliTrackletAODdNdeta::CentBin, and AliTrackletAODdNdeta::Histos.

Referenced by AliTrackletAODdNdeta::GetBranchName(), AliTrackletAODdNdeta::Histos::IsGenerated(), AliTrackletAODdNdeta::CentBin::operator=(), AliTrackletAODWeightedMCdNdeta::SetWeightInverse(), and WorkerInit().

Sub& AliTrackletAODdNdeta::Sub::operator= ( const Sub )
inline

Assignment operator

Returns
reference to this

Definition at line 443 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODWeightedMCdNdeta::~AliTrackletAODWeightedMCdNdeta().

virtual Bool_t AliTrackletAODdNdeta::Sub::ProcessTracklet ( AliAODTracklet tracklet,
Double_t  ipz,
UShort_t  signal,
Double_t  weight 
)
pure virtual

Process a single tracklet

Parameters
trackletThe tracklet
ipzZ-coordinate of the IP
signalTrue if a signal
weightWeight of tracklet
Returns
true on success

Implemented in AliTrackletAODdNdeta::CentBin, and AliTrackletAODdNdeta::Histos.

Referenced by AliTrackletAODdNdeta::Histos::IsGenerated(), AliTrackletAODdNdeta::CentBin::operator=(), and WorkerInit().

virtual void AliTrackletAODdNdeta::Sub::SetDebug ( UShort_t  lvl)
inlinevirtual

Set debug flag

Parameters
lvlDebug level

Reimplemented in AliTrackletAODdNdeta::CentBin.

Definition at line 512 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODdNdeta::CentBin::operator=(), and AliTrackletAODdNdeta::CentBin::SetDebug().

virtual Bool_t AliTrackletAODdNdeta::Sub::WorkerInit ( Container parent,
const TAxis etaAxis,
const TAxis ipzAxis,
const TAxis deltaAxis 
)
inlinevirtual

Initialize the bin

Parameters
parentParent container
etaAxispseudorapidity axis to use
ipzAxisInteraction point Z coordinate axis
deltaAxis\(\Delta\) axis to use
Returns
true on success

Reimplemented in AliTrackletAODdNdeta::CentBin, and AliTrackletAODdNdeta::Histos.

Definition at line 458 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODdNdeta::Histos::IsGenerated(), AliTrackletAODdNdeta::CentBin::operator=(), AliTrackletAODWeightedMCdNdeta::SetWeightInverse(), AliTrackletAODdNdeta::Histos::WorkerInit(), and AliTrackletAODdNdeta::CentBin::WorkerInit().

Member Data Documentation


The documentation for this struct was generated from the following file: