AliPhysics  05c4c93 (05c4c93)
AliCentralMultiplicityTask::VtxBin Struct Reference

#include <AliCentralMultiplicityTask.h>

Inheritance diagram for AliCentralMultiplicityTask::VtxBin:

Public Member Functions

 VtxBin (Int_t iVz=0, Double_t minIpZ=0, Double_t maxIpZ=0)
 
 VtxBin (const VtxBin &o)
 
VtxBinoperator= (const VtxBin &o)
 
const char * GetName () const
 
void SetupForData (TList *l, TH2 *coverage, Bool_t store=true)
 
void Correct (TH2D &aodHist, Bool_t useSecondary, Bool_t useAcceptance, Bool_t sum=true) const
 
void Print (Option_t *option="") const
 

Public Attributes

Int_t fId
 
Double_t fMinIpZ
 
Double_t fMaxIpZ
 
Int_t fEtaMin
 
Int_t fEtaMax
 
TH2fSec
 
TH1fAcc
 
TH2fHits
 

Detailed Description

A vertex bin.

Used to store and apply corrections and fiducial cuts. Never streamed.

Definition at line 172 of file AliCentralMultiplicityTask.h.

Constructor & Destructor Documentation

AliCentralMultiplicityTask::VtxBin::VtxBin ( Int_t  iVz = 0,
Double_t  minIpZ = 0,
Double_t  maxIpZ = 0 
)

Constructor

Parameters
iVzBin number
minIpZLeast \(IP_{z}\)
maxIpZLargest \(IP_{z}\)

Definition at line 437 of file AliCentralMultiplicityTask.cxx.

AliCentralMultiplicityTask::VtxBin::VtxBin ( const VtxBin o)

Copy constructor

Parameters
oObject to copy from

Definition at line 451 of file AliCentralMultiplicityTask.cxx.

Member Function Documentation

void AliCentralMultiplicityTask::VtxBin::Correct ( TH2D aodHist,
Bool_t  useSecondary,
Bool_t  useAcceptance,
Bool_t  sum = true 
) const

Correct the input data

Parameters
aodHistHistogram
useSecondaryWhether to use secondary correction or not
useAcceptanceWhether to use acceptance correction or not
sumWhether to sum or not

Definition at line 616 of file AliCentralMultiplicityTask.cxx.

Referenced by AliCentralMCMultiplicityTask::Event(), and AliCentralMultiplicityTask::Event().

const char * AliCentralMultiplicityTask::VtxBin::GetName ( ) const

Get the name

Returns
The name

Definition at line 482 of file AliCentralMultiplicityTask.cxx.

Referenced by SetupForData().

AliCentralMultiplicityTask::VtxBin & AliCentralMultiplicityTask::VtxBin::operator= ( const VtxBin o)

Assignment operator

Parameters
oObject to assign from
Returns
Reference to this object

Definition at line 465 of file AliCentralMultiplicityTask.cxx.

void AliCentralMultiplicityTask::VtxBin::Print ( Option_t option = "") const

Print information

Parameters
optionNot used

Definition at line 677 of file AliCentralMultiplicityTask.cxx.

Referenced by AliCentralMultiplicityTask::Print().

void AliCentralMultiplicityTask::VtxBin::SetupForData ( TList l,
TH2 coverage,
Bool_t  store = true 
)

Prepare for data

Parameters
lList
coverageTemplate
storeWhether to store results

Definition at line 491 of file AliCentralMultiplicityTask.cxx.

Referenced by AliCentralMultiplicityTask::PreData().

Member Data Documentation

TH1* AliCentralMultiplicityTask::VtxBin::fAcc

Definition at line 235 of file AliCentralMultiplicityTask.h.

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

Int_t AliCentralMultiplicityTask::VtxBin::fEtaMax

Definition at line 233 of file AliCentralMultiplicityTask.h.

Referenced by Correct(), operator=(), Print(), and SetupForData().

Int_t AliCentralMultiplicityTask::VtxBin::fEtaMin

Definition at line 232 of file AliCentralMultiplicityTask.h.

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

TH2* AliCentralMultiplicityTask::VtxBin::fHits
mutable

Definition at line 236 of file AliCentralMultiplicityTask.h.

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

Int_t AliCentralMultiplicityTask::VtxBin::fId

Definition at line 229 of file AliCentralMultiplicityTask.h.

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

Double_t AliCentralMultiplicityTask::VtxBin::fMaxIpZ

Definition at line 231 of file AliCentralMultiplicityTask.h.

Referenced by GetName(), operator=(), Print(), and SetupForData().

Double_t AliCentralMultiplicityTask::VtxBin::fMinIpZ

Definition at line 230 of file AliCentralMultiplicityTask.h.

Referenced by GetName(), operator=(), Print(), and SetupForData().

TH2* AliCentralMultiplicityTask::VtxBin::fSec

Definition at line 234 of file AliCentralMultiplicityTask.h.

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


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