15 declareProperty(
"RunLumiList",
m_runlumilist,
"List of all IOVTimes ((run << 32) + (0xFFFFFFFF & lumiblock)). Same length as ScaleFactorList." );
16 declareProperty(
"ScaleFactorList",
m_scalefactorlist,
"List of scale factors for the luminosity. Same length as RunLumiList.");
27 std::vector<uint64_t>::const_iterator iRL(rProp.begin());
28 std::vector<uint64_t>::const_iterator prEnd(rProp.end());
30 std::vector<float>::const_iterator iSF(sProp.begin());
31 std::vector<float>::const_iterator psEnd(sProp.end());
32 if (rProp.size() != sProp.size())
34 ATH_MSG_ERROR(
"Length of RunLumiList differs from length of ScaleFactorList!");
35 return StatusCode::FAILURE;
37 for( ; iRL != prEnd && iSF != psEnd; ++iRL, ++iSF )
41 return StatusCode::SUCCESS;
54 ATH_MSG_WARNING(
"Did not find lumi scale factor for run " <<
run <<
" lb " <<
lumi <<
"; using cached value.");