#include <CalibTOFapi.h>
|
| enum | DRMcodes {
DRM_HEADER_MISSING = o2::tof::diagnostic::DRM_HEADER_MISSING >> DRM_ERRINDEX_SHIFT
, DRM_TRAILER_MISSING = o2::tof::diagnostic::DRM_TRAILER_MISSING >> DRM_ERRINDEX_SHIFT
, DRM_FEEID_MISMATCH = o2::tof::diagnostic::DRM_FEEID_MISMATCH >> DRM_ERRINDEX_SHIFT
, DRM_ORBIT_MISMATCH = o2::tof::diagnostic::DRM_ORBIT_MISMATCH >> DRM_ERRINDEX_SHIFT
,
DRM_CRC_MISMATCH = o2::tof::diagnostic::DRM_CRC_MISMATCH >> DRM_ERRINDEX_SHIFT
, DRM_ENAPARTMASK_DIFFER = o2::tof::diagnostic::DRM_ENAPARTMASK_DIFFER >> DRM_ERRINDEX_SHIFT
, DRM_CLOCKSTATUS_WRONG = o2::tof::diagnostic::DRM_CLOCKSTATUS_WRONG >> DRM_ERRINDEX_SHIFT
, DRM_FAULTSLOTMASK_NOTZERO = o2::tof::diagnostic::DRM_FAULTSLOTMASK_NOTZERO >> DRM_ERRINDEX_SHIFT
,
DRM_READOUTTIMEOUT_NOTZERO = o2::tof::diagnostic::DRM_READOUTTIMEOUT_NOTZERO >> DRM_ERRINDEX_SHIFT
, DRM_EVENTWORDS_MISMATCH = o2::tof::diagnostic::DRM_EVENTWORDS_MISMATCH >> DRM_ERRINDEX_SHIFT
, DRM_DIAGNOSTIC_SPARE1 = o2::tof::diagnostic::DRM_DIAGNOSTIC_SPARE1 >> DRM_ERRINDEX_SHIFT
, DRM_DECODE_ERROR = o2::tof::diagnostic::DRM_DECODE_ERROR >> DRM_ERRINDEX_SHIFT
,
N_DRM_ERRORS = 12
} |
| |
|
| void | resetDia () |
| |
| | CalibTOFapi ()=default |
| |
| | CalibTOFapi (const std::string url) |
| |
| | CalibTOFapi (long timestamp, o2::dataformats::CalibLHCphaseTOF *phase, o2::dataformats::CalibTimeSlewingParamTOF *slew, Diagnostic *dia=nullptr, Diagnostic *diaDRM=nullptr) |
| |
| | ~CalibTOFapi () |
| |
| void | setTimeStamp (long t) |
| |
| void | setURL (const std::string url) |
| |
| void | readLHCphase () |
| |
| void | readTimeSlewingParam () |
| |
| void | readTimeSlewingParamFromFile (const char *filename) |
| |
| void | readDiagnosticFrequencies () |
| |
| void | loadDiagnosticFrequencies () |
| |
| void | readDiagnosticDRMFrequencies () |
| |
| void | loadDiagnosticDRMFrequencies () |
| |
| void | readActiveMap () |
| |
| void | loadActiveMap (TOFFEElightInfo *fee) |
| |
| void | writeLHCphase (LhcPhase *phase, std::map< std::string, std::string > metadataLHCphase, uint64_t minTimeSTamp, uint64_t maxTimeStamp) |
| |
| void | writeTimeSlewingParam (SlewParam *param, std::map< std::string, std::string > metadataChannelCalib, uint64_t minTimeSTamp, uint64_t maxTimeStamp=0) |
| |
| float | getTimeCalibration (int ich, float tot) const |
| |
| float | getTimeCalibration (int ich, float tot, float phase) const |
| |
| float | getTimeDecalibration (int ich, float tot) const |
| |
| bool | isProblematic (int ich) |
| |
| bool | isNoisy (int ich) |
| |
| bool | isOff (int ich) |
| |
| float | getFractionUnderPeak (int ich) const |
| |
| float | currentLHCphase () const |
| |
| SlewParam * | getSlewParam () |
| |
| SlewParam & | getSlewParamObj () |
| |
| void | setSlewParam (SlewParam *obj) |
| |
| LhcPhase * | getLhcPhase () |
| |
| void | setLhcPhase (LhcPhase *obj) |
| |
| Diagnostic * | getDiagnostic () |
| |
| void | setDiagnostic (Diagnostic *obj) |
| |
| Diagnostic * | getDiagnosticDRM () |
| |
| void | setDiagnosticDRM (Diagnostic *obj) |
| |
| int | getNoisyThreshold () const |
| |
| void | setNoisyThreshold (int val) |
| |
| float | getEmptyTOFProb () const |
| |
| const float * | getEmptyCratesProb () const |
| |
| const std::vector< std::pair< int, float > > & | getNoisyProb () const |
| |
| const std::vector< std::pair< int, float > > & | getTRMerrorProb () const |
| |
| const std::vector< int > & | getTRMmask () const |
| |
| void | resetTRMErrors () |
| |
| void | processError (int crate, int trm, int mask) |
| |
| bool | isChannelError (int channel) const |
| |
| bool | checkTRMPolicy (int mask) const |
| |
| void | resetDRMErrors () |
| |
| void | processErrorDRM (int crate, int codeErr) |
| |
| bool | isChannelDRMError (int channel) const |
| |
| bool | checkDRMPolicy (int mask) const |
| |
| void | setDRMCriticalErrorMask (uint32_t val) |
| |
| uint32_t | getDRMCriticalErrorMask () const |
| |
| float | getDRMprobError (int crate, int type) const |
| |
Definition at line 35 of file CalibTOFapi.h.
◆ DRMcodes
| Enumerator |
|---|
| DRM_HEADER_MISSING | |
| DRM_TRAILER_MISSING | |
| DRM_FEEID_MISMATCH | |
| DRM_ORBIT_MISMATCH | |
| DRM_CRC_MISMATCH | |
| DRM_ENAPARTMASK_DIFFER | |
| DRM_CLOCKSTATUS_WRONG | |
| DRM_FAULTSLOTMASK_NOTZERO | |
| DRM_READOUTTIMEOUT_NOTZERO | |
| DRM_EVENTWORDS_MISMATCH | |
| DRM_DIAGNOSTIC_SPARE1 | |
| DRM_DECODE_ERROR | |
| N_DRM_ERRORS | |
Definition at line 128 of file CalibTOFapi.h.
◆ CalibTOFapi() [1/3]
| o2::tof::CalibTOFapi::CalibTOFapi |
( |
| ) |
|
|
default |
◆ CalibTOFapi() [2/3]
| CalibTOFapi::CalibTOFapi |
( |
const std::string |
url | ) |
|
◆ CalibTOFapi() [3/3]
◆ ~CalibTOFapi()
| o2::tof::CalibTOFapi::~CalibTOFapi |
( |
| ) |
|
|
inline |
◆ checkDRMPolicy()
| bool CalibTOFapi::checkDRMPolicy |
( |
int |
mask | ) |
const |
◆ checkTRMPolicy()
| bool CalibTOFapi::checkTRMPolicy |
( |
int |
mask | ) |
const |
◆ currentLHCphase()
| float o2::tof::CalibTOFapi::currentLHCphase |
( |
| ) |
const |
|
inline |
◆ doDRMerrCalibFromQCHisto()
◆ getDiagnostic()
| Diagnostic * o2::tof::CalibTOFapi::getDiagnostic |
( |
| ) |
|
|
inline |
◆ getDiagnosticDRM()
| Diagnostic * o2::tof::CalibTOFapi::getDiagnosticDRM |
( |
| ) |
|
|
inline |
◆ getDRMCriticalErrorMask()
| uint32_t o2::tof::CalibTOFapi::getDRMCriticalErrorMask |
( |
| ) |
const |
|
inline |
◆ getDRMprobError()
| float o2::tof::CalibTOFapi::getDRMprobError |
( |
int |
crate, |
|
|
int |
type |
|
) |
| const |
|
inline |
◆ getEmptyCratesProb()
| const float * o2::tof::CalibTOFapi::getEmptyCratesProb |
( |
| ) |
const |
|
inline |
◆ getEmptyTOFProb()
| float o2::tof::CalibTOFapi::getEmptyTOFProb |
( |
| ) |
const |
|
inline |
◆ getFractionUnderPeak()
| float o2::tof::CalibTOFapi::getFractionUnderPeak |
( |
int |
ich | ) |
const |
|
inline |
◆ getLhcPhase()
| LhcPhase * o2::tof::CalibTOFapi::getLhcPhase |
( |
| ) |
|
|
inline |
◆ getNoisyProb()
| const std::vector< std::pair< int, float > > & o2::tof::CalibTOFapi::getNoisyProb |
( |
| ) |
const |
|
inline |
◆ getNoisyThreshold()
| int o2::tof::CalibTOFapi::getNoisyThreshold |
( |
| ) |
const |
|
inline |
◆ getSlewParam()
| SlewParam * o2::tof::CalibTOFapi::getSlewParam |
( |
| ) |
|
|
inline |
◆ getSlewParamObj()
| SlewParam & o2::tof::CalibTOFapi::getSlewParamObj |
( |
| ) |
|
|
inline |
◆ getTimeCalibration() [1/2]
| float CalibTOFapi::getTimeCalibration |
( |
int |
ich, |
|
|
float |
tot |
|
) |
| const |
◆ getTimeCalibration() [2/2]
| float CalibTOFapi::getTimeCalibration |
( |
int |
ich, |
|
|
float |
tot, |
|
|
float |
phase |
|
) |
| const |
◆ getTimeDecalibration()
| float CalibTOFapi::getTimeDecalibration |
( |
int |
ich, |
|
|
float |
tot |
|
) |
| const |
◆ getTRMerrorProb()
| const std::vector< std::pair< int, float > > & o2::tof::CalibTOFapi::getTRMerrorProb |
( |
| ) |
const |
|
inline |
◆ getTRMmask()
| const std::vector< int > & o2::tof::CalibTOFapi::getTRMmask |
( |
| ) |
const |
|
inline |
◆ isChannelDRMError()
| bool CalibTOFapi::isChannelDRMError |
( |
int |
channel | ) |
const |
◆ isChannelError()
| bool CalibTOFapi::isChannelError |
( |
int |
channel | ) |
const |
◆ isNoisy()
| bool CalibTOFapi::isNoisy |
( |
int |
ich | ) |
|
◆ isOff()
| bool CalibTOFapi::isOff |
( |
int |
ich | ) |
|
◆ isProblematic()
| bool CalibTOFapi::isProblematic |
( |
int |
ich | ) |
|
◆ loadActiveMap()
◆ loadDiagnosticDRMFrequencies()
| void CalibTOFapi::loadDiagnosticDRMFrequencies |
( |
| ) |
|
◆ loadDiagnosticFrequencies()
| void CalibTOFapi::loadDiagnosticFrequencies |
( |
| ) |
|
◆ processError()
◆ processErrorDRM()
| void CalibTOFapi::processErrorDRM |
( |
int |
crate, |
|
|
int |
codeErr |
|
) |
| |
◆ readActiveMap()
| void CalibTOFapi::readActiveMap |
( |
| ) |
|
◆ readDiagnosticDRMFrequencies()
| void CalibTOFapi::readDiagnosticDRMFrequencies |
( |
| ) |
|
◆ readDiagnosticFrequencies()
| void CalibTOFapi::readDiagnosticFrequencies |
( |
| ) |
|
◆ readLHCphase()
| void CalibTOFapi::readLHCphase |
( |
| ) |
|
◆ readTimeSlewingParam()
| void CalibTOFapi::readTimeSlewingParam |
( |
| ) |
|
◆ readTimeSlewingParamFromFile()
| void CalibTOFapi::readTimeSlewingParamFromFile |
( |
const char * |
filename | ) |
|
◆ resetDia()
| void CalibTOFapi::resetDia |
( |
| ) |
|
◆ resetDRMErrors()
| void CalibTOFapi::resetDRMErrors |
( |
| ) |
|
◆ resetTRMErrors()
| void CalibTOFapi::resetTRMErrors |
( |
| ) |
|
◆ setDiagnostic()
◆ setDiagnosticDRM()
◆ setDRMCriticalErrorMask()
| void o2::tof::CalibTOFapi::setDRMCriticalErrorMask |
( |
uint32_t |
val | ) |
|
|
inline |
◆ setLhcPhase()
◆ setNoisyThreshold()
| void o2::tof::CalibTOFapi::setNoisyThreshold |
( |
int |
val | ) |
|
|
inline |
◆ setSlewParam()
◆ setTimeStamp()
| void o2::tof::CalibTOFapi::setTimeStamp |
( |
long |
t | ) |
|
|
inline |
◆ setURL()
| void o2::tof::CalibTOFapi::setURL |
( |
const std::string |
url | ) |
|
|
inline |
◆ writeLHCphase()
| void CalibTOFapi::writeLHCphase |
( |
LhcPhase * |
phase, |
|
|
std::map< std::string, std::string > |
metadataLHCphase, |
|
|
uint64_t |
minTimeSTamp, |
|
|
uint64_t |
maxTimeStamp |
|
) |
| |
◆ writeTimeSlewingParam()
| void CalibTOFapi::writeTimeSlewingParam |
( |
SlewParam * |
param, |
|
|
std::map< std::string, std::string > |
metadataChannelCalib, |
|
|
uint64_t |
minTimeSTamp, |
|
|
uint64_t |
maxTimeStamp = 0 |
|
) |
| |
◆ DRM_ERRINDEX_SHIFT
| const int o2::tof::CalibTOFapi::DRM_ERRINDEX_SHIFT = 4 |
|
static |
The documentation for this class was generated from the following files:
- /home/runner/work/AliceO2/AliceO2/Detectors/TOF/base/include/TOFBase/CalibTOFapi.h
- /home/runner/work/AliceO2/AliceO2/Detectors/TOF/base/src/CalibTOFapi.cxx