CondTools/SiPhase2Tracker/plugins/SiPhase2BadStripChannelBuilder.cc
// ------------ method fills 'descriptions' with the allowed parameters for the module  ------------
method fills 'descriptions' with the allowed parameters for the module
method fills ' descriptions ' with the allowed parameters for the module
void SiPhase2BadStripChannelBuilder::fillDescriptions(edm::ConfigurationDescriptions& descriptions) {
  edm::ParameterSetDescription desc;
  desc.setComment("Module to build SiStripBadStrip Payloads for the Phase-2 Outer Tracker");
  ConditionDBWriter::fillPSetDescription(desc);  
  desc.addUntracked<bool>("printDebug", false)->setComment("maximum amount of print-outs");
  desc.add<unsigned int>("popConAlgo", 1)->setComment("algorithm to populate the payload: 1=NAIVE,2=RANDOM");
  desc.add<double>("badComponentsFraction", 0.01)->setComment("fraction of bad components to populate the payload");
  descriptions.addWithDefaultLabel(desc);
}
void SiPhase2BadStripChannelBuilder :: fillDescriptions ( edm :: ConfigurationDescriptions & descriptions ) { edm :: ParameterSetDescription desc ; desc . setComment ( " " ) ; ConditionDBWriter :: fillPSetDescription ( desc ) ; desc . addUntracked < bool > ( " " , false ) -> setComment ( " " ) ; desc . add < unsigned int > ( " " , 1 ) -> setComment ( " " ) ; desc . add < double > ( " " , 0.01 ) -> setComment ( " " ) ; descriptions . addWithDefaultLabel ( desc ) ; }
method fills 'descriptions' with the allowed parameters for the module
method fills ' descriptions ' with the allowed parameters for the module
// inherited from mother class