CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 }
std::vector< double > m_params
Log< level::Warning, false > LogWarning
double parameter(unsigned int iParam) const
unsigned int paramSize() const