CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DYTParamObject.cc
Go to the documentation of this file.
3 
4 double DYTParamObject::parameter(unsigned int iParam) const
5 {
6 
7  if (iParam >= paramSize())
8  {
9  edm::LogWarning("DYTParamObject")
10  << "The requested parameter (" << (iParam + 1)
11  << ") is outside size range (" << paramSize() << ").";
12  return 0.;
13  }
14 
15  return m_params.at(iParam);
16 
17 }
std::vector< double > m_params
double parameter(unsigned int iParam) const
unsigned int paramSize() const