AliPhysics  7f2a7c4 (7f2a7c4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 Member Functions

 ClassDef (Sub, 1)
 

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

AliTrackletAODdNdeta::Sub::ClassDef ( Sub  ,
 
)
protected
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.

const char* AliTrackletAODdNdeta::Sub::GetName ( ) const
inline
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.

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

Assignment operator

Returns
reference to this

Definition at line 443 of file AliTrackletAODdNdeta.C.

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.

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::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::WorkerInit(), and AliTrackletAODdNdeta::CentBin::WorkerInit().

Member Data Documentation

Container* AliTrackletAODdNdeta::Sub::fContainer
protected

The sum container of the sub-component

Definition at line 517 of file AliTrackletAODdNdeta.C.

Referenced by WorkerInit().

UShort_t AliTrackletAODdNdeta::Sub::fDebug
protected

Debug flag

Definition at line 519 of file AliTrackletAODdNdeta.C.

Referenced by SetDebug().

TString AliTrackletAODdNdeta::Sub::fName
protected

The name of the sub-component

Definition at line 515 of file AliTrackletAODdNdeta.C.

Referenced by AliTrackletAODdNdeta::CentBin::CentBin(), GetName(), AliTrackletAODdNdeta::CentBin::Print(), and WorkerInit().


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