![]() |
AliPhysics
ed43440 (ed43440)
|
#include <AliFMDCorrector.h>
Classes | |
struct | RingHistos |
Public Member Functions | |
AliFMDCorrector () | |
AliFMDCorrector (const char *name) | |
AliFMDCorrector (const AliFMDCorrector &o) | |
virtual | ~AliFMDCorrector () |
AliFMDCorrector & | operator= (const AliFMDCorrector &) |
virtual void | SetupForData (const TAxis &etaAxis) |
virtual Bool_t | Correct (AliForwardUtil::Histos &hists, UShort_t vtxBin) |
virtual void | Terminate (const TList *dir, TList *output, Int_t nEvents) |
virtual void | CreateOutputObjects (TList *dir) |
void | SetDebug (Int_t dbg=1) |
virtual void | Print (Option_t *option="") const |
Enable/disable parts of the corrections | |
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 | |
RingHistos * | GetRingHistos (UShort_t d, Char_t r) const |
void | DivideMap (TH2 *num, const TH2 *denom, Bool_t alsoUnderOver=false) const |
Protected Attributes | |
TList | fRingHistos |
Bool_t | fUseSecondaryMap |
Bool_t | fUseVertexBias |
Bool_t | fUseAcceptance |
Bool_t | fUseMergingEfficiency |
Int_t | fDebug |
This class calculates the exclusive charged particle density in each for the 5 FMD rings.
Definition at line 48 of file AliFMDCorrector.h.
AliFMDCorrector::AliFMDCorrector | ( | ) |
Constructor
Definition at line 28 of file AliFMDCorrector.cxx.
AliFMDCorrector::AliFMDCorrector | ( | const char * | name | ) |
AliFMDCorrector::AliFMDCorrector | ( | const AliFMDCorrector & | o | ) |
|
virtual |
Destructor
Definition at line 80 of file AliFMDCorrector.cxx.
|
virtual |
Do the calculations
hists | Cache of histograms |
vtxBin | Vertex bin |
Definition at line 196 of file AliFMDCorrector.cxx.
Referenced by AliForwardMultiplicityTask::Event(), and AliForwardMCMultiplicityTask::Event().
|
virtual |
Output diagnostic histograms to directory
dir | List to write in |
Reimplemented in AliFMDMCCorrector.
Definition at line 342 of file AliFMDCorrector.cxx.
Referenced by AliForwardMultiplicityBase::Book(), and AliFMDMCCorrector::CreateOutputObjects().
|
protected |
Divide a map with another map. This is a reimplementation of TH1::Divide, but we assume compatible histograms, and the under- and overflow bins are only divided if the third argument is true.
num | Numerator. On return contains the result |
denom | Denominator |
alsoUnderOver | If true, also divide under/overflow bins |
Definition at line 159 of file AliFMDCorrector.cxx.
Referenced by Correct().
|
protected |
Get the ring histogram container
d | Detector |
r | Ring |
Definition at line 135 of file AliFMDCorrector.cxx.
Referenced by Correct().
|
inline |
Check
Definition at line 153 of file AliFMDCorrector.h.
|
inline |
Check
Definition at line 165 of file AliFMDCorrector.h.
|
inline |
Check
Definition at line 129 of file AliFMDCorrector.h.
|
inline |
Check
Definition at line 141 of file AliFMDCorrector.h.
AliFMDCorrector & AliFMDCorrector::operator= | ( | const AliFMDCorrector & | o | ) |
Assignement operator
o | Object to assign from |
Definition at line 91 of file AliFMDCorrector.cxx.
Referenced by AliFMDMCCorrector::operator=().
|
virtual |
Print information
option | Not used |
Reimplemented in AliFMDMCCorrector.
Definition at line 388 of file AliFMDCorrector.cxx.
Referenced by IsUseMergingEfficiency(), AliForwardMultiplicityBase::Print(), and AliFMDMCCorrector::Print().
|
inline |
Set the debug level. The higher the value the more output
dbg | Debug level |
Definition at line 113 of file AliFMDCorrector.h.
Referenced by AliForwardMultiplicityBase::SetDebug().
|
virtual |
Initialize this object
etaAxis | Eta axis to use – not used |
Reimplemented in AliFMDMCCorrector.
Definition at line 116 of file AliFMDCorrector.cxx.
Referenced by AliForwardMultiplicityBase::PreData(), and AliFMDMCCorrector::SetupForData().
|
inline |
Whether to do correction for dead-channel acceptance
use | If true, use the dead-channel acceptance correction |
Definition at line 147 of file AliFMDCorrector.h.
Referenced by ForwardAODConfig(), and TunedConfig().
|
inline |
Whether to use the merging efficiency correction
use | If true, use the merging efficiency correction |
Definition at line 159 of file AliFMDCorrector.h.
Referenced by ForwardAODConfig(), and TunedConfig().
|
inline |
Whether to do correction for secondaries
use | If true, use the secondary correction |
Definition at line 123 of file AliFMDCorrector.h.
Referenced by ForwardAODConfig(), and TunedConfig().
|
inline |
Whether to do correction for vertex bias
use | If true, use the vertex bias correction |
Definition at line 135 of file AliFMDCorrector.h.
Referenced by ForwardAODConfig(), and TunedConfig().
Scale the histograms to the total number of events
dir | Where the output is stored |
output | Output list |
nEvents | Number of events |
Definition at line 298 of file AliFMDCorrector.cxx.
Referenced by AliForwardMultiplicityBase::Finalize().
|
protected |
Definition at line 250 of file AliFMDCorrector.h.
Referenced by AliFMDCorrector(), Correct(), CreateOutputObjects(), operator=(), SetDebug(), SetupForData(), Terminate(), and ~AliFMDCorrector().
|
protected |
Definition at line 245 of file AliFMDCorrector.h.
Referenced by AliFMDCorrector(), CreateOutputObjects(), GetRingHistos(), operator=(), Terminate(), and ~AliFMDCorrector().
|
protected |
Definition at line 248 of file AliFMDCorrector.h.
Referenced by Correct(), CreateOutputObjects(), IsUseAcceptance(), operator=(), Print(), SetupForData(), and SetUseAcceptance().
|
protected |
Definition at line 249 of file AliFMDCorrector.h.
Referenced by Correct(), CreateOutputObjects(), IsUseMergingEfficiency(), operator=(), Print(), and SetUseMergingEfficiency().
|
protected |
Definition at line 246 of file AliFMDCorrector.h.
Referenced by Correct(), AliFMDMCCorrector::CorrectMC(), CreateOutputObjects(), IsUseSecondaryMap(), operator=(), Print(), SetupForData(), and SetUseSecondaryMap().
|
protected |
Definition at line 247 of file AliFMDCorrector.h.
Referenced by Correct(), AliFMDMCCorrector::CorrectMC(), CreateOutputObjects(), IsUseVertexBias(), operator=(), Print(), SetupForData(), and SetUseVertexBias().