Skip to content
Snippets Groups Projects
Commit 67ccdc75 authored by Jan Strube's avatar Jan Strube Committed by Andre Sailer
Browse files

Default parameter needs to be a string

parent bfa91cbf
No related branches found
No related tags found
No related merge requests found
......@@ -131,6 +131,6 @@ dd4hep::sim::LCIOFileReader::readParticleCollection(int /*event_number*/, EVENT:
/// list
Geant4EventReader::EventReaderStatus
dd4hep::sim::LCIOFileReader::setParameters( std::map< std::string, std::string > & parameters ) {
_getParameterValue( parameters, "MCParticleCollectionName", m_collectionName, LCIO::MCPARTICLE);
_getParameterValue( parameters, "MCParticleCollectionName", m_collectionName, std::string(LCIO::MCPARTICLE));
return EVENT_READER_OK;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment