6 #ifndef WALKCORRECTOR_H
7 #define WALKCORRECTOR_H
53 const std::string model,
54 double min,
double max,
55 const std::vector<double>& par);
72 std::map<Identifier, std::vector<CorrectionParams> >
channels_;
88 double Model_A(
const std::vector<double>& par,
double raw)
const;
100 double Model_B1(
const std::vector<double>& par,
double raw)
const;
112 double Model_B2(
const std::vector<double>& par,
double raw)
const;
std::vector< double > parameters
coefficients for function
Definition: WalkCorrector.hpp:29
WalkCorrector()
Definition: WalkCorrector.hpp:43
std::map< Identifier, std::vector< CorrectionParams > > channels_
Definition: WalkCorrector.hpp:72
Defines identifying information for channels.
double Model_None() const
This structure holds walk calibration model identfier and vector of parameters needed for the functio...
Definition: WalkCorrector.hpp:25
void AddChannel(const Identifier &chanID, const std::string model, double min, double max, const std::vector< double > &par)
double Model_A(const std::vector< double > &par, double raw) const
double Model_B1(const std::vector< double > &par, double raw) const
double Model_B2(const std::vector< double > &par, double raw) const
Class to correct channels for walk in the onboard filters.
Definition: WalkCorrector.hpp:40
WalkModel model
The walk model that is used for the params.
Definition: WalkCorrector.hpp:26
double GetCorrection(Identifier &chanID, double raw) const
double max
maximum of range for the correction
Definition: WalkCorrector.hpp:28
WalkModel
Definition: WalkCorrector.hpp:16
double min
minimum of range for the correction
Definition: WalkCorrector.hpp:27
Channel identification.
Definition: Identifier.hpp:23