#include <CaloRawFitter.h>
Inherited by o2::phos::CaloRawFitterGS.
|
| CaloRawFitter () |
| Constructor.
|
|
virtual | ~CaloRawFitter ()=default |
| Destructor.
|
|
virtual FitStatus | evaluate (gsl::span< short unsigned int > signal) |
| Evaluation Amplitude and TOF return status -1: not evaluated/empty bunch; 0: OK; 1: overflow; 4: single spikes 3: too large RMS;.
|
|
void | setLowGain (bool isLow=false) |
| Set HighGain/LowGain channel to performe or not fit of saturated samples.
|
|
void | setPedSubtract (bool toSubtruct=false) |
| estimate and subtract pedestals from pre-samples
|
|
float | getAmp () const |
| amplitude in last fitted sample
|
|
float | getChi2 () const |
| Chi2/NDF of last performed fit.
|
|
float | getTime () const |
| time in last fitted sample
|
|
bool | isOverflow () const |
| is last fitted sample has overflow
|
|
void | forseFitting (bool toRunFit=true) |
| Forse perform fitting Make fit for any sample, not only saturated LowGain samples as by default.
|
|
void | setPedestal () |
| Set analysis of pedestal run Analyze pedestal run, i.e. calculate mean and RMS of pedestals instead of Amp and Time.
|
|
Definition at line 33 of file CaloRawFitter.h.
◆ FitStatus
Enumerator |
---|
kOK | |
kNotEvaluated | |
kEmptyBunch | |
kOverflow | |
kSpike | |
kNoTime | |
kFitFailed | |
kBadPedestal | |
kManyBunches | |
Definition at line 37 of file CaloRawFitter.h.
◆ CaloRawFitter()
CaloRawFitter::CaloRawFitter |
( |
| ) |
|
◆ ~CaloRawFitter()
virtual o2::phos::CaloRawFitter::~CaloRawFitter |
( |
| ) |
|
|
virtualdefault |
◆ ClassDef()
◆ evalKLevel()
◆ evaluate()
Evaluation Amplitude and TOF return status -1: not evaluated/empty bunch; 0: OK; 1: overflow; 4: single spikes 3: too large RMS;.
Reimplemented in o2::phos::CaloRawFitterGS.
Definition at line 30 of file CaloRawFitter.cxx.
◆ forseFitting()
void o2::phos::CaloRawFitter::forseFitting |
( |
bool |
toRunFit = true | ) |
|
|
inline |
Forse perform fitting Make fit for any sample, not only saturated LowGain samples as by default.
Definition at line 82 of file CaloRawFitter.h.
◆ getAmp()
float o2::phos::CaloRawFitter::getAmp |
( |
| ) |
const |
|
inline |
◆ getChi2()
float o2::phos::CaloRawFitter::getChi2 |
( |
| ) |
const |
|
inline |
◆ getTime()
float o2::phos::CaloRawFitter::getTime |
( |
| ) |
const |
|
inline |
◆ isOverflow()
bool o2::phos::CaloRawFitter::isOverflow |
( |
| ) |
const |
|
inline |
◆ setLowGain()
void o2::phos::CaloRawFitter::setLowGain |
( |
bool |
isLow = false | ) |
|
|
inline |
Set HighGain/LowGain channel to performe or not fit of saturated samples.
Definition at line 63 of file CaloRawFitter.h.
◆ setPedestal()
void o2::phos::CaloRawFitter::setPedestal |
( |
| ) |
|
|
inline |
Set analysis of pedestal run Analyze pedestal run, i.e. calculate mean and RMS of pedestals instead of Amp and Time.
Definition at line 86 of file CaloRawFitter.h.
◆ setPedSubtract()
void o2::phos::CaloRawFitter::setPedSubtract |
( |
bool |
toSubtruct = false | ) |
|
|
inline |
estimate and subtract pedestals from pre-samples
Definition at line 66 of file CaloRawFitter.h.
◆ makeFit
bool o2::phos::CaloRawFitter::makeFit = false |
|
protected |
run (slow) fit with Gamma2 or use fast evaluation with k-level
Definition at line 92 of file CaloRawFitter.h.
◆ mAmp
float o2::phos::CaloRawFitter::mAmp |
|
protected |
◆ mBaseLine
short o2::phos::CaloRawFitter::mBaseLine |
|
protected |
◆ mChi2
float o2::phos::CaloRawFitter::mChi2 = 1e10 |
|
protected |
◆ mLowGain
bool o2::phos::CaloRawFitter::mLowGain = false |
|
protected |
◆ mMaxSample
short o2::phos::CaloRawFitter::mMaxSample = 0 |
|
protected |
◆ mOverflow
bool o2::phos::CaloRawFitter::mOverflow |
|
protected |
◆ mPedestalRun
bool o2::phos::CaloRawFitter::mPedestalRun = false |
|
protected |
◆ mPedSubtract
bool o2::phos::CaloRawFitter::mPedSubtract = false |
|
protected |
should one evaluate and subtract pedestals
Definition at line 94 of file CaloRawFitter.h.
◆ mPreSamples
short o2::phos::CaloRawFitter::mPreSamples |
|
protected |
◆ mSpikeThreshold
short o2::phos::CaloRawFitter::mSpikeThreshold |
|
protected |
◆ mStatus
status of last evaluated sample: -1: not yet evaluated; 0: OK; 1: overflow; 2: too large RMS; 3: single spikes
Definition at line 97 of file CaloRawFitter.h.
◆ mTime
float o2::phos::CaloRawFitter::mTime = 0 |
|
protected |
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/Detectors/PHOS/reconstruction/include/PHOSReconstruction/CaloRawFitter.h
- /home/runner/work/AliceO2/AliceO2/Detectors/PHOS/reconstruction/src/CaloRawFitter.cxx