![]() |
AliPhysics
008a5da (008a5da)
|
#include <AliFMDESDFixer.h>
Public Member Functions | |
AliFMDESDFixer () | |
AliFMDESDFixer (const char *name) | |
const char * | GetName () const |
void | CreateOutputObjects (TList *l) |
void | Fix (AliESDFMD &esd, const TVector3 &ip) |
void | Print (Option_t *option="") const |
Noise suppression fix | |
void | SetRecoNoiseFactor (Int_t f) |
void | SetMaxNoiseCorrection (Double_t x) |
Int_t | GetRecoNoiseFactor () const |
Bool_t | IsUseNoiseCorrection () const |
Int_t | FindTargetNoiseFactor (const AliESDFMD &esd, Bool_t check=true) const |
Recalculations | |
void | SetRecalculateEta (Bool_t use) |
Special treatmeant of invalid signals | |
void | SetInvalidIsEmpty (Bool_t flag) |
Dead strip handling | |
void | AddDead (UShort_t d, Char_t r, UShort_t s, UShort_t t) |
void | AddDeadRegion (UShort_t d, Char_t r, UShort_t s1, UShort_t s2, UShort_t t1, UShort_t t2) |
void | AddDead (const Char_t *script) |
Protected Member Functions | |
AliFMDESDFixer (const AliFMDESDFixer &) | |
AliFMDESDFixer & | operator= (const AliFMDESDFixer &) |
Worker functions | |
Int_t | fRecoFactor |
Double_t | fMaxNoiseCorr |
Bool_t | fRecalculateEta |
TBits | fXtraDead |
Bool_t | fHasXtraDead |
Bool_t | fInvalidIsEmpty |
TH1 * | fNoiseChange |
TH1 * | fEtaChange |
TH1 * | fDeadChange |
virtual Bool_t | IsDead (UShort_t d, Char_t r, UShort_t s, UShort_t t) const |
Bool_t | CheckDead (UShort_t d, Char_t r, UShort_t s, UShort_t t, Double_t &m) |
void | RecalculateEta (UShort_t d, Char_t r, UShort_t s, UShort_t t, const TVector3 &ip, Double_t &mult, Double_t &eta, Double_t &cosTheta) |
Bool_t | NoiseCorrect (Int_t f, Double_t c, Double_t cosTheta, Double_t &mult) |
ClassDef (AliFMDESDFixer, 1) | |
Class to fix up an ESD object for various small issues.
Definition at line 32 of file AliFMDESDFixer.h.
AliFMDESDFixer::AliFMDESDFixer | ( | ) |
Default CTOR - for ROOT I/O - do not use
Definition at line 21 of file AliFMDESDFixer.cxx.
AliFMDESDFixer::AliFMDESDFixer | ( | const char * | name | ) |
|
protected |
Definition at line 50 of file AliFMDESDFixer.cxx.
Add a dead strip
d | Detector |
r | Ring |
s | Sector |
t | Strip |
Definition at line 135 of file AliFMDESDFixer.cxx.
Referenced by AddDeadRegion(), AddTaskFMDELoss(), and AddTaskForwardMult().
void AliFMDESDFixer::AddDead | ( | const Char_t * | script | ) |
Add dead strips from a script. The script is supposed to accept a pointer to this object (AliFMDSharingFilter) and then call AddDead or AddDeadRegion as needed.
script | The script to read dead strips from. |
Definition at line 173 of file AliFMDESDFixer.cxx.
void AliFMDESDFixer::AddDeadRegion | ( | UShort_t | d, |
Char_t | r, | ||
UShort_t | s1, | ||
UShort_t | s2, | ||
UShort_t | t1, | ||
UShort_t | t2 | ||
) |
Add a dead region in a detector ring
d | Detector |
r | Ring |
s1 | First sector (inclusive) |
s2 | Last sector (inclusive) |
t1 | First strip (inclusive) |
t2 | Last strip (inclusive) |
Definition at line 161 of file AliFMDESDFixer.cxx.
Referenced by elossFitConfig(), and ForwardAODConfig().
|
protected |
Possibly raise a strip from the dead or kill it
d | Detector |
r | Ring |
s | Sector |
t | Strip |
m | Multiplicity |
Definition at line 299 of file AliFMDESDFixer.cxx.
Referenced by Fix().
|
protected |
void AliFMDESDFixer::CreateOutputObjects | ( | TList * | l | ) |
Create output objects
Definition at line 84 of file AliFMDESDFixer.cxx.
Referenced by AliForwardQATask::Book(), AliFMDEnergyFitterTask::Book(), and AliForwardMultiplicityBase::Book().
Find the target noise factor
esd | ESD object. |
check | If true, also check for correction object |
Definition at line 200 of file AliFMDESDFixer.cxx.
Referenced by Fix(), AliForwardMultiplicityTask::PreCorrections(), and AliFMDEnergyFitterTask::PreCorrections().
void AliFMDESDFixer::Fix | ( | AliESDFMD & | esd, |
const TVector3 & | ip | ||
) |
Fix the ESD object
esd | ESD object |
ip | IP coordinates |
Definition at line 247 of file AliFMDESDFixer.cxx.
Referenced by AliForwardMultiplicityTask::Event(), AliForwardMCMultiplicityTask::Event(), AliForwardQATask::Event(), and AliFMDEnergyFitterTask::Event().
|
inline |
Get name of object
Definition at line 51 of file AliFMDESDFixer.h.
Referenced by CreateOutputObjects().
|
inline |
Get the factor assumed in reconstruction pass
Definition at line 82 of file AliFMDESDFixer.h.
|
protectedvirtual |
Check if a strip is marked as dead
d | Detector |
r | Ring |
s | Sector |
t | Strip |
Definition at line 192 of file AliFMDESDFixer.cxx.
Referenced by CheckDead().
|
inline |
Check if we're using the noise correction.
Definition at line 88 of file AliFMDESDFixer.h.
Referenced by AliFMDEnergyFitterTask::Book(), and FindTargetNoiseFactor().
|
protected |
Correct for noise suppression
f | Factor to apply |
c | Correction |
cosTheta | Cosine to theta |
mult | In/Out multiplity |
Definition at line 345 of file AliFMDESDFixer.cxx.
Referenced by Fix().
|
protected |
Definition at line 65 of file AliFMDESDFixer.cxx.
void AliFMDESDFixer::Print | ( | Option_t * | option = "" | ) | const |
Definition at line 373 of file AliFMDESDFixer.cxx.
Referenced by AliFMDEnergyFitterTask::Print(), AliForwardMultiplicityBase::Print(), and AliForwardQATask::Print().
|
protected |
Re-calculate eta and correct the multiplicity accordingly
d | Detector |
r | Ring |
s | Sector |
t | Strip |
ip | Ip coordinates |
mult | In/out multiplicity |
eta | In/out eta |
cosTheta | On return, the cosine of theta or null |
Definition at line 315 of file AliFMDESDFixer.cxx.
Referenced by Fix().
|
inline |
Set whether to consider invalid multiplicities as null (or empty) signal.
flag | If true, count invalids as empty |
Definition at line 124 of file AliFMDESDFixer.h.
Referenced by ForwardAODConfig(), and TunedConfig().
|
inline |
Definition at line 76 of file AliFMDESDFixer.h.
Referenced by elossFitConfig(), ForwardAODConfig(), and TunedConfig().
|
inline |
In case of a displaced vertices recalculate \(\eta\) and angle correction
use | recalculate or not |
Definition at line 111 of file AliFMDESDFixer.h.
Referenced by ForwardAODConfig(), and TunedConfig().
|
inline |
Set the factor assumed to be used in the reconstruction. If this is set way high (>=4) then this corrector will effectively be disabled.
f |
Definition at line 75 of file AliFMDESDFixer.h.
Referenced by AddTaskFMDELoss(), AliForwardMCMultiplicityTask::Book(), ForwardAODConfig(), AliForwardMultiplicityTask::PreCorrections(), AliFMDEnergyFitterTask::PreCorrections(), and TunedConfig().
|
protected |
Definition at line 237 of file AliFMDESDFixer.h.
Referenced by CreateOutputObjects(), Fix(), and operator=().
|
protected |
Definition at line 236 of file AliFMDESDFixer.h.
Referenced by CreateOutputObjects(), operator=(), and RecalculateEta().
|
protected |
Definition at line 233 of file AliFMDESDFixer.h.
Referenced by CreateOutputObjects(), Fix(), operator=(), and Print().
|
protected |
Definition at line 234 of file AliFMDESDFixer.h.
Referenced by CheckDead(), CreateOutputObjects(), Fix(), operator=(), Print(), and SetInvalidIsEmpty().
|
protected |
Definition at line 230 of file AliFMDESDFixer.h.
Referenced by NoiseCorrect(), operator=(), Print(), and SetMaxNoiseCorrection().
|
protected |
Definition at line 235 of file AliFMDESDFixer.h.
Referenced by CreateOutputObjects(), NoiseCorrect(), and operator=().
|
protected |
Definition at line 231 of file AliFMDESDFixer.h.
Referenced by CreateOutputObjects(), Fix(), operator=(), Print(), and SetRecalculateEta().
|
protected |
Definition at line 229 of file AliFMDESDFixer.h.
Referenced by CreateOutputObjects(), FindTargetNoiseFactor(), GetRecoNoiseFactor(), IsUseNoiseCorrection(), operator=(), Print(), and SetRecoNoiseFactor().
|
protected |
Definition at line 232 of file AliFMDESDFixer.h.
Referenced by AddDead(), CreateOutputObjects(), IsDead(), operator=(), and Print().