11#include <calibration/CalibrationAlgorithm.h>
46 float interceptLowerLine,
47 float angularCoefficientLowerLine)
59 std::vector<float> twoLineSelectionParameters;
65 return twoLineSelectionParameters;
Base class for calibration algorithms.
EResult
The result of calibration.
Class implementing SVD3SampleCoGTimeCalibration calibration algorithm.
void setMinEntries(int minEntries)
Set the minimum entries required in the histograms.
bool m_applyLinearCutsToRemoveBkg
if true turns on the selection to remove background clusters from CoG3 calibration
std::string m_id
Parameter given to set the UniqueID of the payload.
float m_angularCoefficientUpperLine
Angular coefficient of one of the two lines that define the signal region used in the CoG3 calibratio...
std::optional< float > m_previousRawTimeMeanL3V
Raw CoG of the previous run.
virtual void boundaryFindingSetup(std::vector< Calibration::ExpRun >, int) override
setup the boundary finding
float getAllowedTimeShift()
Getter for m_allowedTimeShift.
virtual ~SVD3SampleCoGTimeCalibrationAlgorithm()
Destructor.
float m_interceptUpperLine
Intercept of one of the two lines that define the signal region used in the CoG3 calibration (to remo...
void setTwoLineSelectionParameters(bool linearCutsOnCoG3, float interceptUpperLine, float angularCoefficientUpperLine, float interceptLowerLine, float angularCoefficientLowerLine)
Set the parameters of the two-line-based selection to remove background clusters from CoG3 calibratio...
float m_minEntries
Set the minimun number of entries required in the histograms of layer 3.
virtual EResult calibrate() override
Run algo on data.
float m_angularCoefficientLowerLine
Angulat coefficienct of one of the two lines that define the signal region used in the CoG3 calibrati...
std::vector< float > getTwoLineSelectionParameters()
Get the parameters of the two-line-based selection to remove background clusters from CoG3 calibratio...
virtual bool isBoundaryRequired(const Calibration::ExpRun ¤tRun) override
If the event T0 changes significantly return true.
void setAllowedTimeShift(float value)
Setter for m_allowedTimeShift.
float m_interceptLowerLine
Intercept of one of the two lines that define the signal region used in the CoG3 calibration (to remo...
int getMinEntries()
Get the minimum entries required in the histograms.
float m_allowedTimeShift
Allowed Raw CoGshift.
Abstract base class for different kinds of events.