From 8c2a3bb567ef780495185558d44c7971d4be5d8a Mon Sep 17 00:00:00 2001 From: mmusich Date: Wed, 16 Aug 2023 16:02:28 +0200 Subject: [PATCH] add default for config and ComponentName parameters in MkFitIterationConfigESProducer --- RecoTracker/MkFit/plugins/MkFitIterationConfigESProducer.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/RecoTracker/MkFit/plugins/MkFitIterationConfigESProducer.cc b/RecoTracker/MkFit/plugins/MkFitIterationConfigESProducer.cc index 05012104d2895..47b62cefbedf9 100644 --- a/RecoTracker/MkFit/plugins/MkFitIterationConfigESProducer.cc +++ b/RecoTracker/MkFit/plugins/MkFitIterationConfigESProducer.cc @@ -31,8 +31,9 @@ MkFitIterationConfigESProducer::MkFitIterationConfigESProducer(const edm::Parame void MkFitIterationConfigESProducer::fillDescriptions(edm::ConfigurationDescriptions &descriptions) { edm::ParameterSetDescription desc; - desc.add("ComponentName")->setComment("Product label"); - desc.add("config")->setComment("Path to the JSON file for the mkFit configuration parameters"); + desc.add("ComponentName", "")->setComment("Product label"); + desc.add("config", edm::FileInPath()) + ->setComment("Path to the JSON file for the mkFit configuration parameters"); desc.add("minPt", 0.0)->setComment("min pT cut applied during track building"); desc.add("maxClusterSize", 8)->setComment("Max cluster size of SiStrip hits"); descriptions.addWithDefaultLabel(desc);