Definition at line 28 of file PixelDigitizerAlgorithm.h.
◆ TimewalkModel()
PixelDigitizerAlgorithm::TimewalkModel::TimewalkModel |
( |
const edm::ParameterSet & |
pset | ) |
|
Definition at line 211 of file PixelDigitizerAlgorithm.cc.
References muonDTDigis_cfi::pset.
213 const auto& curve_psetvec =
pset.getParameter<std::vector<edm::ParameterSet>>(
"Curves");
216 <<
"Timewalk model error: the number of threshold values does not match the number of curves.";
217 for (
const auto& curve_pset : curve_psetvec)
218 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 221 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 |