Definition at line 29 of file PixelDigitizerAlgorithm.h.
PixelDigitizerAlgorithm::TimewalkModel::TimewalkModel |
( |
const edm::ParameterSet & |
pset | ) |
|
Definition at line 199 of file PixelDigitizerAlgorithm.cc.
References edm::ParameterSet::getParameter().
201 const auto& curve_psetvec = pset.
getParameter<std::vector<edm::ParameterSet>>(
"Curves");
204 <<
"Timewalk model error: the number of threshold values does not match the number of curves.";
205 for (
const auto& curve_pset : curve_psetvec)
206 curves.emplace_back(curve_pset);
std::vector< TimewalkCurve > curves
std::vector< double > threshold_values
T getParameter(std::string const &) const
std::size_t PixelDigitizerAlgorithm::TimewalkModel::find_closest_index |
( |
const std::vector< double > & |
vec, |
|
|
double |
value |
|
) |
| const |
|
private |
double PixelDigitizerAlgorithm::TimewalkModel::operator() |
( |
double |
q_in, |
|
|
double |
q_threshold |
|
) |
| const |
Definition at line 209 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
std::vector<TimewalkCurve> PixelDigitizerAlgorithm::TimewalkModel::curves |
|
private |
std::vector<double> PixelDigitizerAlgorithm::TimewalkModel::threshold_values |
|
private |