Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:27

0001 #include "CondFormats/RecoMuonObjects/interface/DYTParamObject.h"
0002 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0003 
0004 double DYTParamObject::parameter(unsigned int iParam) const {
0005   if (iParam >= paramSize()) {
0006     edm::LogWarning("DYTParamObject") << "The requested parameter (" << (iParam + 1) << ") is outside size range ("
0007                                       << paramSize() << ").";
0008     return 0.;
0009   }
0010 
0011   return m_params.at(iParam);
0012 }