CMS 3D CMS Logo

DYTParamObject.cc
Go to the documentation of this file.
3 
4 double DYTParamObject::parameter(unsigned int iParam) const {
5  if (iParam >= paramSize()) {
6  edm::LogWarning("DYTParamObject") << "The requested parameter (" << (iParam + 1) << ") is outside size range ("
7  << paramSize() << ").";
8  return 0.;
9  }
10 
11  return m_params.at(iParam);
12 }
double parameter(unsigned int iParam) const
unsigned int paramSize() const
std::vector< double > m_params
Log< level::Warning, false > LogWarning