Definition at line 29 of file PixelDigitizerAlgorithm.h.
◆ TimewalkModel()
PixelDigitizerAlgorithm::TimewalkModel::TimewalkModel |
( |
const edm::ParameterSet & |
pset | ) |
|
Definition at line 215 of file PixelDigitizerAlgorithm.cc.
References muonDTDigis_cfi::pset.
217 const auto& curve_psetvec =
pset.getParameter<std::vector<edm::ParameterSet>>(
"Curves");
220 <<
"Timewalk model error: the number of threshold values does not match the number of curves.";
221 for (
const auto& curve_pset : curve_psetvec)
222 curves.emplace_back(curve_pset);
std::vector< TimewalkCurve > curves
std::vector< double > threshold_values
◆ find_closest_index()
std::size_t PixelDigitizerAlgorithm::TimewalkModel::find_closest_index |
( |
const std::vector< double > & |
vec, |
|
|
double |
value |
|
) |
| const |
|
private |
◆ operator()()
double PixelDigitizerAlgorithm::TimewalkModel::operator() |
( |
double |
q_in, |
|
|
double |
q_threshold |
|
) |
| const |
Definition at line 225 of file PixelDigitizerAlgorithm.cc.
std::vector< TimewalkCurve > curves
std::vector< double > threshold_values
std::size_t find_closest_index(const std::vector< double > &vec, double value) const
◆ curves
std::vector<TimewalkCurve> PixelDigitizerAlgorithm::TimewalkModel::curves |
|
private |
◆ threshold_values
std::vector<double> PixelDigitizerAlgorithm::TimewalkModel::threshold_values |
|
private |