AliPhysics  449db5a (449db5a)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliFMDMCDensityCalculator Class Reference

#include <AliFMDMCDensityCalculator.h>

Inheritance diagram for AliFMDMCDensityCalculator:

Public Member Functions

 AliFMDMCDensityCalculator ()
 
 AliFMDMCDensityCalculator (const char *name)
 
 AliFMDMCDensityCalculator (const AliFMDMCDensityCalculator &o)
 
virtual ~AliFMDMCDensityCalculator ()
 
AliFMDMCDensityCalculatoroperator= (const AliFMDMCDensityCalculator &o)
 
void SetupForData (const TAxis &etaAxis)
 
virtual Bool_t CalculateMC (const AliESDFMD &fmd, AliForwardUtil::Histos &hists)
 
virtual Bool_t CompareResults (AliForwardUtil::Histos &esd, AliForwardUtil::Histos &mc)
 
void CreateOutputObjects (TList *dir)
 
- Public Member Functions inherited from AliFMDDensityCalculator
 AliFMDDensityCalculator ()
 
 AliFMDDensityCalculator (const char *name)
 
 AliFMDDensityCalculator (const AliFMDDensityCalculator &o)
 
virtual ~AliFMDDensityCalculator ()
 
AliFMDDensityCalculatoroperator= (const AliFMDDensityCalculator &o)
 
virtual Bool_t Calculate (const AliESDFMD &fmd, AliForwardUtil::Histos &hists, Bool_t lowFlux, Double_t cent=-1, const TVector3 &ip=TVector3(1024, 1024, 0))
 
virtual void Terminate (const TList *dir, TList *output, Int_t nEvents)
 
void SetDebug (Int_t dbg=1)
 
void SetDoTiming (Bool_t enable=true)
 
void SetMaxParticles (UShort_t m)
 
void SetUsePoisson (Bool_t u)
 
void SetRecalculatePhi (Bool_t use)
 
void SetUsePhiAcceptance (UShort_t u=kPhiCorrectNch)
 
void SetLumping (Int_t eta, Int_t phi)
 
void SetMinQuality (UShort_t cut=10)
 
void SetMaxOutliers (Double_t ratio=0.10)
 
void SetOutlierCut (Double_t cut=0.50)
 
void SetHitThreshold (Double_t cut=0.9)
 
Double_t GetMultCut (UShort_t d, Char_t r, Double_t eta, Bool_t errors=true) const
 
Double_t GetMultCut (UShort_t d, Char_t r, Int_t ieta, Bool_t errors=true) const
 
UShort_t GetMinQuality () const
 
void Print (Option_t *option="") const
 
AliFMDMultCutsGetCuts ()
 
void SetCuts (const AliFMDMultCuts &c)
 

Protected Member Functions

TProfile2D * Make (UShort_t d, Char_t r, const TAxis &axis) const
 
TH2DMake (UShort_t d, Char_t r) const
 
TH1DMake (UShort_t d, Char_t r, Int_t max) const
 
void Fill (UShort_t d, Char_t r, TH2 *esd, TH2 *mc)
 
 ClassDef (AliFMDMCDensityCalculator, 2)
 
- Protected Member Functions inherited from AliFMDDensityCalculator
Int_t FindMaxWeight (const AliFMDCorrELossFit *cor, UShort_t d, Char_t r, Int_t iEta) const
 
Int_t FindMaxWeight (const AliFMDCorrELossFit *cor, UShort_t d, Char_t r, Double_t iEta) const
 
void CacheMaxWeights (const TAxis &axis)
 
Int_t GetMaxWeight (UShort_t d, Char_t r, Int_t iEta) const
 
Int_t GetMaxWeight (UShort_t d, Char_t r, Float_t eta) const
 
virtual Float_t NParticles (Float_t mult, UShort_t d, Char_t r, Float_t eta, Bool_t lowFlux) const
 
virtual Float_t Correction (UShort_t d, Char_t r, UShort_t t, Float_t eta, Bool_t lowFlux) const
 
virtual Float_t AcceptanceCorrection (Char_t r, UShort_t t) const
 
virtual TH1DGenerateAcceptanceCorrection (Char_t r) const
 
virtual Bool_t CheckOutlier (Double_t eloss, Double_t poisson, Double_t cut=0.5) const
 
RingHistosGetRingHistos (UShort_t d, Char_t r) const
 
 ClassDef (AliFMDDensityCalculator, 16)
 

Protected Attributes

TProfile2D * fFMD1i
 
TProfile2D * fFMD2i
 
TProfile2D * fFMD2o
 
TProfile2D * fFMD3i
 
TProfile2D * fFMD3o
 
TH2DfFMD1iC
 
TH2DfFMD2iC
 
TH2DfFMD2oC
 
TH2DfFMD3iC
 
TH2DfFMD3oC
 
TH1DfFMD1iD
 
TH1DfFMD2iD
 
TH1DfFMD2oD
 
TH1DfFMD3iD
 
TH1DfFMD3oD
 
TListfComps
 
- Protected Attributes inherited from AliFMDDensityCalculator
TList fRingHistos
 
TH1DfSumOfWeights
 
TH1DfWeightedSum
 
TH1DfCorrections
 
UShort_t fMaxParticles
 
Bool_t fUsePoisson
 
UShort_t fUsePhiAcceptance
 
TH1DfAccI
 
TH1DfAccO
 
TArrayI fFMD1iMax
 
TArrayI fFMD2iMax
 
TArrayI fFMD2oMax
 
TArrayI fFMD3iMax
 
TArrayI fFMD3oMax
 
TH2DfMaxWeights
 
TH2DfLowCuts
 
Int_t fEtaLumping
 
Int_t fPhiLumping
 
Int_t fDebug
 
AliFMDMultCuts fCuts
 
Bool_t fRecalculatePhi
 
UShort_t fMinQuality
 
Double_t fHitThreshold
 
AliForwardUtil::Histos fCache
 
Bool_t fDoTiming
 
TProfile * fHTiming
 
Double_t fMaxOutliers
 
Double_t fOutlierCut
 

Additional Inherited Members

- Public Types inherited from AliFMDDensityCalculator
enum  { kPhiNoCorrect, kPhiCorrectNch, kPhiCorrectELoss }
 
- Static Public Attributes inherited from AliFMDDensityCalculator
static const char * fgkFolderName
 

Detailed Description

This class calculates the inclusive charged particle density in each for the 5 FMD rings based on the MC truth.

Input:
  • AliMCEvent MC truth event infromation
Output:
  • None
Corrections used:
  • None

Definition at line 42 of file AliFMDMCDensityCalculator.h.

Constructor & Destructor Documentation

AliFMDMCDensityCalculator::AliFMDMCDensityCalculator ( )
inline

Constructor

Definition at line 48 of file AliFMDMCDensityCalculator.h.

AliFMDMCDensityCalculator::AliFMDMCDensityCalculator ( const char *  name)
inline

Constructor

Parameters
nameName of object

Definition at line 72 of file AliFMDMCDensityCalculator.h.

AliFMDMCDensityCalculator::AliFMDMCDensityCalculator ( const AliFMDMCDensityCalculator o)
inline

Copy constructor

Parameters
oObject to copy from

Definition at line 96 of file AliFMDMCDensityCalculator.h.

virtual AliFMDMCDensityCalculator::~AliFMDMCDensityCalculator ( )
virtual

Destructor

Member Function Documentation

Bool_t AliFMDMCDensityCalculator::CalculateMC ( const AliESDFMD fmd,
AliForwardUtil::Histos hists 
)
virtual

Calculate the charged particle density from the MC track references.

Parameters
fmdFMD ESD event structure
histsHistograms to fill
Returns
true on success

Definition at line 104 of file AliFMDMCDensityCalculator.cxx.

Referenced by AliForwardMCMultiplicityTask::Event().

AliFMDMCDensityCalculator::ClassDef ( AliFMDMCDensityCalculator  ,
 
)
protected
Bool_t AliFMDMCDensityCalculator::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 275 of file AliFMDMCDensityCalculator.cxx.

Referenced by AliForwardMCMultiplicityTask::Event().

void AliFMDMCDensityCalculator::CreateOutputObjects ( TList dir)
virtual

Output diagnostic histograms to directory

Parameters
dirList to write in

Reimplemented from AliFMDDensityCalculator.

Definition at line 301 of file AliFMDMCDensityCalculator.cxx.

void AliFMDMCDensityCalculator::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 224 of file AliFMDMCDensityCalculator.cxx.

Referenced by CompareResults().

TProfile2D * AliFMDMCDensityCalculator::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 148 of file AliFMDMCDensityCalculator.cxx.

Referenced by SetupForData().

TH2D * AliFMDMCDensityCalculator::Make ( UShort_t  d,
Char_t  r 
) const
protected

MAke comparison profiles

Parameters
dDetector
rRing
Returns
Newly allocated profile object

Definition at line 177 of file AliFMDMCDensityCalculator.cxx.

TH1D * AliFMDMCDensityCalculator::Make ( UShort_t  d,
Char_t  r,
Int_t  max 
) const
protected

Make comparison profiles

Parameters
dDetector
rRing
maxMaximum
Returns
Newly allocated profile object

Definition at line 200 of file AliFMDMCDensityCalculator.cxx.

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

Assignement operator

Parameters
oObject to assign from
Returns
Reference to this object

Definition at line 41 of file AliFMDMCDensityCalculator.cxx.

void AliFMDMCDensityCalculator::SetupForData ( const TAxis etaAxis)
virtual

Initialize this object

Parameters
etaAxisEta axis to use

Reimplemented from AliFMDDensityCalculator.

Definition at line 59 of file AliFMDMCDensityCalculator.cxx.

Member Data Documentation

TList* AliFMDMCDensityCalculator::fComps
protected

Definition at line 217 of file AliFMDMCDensityCalculator.h.

Referenced by CreateOutputObjects(), and SetupForData().

TProfile2D* AliFMDMCDensityCalculator::fFMD1i
protected

Definition at line 202 of file AliFMDMCDensityCalculator.h.

Referenced by Fill(), and SetupForData().

TH2D* AliFMDMCDensityCalculator::fFMD1iC
protected

Definition at line 207 of file AliFMDMCDensityCalculator.h.

Referenced by Fill(), and SetupForData().

TH1D* AliFMDMCDensityCalculator::fFMD1iD
protected

Definition at line 212 of file AliFMDMCDensityCalculator.h.

Referenced by Fill(), and SetupForData().

TProfile2D* AliFMDMCDensityCalculator::fFMD2i
protected

Definition at line 203 of file AliFMDMCDensityCalculator.h.

Referenced by Fill(), and SetupForData().

TH2D* AliFMDMCDensityCalculator::fFMD2iC
protected

Definition at line 208 of file AliFMDMCDensityCalculator.h.

Referenced by Fill(), and SetupForData().

TH1D* AliFMDMCDensityCalculator::fFMD2iD
protected

Definition at line 213 of file AliFMDMCDensityCalculator.h.

Referenced by Fill(), and SetupForData().

TProfile2D* AliFMDMCDensityCalculator::fFMD2o
protected

Definition at line 204 of file AliFMDMCDensityCalculator.h.

Referenced by Fill(), and SetupForData().

TH2D* AliFMDMCDensityCalculator::fFMD2oC
protected

Definition at line 209 of file AliFMDMCDensityCalculator.h.

Referenced by Fill(), and SetupForData().

TH1D* AliFMDMCDensityCalculator::fFMD2oD
protected

Definition at line 214 of file AliFMDMCDensityCalculator.h.

Referenced by Fill(), and SetupForData().

TProfile2D* AliFMDMCDensityCalculator::fFMD3i
protected

Definition at line 205 of file AliFMDMCDensityCalculator.h.

Referenced by Fill(), and SetupForData().

TH2D* AliFMDMCDensityCalculator::fFMD3iC
protected

Definition at line 210 of file AliFMDMCDensityCalculator.h.

Referenced by Fill(), and SetupForData().

TH1D* AliFMDMCDensityCalculator::fFMD3iD
protected

Definition at line 215 of file AliFMDMCDensityCalculator.h.

Referenced by Fill(), and SetupForData().

TProfile2D* AliFMDMCDensityCalculator::fFMD3o
protected

Definition at line 206 of file AliFMDMCDensityCalculator.h.

Referenced by Fill(), and SetupForData().

TH2D* AliFMDMCDensityCalculator::fFMD3oC
protected

Definition at line 211 of file AliFMDMCDensityCalculator.h.

Referenced by Fill(), and SetupForData().

TH1D* AliFMDMCDensityCalculator::fFMD3oD
protected

Definition at line 216 of file AliFMDMCDensityCalculator.h.

Referenced by Fill(), and SetupForData().


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