![]() |
Project
|
calibrator class for the residual gain map extraction used on an aggregator node More...
#include <CalibratorPadGainTracks.h>
Inherits o2::calibration::TimeSlotCalibration< CalibPadGainTracksBase >.
Public Member Functions | |
| CalibratorPadGainTracks ()=default | |
| construcor | |
| ~CalibratorPadGainTracks () final=default | |
| destructor | |
| void | initOutput () final |
| clearing the output | |
| bool | hasEnoughData (const Slot &slot) const final |
| Check if there are enough data to compute the calibration. | |
| void | finalizeSlot (Slot &slot) final |
| process time slot (create pad-by-pad gain map from tracks) | |
| Slot & | emplaceNewSlot (bool front, TFType tstart, TFType tend) final |
| Creates new time slot. | |
| void | setMinEntries (const size_t minEntries) |
| void | setNormalizationType (const CalibPadGainTracksBase::NormType type) |
| set how the extracted gain map is normalized | |
| size_t | getMinEntries () const |
| void | setTruncationRange (const float low=0.05f, const float high=0.6f) |
| void | setRelGainRange (const float minRelgain=0.1f, const float maxRelgain=2.f) |
| void | setMinEntriesMean (const int minEntriesMean) |
| minEntries minimum number of entries in pad-by-pad histogram to calculate the mean | |
| void | setWriteDebug (const bool writeDebug) |
| void | setStoreNClCCDB (const bool storeNClCCDB) |
| void | setStoreRMSCCDB (const bool storeRMSCCDB) |
| bool | setLogTransformQ (const bool logTransformQ) |
| set if the cluster charge is transformed using log(1+Q) | |
| void | setUseLastExtractedMapAsReference (const bool useLastMap) |
| bool | getWriteDebug () const |
| float | getTruncationRangeLow () const |
| float | getTruncationRangeUp () const |
| const TFinterval & | getTFinterval () const |
| const TimeInterval & | getTimeIntervals () const |
| auto | getCalibs () && |
| bool | hasCalibrationData () const |
| check if calibration data is available | |
Public Member Functions inherited from o2::calibration::TimeSlotCalibration< CalibPadGainTracksBase > | |
| TimeSlotCalibration ()=default | |
| virtual | ~TimeSlotCalibration ()=default |
| float | getMaxSlotsDelay () const |
| void | setMaxSlotsDelay (float v) |
| TFType | getSlotLength () const |
| void | setSlotLength (TFType v) |
| TFType | getCheckIntervalInfiniteSlot () const |
| void | setCheckIntervalInfiniteSlot (TFType v) |
| TFType | getCheckDeltaIntervalInfiniteSlot () const |
| void | setCheckDeltaIntervalInfiniteSlot (TFType v) |
| TFType | getFirstTF () const |
| void | setFirstTF (TFType v) |
| void | setSlotLengthInSeconds (int s) |
| void | setSlotLengthInOrbits (int n) |
| void | checkSlotLength () |
| void | setStartOffsetFrac (float f) |
| void | setFinalizeWhenReady () |
| void | setUpdateAtTheEndOfRunOnly () |
| int | getNSlots () const |
| Slot & | getSlotForTF (TFType tf) |
| Slot & | getSlot (int i) |
| const Slot & | getSlot (int i) const |
| const Slot & | getLastSlot () const |
| const Slot & | getFirstSlot () const |
| bool | process (const DATA &... data) |
| virtual void | checkSlotsToFinalize (TFType tf=INFINITE_TF, int maxDelay=0) |
| virtual void | finalizeOldestSlot () |
| virtual void | reset () |
| virtual void | print () const |
| const o2::dataformats::TFIDInfo & | getCurrentTFInfo () const |
| o2::dataformats::TFIDInfo & | getCurrentTFInfo () |
| bool | getSavedSlotAllowed () const |
| void | setSavedSlotAllowed (bool v) |
| std::string | getSaveFilePath () const |
| const std::string & | getSaveFileName () const |
| void | setSaveFileName (const std::string &n) |
| void | setSaveDirectory (const std::string &n) |
| virtual bool | updateSaveMetaData () |
| virtual bool | saveLastSlotData (TFile &fl) |
| virtual bool | adoptSavedData (const TimeSlotMetaData &metadata, TFile &fl) |
| virtual bool | loadSavedSlot () |
| virtual bool | saveLastSlot () |
calibrator class for the residual gain map extraction used on an aggregator node
Definition at line 27 of file CalibratorPadGainTracks.h.
|
default |
construcor
|
finaldefault |
destructor
|
finalvirtual |
Creates new time slot.
Implements o2::calibration::TimeSlotCalibration< CalibPadGainTracksBase >.
Definition at line 84 of file CalibratorPadGainTracks.cxx.
process time slot (create pad-by-pad gain map from tracks)
Implements o2::calibration::TimeSlotCalibration< CalibPadGainTracksBase >.
Definition at line 39 of file CalibratorPadGainTracks.cxx.
|
inline |
Definition at line 106 of file CalibratorPadGainTracks.h.
|
inline |
Definition at line 62 of file CalibratorPadGainTracks.h.
|
inline |
Definition at line 100 of file CalibratorPadGainTracks.h.
|
inline |
Definition at line 103 of file CalibratorPadGainTracks.h.
|
inline |
Definition at line 94 of file CalibratorPadGainTracks.h.
|
inline |
Definition at line 97 of file CalibratorPadGainTracks.h.
|
inline |
Definition at line 91 of file CalibratorPadGainTracks.h.
|
inline |
check if calibration data is available
Definition at line 109 of file CalibratorPadGainTracks.h.
|
inlinefinalvirtual |
Check if there are enough data to compute the calibration.
Implements o2::calibration::TimeSlotCalibration< CalibPadGainTracksBase >.
Definition at line 47 of file CalibratorPadGainTracks.h.
|
finalvirtual |
clearing the output
Implements o2::calibration::TimeSlotCalibration< CalibPadGainTracksBase >.
Definition at line 19 of file CalibratorPadGainTracks.cxx.
|
inline |
set if the cluster charge is transformed using log(1+Q)
Definition at line 85 of file CalibratorPadGainTracks.h.
|
inline |
| minEntries | minimum number of entries per pad-by-pad histogram |
Definition at line 56 of file CalibratorPadGainTracks.h.
minEntries minimum number of entries in pad-by-pad histogram to calculate the mean
Definition at line 73 of file CalibratorPadGainTracks.h.
|
inline |
set how the extracted gain map is normalized
Definition at line 59 of file CalibratorPadGainTracks.h.
| void CalibratorPadGainTracks::setRelGainRange | ( | const float | minRelgain = 0.1f, |
| const float | maxRelgain = 2.f |
||
| ) |
| minRelgain | minimum accpeted relative gain (if the gain is below this value it will be set to minRelgain) |
| maxRelgain | maximum accpeted relative gain (if the gain is above this value it will be set to maxRelgain) |
Definition at line 33 of file CalibratorPadGainTracks.cxx.
|
inline |
| storeNClCCDB | store number of cluster in the CCDB |
Definition at line 79 of file CalibratorPadGainTracks.h.
|
inline |
| storeNClCCDB | store RMS of pad-by-pad histograms in the CCDB |
Definition at line 82 of file CalibratorPadGainTracks.h.
| void CalibratorPadGainTracks::setTruncationRange | ( | const float | low = 0.05f, |
| const float | high = 0.6f |
||
| ) |
| low | lower truncation range for calculating the rel gain |
| high | upper truncation range |
Definition at line 27 of file CalibratorPadGainTracks.cxx.
|
inline |
| useLastMap | buffer last extracted gain map |
Definition at line 88 of file CalibratorPadGainTracks.h.
|
inline |
| writeDebug | writting debug output |
Definition at line 76 of file CalibratorPadGainTracks.h.