diff --git a/Generators/EvgenProdTools/src/CountHepMC.cxx b/Generators/EvgenProdTools/src/CountHepMC.cxx index c0f8d0ff26603017009e432d4395f9d3fdf05c0f..c8d7dafda5eee009860eddb21f74df8ead4d6a05 100644 --- a/Generators/EvgenProdTools/src/CountHepMC.cxx +++ b/Generators/EvgenProdTools/src/CountHepMC.cxx @@ -127,9 +127,9 @@ else{ { // change the channel number where /Generation/Parameters are found auto newChannelNumber = - static_cast< const CondAttrListCollection::ChanNum >(m_newRunNumber); + static_cast< CondAttrListCollection::ChanNum >(m_newRunNumber); auto oldChannelNumber = - static_cast< const CondAttrListCollection::ChanNum >(oldRunNumber); + static_cast< CondAttrListCollection::ChanNum >(oldRunNumber); const char* key = "/Generation/Parameters"; const IOVMetaDataContainer * iovContainer = nullptr;