Skip to content

Commit

Permalink
add default for config and ComponentName parameters in MkFitIteration…
Browse files Browse the repository at this point in the history
…ConfigESProducer
  • Loading branch information
mmusich committed Aug 16, 2023
1 parent d03bf03 commit 8c2a3bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions RecoTracker/MkFit/plugins/MkFitIterationConfigESProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ MkFitIterationConfigESProducer::MkFitIterationConfigESProducer(const edm::Parame

void MkFitIterationConfigESProducer::fillDescriptions(edm::ConfigurationDescriptions &descriptions) {
edm::ParameterSetDescription desc;
desc.add<std::string>("ComponentName")->setComment("Product label");
desc.add<edm::FileInPath>("config")->setComment("Path to the JSON file for the mkFit configuration parameters");
desc.add<std::string>("ComponentName", "")->setComment("Product label");
desc.add<edm::FileInPath>("config", edm::FileInPath())
->setComment("Path to the JSON file for the mkFit configuration parameters");
desc.add<double>("minPt", 0.0)->setComment("min pT cut applied during track building");
desc.add<unsigned int>("maxClusterSize", 8)->setComment("Max cluster size of SiStrip hits");
descriptions.addWithDefaultLabel(desc);
Expand Down

0 comments on commit 8c2a3bb

Please sign in to comment.