Skip to content

Commit

Permalink
Merge pull request #42585 from mmusich/default_forMkFitIterationConfi…
Browse files Browse the repository at this point in the history
…gESProducer_13_2_X

[13.2.X] add default for `config` and `ComponentName` in `MkFitIterationConfigESProducer`
  • Loading branch information
cmsbuild authored Aug 17, 2023
2 parents 1e74f5d + 8c2a3bb commit d77d800
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 d77d800

Please sign in to comment.