12#include <klm/dataobjects/KLMElementNumbers.h>
13#include <klm/dataobjects/KLMPlaneArrayIndex.h>
14#include <klm/dbobjects/KLMStripEfficiency.h>
17#include <calibration/CalibrationAlgorithm.h>
Base class for calibration algorithms.
EResult
The result of calibration.
Calibration results or supplementary results calculated from the input data.
int getMatchedDigits() const
Get number of matched digits.
int newMeasuredPlanes(const float *efficiency) const
Get number of new measured planes.
int m_MatchedDigits
Number of matched digits.
float * m_Efficiency
Efficiency.
float * getEfficiency() const
Get efficiency.
float getAchievedPrecision() const
Get achieved precision of efficiency measurement (the worst one).
int * getExtHitsPlane() const
Get number of ExtHits per plane.
int m_ExtHits
Number of ExtHits (overall).
float m_AchievedPrecision
Achieved precision of efficiency measurement.
int * m_ExtHitsPlane
Number of ExtHits per plane.
int newExtHitsPlanes(const int *extHitsPlane) const
Get number of new measured planes with ExtHits.
int getExtHits() const
Get total number of ExtHits.
KLM channel status calibration algorithm.
void setForcedCalibration(bool forcedCalibration)
Set whether the calibration is forced.
void setRequestedPrecision(float requestedPrecision)
Set requested precision of efficiency measurement.
KLMStripEfficiencyAlgorithm()
Constructor.
CalibrationStage
Calibration stage.
@ c_MeasurablePlaneCheck
Check of set of planes with determined efficiency.
@ c_EfficiencyMeasurement
Measurement.
void setMinimalExtHits(int minimalExtHits)
Set minimal number of ExtHits.
enum CalibrationStage m_CalibrationStage
Calibration stage.
bool m_ForcedCalibration
Whether the calibration is forced.
const KLMElementNumbers * m_ElementNumbers
Element numbers.
const KLMPlaneArrayIndex * m_PlaneArrayIndex
Plane array index.
const Results * getResults() const
Get results.
Results m_Results
Calibration results.
void setOutputFileName(const char *outputFileName)
Set output file name.
KLMStripEfficiency * m_StripEfficiency
Efficiency data object.
void setCalibrationStage(enum CalibrationStage calibrationStage)
Set calibration stage.
~KLMStripEfficiencyAlgorithm()
Destructor.
float getRequestedPrecision() const
Get requested precision of efficiency measurement.
CalibrationAlgorithm::EResult calibrate() override
Calibration.
int m_MinimalExtHits
Minimal number of ExtHits per plane.
float m_RequestedPrecision
Requested precision of efficiency measurement.
KLMStripEfficiencyAlgorithm(const KLMStripEfficiencyAlgorithm &)=delete
Copy constructor (disabled).
std::string m_OutputFileName
Output root file.
KLMStripEfficiencyAlgorithm & operator=(const KLMStripEfficiencyAlgorithm &)=delete
Operator = (disabled).
DBObject used to store the efficiencies of KLM strips.
Abstract base class for different kinds of events.