AliPhysics  ced2227 (ced2227)
AliBasedNdetaTask Class Referenceabstract

#include <AliBasedNdetaTask.h>

Inheritance diagram for AliBasedNdetaTask:

Classes

class  CentralityBin
 
struct  Sum
 

Public Types

enum  {
  kNone = 0, kEventLevel = 0x1, kDummy = 0x2, kBackground = 0x4,
  kTriggerEfficiency = 0x8, kZeroBin = 0x10, kFull = kEventLevel | kBackground | kTriggerEfficiency
}
 
enum  EPileupMask {
  kPileupNormal = 0, kPileupSPD = 0x1, kPileupTrk = 0x2, kPileupBC = 0x4,
  kPileupFull = 0x8, kPileupIgnore = 0x10, kPileupUtil = 0x20, kPileupBins = 0x40
}
 
enum  ECentralityEstimator {
  kCentNone, kCentDefault, kCentV0M, kCentV0A,
  kCentV0A123, kCentV0C, kCentFMD, kCentTrk,
  kCentTkl, kCentCL0, kCentCL1, kCentCND,
  kCentZNA, kCentZNC, kCentZPA, kCentZPC,
  kCentNPA, kCentV0MvsFMD, kCentTklvsV0M, kCentZEMvsZDC,
  kMult, kMultV0A, kMultV0M, kMultV0C,
  kCentTrue = 0x100, kCentEq = 0x200
}
 
enum  {
  kSolid = 0x000, kHollow = 0x001, kCircle = 0x002, kSquare = 0x004,
  kUpTriangle = 0x006, kDownTriangle = 0x008, kDiamond = 0x00a, kCross = 0x00c,
  kStar = 0x00e
}
 

Public Member Functions

 AliBasedNdetaTask ()
 
 AliBasedNdetaTask (const char *name)
 
virtual ~AliBasedNdetaTask ()
 
void Print (Option_t *option="R") const
 
void SetGlobalEmpiricalcorrection (TH2D *h)
 
void SetIpzReweight (TF1 *f)
 
Task interface
virtual Bool_t Book ()
 
virtual Bool_t PreEvent ()
 
virtual Bool_t Event (AliAODEvent &aod)
 
virtual Bool_t Finalize ()
 
- Public Member Functions inherited from AliBaseAODTask
 AliBaseAODTask ()
 
 AliBaseAODTask (const char *name, const char *title)
 
virtual ~AliBaseAODTask ()
 
virtual Bool_t Configure (const char *macro="-default-")
 
void SetIPzAxis (Int_t n, Double_t min, Double_t max)
 
void SetIPzAxis (Int_t n, Double_t max)
 
void SetIPzAxis (const TString &spec)
 
void SetCentralityAxis (UShort_t n, Short_t *bins)
 
void SetCentralityAxis (UShort_t n, Double_t *bins)
 
void SetCentralityAxis (Short_t low, Short_t high)
 
void SetCentralityAxis (const char *bins)
 
void SetAbsMinCent (Double_t x=-1)
 
void SetTriggerMask (UInt_t mask)
 
void SetTriggerMask (const char *mask)
 
void SetFilterMask (UInt_t mask)
 
void SetFilterMask (const char *mask)
 
virtual Bool_t Connect (const char *sumFile=0, const char *resFile=0)
 
virtual Bool_t PreData ()
 
virtual Bool_t PostEvent ()
 
void Print (Option_t *option="") const
 

Static Public Member Functions

static Int_t GetMarkerStyle (UShort_t bits)
 
static UShort_t GetMarkerBits (Int_t style)
 
static Int_t FlipHollowStyle (Int_t style)
 
Services member functions
static TH1DProjectX (const TH2D *h, const char *name, Int_t firstbin, Int_t lastbin, bool useROOT=false, bool corr=true, bool error=true)
 
static void ScaleToCoverage (TH2D *copy, const TH1D *norm)
 
static void ScaleToCoverage (TH1D *copy, const TH1D *norm)
 
static void SetHistogramAttributes (TH1D *h, Int_t colour, Int_t marker, const char *title, const char *ytitle=0)
 

Protected Member Functions

 AliBasedNdetaTask (const AliBasedNdetaTask &)
 
AliBasedNdetaTaskoperator= (const AliBasedNdetaTask &)
 
virtual Bool_t CheckEvent (const AliAODForwardMult &forward)
 
virtual void InitializeCentBins ()
 
virtual TH2DGetHistogram (const AliAODEvent &aod, Bool_t mc=false)=0
 
virtual Int_t GetColor () const
 
virtual Int_t GetMarker () const
 
virtual void CheckEventData (Double_t vtx, TH2 *data, TH2 *mcData)
 
void AddCentralityBin (UShort_t at, Float_t low, Float_t high)
 
virtual CentralityBinMakeCentralityBin (const char *name, Float_t low, Float_t high) const
 
Bool_t ApplyEmpiricalCorrection (const AliAODForwardMult *aod, TH2D *data)
 
Double_t GetCentrality (AliAODEvent &event, AliAODForwardMult *forward, Int_t &qual)
 
Double_t GetCentrality (AliAODEvent &event, AliAODForwardMult *forward)
 
- Protected Member Functions inherited from AliBaseAODTask
 AliBaseAODTask (const AliBaseAODTask &o)
 
AliBaseAODTaskoperator= (const AliBaseAODTask &o)
 
virtual const char * DefaultConfig () const
 
virtual void Init ()
 
virtual void UserCreateOutputObjects ()
 
virtual void UserExec (Option_t *option)
 
virtual void Terminate (Option_t *option)
 
AliAODForwardMultGetForward (const AliAODEvent &aod, Bool_t mc=false, Bool_t verb=true)
 
AliAODMultEventClassGetMultClass (const AliAODEvent &aod, Bool_t verb=true)
 
AliAODCentralMultGetCentral (const AliAODEvent &aod, Bool_t mc=false, Bool_t verb=true)
 
TH2DGetPrimary (const AliAODEvent &aod)
 
virtual void StoreInformation (AliAODForwardMult &forward)
 
virtual Bool_t StoreTrainName (Int_t no)
 
Bool_t HasCentrality () const
 
virtual Double_t GetIpZ (AliAODEvent &event, AliAODForwardMult *forward)
 
virtual Bool_t GetIpXY (AliAODEvent &aod, Double_t &x, Double_t &y)
 

Static Protected Member Functions

static TH1Asymmetry (TH1 *h)
 
static Int_t GetCentMethodID (const TString &meth)
 
static const char * GetCentMethod (UShort_t id)
 
- Static Protected Member Functions inherited from AliBaseAODTask
static void FixAxis (TAxis &axis, const char *title=0)
 
static void SetAxis (TAxis &axis, Int_t n, Double_t *borders)
 
static void SetAxis (TAxis &axis, const TString &spec, const char *sep=":,")
 
static void SetAxis (TAxis &axis, Int_t n, Double_t l, Double_t h)
 
static void SetAxis (TAxis &axis, Int_t n, Double_t m)
 
static void PrintAxis (const TAxis &axis, Int_t nSig=2, const char *alt=0)
 

Protected Attributes

Bool_t fCorrEmpty
 
Bool_t fUseROOTProj
 
Double_t fTriggerEff
 
Double_t fTriggerEff0
 
TObjArrayfListOfCentralities
 
UShort_t fNormalizationScheme
 
TString fFinalMCCorrFile
 
Bool_t fSatelliteVertices
 
TH2DfEmpiricalCorrection
 
TProfile * fMeanVsC
 
TH1DfSeenCent
 
TH1DfTakenCent
 
TString fCentMethod
 
AliAnalysisUtils fAnaUtil
 
Bool_t fUseUtilPileup
 
TF1 * fIpzReweight
 
Double_t fCacheCent
 
Int_t fCacheQual
 
- Protected Attributes inherited from AliBaseAODTask
UInt_t fTriggerMask
 
UInt_t fFilterMask
 
TAxis fCentAxis
 
Double_t fAbsMinCent
 
TAxis fIPzAxis
 
TH1IfTriggers
 
TH1IfEventStatus
 
TH1DfVertex
 
TH1DfCent
 
TH1DfAccVertex
 
TH2DfAccVertexXY
 
TH1DfAccCent
 
Bool_t fFirstEvent
 
Bool_t fCloneList
 
TListfSums
 
TListfResults
 

Task configuration

virtual void SetDebugLevel (Int_t level)
 
void SetCorrEmpty (Bool_t use)
 
void SetUseROOTProjectX (Bool_t use)
 
void SetUseUtilPileup (Bool_t use)
 
void SetTriggerEff (Double_t e)
 
void SetTriggerEff0 (Double_t e)
 
void SetSatelliteVertices (Bool_t satVtx)
 
Bool_t SetCentralityMethod (const TString &method)
 
AliAnalysisUtils & GetAnalysisUtils ()
 
void SetNormalizationScheme (UShort_t scheme)
 
void SetNormalizationScheme (const char *what)
 
void SetMCFinalCorrFilename (const char *filename)
 
static const Char_tNormalizationSchemeString (UShort_t scheme)
 
static UShort_t ParseNormalizationScheme (const Char_t *what)
 

Detailed Description

Base class for tasks to determine \( dN/d\eta\)

Definition at line 49 of file AliBasedNdetaTask.h.

Member Enumeration Documentation

anonymous enum

Bit mask values of the normalisation scheme

Enumerator
kNone 

Only normalize to accepted events

kEventLevel 

Do the full normalisation

\[ N = (N_A-N_A/N_V(N_T-N_V)) = \frac{1}{\epsilon_V}N_A \]

kDummy 

Dummy

kBackground 

Correct for background events (A+C-E)

kTriggerEfficiency 

Correct for the trigger efficiency

\[ N = N_A \frac{1}{\epsilon_X} \]

kZeroBin 

Correct using zero-bin efficiency only

kFull 

Do the full correction

Definition at line 55 of file AliBasedNdetaTask.h.

anonymous enum

Marker styles

Enumerator
kSolid 
kHollow 
kCircle 
kSquare 
kUpTriangle 
kDownTriangle 
kDiamond 
kCross 
kStar 

Definition at line 376 of file AliBasedNdetaTask.h.

Enumerator
kCentNone 
kCentDefault 
kCentV0M 
kCentV0A 
kCentV0A123 
kCentV0C 
kCentFMD 
kCentTrk 
kCentTkl 
kCentCL0 
kCentCL1 
kCentCND 
kCentZNA 
kCentZNC 
kCentZPA 
kCentZPC 
kCentNPA 
kCentV0MvsFMD 
kCentTklvsV0M 
kCentZEMvsZDC 
kMult 
kMultV0A 
kMultV0M 
kMultV0C 
kCentTrue 
kCentEq 

Definition at line 128 of file AliBasedNdetaTask.h.

Mask for selecting pile-up

Enumerator
kPileupNormal 

Use the flag from AOD

kPileupSPD 

Check the pile-up flag from SPD

kPileupTrk 

Check the pileup flag from tracks

kPileupBC 

Check the out-of-bunch pileup flag

kPileupFull 

Use the flag from AOD

kPileupIgnore 

Also accept pileup

kPileupUtil 

Use analysis utility class

kPileupBins 

Also accept pileup

Definition at line 93 of file AliBasedNdetaTask.h.

Constructor & Destructor Documentation

AliBasedNdetaTask::AliBasedNdetaTask ( )

Constructor

Definition at line 120 of file AliBasedNdetaTask.cxx.

AliBasedNdetaTask::AliBasedNdetaTask ( const char *  name)

Constructor

Parameters
nameName of task

Definition at line 148 of file AliBasedNdetaTask.cxx.

AliBasedNdetaTask::~AliBasedNdetaTask ( )
virtual

Destructor

Definition at line 186 of file AliBasedNdetaTask.cxx.

AliBasedNdetaTask::AliBasedNdetaTask ( const AliBasedNdetaTask )
inlineprotected

Copy contructor - not defined

Definition at line 448 of file AliBasedNdetaTask.h.

Member Function Documentation

void AliBasedNdetaTask::AddCentralityBin ( UShort_t  at,
Float_t  low,
Float_t  high 
)
protected

Add a centrality bin

Parameters
atWhere in the list to add this bin
lowLow cut
highHigh cut

Definition at line 208 of file AliBasedNdetaTask.cxx.

Referenced by GetMarker(), and InitializeCentBins().

Bool_t AliBasedNdetaTask::ApplyEmpiricalCorrection ( const AliAODForwardMult aod,
TH2D data 
)
protected

Definition at line 2299 of file AliBasedNdetaTask.cxx.

Referenced by Event(), and GetMarker().

TH1 * AliBasedNdetaTask::Asymmetry ( TH1 h)
staticprotected

Static function toe calculate the asymmetry of the input histogram around 0.

Parameters
hInput histogram
Returns
Newly created histogram or null

Definition at line 2331 of file AliBasedNdetaTask.cxx.

Referenced by Finalize(), and GetMarker().

Bool_t AliBasedNdetaTask::Book ( )
virtual

Create output objects.

This is called once per slave process

Returns
true on success

Implements AliBaseAODTask.

Definition at line 486 of file AliBasedNdetaTask.cxx.

Referenced by SetMCFinalCorrFilename().

Bool_t AliBasedNdetaTask::CheckEvent ( const AliAODForwardMult forward)
protectedvirtual

Check if the event corresponds to the selected trigger(s), vertex, and centrality. Derived classes can overload this to enable event processing - even if the event is not within cuts.

Parameters
forwardForward object
Returns
true if the event is within the cuts.

Reimplemented from AliBaseAODTask.

Definition at line 575 of file AliBasedNdetaTask.cxx.

Referenced by AliBasedNdetaTask(), AliMCTruthdNdetaTask::CentralityBin::ProcessEvent(), and AliBasedNdetaTask::CentralityBin::SetSatelliteVertices().

void AliBasedNdetaTask::CheckEventData ( Double_t  vtx,
TH2 data,
TH2 mcData 
)
protectedvirtual

Massage data histograms if needed

Parameters
vtx
data
mcData

Reimplemented in AliForwarddNdetaTask.

Definition at line 729 of file AliBasedNdetaTask.cxx.

Referenced by Event(), and GetMarker().

Bool_t AliBasedNdetaTask::Event ( AliAODEvent aod)
virtual

Process a single event

Returns
true on success

Implements AliBaseAODTask.

Definition at line 639 of file AliBasedNdetaTask.cxx.

Referenced by PreEvent().

Bool_t AliBasedNdetaTask::Finalize ( )
virtual

Called at end of event processing.

This is called once in the master

Returns
true on success

Implements AliBaseAODTask.

Reimplemented in AliForwarddNdetaTask, and AliMCTruthdNdetaTask.

Definition at line 905 of file AliBasedNdetaTask.cxx.

Referenced by AliMCTruthdNdetaTask::Finalize(), AliForwarddNdetaTask::Finalize(), and PreEvent().

Int_t AliBasedNdetaTask::FlipHollowStyle ( Int_t  style)
static

Flip an option bit

Parameters
styleStyle parameter
Returns
New style

Definition at line 1211 of file AliBasedNdetaTask.cxx.

Referenced by AliBasedNdetaTask::Sum::CalcSum().

AliAnalysisUtils& AliBasedNdetaTask::GetAnalysisUtils ( )
inline

Get reference to the analysis utility

Returns
reference to the AliAnalysisUtils object

Definition at line 241 of file AliBasedNdetaTask.h.

const char * AliBasedNdetaTask::GetCentMethod ( UShort_t  id)
staticprotected

Get the estimator string from simple ID

Parameters
idSimple ID
Returns
Estimator string

Definition at line 411 of file AliBasedNdetaTask.cxx.

Referenced by GetMarker(), and SetCentralityMethod().

Int_t AliBasedNdetaTask::GetCentMethodID ( const TString meth)
staticprotected

Static member to get a simple ID from a centrality esitmator string. Used to check the validity of the centrality estimator

Parameters
methMethod string
Returns
Id or negative value in case of invalid estimator

Definition at line 373 of file AliBasedNdetaTask.cxx.

Referenced by Book(), GetMarker(), and SetCentralityMethod().

Double_t AliBasedNdetaTask::GetCentrality ( AliAODEvent event,
AliAODForwardMult forward,
Int_t qual 
)
protectedvirtual

Get the centrality. The trigger mask of the forward object is not modified

Parameters
eventOur event
forwardOur FMD event
qualOn return, the quality flag
Returns
The centrality percentage

Reimplemented from AliBaseAODTask.

Definition at line 597 of file AliBasedNdetaTask.cxx.

Referenced by Event(), GetCentrality(), and GetMarker().

Double_t AliBasedNdetaTask::GetCentrality ( AliAODEvent event,
AliAODForwardMult forward 
)
protectedvirtual

Get the centrality. If the quality is bad, set the corresponding bit on the forward object.

Parameters
eventOur event
forwardOur FMD event

Reimplemented from AliBaseAODTask.

Definition at line 628 of file AliBasedNdetaTask.cxx.

virtual Int_t AliBasedNdetaTask::GetColor ( ) const
inlineprotectedvirtual

Get the colour to use for markers (only pp - in PbPb we use a rainbow)

Returns
Marker colour

Reimplemented in AliMCTruthdNdetaTask, AliForwarddNdetaTask, and AliCentraldNdetaTask.

Definition at line 487 of file AliBasedNdetaTask.h.

Referenced by Finalize(), and AliBasedNdetaTask::CentralityBin::GetStatus().

virtual TH2D* AliBasedNdetaTask::GetHistogram ( const AliAODEvent aod,
Bool_t  mc = false 
)
protectedpure virtual

Retrieve the histogram

Parameters
aodAOD event
mcWhether to get the MC histogram or not
Returns
Retrieved histogram or null

Implemented in AliMCTruthdNdetaTask, AliForwarddNdetaTask, and AliCentraldNdetaTask.

Referenced by AliBasedNdetaTask(), and Event().

virtual Int_t AliBasedNdetaTask::GetMarker ( ) const
inlineprotectedvirtual

Get the marker style

Returns
Marker style

Reimplemented in AliMCTruthdNdetaTask, and AliCentraldNdetaTask.

Definition at line 493 of file AliBasedNdetaTask.h.

Referenced by Finalize().

UShort_t AliBasedNdetaTask::GetMarkerBits ( Int_t  style)
static

Get the marker option bits from a style

Parameters
styleStyle
Returns
option bits

Definition at line 1191 of file AliBasedNdetaTask.cxx.

Referenced by AliBasedNdetaTask::Sum::CalcSum(), AliBasedNdetaTask::CentralityBin::End(), and FlipHollowStyle().

Int_t AliBasedNdetaTask::GetMarkerStyle ( UShort_t  bits)
static
void AliBasedNdetaTask::InitializeCentBins ( )
protectedvirtual

Create the CentralityBin objects if not already done.

Definition at line 456 of file AliBasedNdetaTask.cxx.

Referenced by AliBasedNdetaTask(), Book(), and Finalize().

AliBasedNdetaTask::CentralityBin * AliBasedNdetaTask::MakeCentralityBin ( const char *  name,
Float_t  low,
Float_t  high 
) const
protectedvirtual

Make a centrality bin

Parameters
nameName used for histograms
lowLow cut in percent
highHigh cut in percent
Returns
A newly created centrality bin

Reimplemented in AliForwarddNdetaTask, and AliMCTruthdNdetaTask.

Definition at line 239 of file AliBasedNdetaTask.cxx.

Referenced by AddCentralityBin(), and GetMarker().

const Char_t * AliBasedNdetaTask::NormalizationSchemeString ( UShort_t  scheme)
static

Get a string representing the normalization scheme

Parameters
schemeNormalization scheme bits
Returns
String representation

Definition at line 263 of file AliBasedNdetaTask.cxx.

Referenced by Finalize(), GetAnalysisUtils(), and Print().

AliBasedNdetaTask& AliBasedNdetaTask::operator= ( const AliBasedNdetaTask )
protected

Assignment operator - not defined

Returns

Referenced by AliBasedNdetaTask().

UShort_t AliBasedNdetaTask::ParseNormalizationScheme ( const Char_t what)
static

Parse a string representing the normalization scheme

Parameters
whatString of the normalization scheme
Returns
normalization scheme bits

Definition at line 284 of file AliBasedNdetaTask.cxx.

Referenced by GetAnalysisUtils(), and SetNormalizationScheme().

virtual Bool_t AliBasedNdetaTask::PreEvent ( )
inlinevirtual

Called before processing a single event - should not do anything but clear data, etc.

Returns
true on success

Reimplemented from AliBaseAODTask.

Definition at line 303 of file AliBasedNdetaTask.h.

void AliBasedNdetaTask::Print ( Option_t option = "R") const

Print information

Parameters
optionIf it contains R, print recursive

Definition at line 1139 of file AliBasedNdetaTask.cxx.

Referenced by Finalize(), and SetMCFinalCorrFilename().

TH1D * AliBasedNdetaTask::ProjectX ( const TH2D h,
const char *  name,
Int_t  firstbin,
Int_t  lastbin,
bool  useROOT = false,
bool  corr = true,
bool  error = true 
)
static

Project onto the X axis

Parameters
h2D histogram
nameNew name
firstbinFirst bin to use
lastbinLast bin to use
useROOTUse TH2::ProjectionX instead of custom code
corrWhether to do corrections or not
errorWhether to calculate errors
Returns
Newly created histogram or null

Definition at line 812 of file AliBasedNdetaTask.cxx.

Referenced by AliBasedNdetaTask::Sum::CalcSum(), AliBasedNdetaTask::CentralityBin::MakeResult(), and PreEvent().

void AliBasedNdetaTask::ScaleToCoverage ( TH2D copy,
const TH1D norm 
)
static

Scale the copy of the 2D histogram by coverage in supplied 1D histogram

Parameters
copyData to scale
normCoverage histogram

Definition at line 771 of file AliBasedNdetaTask.cxx.

Referenced by AliBasedNdetaTask::Sum::CalcSum(), AliBasedNdetaTask::CentralityBin::MakeResult(), and PreEvent().

void AliBasedNdetaTask::ScaleToCoverage ( TH1D copy,
const TH1D norm 
)
static

Scale the copy of the 1D histogram by coverage in supplied 1D histogram

Parameters
copyData to scale
normCoverage histogram

Definition at line 792 of file AliBasedNdetaTask.cxx.

Bool_t AliBasedNdetaTask::SetCentralityMethod ( const TString method)

Set which centrality estimator to use - if not set, use the one from the Forward AOD object. Note, the string is diagnosed, and if found not to be valid, then a the program terminates via a Fatal.

Parameters
methodString definining centrality method (case insensitive) Typical values are
  • V0M (e.g., PbPb)
  • V0A
  • V0C
  • FMD
  • ZNA (e.g., pPb)
  • ZNC (e.g., Pbp)
  • ZPA
  • ZPC
  • ZEMvsZDC
Returns
true if method is valid estimator

Definition at line 342 of file AliBasedNdetaTask.cxx.

Referenced by SetSatelliteVertices().

void AliBasedNdetaTask::SetCorrEmpty ( Bool_t  use)
inline

Set whether to correct for empty bins when projecting on the X axis.

Parameters
useWhether to correct for empty bins

Definition at line 188 of file AliBasedNdetaTask.h.

Referenced by dNdetaConfig().

void AliBasedNdetaTask::SetDebugLevel ( Int_t  level)
virtual

Set the debug level

Parameters
levelDebug level

Definition at line 196 of file AliBasedNdetaTask.cxx.

Referenced by AliBasedNdetaTask::CentralityBin::GetResults().

void AliBasedNdetaTask::SetGlobalEmpiricalcorrection ( TH2D h)
inline

Setter of empirical correction

Parameters
h2D histogram of ratio of nominal \( 1/N dN_{ch}/d\eta\) to satellite \( 1/N dN_{ch}/d\eta\) in PbPb collisions as a function of \(\eta\) and interaction point Z-coordinate \( IP_{z}\)

Definition at line 419 of file AliBasedNdetaTask.h.

void AliBasedNdetaTask::SetHistogramAttributes ( TH1D h,
Int_t  colour,
Int_t  marker,
const char *  title,
const char *  ytitle = 0 
)
static

Set histogram graphical options, etc.

Parameters
hHistogram to modify
colourMarker color
markerMarker style
titleTitle of histogram
ytitleTitle on y-axis.

Definition at line 737 of file AliBasedNdetaTask.cxx.

Referenced by AliMCTruthdNdetaTask::CentralityBin::End(), AliBasedNdetaTask::CentralityBin::MakeResult(), and PreEvent().

void AliBasedNdetaTask::SetIpzReweight ( TF1 *  f)
inline

Set re-weighing function to correct for different primary vertex distribution in analysed data from what was used in the empirical correction. To use, put code like the following into the configuration file (default dNdetaConfig.C):

TF1* f = new TF1("reweight",
"TMath::Gaus(x,[0],[1],true)/TMath::Gaus(x,[2],[3],true",
-10,10,4);
f->SetParNames("#mu_{1},#sigma_{1},#mu_{2},#sigma_{2}");
f->SetParameters(0.592,6.836,muIpz,sigmaIpz);
f->SetParErrors(0.023,0.029,eMuIpz,eSigmaIpz);
task->SetIpzReweight(f);

where muIpz and sigmaIpz are the mean and sigma of the data being analysed. The values 0.592 (+/- 0.023) and 6.836 (+/- 0.029) are the best-fit ( \( \chi^2/\nu=0.76\)) values from the empirical base run (138190). Currently, the errors on the parameters are not used.

Parameters
fFunction to use

Definition at line 443 of file AliBasedNdetaTask.h.

void AliBasedNdetaTask::SetMCFinalCorrFilename ( const char *  filename)
inline

Filename of final MC correction

Parameters
filenamefilename

Definition at line 275 of file AliBasedNdetaTask.h.

void AliBasedNdetaTask::SetNormalizationScheme ( UShort_t  scheme)

Setthe normalisation scheme to use

Parameters
schemeNormalisation scheme

Definition at line 335 of file AliBasedNdetaTask.cxx.

Referenced by AliBasedNdetaTask(), GetAnalysisUtils(), and SetNormalizationScheme().

void AliBasedNdetaTask::SetNormalizationScheme ( const char *  what)

Space, pipe, or comma separated list of options

Parameters
whatList of options

Definition at line 325 of file AliBasedNdetaTask.cxx.

void AliBasedNdetaTask::SetSatelliteVertices ( Bool_t  satVtx)
inline

Set satellite vertex flag

Parameters
satVtx

Definition at line 214 of file AliBasedNdetaTask.h.

void AliBasedNdetaTask::SetTriggerEff ( Double_t  e)
inline

Trigger efficiency for selected trigger(s)

Parameters
eTrigger efficiency

Definition at line 202 of file AliBasedNdetaTask.h.

void AliBasedNdetaTask::SetTriggerEff0 ( Double_t  e)
inline

Trigger efficiency for 0-bin for selected trigger(s)

Parameters
eTrigger efficiency for 0-bin

Definition at line 208 of file AliBasedNdetaTask.h.

void AliBasedNdetaTask::SetUseROOTProjectX ( Bool_t  use)
inline

Set whether to use the ROOT TH2::ProjectionX method when projecting on the X axis.

Parameters
useWhether to use TH2::ProjectionX

Definition at line 195 of file AliBasedNdetaTask.h.

Referenced by dNdetaConfig().

void AliBasedNdetaTask::SetUseUtilPileup ( Bool_t  use)
inline

Definition at line 196 of file AliBasedNdetaTask.h.

Member Data Documentation

AliAnalysisUtils AliBasedNdetaTask::fAnaUtil
protected

Definition at line 1054 of file AliBasedNdetaTask.h.

Referenced by Event(), and GetAnalysisUtils().

Double_t AliBasedNdetaTask::fCacheCent
protected

Definition at line 1057 of file AliBasedNdetaTask.h.

Referenced by GetCentrality(), and PreEvent().

Int_t AliBasedNdetaTask::fCacheQual
protected

Definition at line 1058 of file AliBasedNdetaTask.h.

Referenced by GetCentrality(), and PreEvent().

TString AliBasedNdetaTask::fCentMethod
protected
Bool_t AliBasedNdetaTask::fCorrEmpty
protected
TH2D* AliBasedNdetaTask::fEmpiricalCorrection
protected
TString AliBasedNdetaTask::fFinalMCCorrFile
protected

Definition at line 1047 of file AliBasedNdetaTask.h.

Referenced by Finalize(), and SetMCFinalCorrFilename().

TF1* AliBasedNdetaTask::fIpzReweight
protected

Definition at line 1056 of file AliBasedNdetaTask.h.

Referenced by Book(), Event(), Print(), and SetIpzReweight().

TObjArray* AliBasedNdetaTask::fListOfCentralities
protected
TProfile* AliBasedNdetaTask::fMeanVsC
protected

Definition at line 1050 of file AliBasedNdetaTask.h.

Referenced by Book(), Event(), and Finalize().

UShort_t AliBasedNdetaTask::fNormalizationScheme
protected

Definition at line 1046 of file AliBasedNdetaTask.h.

Referenced by Book(), Event(), Finalize(), Print(), and SetNormalizationScheme().

Bool_t AliBasedNdetaTask::fSatelliteVertices
protected
TH1D* AliBasedNdetaTask::fSeenCent
protected

Definition at line 1051 of file AliBasedNdetaTask.h.

Referenced by Book(), and Event().

TH1D* AliBasedNdetaTask::fTakenCent
protected

Definition at line 1052 of file AliBasedNdetaTask.h.

Referenced by Book(), and Event().

Double_t AliBasedNdetaTask::fTriggerEff
protected

Definition at line 1043 of file AliBasedNdetaTask.h.

Referenced by Finalize(), Print(), and SetTriggerEff().

Double_t AliBasedNdetaTask::fTriggerEff0
protected

Definition at line 1044 of file AliBasedNdetaTask.h.

Referenced by Finalize(), Print(), and SetTriggerEff0().

Bool_t AliBasedNdetaTask::fUseROOTProj
protected

Definition at line 1042 of file AliBasedNdetaTask.h.

Referenced by Finalize(), Print(), and SetUseROOTProjectX().

Bool_t AliBasedNdetaTask::fUseUtilPileup
protected

Definition at line 1055 of file AliBasedNdetaTask.h.

Referenced by Event(), Print(), and SetUseUtilPileup().


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