AliPhysics  64f4410 (64f4410)
AliBaseMultTask::Bin Struct Reference

#include <AliBaseMultTask.h>

Inheritance diagram for AliBaseMultTask::Bin:

Public Member Functions

 Bin ()
 
 Bin (Double_t etaLow, Double_t etaHigh)
 
 Bin (const Bin &)
 
Binoperator= (const Bin &)
 
virtual ~Bin ()
 
virtual void CreateOutputObjects (TList *cont, Int_t max)
 
virtual void Process (TH1D *dndetaForward, TH1D *dndetaCentral, TH1D *normForward, TH1D *normCentral, TH1D *mc, Double_t ipZ, Bool_t pileup, Bool_t selectedTrigger, Bool_t isMCClass, Bool_t isESDClass, const AliAODEvent &aodevent, Double_t minIPz, Double_t maxIPz)
 
virtual Double_t CalcMult (TH1D *dndetaForward, TH1D *dndetaCentral, TH1D *normForward, TH1D *normCentral, TH1D *mc, Double_t ipZ, Double_t &statErr, Double_t &sysErr, Double_t &mcMult, Double_t &mcErr)
 

Static Public Member Functions

static const Char_tFormBinName (Double_t etaLow, Double_t etaHigh)
 

Public Attributes

Double_t fEtaLow
 
Double_t fEtaHigh
 
TH1DfHist
 
TH1DfHistMC
 
TH2DfAcceptance
 
TH2DfVtxZvsNdataBins
 

Detailed Description

Base class for eta bins

Definition at line 21 of file AliBaseMultTask.h.

Constructor & Destructor Documentation

AliBaseMultTask::Bin::Bin ( )

Default Constructor

Definition at line 214 of file AliBaseMultTask.cxx.

AliBaseMultTask::Bin::Bin ( Double_t  etaLow,
Double_t  etaHigh 
)

Constructor

Definition at line 194 of file AliBaseMultTask.cxx.

AliBaseMultTask::Bin::Bin ( const Bin )
inline

Copy Constructor

Definition at line 34 of file AliBaseMultTask.h.

virtual AliBaseMultTask::Bin::~Bin ( )
inlinevirtual

Member Function Documentation

Double_t AliBaseMultTask::Bin::CalcMult ( TH1D dndetaForward,
TH1D dndetaCentral,
TH1D normForward,
TH1D normCentral,
TH1D mc,
Double_t  ipZ,
Double_t statErr,
Double_t sysErr,
Double_t mcMult,
Double_t mcErr 
)
virtual

Calculate multiplicity in this bin

Parameters
dndetaForwardForward observations
dndetaCentralCentral observations
normForwardAcceptance
normCentralAcceptance
mcPrimary "observations"
ipZInteraction point
statErrOn return, statistical errors
sysErrOn return, systematic errors
mcMultOn return, true multiplicity (or -1 if not MC)
mcErrOn return, true stat error (or -1 if not MC)
Returns
Event multiplicity in this bin

Definition at line 259 of file AliBaseMultTask.cxx.

Referenced by Process(), and ~Bin().

const Char_t * AliBaseMultTask::Bin::FormBinName ( Double_t  etaLow,
Double_t  etaHigh 
)
static

Form name of eta bin

Definition at line 422 of file AliBaseMultTask.cxx.

Referenced by Bin(), and ~Bin().

Bin& AliBaseMultTask::Bin::operator= ( const Bin )
inline

Assignment Operator

Definition at line 38 of file AliBaseMultTask.h.

void AliBaseMultTask::Bin::Process ( TH1D dndetaForward,
TH1D dndetaCentral,
TH1D normForward,
TH1D normCentral,
TH1D mc,
Double_t  ipZ,
Bool_t  pileup,
Bool_t  selectedTrigger,
Bool_t  isMCClass,
Bool_t  isESDClass,
const AliAODEvent aodevent,
Double_t  minIPz,
Double_t  maxIPz 
)
virtual

Process a single eta bin

Parameters
dndetaForwardForward observations
dndetaCentralCentral observations
normForwardAcceptance
normCentralAcceptance
mcPrimary "observations"
ipZInteraction point
pileupTrue if flagged as pile-up
selectedTriggerIs event selected
isMCClassIs event MC NSD
isESDClassIs event real NSD
aodeventFull event
minIPzLeast Z coordinate of IP
maxIPzLargest Z coordinate of IP

Reimplemented in AliForwardCreateResponseMatrices::Bin, AliForwardTriggerBiasCorrection::Bin, and AliForwardMultiplicityDistribution::Bin.

Definition at line 385 of file AliBaseMultTask.cxx.

Referenced by AliBaseMultTask::operator=(), AliBaseMultTask::Process(), and ~Bin().

Member Data Documentation

TH2D* AliBaseMultTask::Bin::fAcceptance

Definition at line 112 of file AliBaseMultTask.h.

Referenced by CalcMult(), and CreateOutputObjects().

Double_t AliBaseMultTask::Bin::fEtaHigh

Definition at line 109 of file AliBaseMultTask.h.

Referenced by Bin(), and CalcMult().

Double_t AliBaseMultTask::Bin::fEtaLow

Definition at line 108 of file AliBaseMultTask.h.

Referenced by Bin(), and CalcMult().

TH1D* AliBaseMultTask::Bin::fHist

Definition at line 110 of file AliBaseMultTask.h.

Referenced by CreateOutputObjects(), and Process().

TH1D* AliBaseMultTask::Bin::fHistMC

Definition at line 111 of file AliBaseMultTask.h.

Referenced by CreateOutputObjects(), and Process().

TH2D* AliBaseMultTask::Bin::fVtxZvsNdataBins

Definition at line 113 of file AliBaseMultTask.h.

Referenced by CalcMult(), and CreateOutputObjects().


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