 |
Belle II Software
release-05-02-19
|
14 #include <klm/dataobjects/KLMChannelMapValue.h>
15 #include <klm/dbobjects/KLMChannelStatus.h>
18 #include <calibration/CalibrationAlgorithm.h>
29 class KLMChannelStatusAlgorithm :
public CalibrationAlgorithm {
233 unsigned int minimalHitNumberSingleHotChannel)
251 double minimalHitNumberRatioHotChannel)
KLMChannelMapValue< unsigned int > m_ModuleActiveChannelMap
Module active-channel map (number of active channels in module).
KLMChannelMapValue< unsigned int > m_HitMapModule
Module hit map.
double m_MinimalHitNumberRatioHotChannel
Minimal ratio of number of hits in this channel and average over other channels in this module to mar...
void setMinimalHitNumberHotChannel(unsigned int minimalHitNumberHotChannel)
Set inimal number of hits to mark to mark the channel as hot.
unsigned int m_MinimalHitNumberHotChannel
Minimal number of hits to mark to mark the channel as hot.
KLMChannelMapValue< unsigned int > m_HitMapModuleNoHot
Module hit map (no hit channels).
KLM channel status calibration algorithm.
unsigned int getHitNumberEKLM() const
Get number of hits in EKLM.
void setMinimalModuleHitNumber(unsigned int minimalModuleHitNumber)
Set minimal number of hits per module for module-based calibration.
double m_MaximalLogSectorHitsRatio
Maximal absolute value of the logarithm (base 10) of the ratio of the number of hits in this sector a...
void setForcedCalibration(bool forcedCalibration)
Set whether the calibration is forced (calibrate even for insufficient average number of hits).
KLMChannelStatus & getChannelStatus() const
Get channel status (last calibration).
~KLMChannelStatusAlgorithm()
Destructor.
KLMChannelMapValue< unsigned int > m_HitMapSectorNoHot
Sector hit map (no hot channels).
const KLMChannelMapValue< unsigned int > & getHitMapModuleNoHot() const
Get module hit map (no hot channels).
bool m_ForcedCalibration
Whether the calibration is forced (calibrate even for insufficient average number of hits).
void calibrateChannel(uint16_t channel)
Calibrate channel.
KLMChannelStatus * m_ModuleStatus
Module status.
const KLMChannelMapValue< unsigned int > & getHitMapChannel() const
Get channel hit map.
unsigned int m_HitNumberEKLMNoHot
Number of hits in EKLM (no hot channels).
unsigned int m_MinimalModuleHitNumber
Minimal module hit number for module-based calibration.
double m_MinimalAverageHitNumber
Minimal average number of hits per channel required for calibration.
KLMChannelMapValue< unsigned int > m_HitMapSector
Sector hit map.
CalibrationAlgorithm::EResult calibrate() override
Calibration.
void setMinimalAverageHitNumber(double minimalAverageHitNumber)
Set minimal average number of hits per channel required for calibration.
const Results * getResults() const
Get results.
unsigned int m_TotalHitNumber
Total hit number.
void setMaximalLogSectorHitsRatio(double maximalLogSectorHitsRatio)
Set maximal absolute value of the logarithm (base 10) of the ratio of the number of hits in this sect...
const KLMChannelMapValue< unsigned int > & getHitMapSector() const
Get sector hit map.
unsigned int m_HitNumberBKLMNoHot
Number of hits in BKLM (no hot channels).
KLMChannelMapValue< unsigned int > m_HitMapChannel
Channel hit map.
Abstract base class for different kinds of events.
const KLMChannelMapValue< unsigned int > & getHitMapModule() const
Get module hit map.
KLMChannelStatus * m_ChannelStatus
Channel status.
void calibrateModule(uint16_t module)
Calibrate module.
void calibrateSector(uint16_t sector, double averageHitsActiveSector)
Caliobrate sector.
Results m_Results
Calibration results.
unsigned int m_MinimalHitNumberSingleHotChannel
Minimal number of hits in a single channel to mark it as hot.
EResult
The result of calibration.
double getMinimalAverageHitNumber() const
Get minimal average number of hits per channel required for calibration.
KLMChannelStatusAlgorithm()
Constructor.
unsigned int getHitNumberBKLM() const
Get number of hits in BKLM.
void setMinimalHitNumberRatioHotChannel(double minimalHitNumberRatioHotChannel)
Minimal ratio of number of hits in this channel and average over other channels in this module to mar...
KLMChannelStatus & getModuleStatus() const
Get module status (last calibration).
void setMinimalHitNumberSingleHotChannel(unsigned int minimalHitNumberSingleHotChannel)
Set minimal number of hits in a single channel to mark it as hot.
const KLMChannelMapValue< unsigned int > & getModuleActiveChannelMap() const
Get module active-channel map.
unsigned int getTotalHitNumber() const
Get total hit number.
const KLMChannelMapValue< unsigned int > & getHitMapSectorNoHot() const
Get sector hit map (no hot channels).
unsigned int m_HitNumberBKLM
Number of hits in BKLM.
unsigned int m_HitNumberEKLM
Number of hits in EKLM.
bool markHotChannel(uint16_t channel, unsigned int moduleHits, int activeChannels)
Mark hot channel.
const KLMElementNumbers * m_ElementNumbers
Element numbers.