AliPhysics  d565ceb (d565ceb)
AliTrackletdNdetaTask::CentBin Struct Reference
Inheritance diagram for AliTrackletdNdetaTask::CentBin:

Public Member Functions

 CentBin (Float_t cmin, Float_t cmax, UShort_t recFlags, Int_t colOff=1, Int_t styOff=0)
 
virtual ~CentBin ()
 
virtual const char * Name () const
 
virtual void WorkerInit (Container &parent, const TAxis &etaAxis, const TAxis &ipzAxis, const TAxis &deltaAxis, const TAxis &dThetaAxis, const TAxis &dPhiAxis)
 
virtual void FinalizeInit (Container *parent)
 
virtual ContainerEstimateBackground (Container *dataCon, HistoSet *set, Container *result, Double_t deltaCut, Double_t deltaTail)
 
virtual ContainerMasterFinalize (Container *parent, TH1 *ipz, Double_t deltaCut, Double_t deltaTail)
 
virtual Bool_t Accept (Float_t value) const
 
virtual void FillIPz (Double_t ipZ)
 
virtual Bool_t FillSet (UShort_t set, Bool_t isSignal, Double_t ipZ, Double_t eta, Double_t dPhi, Double_t dPhiS, Double_t dTheta, Double_t dThetaX, Double_t delta, Double_t weight)
 
- Public Member Functions inherited from AliTrackletdNdetaTask::SubBase
 SubBase ()
 
 SubBase (const SubBase &o)
 
virtual ~SubBase ()
 
SubBaseoperator= (SubBase &o)
 
virtual ContainerCreateContainer (Container &parent)
 

Protected Member Functions

Construction, etc.
 CentBin ()
 
 CentBin (const CentBin &o)
 
CentBinoperator= (const CentBin &)
 

Protected Attributes

Float_t fMin
 
Float_t fMax
 
TListfHistoSets
 
HistoSetfDataSet
 
HistoSetfInjSet
 
HistoSetfRotSet
 
TH1fIPz
 

Additional Inherited Members

- Public Types inherited from AliTrackletdNdetaTask::SubBase
typedef AliTrackletdNdetaTask::Container Container
 
- Public Attributes inherited from AliTrackletdNdetaTask::SubBase
ContainerfContainer
 

Detailed Description

A centrality bin

Definition at line 265 of file AliTrackletdNdetaTask.C.

Constructor & Destructor Documentation

AliTrackletdNdetaTask::CentBin::CentBin ( Float_t  cmin,
Float_t  cmax,
UShort_t  recFlags,
Int_t  colOff = 1,
Int_t  styOff = 0 
)

Constructor

Parameters
cminLeast centrality (inclusive)
cmaxLargest centrality (exclusive)
recFlagsReconstruction flags
colOffColor offset for histograms
styOffStyle offset for histograms

Definition at line 1164 of file AliTrackletdNdetaTask.C.

virtual AliTrackletdNdetaTask::CentBin::~CentBin ( )
inlinevirtual

Destructor

Definition at line 284 of file AliTrackletdNdetaTask.C.

AliTrackletdNdetaTask::CentBin::CentBin ( )
inlineprotected

Constructor

Definition at line 401 of file AliTrackletdNdetaTask.C.

AliTrackletdNdetaTask::CentBin::CentBin ( const CentBin o)
inlineprotected

Copy Constructor

Definition at line 414 of file AliTrackletdNdetaTask.C.

Member Function Documentation

virtual Bool_t AliTrackletdNdetaTask::CentBin::Accept ( Float_t  value) const
inlinevirtual

Check if the value belong in this bin

Parameters
valueCentrality
Returns
true if value is within this bin

Definition at line 354 of file AliTrackletdNdetaTask.C.

Referenced by AliTrackletdNdetaMCTask::FillPrimaries(), and AliTrackletdNdetaTask::ProcessEvent().

AliTrackletdNdetaTask::Container * AliTrackletdNdetaTask::CentBin::EstimateBackground ( Container dataCon,
HistoSet set,
Container result,
Double_t  deltaCut,
Double_t  deltaTail 
)
virtual

Calculate background delta distribution

Parameters
dataConData container
setBackground histogram set
resultWhere to store the results
deltaCutUpper cut on \(\Delta\) signal
deltaTailLower cut on \(\Delta\) tail

Definition at line 1226 of file AliTrackletdNdetaTask.C.

Referenced by MasterFinalize().

virtual void AliTrackletdNdetaTask::CentBin::FillIPz ( Double_t  ipZ)
inlinevirtual

Fill IP z coordinate

Parameters
ipZIP z coordinate

Definition at line 363 of file AliTrackletdNdetaTask.C.

Referenced by AliTrackletdNdetaTask::ProcessEvent().

Bool_t AliTrackletdNdetaTask::CentBin::FillSet ( UShort_t  set,
Bool_t  isSignal,
Double_t  ipZ,
Double_t  eta,
Double_t  dPhi,
Double_t  dPhiS,
Double_t  dTheta,
Double_t  dThetaX,
Double_t  delta,
Double_t  weight 
)
virtual

Fill information into histogram set. This is delegated so that sub-classes my override to do more (e.g., for MC).

Parameters
setHistogram set to fill into
isSignalTrue if signal survived cuts
ipZCurrent event IP's z coordinate
etaPseudorapidity
dPhiOpening angle in azimuth
dPhiSShifted opening angle in azimuth
dThetaOpening polar angle
dThetaXScaled opening polar angle
deltaTracklet \(\chi^2\)
weightTracklet weight (for MC)
Returns
true on success

Reimplemented in AliTrackletdNdetaMCTask::CentBin.

Definition at line 1348 of file AliTrackletdNdetaTask.C.

Referenced by AliTrackletdNdetaTask::FillBins(), and AliTrackletdNdetaMCTask::CentBin::FillSet().

void AliTrackletdNdetaTask::CentBin::FinalizeInit ( Container parent)
virtual

Recreate from container

Parameters
parentParent container

Implements AliTrackletdNdetaTask::SubBase.

Definition at line 1215 of file AliTrackletdNdetaTask.C.

Referenced by AliTrackletdNdetaTask::InitCentBins().

AliTrackletdNdetaTask::Container * AliTrackletdNdetaTask::CentBin::MasterFinalize ( Container parent,
TH1 ipz,
Double_t  deltaCut,
Double_t  deltaTail 
)
virtual

Called on master on merged result.

Parameters
parentOutput container for results
ipzHistogram of ipZ for normalization
deltaCutUpper cut on \(\Delta\) signal
deltaTailLower cut on \(\Delta\) tail
Returns
Result container

Implements AliTrackletdNdetaTask::SubBase.

Reimplemented in AliTrackletdNdetaMCTask::CentBin.

Definition at line 1318 of file AliTrackletdNdetaTask.C.

Referenced by AliTrackletdNdetaTask::MasterFinalize(), and AliTrackletdNdetaMCTask::CentBin::MasterFinalize().

const char * AliTrackletdNdetaTask::CentBin::Name ( ) const
virtual

Get the name of the bin. Return value must be copied by user, as it is formated in a circular buffer.

Returns
Name of bin

Implements AliTrackletdNdetaTask::SubBase.

Definition at line 1193 of file AliTrackletdNdetaTask.C.

Referenced by FinalizeInit().

CentBin& AliTrackletdNdetaTask::CentBin::operator= ( const CentBin )
inlineprotected

Assignment operator

Returns
reference to this object

Definition at line 430 of file AliTrackletdNdetaTask.C.

void AliTrackletdNdetaTask::CentBin::WorkerInit ( Container parent,
const TAxis etaAxis,
const TAxis ipzAxis,
const TAxis deltaAxis,
const TAxis dThetaAxis,
const TAxis dPhiAxis 
)
virtual

Initialize this object on worker - e.g., called at start of (slave) job

Parameters
parentParent container
etaAxisEta axis used
ipzAxisIPz axis used
deltaAxisAxis of \( \Delta\)
dThetaAxisAxis of \( d\theta\)
dPhiAxisAxis of \( d\phi\)

Implements AliTrackletdNdetaTask::SubBase.

Reimplemented in AliTrackletdNdetaMCTask::CentBin.

Definition at line 1200 of file AliTrackletdNdetaTask.C.

Referenced by AliTrackletdNdetaTask::InitCentBins(), and AliTrackletdNdetaMCTask::CentBin::WorkerInit().

Member Data Documentation

HistoSet* AliTrackletdNdetaTask::CentBin::fDataSet
protected

Definition at line 440 of file AliTrackletdNdetaTask.C.

Referenced by CentBin(), FillSet(), and MasterFinalize().

TList* AliTrackletdNdetaTask::CentBin::fHistoSets
protected
HistoSet* AliTrackletdNdetaTask::CentBin::fInjSet
protected

Definition at line 441 of file AliTrackletdNdetaTask.C.

Referenced by CentBin(), and FillSet().

Float_t AliTrackletdNdetaTask::CentBin::fMax
protected

Definition at line 438 of file AliTrackletdNdetaTask.C.

Referenced by MasterFinalize(), and Name().

Float_t AliTrackletdNdetaTask::CentBin::fMin
protected

Definition at line 437 of file AliTrackletdNdetaTask.C.

Referenced by MasterFinalize(), and Name().

HistoSet* AliTrackletdNdetaTask::CentBin::fRotSet
protected

Definition at line 442 of file AliTrackletdNdetaTask.C.

Referenced by CentBin(), and FillSet().


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