diff --git a/PhysicsTools/NanoAOD/plugins/IsFromLostTrackMapProducer.cc b/PhysicsTools/NanoAOD/plugins/IsFromLostTrackMapProducer.cc index 77dad6a54b9a5..dec89a3bd6596 100644 --- a/PhysicsTools/NanoAOD/plugins/IsFromLostTrackMapProducer.cc +++ b/PhysicsTools/NanoAOD/plugins/IsFromLostTrackMapProducer.cc @@ -122,9 +122,7 @@ void IsFromLostTrackMapProducer::fillDescriptions(edm::ConfigurationDescriptions desc.add("packedPFCandidates")->setComment("packed PF Candidates collection "); desc.add("lostTracks")->setComment("lost tracks collection"); - std::string modname; - modname="isFromLostTrack map producer"; - descriptions.add(modname,desc); + descriptions.addWithDefaultLabel(desc); }