AliPhysics  6bc8652 (6bc8652)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliFMDMCCorrector Class Reference

#include <AliFMDMCCorrector.h>

Inheritance diagram for AliFMDMCCorrector:

Public Member Functions

 AliFMDMCCorrector ()
 
 AliFMDMCCorrector (const char *name)
 
 AliFMDMCCorrector (const AliFMDMCCorrector &o)
 
virtual ~AliFMDMCCorrector ()
 
AliFMDMCCorrectoroperator= (const AliFMDMCCorrector &)
 
void SetSecondaryForMC (Bool_t use)
 
void SetupForData (const TAxis &etaAxis)
 
virtual Bool_t CorrectMC (AliForwardUtil::Histos &hists, UShort_t vtxBin)
 
virtual Bool_t CompareResults (AliForwardUtil::Histos &esd, AliForwardUtil::Histos &mc)
 
void CreateOutputObjects (TList *dir)
 
void Print (Option_t *option="") const
 
- Public Member Functions inherited from AliFMDCorrector
 AliFMDCorrector ()
 
 AliFMDCorrector (const char *name)
 
 AliFMDCorrector (const AliFMDCorrector &o)
 
virtual ~AliFMDCorrector ()
 
AliFMDCorrectoroperator= (const AliFMDCorrector &)
 
virtual Bool_t Correct (AliForwardUtil::Histos &hists, UShort_t vtxBin)
 
virtual void Terminate (const TList *dir, TList *output, Int_t nEvents)
 
void SetDebug (Int_t dbg=1)
 
void SetUseSecondaryMap (Bool_t use=true)
 
Bool_t IsUseSecondaryMap () const
 
void SetUseVertexBias (Bool_t use=true)
 
Bool_t IsUseVertexBias () const
 
void SetUseAcceptance (Bool_t use=true)
 
Bool_t IsUseAcceptance () const
 
void SetUseMergingEfficiency (Bool_t use=true)
 
Bool_t IsUseMergingEfficiency () const
 

Protected Member Functions

TProfile2D * Make (UShort_t d, Char_t r, const TAxis &axis) const
 
void Fill (UShort_t d, Char_t r, TH2 *esd, TH2 *mc)
 
 ClassDef (AliFMDMCCorrector, 2)
 
- Protected Member Functions inherited from AliFMDCorrector
RingHistosGetRingHistos (UShort_t d, Char_t r) const
 
void DivideMap (TH2 *num, const TH2 *denom, Bool_t alsoUnderOver=false) const
 
 ClassDef (AliFMDCorrector, 4)
 

Protected Attributes

TProfile2D * fFMD1i
 
TProfile2D * fFMD2i
 
TProfile2D * fFMD2o
 
TProfile2D * fFMD3i
 
TProfile2D * fFMD3o
 
TListfComps
 
Bool_t fSecondaryForMC
 
- Protected Attributes inherited from AliFMDCorrector
TList fRingHistos
 
Bool_t fUseSecondaryMap
 
Bool_t fUseVertexBias
 
Bool_t fUseAcceptance
 
Bool_t fUseMergingEfficiency
 
Int_t fDebug
 

Detailed Description

This class calculates the exclusive charged particle density in each for the 5 FMD rings.

Input:
  • 5 RingHistos objects - each with a number of vertex dependent 2D histograms of the inclusive charge particle density
Output:
  • 5 RingHistos objects - each with a number of vertex dependent 2D histograms of the exclusive charge particle density
Corrections used:

Definition at line 50 of file AliFMDMCCorrector.h.

Constructor & Destructor Documentation

AliFMDMCCorrector::AliFMDMCCorrector ( )
inline

Constructor

Definition at line 56 of file AliFMDMCCorrector.h.

AliFMDMCCorrector::AliFMDMCCorrector ( const char *  name)
inline

Constructor

Parameters
nameName of object

Definition at line 71 of file AliFMDMCCorrector.h.

AliFMDMCCorrector::AliFMDMCCorrector ( const AliFMDMCCorrector o)
inline

Copy constructor

Parameters
oObject to copy from

Definition at line 86 of file AliFMDMCCorrector.h.

virtual AliFMDMCCorrector::~AliFMDMCCorrector ( )
virtual

Destructor

Member Function Documentation

AliFMDMCCorrector::ClassDef ( AliFMDMCCorrector  ,
 
)
protected
Bool_t AliFMDMCCorrector::CompareResults ( AliForwardUtil::Histos esd,
AliForwardUtil::Histos mc 
)
virtual

Compare the result of analysing the ESD for the inclusive charged particle density to analysing MC truth

Parameters
esd
mc
Returns

Definition at line 214 of file AliFMDMCCorrector.cxx.

Referenced by AliForwardMCMultiplicityTask::Event().

Bool_t AliFMDMCCorrector::CorrectMC ( AliForwardUtil::Histos hists,
UShort_t  vtxBin 
)
virtual

Do the calculations

Parameters
histsCache of histograms
vtxBinVertex bin
Returns
true on successs

Definition at line 72 of file AliFMDMCCorrector.cxx.

Referenced by AliForwardMCMultiplicityTask::Event().

void AliFMDMCCorrector::CreateOutputObjects ( TList dir)
virtual

Output diagnostic histograms to directory

Parameters
dirList to write in

Reimplemented from AliFMDCorrector.

Definition at line 240 of file AliFMDMCCorrector.cxx.

void AliFMDMCCorrector::Fill ( UShort_t  d,
Char_t  r,
TH2 esd,
TH2 mc 
)
protected

Fill comparison profiles

Parameters
dDetector
rRing
esdESD histogram
mcMC histogram

Definition at line 180 of file AliFMDMCCorrector.cxx.

Referenced by CompareResults().

TProfile2D * AliFMDMCCorrector::Make ( UShort_t  d,
Char_t  r,
const TAxis axis 
) const
protected

MAke comparison profiles

Parameters
dDetector
rRing
axisEta axis
Returns
Newly allocated profile object

Definition at line 151 of file AliFMDMCCorrector.cxx.

Referenced by SetupForData().

AliFMDMCCorrector & AliFMDMCCorrector::operator= ( const AliFMDMCCorrector o)

Assignement operator

Parameters
oObject to assign from
Returns
Reference to this object

Definition at line 53 of file AliFMDMCCorrector.cxx.

void AliFMDMCCorrector::Print ( Option_t option = "") const
virtual

Print information

Parameters
optionNot used

Reimplemented from AliFMDCorrector.

Definition at line 263 of file AliFMDMCCorrector.cxx.

void AliFMDMCCorrector::SetSecondaryForMC ( Bool_t  use)
inline

If set, then do not do the secondary correction for MC data

Parameters
use

Definition at line 113 of file AliFMDMCCorrector.h.

Referenced by AliForwardMCMultiplicityTask::SetOnlyPrimary().

void AliFMDMCCorrector::SetupForData ( const TAxis etaAxis)
virtual

Initialize this object

Parameters
etaAxisEta axis to use

Reimplemented from AliFMDCorrector.

Definition at line 126 of file AliFMDMCCorrector.cxx.

Member Data Documentation

TList* AliFMDMCCorrector::fComps
protected

Definition at line 180 of file AliFMDMCCorrector.h.

Referenced by CreateOutputObjects(), and SetupForData().

TProfile2D* AliFMDMCCorrector::fFMD1i
protected

Definition at line 175 of file AliFMDMCCorrector.h.

Referenced by Fill(), and SetupForData().

TProfile2D* AliFMDMCCorrector::fFMD2i
protected

Definition at line 176 of file AliFMDMCCorrector.h.

Referenced by Fill(), and SetupForData().

TProfile2D* AliFMDMCCorrector::fFMD2o
protected

Definition at line 177 of file AliFMDMCCorrector.h.

Referenced by Fill(), and SetupForData().

TProfile2D* AliFMDMCCorrector::fFMD3i
protected

Definition at line 178 of file AliFMDMCCorrector.h.

Referenced by Fill(), and SetupForData().

TProfile2D* AliFMDMCCorrector::fFMD3o
protected

Definition at line 179 of file AliFMDMCCorrector.h.

Referenced by Fill(), and SetupForData().

Bool_t AliFMDMCCorrector::fSecondaryForMC
protected

Definition at line 181 of file AliFMDMCCorrector.h.

Referenced by CorrectMC(), operator=(), Print(), and SetSecondaryForMC().


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