CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
edm::ConfigurationDescriptions Class Reference

#include <ConfigurationDescriptions.h>

Classes

class  DescriptionCounter
 

Public Types

typedef std::vector< std::pair< std::string, ParameterSetDescription > >::iterator iterator
 

Public Member Functions

void add (std::string const &label, ParameterSetDescription const &psetDescription)
 
void add (char const *label, ParameterSetDescription const &psetDescription)
 
void addDefault (ParameterSetDescription const &psetDescription)
 
void addWithDefaultLabel (ParameterSetDescription const &psetDescription)
 
iterator begin ()
 
std::string const & comment () const
 
 ConfigurationDescriptions (std::string const &baseType, std::string const &pluginName)
 
ParameterSetDescriptiondefaultDescription ()
 Returns 0 if no default has been assigned. More...
 
iterator end ()
 
void print (std::ostream &os, std::string const &moduleLabel, bool brief, bool printOnlyLabels, size_t lineWidth, int indentation, int iPlugin) const
 
void setComment (std::string const &value)
 
void setComment (char const *value)
 
void validate (ParameterSet &pset, std::string const &moduleLabel) const
 
void writeCfis (std::set< std::string > &usedCfiFileNames) const
 
 ~ConfigurationDescriptions ()
 

Private Member Functions

void printForLabel (std::pair< std::string, ParameterSetDescription > const &labelAndDesc, std::ostream &os, std::string const &moduleLabel, bool brief, bool printOnlyLabels, size_t lineWidth, int indentationn, DescriptionCounter &counter) const
 
void printForLabel (std::ostream &os, std::string const &label, ParameterSetDescription const &description, std::string const &moduleLabel, bool brief, bool printOnlyLabels, size_t lineWidth, int indentationn, DescriptionCounter &counter) const
 
void writeClassFile (ParameterSetDescription const &) const
 

Static Private Member Functions

static void writeCfiForLabel (std::pair< std::string, ParameterSetDescription > const &labelAndDesc, std::string const &baseType, std::string const &pluginName, std::set< std::string > &usedCfiFileNames)
 

Private Attributes

std::string baseType_
 
std::string comment_
 
ParameterSetDescription defaultDesc_
 
bool defaultDescDefined_
 
std::vector< std::pair< std::string, ParameterSetDescription > > descriptions_
 
std::string pluginName_
 

Detailed Description

Definition at line 28 of file ConfigurationDescriptions.h.

Member Typedef Documentation

◆ iterator

typedef std::vector<std::pair<std::string, ParameterSetDescription> >::iterator edm::ConfigurationDescriptions::iterator

Definition at line 30 of file ConfigurationDescriptions.h.

Constructor & Destructor Documentation

◆ ConfigurationDescriptions()

ConfigurationDescriptions::ConfigurationDescriptions ( std::string const &  baseType,
std::string const &  pluginName 
)

◆ ~ConfigurationDescriptions()

ConfigurationDescriptions::~ConfigurationDescriptions ( )

Definition at line 46 of file ConfigurationDescriptions.cc.

46 {}

Member Function Documentation

◆ add() [1/2]

void ConfigurationDescriptions::add ( std::string const &  label,
ParameterSetDescription const &  psetDescription 
)

Definition at line 57 of file ConfigurationDescriptions.cc.

References baseType_, defaultDescDefined_, descriptions_, Exception, k_source, kService, edm::kSource, label, and edm::errors::LogicError.

Referenced by add(), addWithDefaultLabel(), PFTauPrimaryVertexProducer::fillDescriptions(), cond::EmptyIOVSource::fillDescriptions(), MPIService::fillDescriptions(), HLTDynamicPrescaler::fillDescriptions(), SimpleEventFilter::fillDescriptions(), PixelTrackCleanerBySharedHitsESProducer::fillDescriptions(), edm::EmptySource::fillDescriptions(), cond::FileBasedEmptySource::fillDescriptions(), PFTauSelector::fillDescriptions(), PFTauMiniAODPrimaryVertexProducer::fillDescriptions(), edm::ModuloStreamIDFilter::fillDescriptions(), edm::ModuloEventIDFilter::fillDescriptions(), L1TStage2RatioClient::fillDescriptions(), GEDGsfElectronValueMapProducer::fillDescriptions(), TrackAlgoPriorityOrderESProducer::fillDescriptions(), CrossingFramePSimHitToPSimHitsConverter::fillDescriptions(), Phase2OTHarvestTrackingParticles::fillDescriptions(), edm::TestSource::fillDescriptions(), edm::Prescaler::fillDescriptions(), BasicToPFJet::fillDescriptions(), TrackCleanerESProducer::fillDescriptions(), ClusterCheckerEDProducer::fillDescriptions(), SeedingLayersEDProducer::fillDescriptions(), l1tp2::ParametricCalibration::fillDescriptions(), GEDGsfElectronCoreProducer::fillDescriptions(), DetStatus::fillDescriptions(), HLTDisplacedmumuFilter::fillDescriptions(), HLTDisplacedmumumuFilter::fillDescriptions(), TrackingParticleConversionRefSelector::fillDescriptions(), HLTDQMObjSelector< ObjType, ObjCollType >::fillDescriptions(), HLTDisplacedtktktkFilter::fillDescriptions(), HLTDisplacedtktkFilter::fillDescriptions(), EcalUncalibRecHitConvertGPU2CPUFormat::fillDescriptions(), SiStripBadStripFromQualityDBWriter::fillDescriptions(), SeedGeneratorFromProtoTracksEDProducer::fillDescriptions(), Phase2ITRecHitHarvester::fillDescriptions(), edmtest::TestDescriptionComments::fillDescriptions(), HLTTrackSeedMultiplicityFilter::fillDescriptions(), edm::IntSource::fillDescriptions(), edm::EventAuxiliaryHistoryProducer::fillDescriptions(), GsfElectronCoreEcalDrivenProducer::fillDescriptions(), HLTmumutkFilter::fillDescriptions(), DeepTauIdSonicProducer::fillDescriptions(), LwtnnESProducer::fillDescriptions(), Primary4DVertexHarvester::fillDescriptions(), MtdTracksHarvester::fillDescriptions(), MtdEleIsoHarvester::fillDescriptions(), GEMRecHitSource::fillDescriptions(), HLTEcalIsolationFilter::fillDescriptions(), evf::EvFFEDExcluder::fillDescriptions(), HLTmumutktkFilter::fillDescriptions(), EcalUncalibRecHitSoAToLegacy::fillDescriptions(), SiPhase2RecHitMatcherESProducer::fillDescriptions(), DeepMETProducer::fillDescriptions(), DeepMETSonicProducer::fillDescriptions(), ESRawToDigi::fillDescriptions(), GsfTrackProducer::fillDescriptions(), HLTMuonTrkFilter::fillDescriptions(), HLTMuonTrkL1TFilter::fillDescriptions(), HLTMuonTrkL1TkMuFilter::fillDescriptions(), SiPixelQualityProbabilitiesTestReader::fillDescriptions(), L1GTPrescaler::fillDescriptions(), L1TStage2MuonComp::fillDescriptions(), L1TStage2RegionalMuonCandComp::fillDescriptions(), L1TStage2RegionalMuonShowerComp::fillDescriptions(), L1TStage2uGMTMuon::fillDescriptions(), L1TStage2MuonShowerComp::fillDescriptions(), Tau3MuMonitor::fillDescriptions(), HGCalRecHitMapProducer::fillDescriptions(), SubdetFEDSelector::fillDescriptions(), SiStripPositionCorrectionsTableProducer::fillDescriptions(), EcalDigisFromPortableProducer::fillDescriptions(), HFNoseRawToDigiFake::fillDescriptions(), HGCalRawToDigiFake::fillDescriptions(), PixelTrackFilterByKinematicsProducer::fillDescriptions(), TrackingParticleBHadronRefSelector::fillDescriptions(), SiPixelGainCalibrationForHLTGPUESProducer::fillDescriptions(), HLTPixelIsolTrackFilter::fillDescriptions(), pat::UnclusteredBlobProducer::fillDescriptions(), StableParametersTrivialProducer::fillDescriptions(), DeregionizerProducer::fillDescriptions(), HcalTB06ParametersESModule::fillDescriptions(), HcalTB02ParametersESModule::fillDescriptions(), SiStripGainCalibTableProducer::fillDescriptions(), HLTSumJetTag< T >::fillDescriptions(), dqmservices::DQMProtobufReader::fillDescriptions(), L1THLTTauMatching::fillDescriptions(), L1TEnergySumFilterT< T >::fillDescriptions(), HGCalRawToDigi::fillDescriptions(), HcalRawToDigiGPU::fillDescriptions(), XangleBetaStarFilter::fillDescriptions(), HLTMuonL1TFilter::fillDescriptions(), VertexAssociatorByTracksProducer::fillDescriptions(), CTPPSModifiedOpticalFunctionsESSource::fillDescriptions(), SiPixelFEDChannelContainerTestReader::fillDescriptions(), GEMEfficiencyHarvester::fillDescriptions(), edm::CloseByParticleGunProducer::fillDescriptions(), TriggerRatesMonitorClient::fillDescriptions(), TrigObjTnPSource::fillDescriptions(), DetectorStateFilter::fillDescriptions(), LowPtGsfElectronCoreProducer::fillDescriptions(), HLTDQMMuonSelector::fillDescriptions(), HIBestVertexProducer::fillDescriptions(), HLTDisplacedEgammaFilter::fillDescriptions(), DTObjectMapESProducer::fillDescriptions(), CSCObjectMapESProducer::fillDescriptions(), dqmservices::JsonWritingTimeoutPoolOutputModule::fillDescriptions(), HcalParametersDBBuilder::fillDescriptions(), L1HLTTauMatching::fillDescriptions(), HLTHemiDPhiFilter::fillDescriptions(), TrackingParticleNumberOfLayersProducer::fillDescriptions(), HLTDiMuonGlbTrkFilter::fillDescriptions(), edmtest::OtherThingRefComparer::fillDescriptions(), HLTEcalPixelIsolTrackFilter::fillDescriptions(), edm::StreamerOutputModule< Consumer >::fillDescriptions(), EcalSimParametersESModule::fillDescriptions(), NumberPerLSFilter::fillDescriptions(), HcalTrigTowerGeometryESProducer::fillDescriptions(), HGCalParametersESModule::fillDescriptions(), HGCalTBParametersESModule::fillDescriptions(), MuonGeometryConstantsESModule::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::AlpakaService::fillDescriptions(), MultiClustersFromTrackstersProducer::fillDescriptions(), ECFAdder::fillDescriptions(), TkInstLumiTableProducer::fillDescriptions(), HGCRecHitNavigator< D1, hgcee, D2, hgchef, D3, hgcheb >::fillDescriptions(), PFJetsMaxInvMassModule::fillDescriptions(), L1TJetFilterT< T >::fillDescriptions(), edmtest::AlignPCLThresholdsReader< T, R >::fillDescriptions(), EcalRawToDigiGPU::fillDescriptions(), VertexAssociatorByPositionAndTracksProducer::fillDescriptions(), HLTMuonL1RegionalFilter::fillDescriptions(), HLTMuonTrackMassFilter::fillDescriptions(), edmtest::OtherThingAnalyzer::fillDescriptions(), edmtest::OtherThingProducer::fillDescriptions(), HLTMultipletFilter::fillDescriptions(), HLTPixelTrackFilter::fillDescriptions(), CTPPSLHCInfoESSource::fillDescriptions(), L1TMuonEndCapPhase2TrackProducer::fillDescriptions(), L1TStage2uGMT::fillDescriptions(), L1TStage2uGMTInputBxDistributions::fillDescriptions(), HcalParametersESModule::fillDescriptions(), HcalSimParametersESModule::fillDescriptions(), HcalTopologyIdealEP::fillDescriptions(), MTDParametersESModule::fillDescriptions(), MTDTopologyEP::fillDescriptions(), DiDispStaMuonMonitor::fillDescriptions(), ParticleBasedIsoProducer::fillDescriptions(), PFTICLProducer::fillDescriptions(), TICLLayerTileProducer::fillDescriptions(), HLTJetPairDzMatchFilter< T >::fillDescriptions(), NoBPTXMonitor::fillDescriptions(), QGTagger::fillDescriptions(), MTDCPEESProducer::fillDescriptions(), PixelCPETemplateRecoESProducer::fillDescriptions(), SiStripApprox2ApproxClusters::fillDescriptions(), HLTPFTauPairLeadTrackDzMatchFilter::fillDescriptions(), PFRecoTauDiscriminationByLeadingObjectPtCut::fillDescriptions(), PHGCalParametersDBBuilder::fillDescriptions(), ClusterShapeTrackFilterProducer::fillDescriptions(), PixelNtupletsFitterProducer::fillDescriptions(), PixelVertexCollectionTrimmer::fillDescriptions(), HLTForwardBackwardJetsFilter< T >::fillDescriptions(), SiPixelBadFEDChannelSimulationSanityChecker::fillDescriptions(), evf::EvFFEDSelector::fillDescriptions(), HLTCSCRing2or3Filter::fillDescriptions(), HLTHcalTowerFilter::fillDescriptions(), HLTPixelActivityFilter::fillDescriptions(), HLTRPCFilter::fillDescriptions(), TFileAdaptor::fillDescriptions(), L1HPSPFTauProducer::fillDescriptions(), pat::PackedGenParticleSignalProducer::fillDescriptions(), PileUpFilter::fillDescriptions(), TrackerTopologyEP::fillDescriptions(), TrackerGeometricDetESModule::fillDescriptions(), HIPixelTrackFilterProducer::fillDescriptions(), PUFilter::fillDescriptions(), EcalCPUUncalibRecHitProducer::fillDescriptions(), CTPPSOpticalFunctionsESSource::fillDescriptions(), HLTElectronMissingHitsFilter::fillDescriptions(), dqmservices::DQMStreamerReader::fillDescriptions(), L2TauJetsMerger::fillDescriptions(), HLTJetTimingFilter< T >::fillDescriptions(), AnyJetToCaloJetProducer::fillDescriptions(), HLT2jetGapFilter::fillDescriptions(), HLTHcalMETNoiseCleaner::fillDescriptions(), HLTJetCollectionsFilter< jetType >::fillDescriptions(), HLTJetL1MatchProducer< T >::fillDescriptions(), HcalHBHENewMuonAnalyzer::fillDescriptions(), HLTMuonL1TRegionalFilter::fillDescriptions(), HLTMuonL3SimplePreFilter::fillDescriptions(), HLTHcalNoiseFilter::fillDescriptions(), edm::BunchCrossingFilter::fillDescriptions(), L1TMP7ZeroSupp::fillDescriptions(), L1MetPfProducer::fillDescriptions(), MCParticleModuloFilter::fillDescriptions(), CaloSimParametersESModule::fillDescriptions(), DeepFlavourONNXJetTagsProducer::fillDescriptions(), SCEnergyCorrectorProducer::fillDescriptions(), MTDGeometricTimingDetESModule::fillDescriptions(), ConeIsolation::fillDescriptions(), EcalUncalibRecHitProducer::fillDescriptions(), HLTEgammaDoubleLegCombFilter::fillDescriptions(), PixelCPEClusterRepairESProducer::fillDescriptions(), SiStripApprox2Clusters::fillDescriptions(), HLTElectronPixelMatchFilter::fillDescriptions(), MTDTrackQualityMVAProducer::fillDescriptions(), TOFPIDProducer::fillDescriptions(), MuonReducedTrackExtraProducer::fillDescriptions(), TriggerSummaryAnalyzerAOD::fillDescriptions(), CTPPSInterpolatedOpticalFunctionsESSource::fillDescriptions(), HLTDeDxFilter::fillDescriptions(), MeasurementTrackerEventProducer::fillDescriptions(), HLTHcalLaserFilter::fillDescriptions(), MultiHitFromChi2EDProducer::fillDescriptions(), HLTHPDFilter::fillDescriptions(), EcalSimHitDump::fillDescriptions(), HLTNVFilter::fillDescriptions(), HLTPhi2METFilter::fillDescriptions(), HLTRapGapFilter::fillDescriptions(), CTPPSLHCInfoPlotter::fillDescriptions(), HLTCSCOverlapFilter::fillDescriptions(), HLTSingleVertexPixelTrackFilter::fillDescriptions(), GEMDQMHarvester::fillDescriptions(), L1BJetProducer::fillDescriptions(), PATMuonMerger::fillDescriptions(), ParticleTransformerAK4ONNXJetTagsProducer::fillDescriptions(), UnifiedParticleTransformerAK4ONNXJetTagsProducer::fillDescriptions(), EgammaHLTHGCalIDVarProducer::fillDescriptions(), ROCmMonitoringService::fillDescriptions(), HLTFiltersDQMonitor::fillDescriptions(), HGCalMultiClusterProducer::fillDescriptions(), VectorHitBuilderEDProducer::fillDescriptions(), PixelCPEGenericESProducer::fillDescriptions(), SiStripClusterizerConditionsESProducer::fillDescriptions(), BunchSpacingProducer::fillDescriptions(), TriggerSummaryAnalyzerRAW::fillDescriptions(), HLT2L1TkMuonL1TkMuonMuRefDR::fillDescriptions(), PPSFilteredProtonProducer::fillDescriptions(), L1TPFTauFilter::fillDescriptions(), GEMPackingTester::fillDescriptions(), PFTauDiscriminatorLogicalAndProducer::fillDescriptions(), PixelVertexSoAFromCUDA::fillDescriptions(), SeedCreatorFromRegionHitsEDProducerT< T_SeedCreator >::fillDescriptions(), HLTHcalMETNoiseFilter::fillDescriptions(), HLTJetL1TMatchProducer< T >::fillDescriptions(), HLTMuonDimuonL2Filter::fillDescriptions(), HLTMuonDimuonL2FromL1TFilter::fillDescriptions(), HLTMuonL2FromL1TPreFilter::fillDescriptions(), HLTMuonPFIsoFilter::fillDescriptions(), HLTMuonL2PreFilter::fillDescriptions(), HcalIsoTrackAnalyzer::fillDescriptions(), edm::StreamerFileReader::fillDescriptions(), JetTracksAssociationToTrackRefs::fillDescriptions(), pat::BadPFCandidateJetsEEnoiseProducer::fillDescriptions(), SiStripRegFEDSelector::fillDescriptions(), L1TMuonShowerProducer::fillDescriptions(), edm::service::TestService::fillDescriptions(), Phase2L1TGMTStubProducer::fillDescriptions(), L1NNTauProducer::fillDescriptions(), edm::service::UnixSignalService::fillDescriptions(), GeneratorSmearedProducer::fillDescriptions(), RPCInverseCPPFLinkMapESProducer::fillDescriptions(), CUDAMonitoringService::fillDescriptions(), FilteredLayerClustersProducer::fillDescriptions(), photonIsolationHIProducer::fillDescriptions(), JetMonitor::fillDescriptions(), MVAJetPuIdProducer::fillDescriptions(), MTDTimeCalibESProducer::fillDescriptions(), SiPixelTemplateStoreESProducer::fillDescriptions(), L3MuonSumCaloPFIsolationProducer::fillDescriptions(), L1TTkMuonFilter::fillDescriptions(), RecoTauPileUpVertexSelector::fillDescriptions(), TrackSelectorByRegion::fillDescriptions(), RPCInverseLBLinkMapESProducer::fillDescriptions(), RPCInverseOMTFLinkMapESProducer::fillDescriptions(), HLTDiJetAveEtaFilter< T >::fillDescriptions(), KFBasedPixelFitterProducer::fillDescriptions(), HLTDiJetAveFilter< T >::fillDescriptions(), HLTDiJetEtaTopologyFilter< T >::fillDescriptions(), RPCInverseTwinMuxLinkMapESProducer::fillDescriptions(), HLTFatJetMassFilter< jetType >::fillDescriptions(), HLTJetEtaTopologyFilter< T >::fillDescriptions(), HLTJetVBFFilter< T >::fillDescriptions(), HLTMonoJetFilter< T >::fillDescriptions(), HLTMuonIsoFilter::fillDescriptions(), TreeWriterForEcalCorrection::fillDescriptions(), HLTTriMuonIsolation::fillDescriptions(), HLTPhysicsDeclared::fillDescriptions(), DeepCombinedONNXJetTagsProducer::fillDescriptions(), DeepVertexONNXJetTagsProducer::fillDescriptions(), LowPtGSFToTrackLinker::fillDescriptions(), TICLCandidateFromTrackstersProducer::fillDescriptions(), HLTEgammaAllCombMassFilter::fillDescriptions(), HLTEgammaCombMassFilter::fillDescriptions(), RPCPointProducer::fillDescriptions(), SiStripClusterizerConditionsGPUESProducer::fillDescriptions(), EcalCPUDigisProducer::fillDescriptions(), L1THPSPFTauFilter::fillDescriptions(), L1TTkEleFilter::fillDescriptions(), L1TTkEmFilter::fillDescriptions(), PFRecoTauDiscriminationByHPSSelection::fillDescriptions(), TrackFitterProducer::fillDescriptions(), HLTExclDiJetFilter< T >::fillDescriptions(), HLTHcalTowerNoiseCleaner::fillDescriptions(), HLTHcalTowerNoiseCleanerWithrechit::fillDescriptions(), GlobalTrackingRegionProducer::fillDescriptions(), PixelInactiveAreaTrackingRegionsSeedingLayersProducer::fillDescriptions(), HLTJetCollectionsVBFFilter< T >::fillDescriptions(), RPCAMCRawToDigi::fillDescriptions(), HGCalTBMBAnalyzer::fillDescriptions(), MaterialBudgetHcalAnalysis::fillDescriptions(), HLTMuonL1toL3TkPreFilter::fillDescriptions(), BeamSpotProblemMonitor::fillDescriptions(), edmtest::TestServiceOne::fillDescriptions(), edmtest::TestServiceTwo::fillDescriptions(), HLTPixelClusterShapeFilter::fillDescriptions(), PATPuppiJetSpecificProducer::fillDescriptions(), DeepDoubleXONNXJetTagsProducer::fillDescriptions(), PixelVertexProducerFromSoAAlpaka::fillDescriptions(), LowPtGsfElectronSeedValueMapsProducer::fillDescriptions(), EgammaEcalPFClusterIsolationProducer< T1 >::fillDescriptions(), HiFJGridEmptyAreaCalculator::fillDescriptions(), HIProtoTrackFilterProducer::fillDescriptions(), cms::CSJetProducer::fillDescriptions(), HLTEgammaDoubleEtDeltaPhiFilter::fillDescriptions(), HLTEgammaEtFilter::fillDescriptions(), HLTEgammaEtFilterPairs::fillDescriptions(), MTDTrackingRecHitProducer::fillDescriptions(), HLTElectronEtFilter::fillDescriptions(), CTPPSPixelRawToDigi::fillDescriptions(), PPSLocalTrackLiteReAligner::fillDescriptions(), ScGMTRawToDigi::fillDescriptions(), RPCDigiMerger::fillDescriptions(), HLTMhtFilter::fillDescriptions(), HLTMuonL1TtoL3TkPreFilter::fillDescriptions(), edmtest::ProducerWithPSetDesc::fillDescriptions(), edm::AsciiOutputModule::fillDescriptions(), ThroughputServiceClient::fillDescriptions(), GaussEvtVtxGenerator::fillDescriptions(), edm::TimeoutPoolOutputModule::fillDescriptions(), L1TMuonEndCapShowerProducer::fillDescriptions(), TOoLLiPProducer::fillDescriptions(), PhotonGenFilter::fillDescriptions(), TrackerParametersESModule::fillDescriptions(), EgammaHLTBcHcalIsolationProducersRegional::fillDescriptions(), TICLSeedingRegionProducer::fillDescriptions(), PixelFitterByHelixProjectionsProducer::fillDescriptions(), METplusTrackMonitor::fillDescriptions(), MergeClusterProducer::fillDescriptions(), HLTEgammaGenericQuadraticEtaFilter::fillDescriptions(), HLTEgammaGenericQuadraticFilter::fillDescriptions(), HLTEgammaTriggerFilterObjectWrapper::fillDescriptions(), HLTElectronEoverpFilterRegional::fillDescriptions(), HLTElectronGenericFilter::fillDescriptions(), HLTElectronOneOEMinusOneOPFilterRegional::fillDescriptions(), ChargedHadronPFTrackIsolationProducer::fillDescriptions(), HLTGlobalSums< T >::fillDescriptions(), PuppiProducer::fillDescriptions(), HLTSinglet< T >::fillDescriptions(), PFJetsTauOverlapRemoval::fillDescriptions(), HLTRFilter::fillDescriptions(), HLTAcoFilter::fillDescriptions(), HLTAlphaTFilter< T >::fillDescriptions(), ScCaloRawToDigi::fillDescriptions(), CTPPSLHCInfoRandomXangleESSource::fillDescriptions(), CTPPSHepMCDistributionPlotter::fillDescriptions(), MaterialBudgetVolumeAnalysis::fillDescriptions(), BtlLocalRecoHarvester::fillDescriptions(), BtlSimHitsHarvester::fillDescriptions(), HLTMuonTrimuonL3Filter::fillDescriptions(), ECALRegFEDSelector::fillDescriptions(), GenProtonTableProducer::fillDescriptions(), CaloTowerTopologyEP::fillDescriptions(), HiFJRhoProducer::fillDescriptions(), SiStripDetVOffPrinter::fillDescriptions(), L2MuonIsolationProducer::fillDescriptions(), HLTBool::fillDescriptions(), VertexCompositeCandidateCollectionSelector::fillDescriptions(), CTPPSBeamParametersFromLHCInfoESSource::fillDescriptions(), TauJetSelectorForHLTTrackSeeding::fillDescriptions(), PFRecoTauDiscriminationByNProngs::fillDescriptions(), HLTJetTimingProducer< T >::fillDescriptions(), SiPixelClusterShapeCacheProducer::fillDescriptions(), ZDCSimHitStudy::fillDescriptions(), EcalLaserCorrectionService::fillDescriptions(), HLTPFJetIDProducer::fillDescriptions(), RPCUnpackingModule::fillDescriptions(), MillePedeFileConverter::fillDescriptions(), CAHitNtupletEDProducerT< T_Generator >::fillDescriptions(), CTPPSRandomDQMSource::fillDescriptions(), RandomEngineStateProducer::fillDescriptions(), edm::service::ResourceInformationService::fillDescriptions(), edm::ZombieKillerService::fillDescriptions(), LowPtGSFToPackedCandidateLinker::fillDescriptions(), DQMScaleToClient::fillDescriptions(), HitPairEDProducer::fillDescriptions(), ROCmService::fillDescriptions(), PrintGeomSolids::fillDescriptions(), TrackstersMergeProducerV3::fillDescriptions(), MuonMonitor::fillDescriptions(), HLTPMDocaFilter::fillDescriptions(), CTPPSDiamondLocalTrackFitter::fillDescriptions(), DTUnpackingModule::fillDescriptions(), L2TauPixelIsoTagProducer::fillDescriptions(), TrackingRegionsFromBeamSpotAndL2Tau::fillDescriptions(), HLTRHemisphere::fillDescriptions(), PFTauL1TJetsMatching::fillDescriptions(), HLTHtMhtFilter::fillDescriptions(), HGcalHitIdCheck::fillDescriptions(), HLTMinDPhiMETFilter::fillDescriptions(), sistrip::ExcludedFEDListProducer::fillDescriptions(), HLTMuonL1Filter::fillDescriptions(), PPSAssociationCutsESSource::fillDescriptions(), edmtest::DoodadESSource::fillDescriptions(), HLTCTPPSLocalTrackFilter::fillDescriptions(), HLTEcalTowerFilter::fillDescriptions(), DaqTestHistograms::fillDescriptions(), edm::service::ResourceEnforcer::fillDescriptions(), HcalForwardLibWriter::fillDescriptions(), JPTJetSlimmer::fillDescriptions(), LowPtGsfElectronSCProducer::fillDescriptions(), EgammaHcalPFClusterIsolationProducer< T1 >::fillDescriptions(), EgammaIsoHcalDetIdCollectionProducer::fillDescriptions(), HLTMuonL3PreFilter::fillDescriptions(), HLTEgammaCaloIsolFilterPairs::fillDescriptions(), EcalRecHitProducer::fillDescriptions(), HLTEgammaDoubleEtPhiFilter::fillDescriptions(), HLTEgammaL1MatchFilterPairs::fillDescriptions(), HLTEgammaL1MatchFilterRegional::fillDescriptions(), DemoOneDQMEDAnalyzer::fillDescriptions(), DemoNormalDQMEDAnalyzer::fillDescriptions(), HLTEventAnalyzerAOD::fillDescriptions(), HLTEventAnalyzerRAW::fillDescriptions(), EcalBarrelClusterFastTimer::fillDescriptions(), TotemRPRecHitProducer::fillDescriptions(), HitTripletEDProducerT< T_HitTripletGenerator >::fillDescriptions(), HLTJetCollectionsForBoostedLeptonPlusJets< jetType >::fillDescriptions(), HLTEgammaDoubleEtFilter::fillDescriptions(), PixelVertexProducerFromSoA::fillDescriptions(), HLTDTROMonitorFilter::fillDescriptions(), edmtest::ThingExtSource::fillDescriptions(), HLTPixelActivityHFSumEnergyFilter::fillDescriptions(), BeamDivergenceVtxGenerator::fillDescriptions(), edm::service::ConcurrentModuleTimer::fillDescriptions(), citk::PFIsolationSumProducerForPUPPI::fillDescriptions(), RPCGeometryESModule::fillDescriptions(), EgammaHLTClusterShapeProducer::fillDescriptions(), EcalLaserCorrectionServiceMC::fillDescriptions(), HIMuonTrackingRegionProducer::fillDescriptions(), SiStripLorentzAngleRunInfoTableProducer::fillDescriptions(), METMonitor::fillDescriptions(), HLTEgammaL1TMatchFilterRegional::fillDescriptions(), BadParticleFilter::fillDescriptions(), HLTGetRaw::fillDescriptions(), HGCalTestPartialWaferRecHits::fillDescriptions(), RecoTauPiZeroUnembedder::fillDescriptions(), HLTSmartSinglet< T >::fillDescriptions(), HGCalTestScintHits::fillDescriptions(), RPCTwinMuxDigiToRaw::fillDescriptions(), HLTMhtProducer::fillDescriptions(), GEMChamberMasker::fillDescriptions(), HGcalHitCheck::fillDescriptions(), MillePedeFileExtractor::fillDescriptions(), GEMEfficiencyAnalyzer::fillDescriptions(), HLTPixlMBFilt::fillDescriptions(), HLTPixlMBForAlignmentFilter::fillDescriptions(), HLTCaloTowerHtMhtProducer::fillDescriptions(), Type1PFMET::fillDescriptions(), HLTHtMhtProducer::fillDescriptions(), L1TObjectsTiming::fillDescriptions(), pat::PackedCandidateTrackChi2Producer::fillDescriptions(), TfGraphDefProducer::fillDescriptions(), HitParentTest::fillDescriptions(), FilterOutLowPt::fillDescriptions(), LowPtGsfElectronIDProducer::fillDescriptions(), EgammaHLTCaloTowerProducer::fillDescriptions(), GEMCSCSegmentProducer::fillDescriptions(), GEMSegmentProducer::fillDescriptions(), MuonAlignmentPreFilter::fillDescriptions(), GlobalTrackQualityProducer::fillDescriptions(), CandMergerCleanOthersByDR::fillDescriptions(), L3MuonCombinedRelativeIsolationProducer::fillDescriptions(), PFClusterTimeAssigner::fillDescriptions(), TotemRPClusterProducer::fillDescriptions(), TotemT2RecHitProducer::fillDescriptions(), HcalTestAnalyzer::fillDescriptions(), HGCalSlinkEmulator::fillDescriptions(), SimTauProducer::fillDescriptions(), HLTJetCollForElePlusJets< T >::fillDescriptions(), HcalSimHitDump::fillDescriptions(), RawDataMapperByLabel::fillDescriptions(), edmtest::ConcurrentIOVESProducer::fillDescriptions(), HLTCaloTowerFilter::fillDescriptions(), HLTCountNumberOfObject< OColl >::fillDescriptions(), PixelFitterByConformalMappingAndLineProducer::fillDescriptions(), edmtest::ThingSource::fillDescriptions(), GEMDigiSource::fillDescriptions(), AlCaEcalHcalReadoutsProducer::fillDescriptions(), CaloSimulationConstantsESModule::fillDescriptions(), HcalDDDSimConstantsESModule::fillDescriptions(), HcalSimulationConstantsESModule::fillDescriptions(), DeepBoostedJetTagInfoProducer::fillDescriptions(), CUDAService::fillDescriptions(), AlcaPCCEventProducer::fillDescriptions(), HLTDisplacedmumumuVtxProducer::fillDescriptions(), ZGammaplusJetsMonitor::fillDescriptions(), HLTMuonL2SelectorForL3IO::fillDescriptions(), TauHadronDecayFilter::fillDescriptions(), CTPPSLocalTrackLiteProducer::fillDescriptions(), HLTSummaryFilter::fillDescriptions(), HcalRawToDigi::fillDescriptions(), HcalTestSimHitID::fillDescriptions(), HLTPFEnergyFractionsFilter::fillDescriptions(), TICLPFValidation::fillDescriptions(), HLTMuonTrackSelector::fillDescriptions(), edmtest::ThingAnalyzer::fillDescriptions(), HLTPPSCalFilter::fillDescriptions(), HLTPPSPerPotTrackFilter::fillDescriptions(), HGCalBHValidation::fillDescriptions(), GEMDAQStatusSource::fillDescriptions(), edm::ProvenanceCheckerOutputModule::fillDescriptions(), L1TGlobalSummary::fillDescriptions(), ME0GeometryESModule::fillDescriptions(), MkFitProducer::fillDescriptions(), HLTMETCleanerUsingJetID::fillDescriptions(), TrackerDigiGeometryESModule::fillDescriptions(), HLTDisplacedmumuVtxProducer::fillDescriptions(), ObjMonitor::fillDescriptions(), DaqFakeReader::fillDescriptions(), HLTMuonDimuonL3Filter::fillDescriptions(), DisplacedRegionSeedingVertexProducer::fillDescriptions(), MkFitPhase2HitConverter::fillDescriptions(), HGCalTestPartialWaferHits::fillDescriptions(), HcalSimHitCheck::fillDescriptions(), HLTHcalLaserMisfireFilter::fillDescriptions(), edmtest::ThingProducer::fillDescriptions(), HLTTriggerTypeFilter::fillDescriptions(), edm::GetProductCheckerOutputModule::fillDescriptions(), HLLHCEvtVtxGenerator::fillDescriptions(), ME0ChamberMasker::fillDescriptions(), LH5Source::fillDescriptions(), GenJetFlavourTableProducer::fillDescriptions(), LHESource::fillDescriptions(), HFPMTHitAnalyzer::fillDescriptions(), HcalRawToDigiFake::fillDescriptions(), PFRecoTauDiscriminationAgainstMuon::fillDescriptions(), TrackstersProducer::fillDescriptions(), HcalSimpleReconstructor::fillDescriptions(), RazorMonitor::fillDescriptions(), DemoGlobalDQMEDAnalyzer::fillDescriptions(), HLTElectronPFMTFilter< T >::fillDescriptions(), VertexFromTrackProducer::fillDescriptions(), TSGForOIFromL2::fillDescriptions(), TriggerSummaryProducerRAW::fillDescriptions(), HLTJetCollectionsForLeptonPlusJets< jetType >::fillDescriptions(), EtlDigiHitsValidation::fillDescriptions(), AlignmentMonitorMuonSystemMap1D::fillDescriptions(), HLTVertexFilter::fillDescriptions(), IPTCorrector::fillDescriptions(), FastTimerServiceClient::fillDescriptions(), LogErrorFilter::fillDescriptions(), HLTCaloJetIDProducer::fillDescriptions(), EvaluateMuonMVAID::fillDescriptions(), ParticleNetFeatureEvaluator::fillDescriptions(), EgammaHLTRecoEcalCandidateProducers::fillDescriptions(), DiJetMonitor::fillDescriptions(), HLTDisplacedtktktkVtxProducer::fillDescriptions(), HLTPMMassFilter::fillDescriptions(), MuonSeedGenerator::fillDescriptions(), HLTDoublet< T1, T2 >::fillDescriptions(), GEMDigiToRawModule::fillDescriptions(), BeamSpotRcdPrinter::fillDescriptions(), RPCTwinMuxRawToDigi::fillDescriptions(), HLTDisplacedtktkVtxProducer::fillDescriptions(), CTPPSProtonReconstructionSimulationValidator::fillDescriptions(), HLTScoutingTrackProducer::fillDescriptions(), HLTEventNumberFilter::fillDescriptions(), PPSTimingCalibrationESSource::fillDescriptions(), edmtest::ThingWithMergeProducer::fillDescriptions(), PPSTimingCalibrationLUTESSource::fillDescriptions(), HLTTrackWithHits::fillDescriptions(), DQMCorrelationClient::fillDescriptions(), l1t::L1TZDCAnalyzer::fillDescriptions(), pat::PackedCandidateMuonSelectorProducer::fillDescriptions(), HLTFiltCand::fillDescriptions(), MTDDigiGeometryESModule::fillDescriptions(), EcalMustacheSCParametersESProducer::fillDescriptions(), EcalSCDynamicDPhiParametersESProducer::fillDescriptions(), EgammaHLTEleL1TrackIsolProducer::fillDescriptions(), HLTCollectionProducer< T >::fillDescriptions(), CSCRecHitDProducer::fillDescriptions(), CTPPSDiamondRecHitProducer::fillDescriptions(), HLTLevel1Pattern::fillDescriptions(), HGCalTestGuardRing::fillDescriptions(), PhotonMonitor::fillDescriptions(), HGCalShowerSeparation::fillDescriptions(), sistrip::DigiToRawModule::fillDescriptions(), PPSPixelTopologyESSource::fillDescriptions(), HLTTrackerHaloFilter::fillDescriptions(), BetafuncEvtVtxGenerator::fillDescriptions(), XtalDedxAnalysis::fillDescriptions(), HLTJetSortedVBFFilter< T >::fillDescriptions(), EcalDetIdToBeRecoveredProducer::fillDescriptions(), SiStripClusters2ApproxClusters::fillDescriptions(), CTPPSPixelRecHitProducer::fillDescriptions(), EventIDChecker::fillDescriptions(), HLTCAWZTagFilter::fillDescriptions(), GEMRecHitProducer::fillDescriptions(), XrdAdaptor::XrdStatisticsService::fillDescriptions(), SiPixelQualityProbabilitiesTestWriter::fillDescriptions(), SiPixelQualityProbabilitiesWriteFromASCII::fillDescriptions(), HLTHcalPhiSymFilter::fillDescriptions(), SimAnalyzerMinbias::fillDescriptions(), HLTL1NumberFilter::fillDescriptions(), AbortOnEventIDAnalyzer::fillDescriptions(), HLTRPCTrigNoSyncFilter::fillDescriptions(), HcalDDDRecConstantsESModule::fillDescriptions(), IslandClusterProducer::fillDescriptions(), ElectronSeedProducer::fillDescriptions(), TotemRPLocalTrackFitter::fillDescriptions(), EgammaHLTPixelMatchElectronProducers::fillDescriptions(), EgammaHLTR9IDProducer::fillDescriptions(), CTPPSProtonReconstructionEfficiencyEstimatorMC::fillDescriptions(), AlCaHcalHBHEMuonFilter::fillDescriptions(), PFEGammaProducer::fillDescriptions(), TriggerResultsFilterFromDB::fillDescriptions(), PFRecoTauTagInfoProducer::fillDescriptions(), GEMRawToDigiModule::fillDescriptions(), AlCaHcalHEMuonFilter::fillDescriptions(), BtlDigiHitsValidation::fillDescriptions(), HLTFEDSizeFilter::fillDescriptions(), PSMonitor::fillDescriptions(), CorrectedPFMETProducer::fillDescriptions(), edm::service::PrescaleService::fillDescriptions(), GEMPadDigiProducer::fillDescriptions(), edm::service::LoadAllDictionaries::fillDescriptions(), ElectronStudy::fillDescriptions(), PPSAlignmentConfigurationESSource::fillDescriptions(), MeasurementTrackerESProducer::fillDescriptions(), DQMHcalIterativePhiSymAlCaReco::fillDescriptions(), L1TEGammaFilteredCollectionProducer::fillDescriptions(), HotlineDQM::fillDescriptions(), AlCaHcalIsotrkFilter::fillDescriptions(), MuonOffsetESProducer::fillDescriptions(), HLTLevel1Activity::fillDescriptions(), HcalRecAlgoESProducer::fillDescriptions(), SeedingOTEDProducer::fillDescriptions(), DTCCablingMapTestProducer::fillDescriptions(), TotemTimingRecHitProducer::fillDescriptions(), pat::PATJetUpdater::fillDescriptions(), HGCalHitCalibration::fillDescriptions(), HLTScoutingCaloProducer::fillDescriptions(), HLTHcalNZSFilter::fillDescriptions(), HLTHcalSimpleRecHitFilter::fillDescriptions(), edm::LogErrorHarvester::fillDescriptions(), EtlSimHitsValidation::fillDescriptions(), TriggerBxVsOrbitMonitor::fillDescriptions(), edm::service::CondorStatusService::fillDescriptions(), ScalersRawToDigi::fillDescriptions(), citk::PFIsolationSumProducer::fillDescriptions(), pat::LeptonUpdater< T >::fillDescriptions(), DeepDoubleXTagInfoProducer::fillDescriptions(), TotemRPUVPatternFinder::fillDescriptions(), ElectronNHitSeedProducer::fillDescriptions(), SiPhase2OuterTrackerFakeLorentzAngleESSource::fillDescriptions(), EcalEBPhase2TPParamProducer::fillDescriptions(), MagneticFieldFilter::fillDescriptions(), TopMonitor::fillDescriptions(), TSGForOIDNN::fillDescriptions(), PFProducer::fillDescriptions(), SiPixelFEDChannelContainerWriteFromASCII::fillDescriptions(), TriggerResultsFilter::fillDescriptions(), MTDClusterProducer::fillDescriptions(), HLTJetCollectionsForElePlusJets< T >::fillDescriptions(), HcalSimHitAnalysis::fillDescriptions(), PackedCandidateGenAssociationProducer::fillDescriptions(), HLTTrackMETProducer::fillDescriptions(), HLTL1TMuonSelector::fillDescriptions(), RecAnalyzerHF::fillDescriptions(), MkFitSiStripHitConverter::fillDescriptions(), EgammaHLTPhotonTrackIsolationProducersRegional::fillDescriptions(), edm::PrintEventSetupDataRetrieval::fillDescriptions(), EgammaHLTHcalVarProducerFromRecHit::fillDescriptions(), AlCaGammaJetProducer::fillDescriptions(), HLTHighLevel::fillDescriptions(), EgammaHLTElectronTrackIsolationProducers::fillDescriptions(), BPHWriteSpecificDecay::fillDescriptions(), HLTHcalPFClusterIsolationProducer< T1 >::fillDescriptions(), HGCalElectronFilter::fillDescriptions(), HGCalPhotonIDValueMapProducer::fillDescriptions(), TcdsRawToDigi::fillDescriptions(), HTMonitor::fillDescriptions(), HLTGenericFilter< T1 >::fillDescriptions(), HOSimHitStudy::fillDescriptions(), GlobalTrackingRegionProducerFromBeamSpot::fillDescriptions(), CSCOverlapsBeamSplashCut::fillDescriptions(), CSCDigiFilter::fillDescriptions(), ThroughputService::fillDescriptions(), EcalSimpleUncalibRecHitFilter::fillDescriptions(), CTPPSProtonReconstructionEfficiencyEstimatorData::fillDescriptions(), ValidationMisalignedTracker::fillDescriptions(), TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::fillDescriptions(), GEMGeometryESModule::fillDescriptions(), Phase2OTMonitorTTTrack::fillDescriptions(), L3MuonProducer::fillDescriptions(), SiStripQualityStatistics::fillDescriptions(), HLTElectronMuonInvMassFilter::fillDescriptions(), MuonHLTSeedMVAClassifier::fillDescriptions(), SiPixelFEDChannelContainerFromQualityConverter::fillDescriptions(), PFBadHcalPseudoClusterProducer::fillDescriptions(), SUSY_HLT_Razor::fillDescriptions(), HLTJetHbbFilter< T >::fillDescriptions(), HGCalElectronIDValueMapProducer::fillDescriptions(), DTCCablingMapTestReader::fillDescriptions(), HFJetShowerShape::fillDescriptions(), Phase2OTValidateTrackingParticles::fillDescriptions(), HLTCSCActivityFilter::fillDescriptions(), LumiMonitor::fillDescriptions(), edm::PrintEventSetupContent::fillDescriptions(), Phase1L1TJetSumsProducer::fillDescriptions(), PrintLoadingPlugins::fillDescriptions(), Phase2ITMonitorCluster::fillDescriptions(), L1PrefiringWeightProducer::fillDescriptions(), HLTmmkkFilter::fillDescriptions(), HLTmumutktkVtxProducer::fillDescriptions(), BTagAndProbe::fillDescriptions(), HLTmmkFilter::fillDescriptions(), GctRawToDigi::fillDescriptions(), CTPPSBeamParametersESSource::fillDescriptions(), HLTHcalCalibTypeFilter::fillDescriptions(), Phase1L1TJetCalibrator::fillDescriptions(), PFClusterMatchedToPhotonsSelector::fillDescriptions(), Phase2OTMonitorCluster::fillDescriptions(), DAQSource::fillDescriptions(), HLTHGCalLayerClusterIsolationProducer< T1 >::fillDescriptions(), SiStripBadComponentInfo::fillDescriptions(), BeamSpotToCUDA::fillDescriptions(), CTPPSPixelClusterProducer::fillDescriptions(), TemplatedInclusiveVertexFinder< InputContainer, VTX >::fillDescriptions(), HLTL1MuonSelector::fillDescriptions(), GEMDigiProducer::fillDescriptions(), HcalTestNumberingTester::fillDescriptions(), FedRawDataInputSource::fillDescriptions(), HGCalTimingAnalyzer::fillDescriptions(), HLTRechitsToDigis::fillDescriptions(), CherenkovAnalysis::fillDescriptions(), edm::EmbeddedRootSource::fillDescriptions(), edm::service::FixMissingStreamerInfos::fillDescriptions(), AlCaIsolatedBunchSelector::fillDescriptions(), CaloSimHitAnalysis::fillDescriptions(), GTTFileReader::fillDescriptions(), SimPFProducer::fillDescriptions(), PPSDiamondSampicTimingCalibrationPCLHarvester::fillDescriptions(), PFTauDecayModeCutMultiplexer::fillDescriptions(), Pi0FixedMassWindowCalibration::fillDescriptions(), edm::PoolSource::fillDescriptions(), MuonGeometryDBConverter::fillDescriptions(), HLTL1MuonNoL2Selector::fillDescriptions(), DeDxEstimatorProducer::fillDescriptions(), edm::service::CheckTransitions::fillDescriptions(), HLTCATopTagFilter::fillDescriptions(), HFNoisyHitsFilter::fillDescriptions(), HcalGeomCheck::fillDescriptions(), HcalCollapseAnalyzer::fillDescriptions(), HLTBeamModeFilter::fillDescriptions(), BtlSimHitsValidation::fillDescriptions(), HLTDoubletSinglet< T1, T2, T3 >::fillDescriptions(), SiStripApvGainRescaler::fillDescriptions(), EcalSimHitStudy::fillDescriptions(), HLTMuonPointingFilter::fillDescriptions(), L1TExtCondProducer::fillDescriptions(), L1TGlobalProducer::fillDescriptions(), CaloTowerConstituentsMapBuilder::fillDescriptions(), PATObjectCrossLinker::fillDescriptions(), HcalDigiToRawuHTR::fillDescriptions(), OnlineMetaDataRawToDigi::fillDescriptions(), l1t::L1TRawToDigi::fillDescriptions(), L1TCaloUpgradeToGCTConverter::fillDescriptions(), HGCalDigiValidation::fillDescriptions(), RecoTauPiZeroProducer::fillDescriptions(), CTPPSProtonProducer::fillDescriptions(), l1t::L1TDigiToRaw::fillDescriptions(), Phase2OTMonitorVectorHits::fillDescriptions(), DDDetectorESProducer::fillDescriptions(), RunLumiEventChecker::fillDescriptions(), AlCaIsoTracksProducerFilter::fillDescriptions(), HGCalSimHitStudy::fillDescriptions(), HLTmumutkVtxProducer::fillDescriptions(), HGCalLayerClusterProducer::fillDescriptions(), MuonTrackingRegionByPtBuilder::fillDescriptions(), HLTPrescaleRecorder::fillDescriptions(), PixelTrackProducer::fillDescriptions(), CSCDigiToRawModule::fillDescriptions(), HGCalRecHitValidation::fillDescriptions(), JetVertexChecker::fillDescriptions(), CaloParticleValidation::fillDescriptions(), Phase2OTValidateTTStub::fillDescriptions(), HLTCSCAcceptBusyFilter::fillDescriptions(), CaloParticleDebugger::fillDescriptions(), EgammaHLTNxNClusterProducer::fillDescriptions(), CaloSimHitStudy::fillDescriptions(), __class__< T >::fillDescriptions(), ZMuMuMassConstraintParameterFinder::fillDescriptions(), Phase2ITMonitorRecHit::fillDescriptions(), ParticleTowerProducer< T >::fillDescriptions(), TotemVFATRawToDigi::fillDescriptions(), FastjetJetProducer::fillDescriptions(), SCEnergyCorrectorDRNProducer::fillDescriptions(), HLTHFAsymmetryFilter::fillDescriptions(), TkMSParameterizationBuilder::fillDescriptions(), L1TrackTripletEmulatorProducer::fillDescriptions(), Phase2L1TGMTSAMuonProducer::fillDescriptions(), RechitClusterProducerT< Trait >::fillDescriptions(), edm::RepeatingCachedRootSource::fillDescriptions(), PrescaleEventFilter::fillDescriptions(), HcalLaserEventFilter::fillDescriptions(), HLTEcalPFClusterIsolationProducer< T1 >::fillDescriptions(), PPSDiamondSampicTimingCalibrationPCLWorker::fillDescriptions(), L1TrackJetProducer::fillDescriptions(), CaloRecHitsBeamHaloCleaned::fillDescriptions(), EcalRawToDigi::fillDescriptions(), HLTDTActivityFilter::fillDescriptions(), EcalIsolatedParticleCandidateProducer::fillDescriptions(), TemplatedVertexArbitrator< InputContainer, VTX >::fillDescriptions(), IsolatedParticlesGeneratedJets::fillDescriptions(), ParticleNetJetTagMonitor::fillDescriptions(), TICLTrackstersEdgesValidation::fillDescriptions(), IsolatedEcalPixelTrackCandidateProducer::fillDescriptions(), L1TExtCondLegacyToStage2::fillDescriptions(), BPHMonitor::fillDescriptions(), Phase2OTValidateRecHit::fillDescriptions(), EtlLocalRecoValidation::fillDescriptions(), CTPPSCompositeESSource::fillDescriptions(), SiPixelDigiToRaw::fillDescriptions(), TrackingParticleSelectorByGen::fillDescriptions(), PFCandidateRecalibrator::fillDescriptions(), SiStripChannelGainFromDBMiscalibrator::fillDescriptions(), L1TCorrelatorLayer1Producer::fillDescriptions(), L1TriggerResultsConverter::fillDescriptions(), CSCGeometryESModule::fillDescriptions(), HLTPixelAsymmetryFilter::fillDescriptions(), HGCalHitValidation::fillDescriptions(), cms::ProducerAnalyzer::fillDescriptions(), HLTL1TSeed::fillDescriptions(), PrimaryVertexResolution::fillDescriptions(), PFPileUp::fillDescriptions(), BetaStarVarProducer< T >::fillDescriptions(), Phase2ITValidateRecHit::fillDescriptions(), L2MuonProducer::fillDescriptions(), SiStripNoisesFromDBMiscalibrator::fillDescriptions(), edm::EventSetupRecordDataGetter::fillDescriptions(), HGCalTB23Analyzer::fillDescriptions(), edm::service::Timing::fillDescriptions(), DTGeometryESModule::fillDescriptions(), Phase2OTMonitorTTCluster::fillDescriptions(), omtf::OmtfPacker::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), RecoTauProducer::fillDescriptions(), Phase2ITValidateTrackingRecHit::fillDescriptions(), ConversionTrackCandidateProducer::fillDescriptions(), HGCalMouseBiteTester::fillDescriptions(), HLTPrescaler::fillDescriptions(), L1TJetsMatching< T >::fillDescriptions(), MuonHLTSeedMVAClassifierPhase2::fillDescriptions(), AlCaGammaJetSelector::fillDescriptions(), RPCChamberMasker::fillDescriptions(), CTPPSGeometryESModule::fillDescriptions(), edm::service::CPU::fillDescriptions(), StandaloneTrackMonitor::fillDescriptions(), BtlLocalRecoValidation::fillDescriptions(), Phase2OTMonitorTTStub::fillDescriptions(), pat::DisplacedMuonFilterProducer::fillDescriptions(), Phase2OTValidateTrackingRecHit::fillDescriptions(), CTPPSPixelLocalTrackProducer::fillDescriptions(), omtf::OmtfUnpacker::fillDescriptions(), HLTScoutingMuonProducer::fillDescriptions(), GenHFHadronMatcher::fillDescriptions(), TrackstersMergeProducer::fillDescriptions(), AlCaDiJetsProducer::fillDescriptions(), HGCalSimHitValidation::fillDescriptions(), EgammaHLTGsfTrackVarProducer::fillDescriptions(), HLTLevel1GTSeed::fillDescriptions(), DependencyGraph::fillDescriptions(), EcalMIPRecHitFilter::fillDescriptions(), SiPixelRawToDigi::fillDescriptions(), L1TrackJetEmulatorProducer::fillDescriptions(), FastPrimaryVertexWithWeightsProducer::fillDescriptions(), StudyCaloGen::fillDescriptions(), Phase2ITValidateCluster::fillDescriptions(), PFTauTransverseImpactParameters::fillDescriptions(), HGCalTBAnalyzer::fillDescriptions(), HcalRaddamMuon::fillDescriptions(), L2MuonSeedGeneratorFromL1T::fillDescriptions(), PFTauSecondaryVertexProducer::fillDescriptions(), AlCaLowPUHBHEMuonFilter::fillDescriptions(), Phase2OTValidateCluster::fillDescriptions(), LeptonJetVarProducer< T >::fillDescriptions(), SiPixelClusterProducer::fillDescriptions(), StudyTriggerHLT::fillDescriptions(), AlCaHBHEMuonFilter::fillDescriptions(), AlCaHBHEMuonProducer::fillDescriptions(), AlCaHEMuonFilter::fillDescriptions(), TrackToTrackComparisonHists::fillDescriptions(), APVModeFilter::fillDescriptions(), HLTEcalPhiSymFilter::fillDescriptions(), Phase2OTMonitorRecHit::fillDescriptions(), RPDigiProducer::fillDescriptions(), ClusterTPAssociationProducer::fillDescriptions(), reco::HcalNoiseInfoProducer::fillDescriptions(), GlobalTrackingRegionWithVerticesProducer::fillDescriptions(), GTTFileWriter::fillDescriptions(), L2MuonSeedGeneratorFromL1TkMu::fillDescriptions(), PixelJetPuId::fillDescriptions(), PFECALSuperClusterProducer::fillDescriptions(), cms::PFMETProducer::fillDescriptions(), edmtest::WhatsItESProducer::fillDescriptions(), HLTScoutingEgammaProducer::fillDescriptions(), edm::service::Tracer::fillDescriptions(), TPFastJetProducer::fillDescriptions(), L1TS2PFJetInputPatternWriter::fillDescriptions(), pat::PATJetProducer::fillDescriptions(), edmtest::SourceWithWaits::fillDescriptions(), CorrectedECALPFClusterProducer::fillDescriptions(), FastSiPixelFEDChannelContainerFromQuality::fillDescriptions(), TICLDumper::fillDescriptions(), AlCaHcalNoiseProducer::fillDescriptions(), edm::DelayedReaderThrowingSource::fillDescriptions(), PFRecoTauChargedHadronProducer::fillDescriptions(), L1GlobalTriggerRawToDigi::fillDescriptions(), L1FastTrackingJetProducer::fillDescriptions(), MuonAlignmentAnalyzer::fillDescriptions(), L1TZDCProducer::fillDescriptions(), APVCyclePhaseDebuggerFromL1TS::fillDescriptions(), L1TruthTrackFastJetProducer::fillDescriptions(), CTPPSTotemDigiToRaw::fillDescriptions(), MCMisalignmentScaler::fillDescriptions(), TGeoMgrFromDdd::fillDescriptions(), HOCalibAnalyzer::fillDescriptions(), edm::service::SiteLocalConfigService::fillDescriptions(), ParticleTransformerAK4TagInfoProducer::fillDescriptions(), DeepFlavourTagInfoProducer::fillDescriptions(), DTChamberMasker::fillDescriptions(), MuonTrackingRegionBuilder::fillDescriptions(), HLTGetDigi::fillDescriptions(), CSCOverlapsTrackPreparation::fillDescriptions(), UnifiedParticleTransformerAK4TagInfoProducer::fillDescriptions(), Phase1L1TJetProducer::fillDescriptions(), ApeTreeCreateDefault::fillDescriptions(), HITrackingRegionForPrimaryVtxProducer::fillDescriptions(), evf::EvFDaqDirector::fillDescriptions(), MtdEleIsoValidation::fillDescriptions(), IsolatedPixelTrackCandidateProducer::fillDescriptions(), PFSimParticleProducer::fillDescriptions(), CTPPSPixelDigiToRaw::fillDescriptions(), IsolatedPixelTrackCandidateL1TProducer::fillDescriptions(), BJetEnergyRegressionVarProducer< T >::fillDescriptions(), AreaSeededTrackingRegionsProducer::fillDescriptions(), FastTrackDeDxProducer::fillDescriptions(), TriggerBxMonitor::fillDescriptions(), GEMPadDigiClusterProducer::fillDescriptions(), LowPtGsfElectronSeedProducer::fillDescriptions(), edm::PathStatusFilter::fillDescriptions(), PPSDirectProtonSimulation::fillDescriptions(), edm::PoolOutputModule::fillDescriptions(), RecAnalyzerMinbias::fillDescriptions(), HLTrigReport::fillDescriptions(), HLTEcalResonanceFilter::fillDescriptions(), TauRegionalPixelSeedGenerator::fillDescriptions(), HLTDummyCollections::fillDescriptions(), PixelClusterTagInfoProducer::fillDescriptions(), AlignmentStats::fillDescriptions(), HcalHBHEMuonAnalyzer::fillDescriptions(), CSCChamberMasker::fillDescriptions(), CreateIdealTkAlRecords::fillDescriptions(), PFRecoTauDiscriminationAgainstElectron2::fillDescriptions(), DigiSimLinkPruner::fillDescriptions(), HiPuRhoProducer::fillDescriptions(), HLTRegionalEcalResonanceFilter::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), SiPixelStatusProducer::fillDescriptions(), CSCDCCUnpacker::fillDescriptions(), cms::CATopJetProducer::fillDescriptions(), pat::JetCorrFactorsProducer::fillDescriptions(), HcalHBHEMuonHighEtaAnalyzer::fillDescriptions(), HGCalWaferValidation::fillDescriptions(), HLTJetsCleanedFromLeadingLeptons< JetType >::fillDescriptions(), DTCCablingMapProducer::fillDescriptions(), GenTtbarCategorizer::fillDescriptions(), PrimaryVertexValidation::fillDescriptions(), HLTRechitInRegionsProducer< T1 >::fillDescriptions(), SiStripDB2Tree::fillDescriptions(), edm::service::SimpleMemoryCheck::fillDescriptions(), CosmicRateAnalyzer::fillDescriptions(), DeepTauId::fillDescriptions(), MtdTracksValidation::fillDescriptions(), DeepCoreSeedGenerator::fillDescriptions(), HcalIsoTrkSimAnalyzer::fillDescriptions(), JetCoreMCtruthSeedGenerator::fillDescriptions(), CTPPSPixelDigiProducer::fillDescriptions(), AlCaIsoTracksFilter::fillDescriptions(), edm::service::RandomNumberGeneratorService::fillDescriptions(), IsoTrackCalib::fillDescriptions(), L1TriggerJSONMonitoring::fillDescriptions(), EgammaHLTPhase2ExtraProducer::fillDescriptions(), VIDNestedWPBitmapProducer< T >::fillDescriptions(), EgammaHLTExtraProducer::fillDescriptions(), PhotonIDValueMapProducer::fillDescriptions(), cms::HTTTopJetProducer::fillDescriptions(), TotemDAQMappingESSourceXML::fillDescriptions(), L1TGlobalPrescaler::fillDescriptions(), StudyCaloResponse::fillDescriptions(), GenVisTauProducer::fillDescriptions(), HcalIsoTrkAnalyzer::fillDescriptions(), TriggerSummaryProducerAOD::fillDescriptions(), L1NNCaloTauProducer::fillDescriptions(), SelectedElectronFEDListProducer< TEle, TCand >::fillDescriptions(), IsoValueMapProducer< T >::fillDescriptions(), edmtest::TableTestOutputModule::fillDescriptions(), AlCaHcalHBHEMuonProducer::fillDescriptions(), HLTriggerJSONMonitoring::fillDescriptions(), TrackingRegionsFromSuperClustersProducer::fillDescriptions(), AlCaIsoTracksProducer::fillDescriptions(), edm::service::InitRootHandlers::fillDescriptions(), SiPixelGainCalibScaler::fillDescriptions(), TrackMVAClassifier< MVA, EventCache >::fillDescriptions(), HiFJRhoFlowModulationProducer::fillDescriptions(), IsoTrig::fillDescriptions(), TriggerRatesMonitor::fillDescriptions(), HLTCaloObjInRegionsProducer< CaloObjType, CaloObjCollType >::fillDescriptions(), NPUTablesProducer::fillDescriptions(), IsolatedTracksHcalScale::fillDescriptions(), AlCaHcalIsotrkProducer::fillDescriptions(), EgammaHLTPixelMatchVarProducer::fillDescriptions(), L1NNCaloTauEmulator::fillDescriptions(), BJetEnergyRegressionMVA::fillDescriptions(), GlobalTrackerMuonAlignment::fillDescriptions(), IsolatedGenParticles::fillDescriptions(), HeavyFlavorDQMAnalyzer::fillDescriptions(), CandidateSeededTrackingRegionsProducer::fillDescriptions(), DTTrigPhase2Prod::fillDescriptions(), HLTRecHitInAllL1RegionsProducer< RecHitType >::fillDescriptions(), PFRecoTauDiscriminationByIsolationMVA2::fillDescriptions(), IsolatedTracksCone::fillDescriptions(), GsfElectronProducer::fillDescriptions(), NVProfilerService::fillDescriptions(), pat::PATObjectUserDataEmbedder< T, ParentType >::fillDescriptions(), PointSeededTrackingRegionsProducer::fillDescriptions(), BTagSFProducer::fillDescriptions(), PFJetMETcorrInputProducerT< T, Textractor >::fillDescriptions(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::fillDescriptions(), L1MuonSeededTrackingRegionsProducer::fillDescriptions(), BaseMVAValueMapProducer< pat::Muon >::fillDescriptions(), IsolatedTracksNxN::fillDescriptions(), reco::tau::PATTauDiscriminationByMVAIsolationRun2::fillDescriptions(), TotemTimingLocalTrackFitter< T >::fillDescriptions(), AlCaHOCalibProducer::fillDescriptions(), CandidatePointSeededTrackingRegionsProducer::fillDescriptions(), LHETablesProducer::fillDescriptions(), evf::GlobalEvFOutputModule::fillDescriptions(), BTVMCFlavourTableProducer::fillDescriptions(), SiPixelQualityPlotter::fillDescriptions(), evf::FastMonitoringService::fillDescriptions(), FastTimerService::fillDescriptions(), PFRecoTauDiscriminationByIsolation::fillDescriptions(), edm::service::StallMonitor::fillDescriptions(), ProtonProducer::fillDescriptions(), Primary4DVertexValidation::fillDescriptions(), pat::PATJetSelector::fillDescriptions(), PFRecoTauDiscriminationByIsolationContainer::fillDescriptions(), CandMCMatchTableProducer::fillDescriptions(), ResidualRefitting::fillDescriptions(), edm::EventContentAnalyzer::fillDescriptions(), RecoTauCleanerImpl< Prod >::fillDescriptions(), PrimaryVertexSorter< ParticlesCollection >::fillDescriptions(), PackedCandidateTrackValidator::fillDescriptions(), TrackingNtuple::fillDescriptions(), TrackExtenderWithMTDT< TrackCollection >::fillDescriptions(), GenWeightsTableProducer::fillDescriptions(), RecoTauGenericJetRegionProducer< JetType, CandType >::fillDescriptionsBase(), counter.Counter::register(), SequenceTypes._TaskBase::remove(), and SequenceTypes._TaskBase::replace().

57  {
58  if (0 == strcmp(baseType_.c_str(), kSource)) {
59  if (0 != strcmp(label.c_str(), k_source)) {
61  "ConfigurationDescriptions::add, when adding a ParameterSetDescription for a source the "
62  "label must be \"source\"\n");
63  }
64  if (!descriptions_.empty() || defaultDescDefined_ == true) {
65  throw edm::Exception(
67  "ConfigurationDescriptions::add, for a source only 1 ParameterSetDescription may be added\n");
68  }
69  } else if (0 == strcmp(baseType_.c_str(), kService)) {
70  if (!descriptions_.empty() || defaultDescDefined_ == true) {
71  throw edm::Exception(
73  "ConfigurationDescriptions::add, for a service only 1 ParameterSetDescription may be added\n");
74  }
75  }
76 
77  // To minimize the number of copies involved create an empty description first
78  // and push it into the vector. Then perform the copy.
79  std::pair<std::string, ParameterSetDescription> pairWithEmptyDescription;
80  descriptions_.push_back(pairWithEmptyDescription);
81  std::pair<std::string, ParameterSetDescription>& pair = descriptions_.back();
82 
83  pair.first = label;
84  pair.second = psetDescription;
85  }
static const char *const kService
char const * label
std::vector< std::pair< std::string, ParameterSetDescription > > descriptions_
static const char *const k_source

◆ add() [2/2]

void ConfigurationDescriptions::add ( char const *  label,
ParameterSetDescription const &  psetDescription 
)

Definition at line 52 of file ConfigurationDescriptions.cc.

References add(), label, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by counter.Counter::register(), SequenceTypes._TaskBase::remove(), and SequenceTypes._TaskBase::replace().

52  {
53  std::string labelString(label);
54  add(labelString, psetDescription);
55  }
char const * label
void add(std::string const &label, ParameterSetDescription const &psetDescription)

◆ addDefault()

void ConfigurationDescriptions::addDefault ( ParameterSetDescription const &  psetDescription)

Definition at line 99 of file ConfigurationDescriptions.cc.

References baseType_, defaultDesc_, defaultDescDefined_, descriptions_, Exception, kService, edm::kSource, and edm::errors::LogicError.

Referenced by EcalPreshowerMonitorClient::fillDescriptions(), EcalMEFormatter::fillDescriptions(), ElectronSeedTrackRefFix::fillDescriptions(), EcalDQMonitorClient::fillDescriptions(), EmptySimHits::fillDescriptions(), TrackingRecHitPropagatorESProducer::fillDescriptions(), DYToMuMuGenFilter::fillDescriptions(), TransientTrackBuilderESProducer::fillDescriptions(), GenParticleDecaySelector::fillDescriptions(), edm::TestGlobalOutput::fillDescriptions(), edm::TestLimitedOutput::fillDescriptions(), edmtest::TestGetByLabelAnalyzerT< T >::fillDescriptions(), PFRecHitProducer::fillDescriptions(), L1TMuonEndCapTrackProducer::fillDescriptions(), edm::SwitchProducer::fillDescriptions(), XMLIdealGeometryESProducer::fillDescriptions(), KFUpdatorESProducer::fillDescriptions(), EcalDQMonitorTask::fillDescriptions(), Phase2L1TGMTProducer::fillDescriptions(), CaloTowersReCreator::fillDescriptions(), DistanceBetweenComponentsESProducer< N >::fillDescriptions(), LXXXCorrectorImplMaker::fillDescriptions(), HBHEDarkeningEP::fillDescriptions(), HcalTimeSlewEP::fillDescriptions(), L1TMuonBarrelKalmanTrackProducer::fillDescriptions(), Phase2L1TGMTFilter::fillDescriptions(), L1GTNTupleProducer::fillDescriptions(), edmtest::ThinningTestAnalyzer::fillDescriptions(), EcalUncalibRecHitProducer::fillDescriptions(), CloseComponentsMergerESProducer< N >::fillDescriptions(), AnalyticalPropagatorESProducer::fillDescriptions(), PropagatorWithMaterialESProducer::fillDescriptions(), edm::EmptyESSource::fillDescriptions(), TrackerRecoGeometryESProducer::fillDescriptions(), L1OffsetCorrectorImplMaker::fillDescriptions(), L1TBasicDemo::fillDescriptions(), L1TSummary::fillDescriptions(), reco::modulesNew::MCTruthCompositeMatcher::fillDescriptions(), CandidateChargeBTagComputer::fillDescriptions(), edmtest::ThinningDSVTestAnalyzer::fillDescriptions(), SiPixelTemplateStoreESProducer::fillDescriptions(), NavigationSchoolESProducer::fillDescriptions(), LHEGenericMassFilter::fillDescriptions(), L1FastjetCorrectorImplMaker::fillDescriptions(), edmtest::ESTestAnalyzerA::fillDescriptions(), edmtest::ExistingDictionaryTestProducer::fillDescriptions(), edm::TestOneOutput::fillDescriptions(), FastTrackerRecHitCombiner::fillDescriptions(), L1JPTOffsetCorrectorImplMaker::fillDescriptions(), QIE11Task::fillDescriptions(), edm::ModelFilter::fillDescriptions(), KFSwitching1DUpdatorESProducer::fillDescriptions(), L1CTJetFileWriter::fillDescriptions(), edmtest::ProducerWithPSetDesc::fillDescriptions(), TrackerMTDRecoGeometryESProducer::fillDescriptions(), PuppiPhoton::fillDescriptions(), CaloTruthCellsProducer::fillDescriptions(), WriteCTPPSPixGainCalibrations::fillDescriptions(), GsfTrajectorySmootherESProducer::fillDescriptions(), L6SLBCorrectorImplMaker::fillDescriptions(), SimHitsValidationHcal::fillDescriptions(), l1t::L1TStage2CaloAnalyzer::fillDescriptions(), dEdxAnalyzer::fillDescriptions(), edm::TestOutputWithGetterOfProducts::fillDescriptions(), MVAValueMapProducer< ParticleType >::fillDescriptions(), MuonTransientTrackingRecHitBuilderESProducer::fillDescriptions(), FastTrackerRecHitMatcher::fillDescriptions(), l1t::L1TCaloStage1LutWriter::fillDescriptions(), L1GTBoardWriter::fillDescriptions(), dEdxHitAnalyzer::fillDescriptions(), edm::TestOutputWithGetterOfProductsGlobal::fillDescriptions(), edm::TestOutputWithGetterOfProductsLimited::fillDescriptions(), L1TMuonBarrelKalmanStubProducer::fillDescriptions(), ValueExample::fillDescriptions(), GsfMaterialEffectsESProducer::fillDescriptions(), GsfTrajectoryFitterESProducer::fillDescriptions(), HGCGeometryValidation::fillDescriptions(), edmtest::RunLumiESSource::fillDescriptions(), CaloTowersCreator::fillDescriptions(), RemovePileUpDominatedEventsGen::fillDescriptions(), L1TMuonQualityAdjuster::fillDescriptions(), magneticfield::DD4hep_VolumeBasedMagneticFieldESProducer::fillDescriptions(), VertexMonitor::fillDescriptions(), ECALpedestalPCLHarvester::fillDescriptions(), DJpsiFilter::fillDescriptions(), ECALpedestalPCLworker::fillDescriptions(), edmtest::ConcurrentIOVAnalyzer::fillDescriptions(), AlcaBeamMonitor::fillDescriptions(), L1TUtmTriggerMenuDumper::fillDescriptions(), PFCand_AssoMap::fillDescriptions(), EcalMustacheSCParametersMaker::fillDescriptions(), EcalSCDynamicDPhiParametersMaker::fillDescriptions(), CastorInvalidDataFilter::fillDescriptions(), Mixing2DB::fillDescriptions(), edmtest::ConcurrentIOVESSource::fillDescriptions(), GenPartIsoProducer::fillDescriptions(), dqm::DQMFileSaverPB::fillDescriptions(), edmtest::ThinnedRefFromTestAnalyzer::fillDescriptions(), DDCompactViewESProducer::fillDescriptions(), HIPTwoBodyDecayAnalyzer::fillDescriptions(), DDCompactViewMFESProducer::fillDescriptions(), MCDisplacementFilter::fillDescriptions(), WriteL1TriggerObjectsTxt::fillDescriptions(), RunInfoTestESProducer::fillDescriptions(), Onia2MuMuPAT::fillDescriptions(), MuonDetLayerGeometryESProducer::fillDescriptions(), SiStripLorentzAngleDepESProducer::fillDescriptions(), TestBXVectorRefProducer::fillDescriptions(), edm::service::JobReportService::fillDescriptions(), TriggerRulePrefireVetoFilter::fillDescriptions(), MuMuForEmbeddingSelector::fillDescriptions(), DDSpecParRegistryESProducer::fillDescriptions(), HcalLaserEventFilter2012::fillDescriptions(), FourLepFilter::fillDescriptions(), MuPFIsoEmbedder::fillDescriptions(), PF_PU_AssoMap::fillDescriptions(), EGMSeedGainProducer< T >::fillDescriptions(), dqm::DQMFileSaverOnline::fillDescriptions(), SiStripBackPlaneCorrectionDepESProducer::fillDescriptions(), TrackAssociatorByPositionProducer::fillDescriptions(), JetHTJetPlusHOFilter::fillDescriptions(), L1TPhysicalEtAdder::fillDescriptions(), HBHEPlan1Combiner::fillDescriptions(), QuickTrackAssociatorByHitsProducer::fillDescriptions(), edm::stream::EDAnalyzerBase::fillDescriptions(), GenJetTauTaggerProducer::fillDescriptions(), LumiProducerFromBrilcalc::fillDescriptions(), HGCalTBCheckGunPostion::fillDescriptions(), LHE2HepMCConverter::fillDescriptions(), l1t::L1TCaloRCTToUpgradeConverter::fillDescriptions(), L1TStage2InputPatternWriter::fillDescriptions(), L1TBMTFConverter::fillDescriptions(), L1TrackerEtMissEmulatorProducer::fillDescriptions(), ttHFGenFilter::fillDescriptions(), TemplatedInclusiveVertexFinder< InputContainer, VTX >::fillDescriptions(), ExtraFromSeeds::fillDescriptions(), l1t::FakeInputProducer::fillDescriptions(), TrackAssociatorByChi2Producer::fillDescriptions(), CondHDF5ESSource::fillDescriptions(), ValueMapTraslator::fillDescriptions(), PhotonMVANtuplizer::fillDescriptions(), edm::EventSetupCacheIdentifierChecker::fillDescriptions(), DDVectorRegistryESProducer::fillDescriptions(), ElectronMVANtuplizer::fillDescriptions(), L1TCaloLayer1Validator::fillDescriptions(), InputDataProducer::fillDescriptions(), HFFilter::fillDescriptions(), HcalDigiToRawuHTR::fillDescriptions(), EGEnergyAnalyzer::fillDescriptions(), L1TMicroGMTInputProducer::fillDescriptions(), L1TMuonCaloSumProducer::fillDescriptions(), edmtest::ExceptionThrowingProducer::fillDescriptions(), edm::service::IgProfService::fillDescriptions(), TrackAssociatorByHitsProducer::fillDescriptions(), PF_PU_FirstVertexTracks::fillDescriptions(), l1t::AMC13DumpToRaw::fillDescriptions(), LogMessageMonitor::fillDescriptions(), HcalLutAnalyzer::fillDescriptions(), B2GHadronicHLTValidation::fillDescriptions(), B2GSingleLeptonHLTValidation::fillDescriptions(), B2GDoubleLeptonHLTValidation::fillDescriptions(), L1TMicroGMTInputProducerFromGen::fillDescriptions(), NanoAODRNTupleOutputModule::fillDescriptions(), l1t::AMCDumpToRaw::fillDescriptions(), TemplatedVertexArbitrator< InputContainer, VTX >::fillDescriptions(), EGammaCutBasedEleIdAnalyzer::fillDescriptions(), TrackFromSeedProducer::fillDescriptions(), TemplatedDeepNNTagInfoProducer< IPTag, SVTag >::fillDescriptions(), HcalLaserHBHEFilter2012::fillDescriptions(), HcalLaserHBHEHFFilter2012::fillDescriptions(), HcalLaserHFFilter2012::fillDescriptions(), SiStripGainsPCLHarvester::fillDescriptions(), BeamSpotOnlineRecordsReader::fillDescriptions(), edm::stream::EDFilterBase::fillDescriptions(), SiStripFEDCheckPlugin::fillDescriptions(), NanoAODOutputModule::fillDescriptions(), edm::global::EDAnalyzerBase::fillDescriptions(), l1t::L1TGlobalAnalyzer::fillDescriptions(), HFPreReconstructor::fillDescriptions(), reco::CentralityProducer::fillDescriptions(), PFCand_NoPU_WithAM::fillDescriptions(), edm::limited::EDAnalyzerBase::fillDescriptions(), edm::one::EDAnalyzerBase::fillDescriptions(), AJJGenJetFilter::fillDescriptions(), TPStubValueMapProducer::fillDescriptions(), PixelLumiDQM::fillDescriptions(), SoftPFElectronTagInfoProducer::fillDescriptions(), JetTagProducer::fillDescriptions(), HFPhase1Reconstructor::fillDescriptions(), HCALGPUAnalyzer::fillDescriptions(), ElectronHEEPIDValueMapProducer::fillDescriptions(), edmtest::ExistingDictionaryTestAnalyzer::fillDescriptions(), edm::stream::EDProducerBase::fillDescriptions(), BTagProbabilityToDiscriminator::fillDescriptions(), edm::one::EDFilterBase::fillDescriptions(), edm::one::EDProducerBase::fillDescriptions(), SiStripGainsCalibTreeWorker::fillDescriptions(), AlignmentMuonHIPTrajectorySelector::fillDescriptions(), l1t::MP7BufferDumpToRaw::fillDescriptions(), APVShotsFilter::fillDescriptions(), magneticfield::VolumeBasedMagneticFieldESProducerFromDB::fillDescriptions(), TestPythiaDecays::fillDescriptions(), SoftPFMuonTagInfoProducer::fillDescriptions(), L1TCaloLayer1::fillDescriptions(), edm::limited::EDFilterBase::fillDescriptions(), edm::global::EDFilterBase::fillDescriptions(), EmbeddingVertexCorrector::fillDescriptions(), edmtest::TestESConcurrentSource::fillDescriptions(), FSQDiJetAve::fillDescriptions(), edmtest::TestESSource::fillDescriptions(), L1TStage2Layer2Producer::fillDescriptions(), HcalHardcodeCalibrations::fillDescriptions(), HLTGenValSource::fillDescriptions(), magneticfield::DD4hep_VolumeBasedMagneticFieldESProducerFromDB::fillDescriptions(), L1TMuonProducer::fillDescriptions(), l1t::BXVectorInputProducer::fillDescriptions(), edm::global::EDProducerBase::fillDescriptions(), edm::limited::EDProducerBase::fillDescriptions(), DeepCMVATagInfoProducer::fillDescriptions(), edmtest::RunLumiESAnalyzer::fillDescriptions(), BoostedDoubleSVProducer::fillDescriptions(), L1TStage2Layer1Producer::fillDescriptions(), l1t::GenToInputProducer::fillDescriptions(), SoftLepton::fillDescriptions(), L1TComparison::fillDescriptions(), L1Validator::fillDescriptions(), L1TCaloLayer1RawToDigi::fillDescriptions(), EmbeddingLHEProducer::fillDescriptions(), VirtualJetProducer::fillDescriptions(), EcalSelectiveReadoutProducer::fillDescriptions(), ExternalLHEProducer::fillDescriptions(), IsoTrackCalibration::fillDescriptions(), L1TStage1Layer2Producer::fillDescriptions(), edmtest::ESTestAnalyzerB::fillDescriptions(), edmtest::AcquireIntESProducer::fillDescriptions(), MuonIdProducer::fillDescriptions(), L1TCaloSummary< INPUT, OUTPUT >::fillDescriptions(), HadronAndPartonSelector::fillDescriptions(), PileupJetIdProducer::fillDescriptions(), FlavorHistoryFilter::fillDescriptions(), SiStripGainsPCLWorker::fillDescriptions(), EcalTrigPrimProducer::fillDescriptions(), LeptonSkimming::fillDescriptions(), timestudy::SleepingProducer::fillDescriptions(), edm::InputSource::fillDescriptions(), JetCleanerForType1METT< T, Textractor >::fillDescriptions(), edm::core::OutputModuleCore::fillDescriptions(), TemplatedSecondaryVertexProducer< IPTI, VTX >::fillDescriptions(), edmtest::ProducerUsingCollector::fillDescriptions(), ChainedJetCorrectorProducer::fillDescriptions(), timestudy::OneSleepingProducer::fillDescriptions(), PFAnalysis::fillDescriptions(), PeriodicAllocMonitor::fillDescriptions(), edmtest::ESTestAnalyzerAZ::fillDescriptions(), JetFlavourClustering::fillDescriptions(), timestudy::OneSleepingAnalyzer::fillDescriptions(), SmearedJetProducerT< T >::fillDescriptions(), L1TConfigDumper::fillDescriptions(), MuonToTrackingParticleAssociatorEDProducer::fillDescriptions(), DQMRootOutputModule::fillDescriptions(), edm::EventContentAnalyzer::fillDescriptions(), HBHEPhase1Reconstructor::fillDescriptions(), timestudy::ExternalWorkSleepingProducer::fillDescriptions(), edmtest::ESTestESProductResolverProviderJ::fillDescriptions(), DQMRootSource::fillDescriptions(), SkippingLayerCosmicNavigationSchoolESProducer::fillDescriptions(), IPProducer< Container, Base, Helper >::fillDescriptions(), and edm::fillDetails::fillIfExists().

99  {
100  if (0 == strcmp(baseType_.c_str(), kSource) || 0 == strcmp(baseType_.c_str(), kService)) {
101  if (!descriptions_.empty() || defaultDescDefined_ == true) {
103  "ConfigurationDescriptions::addDefault, for a source or service only 1 "
104  "ParameterSetDescription may be added\n");
105  }
106  }
107 
108  defaultDescDefined_ = true;
109  defaultDesc_ = psetDescription;
110  }
static const char *const kService
std::vector< std::pair< std::string, ParameterSetDescription > > descriptions_

◆ addWithDefaultLabel()

void ConfigurationDescriptions::addWithDefaultLabel ( ParameterSetDescription const &  psetDescription)

Definition at line 87 of file ConfigurationDescriptions.cc.

References add(), baseType_, edm::defaultModuleLabel(), kService, edm::kSource, label, pluginName_, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by SiStripRecHitConverter::fillDescriptions(), TrackExtraRekeyer::fillDescriptions(), EcalRecHitConvertGPU2CPUFormat::fillDescriptions(), MkFitIterationConfigESProducer::fillDescriptions(), TrackProducerFromPatMuons::fillDescriptions(), CandPtrProjector::fillDescriptions(), PATTauSignalCandidatesProducer::fillDescriptions(), edm::BooleanFilter::fillDescriptions(), edm::BooleanProducer::fillDescriptions(), HLTMuonRecHitClusterFilter::fillDescriptions(), LowPtGsfElectronFinalizer::fillDescriptions(), TestCUDAProducerCPU::fillDescriptions(), MultipleScatteringParametrisationMakerESProducer::fillDescriptions(), V0EventSelector::fillDescriptions(), V0VertexTrackProducer::fillDescriptions(), L1TPFCandMultiMerger::fillDescriptions(), HLTTagAndProbeOfflineSource< TagType, TagCollType, ProbeType, ProbeCollType >::fillDescriptions(), EcalUncalibRecHitPhase2WeightsProducerGPU::fillDescriptions(), ParameterSetBlobProducer::fillDescriptions(), HcalDigisProducerGPU::fillDescriptions(), PATTauHybridProducer::fillDescriptions(), PackedCandidatesTrackLiteModifier::fillDescriptions(), EcalPhase2DigiToGPUProducer::fillDescriptions(), EcalUncalibRecHitPhase2WeightsProducer::fillDescriptions(), HcalCPUDigisProducer::fillDescriptions(), SiPixelDigiErrorsSoAFromCUDA::fillDescriptions(), PFRecoTauDiscriminationByIPCut::fillDescriptions(), cms::alpakatest::TestESProducerT< TProduct, TRecord >::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::AlpakaBackendProducer::fillDescriptions(), TestCUDAProducerGPU::fillDescriptions(), TestCUDAProducerGPUFirst::fillDescriptions(), GEMEffByGEMCSCSegmentClient::fillDescriptions(), LSNumberFilter::fillDescriptions(), SiPixelROCsStatusAndMappingWrapperESProducer::fillDescriptions(), SiPixelDigisSoAFromCUDA::fillDescriptions(), FRDOutputModule::fillDescriptions(), HcalCPURecHitsProducer::fillDescriptions(), edmtest::PathsAndConsumesOfModulesTestService::fillDescriptions(), HLTMultiplicityValueProducerFromNestedCollection< INP_TYPE, OUT_TYPE >::fillDescriptions(), L1TStage2ObjectComparison< T >::fillDescriptions(), SiPixelTrackComparisonHarvester::fillDescriptions(), edmtest::DetSetVectorThingProducer::fillDescriptions(), SiPixelDigiMorphing::fillDescriptions(), SingleLongTrackProducer::fillDescriptions(), TestCUDAProducerGPUtoCPU::fillDescriptions(), HLTPixelIsolTrackL1TFilter::fillDescriptions(), L1TEGMultiMerger::fillDescriptions(), UniqueStringProducer::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::EcalElectronicsMappingHostESProducer::fillDescriptions(), HiSignalGenJetProducer::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::PFRecHitECALParamsESProducer::fillDescriptions(), MLPFProducer::fillDescriptions(), TestAlpakaHostDeviceCompare::fillDescriptions(), TestCUDAAnalyzerGPU::fillDescriptions(), CUDATestOpaqueAdditionModule::fillDescriptions(), ROCmTestOpaqueAdditionModule::fillDescriptions(), HLTMultiplicityValueProducer< INP_TYPE, OUT_TYPE >::fillDescriptions(), ShortenedTrackResolution::fillDescriptions(), HiSignalParticleProducer::fillDescriptions(), SiPhase2OuterTrackerLorentzAngleReader::fillDescriptions(), ZtoMMEventSelector::fillDescriptions(), SiPhase2BadStripChannelReader::fillDescriptions(), Run3ScoutingParticleToRecoPFCandidateProducer::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::EcalMultifitParametersHostESProducer::fillDescriptions(), PixelCPEFastESProducerT< TrackerTraits >::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::PFRecHitHCALParamsESProducer::fillDescriptions(), HLTPFTauIPFilter::fillDescriptions(), TestCUDAProducerGPUEW::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::AlpakaTestOpaqueAdditionModule::fillDescriptions(), HLTEgammaDoubleXGBoostCombFilter::fillDescriptions(), HLTJetsMatchedToFilteredJetsProducer< TriggerJetsType, TriggerJetsRefType >::fillDescriptions(), HLTScoutingPrimaryVertexProducer::fillDescriptions(), PhotonXGBoostProducer::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::EcalUncalibRecHitProducerPortable::fillDescriptions(), PixelTrackDumpAlpakaT< TrackerTraits >::fillDescriptions(), CUDATestWrapperAdditionModule::fillDescriptions(), ROCmTestWrapperAdditionModule::fillDescriptions(), AlcaRecoTrackSelector::fillDescriptions(), pat::MuonMvaIDEstimator::fillDescriptions(), SiStripClustersFromSOA::fillDescriptions(), AlpakaBackendFilter::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaESProducerA::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaESProducerC::fillDescriptions(), ClusterShapeHitFilterESProducer::fillDescriptions(), CUDATestDeviceAdditionModule::fillDescriptions(), CUDATestKernelAdditionModule::fillDescriptions(), ROCmTestDeviceAdditionModule::fillDescriptions(), ROCmTestKernelAdditionModule::fillDescriptions(), HPSPFTauProducer::fillDescriptions(), HLTPathSelector::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::EcalRawToDigiPortable::fillDescriptions(), ZdcHardcodeGeometryEP::fillDescriptions(), SiStripBadStripFromASCIIFile::fillDescriptions(), LegacyPFRecHitProducer::fillDescriptions(), GEMEffByGEMCSCSegmentSource::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::AlpakaTestWrapperAdditionModule::fillDescriptions(), HLTTripletMass< T1, T2, T3 >::fillDescriptions(), L1SeedConePFJetProducer::fillDescriptions(), TrackMultiplicityFilter::fillDescriptions(), ZtoEEEventSelector::fillDescriptions(), EcalCPURecHitProducer::fillDescriptions(), MuonIDFilterProducerForHLT::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaESProducerE::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaESProducerNull::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::AlpakaTestKernelAdditionModule::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::AlpakaTestDeviceAdditionModule::fillDescriptions(), HLTMuonL3andL2PreFilter::fillDescriptions(), L1GTSingleObjectCond::fillDescriptions(), PFEGammaToCandidate::fillDescriptions(), HiHFFilterProducer::fillDescriptions(), SiPixelDigiErrorsFromSoA::fillDescriptions(), SiPixelDigiErrorsFromSoAAlpaka::fillDescriptions(), TotemGeometryESModule::fillDescriptions(), SiStripNoisesAndBadCompsChecker::fillDescriptions(), MuDTTPGThetaFlatTableProducer::fillDescriptions(), TestCUDAProducerGPUEWTask::fillDescriptions(), TkAlCaSkimTreeMerger::fillDescriptions(), SiPixelMonitorRecHitsSoAAlpaka< T >::fillDescriptions(), L2TauTagFilter::fillDescriptions(), HBHERecHitProducerGPU::fillDescriptions(), edmtest::ProducerWithPSetDesc::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaESProducerB::fillDescriptions(), MuDTTPGPhiFlatTableProducer::fillDescriptions(), TestPortableProducerCPU::fillDescriptions(), SiPixelCompareRecHitsSoAAlpaka< T >::fillDescriptions(), L1GTTripleObjectCond::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::SiPixelGainCalibrationForHLTSoAESProducer::fillDescriptions(), ZtoEEElectronTrackProducer::fillDescriptions(), ZtoMMMuonTrackProducer::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaESProducerD::fillDescriptions(), BeamSpotAnalyzer::fillDescriptions(), HcalGPUComparisonTask::fillDescriptions(), SiPixelCompareVertexSoAAlpaka::fillDescriptions(), HLTL1TMatchedJetsVBFFilter< T >::fillDescriptions(), SiPixelCompareVertexSoA::fillDescriptions(), SiPixelDigisClustersFromSoAT< TrackerTraits >::fillDescriptions(), MuonBeamspotConstraintValueMapProducer::fillDescriptions(), TrackFromPackedCandidateProducer::fillDescriptions(), L1GTQuadObjectCond::fillDescriptions(), EventSelectorAdapter< T >::fillDescriptions(), GenJetGenPartMerger::fillDescriptions(), SiPixelDigisClustersFromSoAAlpaka< TrackerTraits >::fillDescriptions(), SiPixelPhase2DigiToClusterCUDA::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::PixelCPEFastParamsESProducerAlpaka< TrackerTraits >::fillDescriptions(), SiPixelRecHitCUDAT< TrackerTraits >::fillDescriptions(), SiPixelRecHitFromCUDAT< TrackerTraits >::fillDescriptions(), BPHHistoSpecificDecay::fillDescriptions(), L3MuonCandidateProducerFromMuons::fillDescriptions(), MuGEMMuonExtTableProducer::fillDescriptions(), HcalFEDIntegrityTask::fillDescriptions(), WtoLNuSelector::fillDescriptions(), BoostedJetONNXJetTagsProducer::fillDescriptions(), ConvertingESProducerT< Record, Target, Source >::fillDescriptions(), SiPixelRecHitFromSoAAlpaka< TrackerTraits >::fillDescriptions(), SiPixelRecHitSoAFromCUDAT< TrackerTraits >::fillDescriptions(), BadParticleFilter::fillDescriptions(), cms::CkfTrackCandidateMaker::fillDescriptions(), MkFitGeometryESProducer::fillDescriptions(), PixelTrackSoAFromCUDAT< TrackerTraits >::fillDescriptions(), TestPortableProducerCUDA::fillDescriptions(), HLTJetTag< T >::fillDescriptions(), SiPixelMonitorVertexSoA::fillDescriptions(), HLTPPSJetComparisonFilter::fillDescriptions(), SiPixelMonitorVertexSoAAlpaka::fillDescriptions(), DeepJetTableProducer< T >::fillDescriptions(), PileupJetIDVarProducer::fillDescriptions(), PATRefitVertexProducer::fillDescriptions(), BeamSpotWrite2DB::fillDescriptions(), HLTDiPFJetPlusTausCandidatePFJetProducer::fillDescriptions(), PATTracksToPackedCandidates::fillDescriptions(), ParticleNetSonicJetTagsProducer::fillDescriptions(), PPSTimingCalibrationPCLWorker::fillDescriptions(), MkFitSiPixelHitConverter::fillDescriptions(), TkTransientTrackingRecHitBuilderESProducer::fillDescriptions(), SiPixelMonitorTrackSoA< T >::fillDescriptions(), SiPixelMonitorTrackSoAAlpaka< T >::fillDescriptions(), TkAlCaOverlapTagger::fillDescriptions(), L1GTDoubleObjectCond::fillDescriptions(), PPSTimingCalibrationPCLHarvester::fillDescriptions(), ttbarEventSelector::fillDescriptions(), SiPixelRecHitSoAFromLegacyT< TrackerTraits >::fillDescriptions(), FixedGridRhoProducerFastjetFromRecHit::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::SiPixelPhase2DigiToCluster::fillDescriptions(), MkFitEventOfHitsProducer::fillDescriptions(), FilterTrackerOn::fillDescriptions(), HitResol::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::SiPixelCablingSoAESProducer::fillDescriptions(), CalibratedPhotonProducerT< T >::fillDescriptions(), AlCaRecoTriggerBitsRcdUpdate::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::PixelVertexProducerAlpaka< TrackerTraits >::fillDescriptions(), MuDTSegmentExtTableProducer::fillDescriptions(), OnlineBeamMonitor::fillDescriptions(), DiMuonVertexMonitor::fillDescriptions(), EcalUncalibRecHitProducerGPU::fillDescriptions(), RawEventOutputModuleForBU< Consumer >::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::PFRecHitTopologyESProducer< CAL >::fillDescriptions(), cms::CkfTrajectoryMaker::fillDescriptions(), PixelTrackDumpCUDAT< TrackerTraits >::fillDescriptions(), SeedGeneratorFromL1TTracksEDProducer::fillDescriptions(), AlignmentTrackFromVertexSelectorModule::fillDescriptions(), Merger< InputCollection, OutputCollection, P >::fillDescriptions(), TkAlCaRecoMonitor::fillDescriptions(), PPSAlignmentWorker::fillDescriptions(), JetConstituentTableProducer< T >::fillDescriptions(), SiPixelLorentzAngleReader::fillDescriptions(), PixelVertexProducerCUDAT< TrackerTraits >::fillDescriptions(), BeamSpotOnlineProducer::fillDescriptions(), SiStripClustersSOAtoHost::fillDescriptions(), MuonFSRAssociator::fillDescriptions(), SiPixelQualityESProducer::fillDescriptions(), AlignmentTrackFromVertexCompositeCandidateSelectorModule::fillDescriptions(), SiPixelFakeLorentzAngleESSource::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaGlobalProducerOffset::fillDescriptions(), CAHitNtupletCUDAT< TrackerTraits >::fillDescriptions(), SiStripBadChannelPatcher::fillDescriptions(), MuonFSRProducer::fillDescriptions(), MkFitSeedConverter::fillDescriptions(), SeedProducerFromSoAT< TrackerTraits >::fillDescriptions(), SiPixelCompareRecHitsSoA< T >::fillDescriptions(), ZEEDetails::fillDescriptions(), TrackDistanceValueMapProducer::fillDescriptions(), SiPhase2BadStripChannelBuilder::fillDescriptions(), Tracker_OldtoNewConverter::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::SiPixelRecHitAlpaka< TrackerTraits >::fillDescriptions(), SinglePhotonJetPlusHOFilter::fillDescriptions(), TestPortableTranscriber::fillDescriptions(), LeptonInJetProducer< T >::fillDescriptions(), HcalMLTask::fillDescriptions(), SiPixelMonitorRecHitsSoA< T >::fillDescriptions(), PATLeptonTimeLifeInfoProducer< T >::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::CAHitNtupletAlpaka< TrackerTraits >::fillDescriptions(), CalibratedElectronProducerT< T >::fillDescriptions(), BeamProfile2DBWriter::fillDescriptions(), AlignmentPrescaler::fillDescriptions(), JetConstituentSelector< T, C >::fillDescriptions(), L1TComparisonResultFilter< T >::fillDescriptions(), GlobalVariablesTableProducer::fillDescriptions(), SiStripHitEfficiencyHarvester::fillDescriptions(), TrackTypeMonitor::fillDescriptions(), LhcTrackAnalyzer::fillDescriptions(), TrackSplittingMonitor::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::SiPixelRawToCluster< TrackerTraits >::fillDescriptions(), AlignPCLThresholdsWriter< T >::fillDescriptions(), SagittaBiasNtuplizer::fillDescriptions(), BeamProfile2DBReader::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaGlobalProducerE::fillDescriptions(), DisappearingMuonsSkimming::fillDescriptions(), TauTagFilter::fillDescriptions(), BeamSpotOnlineRecordsWriter::fillDescriptions(), AlCaRecoTriggerBitsRcdRead::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::BeamSpotDeviceProducer::fillDescriptions(), LeptonFSRProducer::fillDescriptions(), SiPixelRawToClusterCUDAT< TrackerTraits >::fillDescriptions(), JetPlusTrackAddonSeedProducer::fillDescriptions(), TtbarTrackProducer::fillDescriptions(), SiPhase2OuterTrackerLorentzAngleWriter::fillDescriptions(), HLTScoutingPFProducer::fillDescriptions(), IsFromLostTrackMapProducer::fillDescriptions(), NanoAODBaseCrossCleaner::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaGlobalProducer::fillDescriptions(), edm::FilterValueMapWrapper< T, C >::fillDescriptions(), BeamSpotRcdReader::fillDescriptions(), MuDTMuonExtTableProducer::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaStreamSynchronizingProducer::fillDescriptions(), Phase2L1CaloPFClusterEmulator::fillDescriptions(), TauDiscriminationAgainstElectronMVA6< TauType, TauDiscriminator, ElectronType >::fillDescriptions(), BeamSpotOnlineFromOfflineConverter::fillDescriptions(), SimTrackstersProducer::fillDescriptions(), cms::SiPixelCondObjOfflineReader::fillDescriptions(), cms::SiPixelCondObjReader::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaProducer::fillDescriptions(), CaloTPTableProducer::fillDescriptions(), SiPixelCalSingleMuonAnalyzer::fillDescriptions(), SiStripLorentzAnglePCLHarvester::fillDescriptions(), SiStripGainPayloadCopyAndExclude::fillDescriptions(), cms::SiPixelCondObjAllPayloadsReader::fillDescriptions(), VertexTableProducer::fillDescriptions(), SiPhase2BadStripConfigurableFakeESSource::fillDescriptions(), edmtest::PluginUsingProducer::fillDescriptions(), TauDiscriminationAgainstElectronDeadECAL< TauType, TauDiscriminator >::fillDescriptions(), L1GTTInputProducer::fillDescriptions(), cms::SiPixelCondObjForHLTReader::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::EcalMultifitConditionsHostESProducer::fillDescriptions(), TrackerGeometryCompare::fillDescriptions(), TkAlV0sAnalyzer::fillDescriptions(), L1PhotonRecoTreeProducer::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::CaloRecHitSoAProducer< CAL >::fillDescriptions(), PPSAlignmentHarvester::fillDescriptions(), PixelTrackProducerFromSoAAlpaka< TrackerTraits >::fillDescriptions(), TriggerObjectTableProducer::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaGlobalProducerNullES::fillDescriptions(), BeamSpotOnlineShifter::fillDescriptions(), HLTJetHFCleaner< JetType >::fillDescriptions(), TrackerRemapper::fillDescriptions(), PixelTrackProducerFromSoAT< TrackerTraits >::fillDescriptions(), GeneralPurposeVertexAnalyzer::fillDescriptions(), TestAlpakaObjectAnalyzer::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaStreamProducer::fillDescriptions(), NanoAODDQM::fillDescriptions(), JetHTAnalyzer::fillDescriptions(), HoverEValueMapProducer< T >::fillDescriptions(), Phase2L1CaloJetEmulator::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::PFRecHitSoAProducer< CAL >::fillDescriptions(), MuDigiBaseProducer< DETECTOR_T, DIGI_T >::fillDescriptions(), SiPixelGainCalibrationRejectNoisyAndDead::fillDescriptions(), NearbyPixelClustersAnalyzer::fillDescriptions(), SiStripLorentzAnglePCLMonitor::fillDescriptions(), CosmicSplitterValidation::fillDescriptions(), TrackerOfflineValidationSummary::fillDescriptions(), Phase2L1CaloEGammaEmulator::fillDescriptions(), LegacyPFClusterProducer::fillDescriptions(), PixelBaryCentreAnalyzer::fillDescriptions(), DiMuonMassBiasClient::fillDescriptions(), SiPixelCompareTrackSoAAlpaka< T >::fillDescriptions(), EopTreeWriter::fillDescriptions(), MuCSCTnPFlatTableProducer::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::PFClusterSoAProducer::fillDescriptions(), SiStripHitEfficiencyWorker::fillDescriptions(), NearbyPixelClustersProducer::fillDescriptions(), PrimaryVertexProducer::fillDescriptions(), DiMuonVertexValidation::fillDescriptions(), L1TrackSelectionProducer::fillDescriptions(), MkFitOutputConverter::fillDescriptions(), DiElectronVertexValidation::fillDescriptions(), edm::ThinningProducer< Collection, Selector >::fillDescriptions(), DiMuonMassBiasMonitor::fillDescriptions(), SiStripApvGainInspector::fillDescriptions(), SiPixelPhase1Analyzer::fillDescriptions(), SiStripClusterizerFromRawGPU::fillDescriptions(), SiPixelCompareTrackSoA< T >::fillDescriptions(), ConvertingESProducerWithDependenciesT< CombinedRecord< DepsRecords... >, Target, Dependencies... >::fillDescriptions(), LHCInfoProducer::fillDescriptions(), L1TrackVertexAssociationProducer::fillDescriptions(), SiStripApvGainFromFileBuilder::fillDescriptions(), TrackerGeometryIntoNtuples::fillDescriptions(), SplitVertexResolution::fillDescriptions(), TrackerOfflineValidation::fillDescriptions(), SiStripCPEAnalyzer::fillDescriptions(), OverlapValidation::fillDescriptions(), reco::modules::TrackerTrackHitFilter::fillDescriptions(), EgammaHLTFilteredObjProducer< OutCollType >::fillDescriptions(), SiStripCondVisualizer::fillDescriptions(), DRNCorrectionProducerT< T >::fillDescriptions(), MuRecObjBaseProducer< DETECTOR_T, RECO_T, GEOM_T >::fillDescriptions(), DiMuonValidation::fillDescriptions(), SiStripMonitorApproximateCluster::fillDescriptions(), EopElecTreeWriter::fillDescriptions(), SiPixelLorentzAnglePCLWorker::fillDescriptions(), SiPixelLorentzAnglePCLHarvester::fillDescriptions(), TestPortableAnalyzer::fillDescriptions(), TritonService::fillDescriptions(), SiPixelPhase1RawDataErrorComparator::fillDescriptions(), edm::GenericConsumer::fillDescriptions(), GeneralPurposeTrackAnalyzer::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::PFClusterParamsESProducer::fillDescriptions(), SiPixelLorentzAnglePCLHarvesterMCS::fillDescriptions(), L2TauNNProducerAlpaka::fillDescriptions(), L2TauNNProducer::fillDescriptions(), HLTDoubletDZ< T1, T2 >::fillDescriptions(), DMRChecker::fillDescriptions(), SiStripClusterizerFromRaw::fillDescriptions(), ShortenedTrackValidation::fillDescriptions(), TestAlpakaAnalyzer::fillDescriptions(), SimpleFlatTableProducer< T >::fillDescriptions(), SimpleTypedExternalFlatTableProducer< T, V >::fillDescriptions(), BXVectorSimpleFlatTableProducer< T >::fillDescriptions(), EventSingletonSimpleFlatTableProducer< T >::fillDescriptions(), FirstObjectSimpleFlatTableProducer< T >::fillDescriptions(), LumiSingletonSimpleFlatTableProducer< T >::fillDescriptions(), and LumiSimpleFlatTableProducer< T, TProd >::fillDescriptions().

87  {
89  if (kService == baseType_) {
91  } else if (kSource == baseType_) {
92  label = "source";
93  } else {
95  }
96  add(label, psetDescription);
97  }
static const char *const kService
char const * label
std::string defaultModuleLabel(std::string label)
void add(std::string const &label, ParameterSetDescription const &psetDescription)

◆ begin()

ConfigurationDescriptions::iterator ConfigurationDescriptions::begin ( void  )

Definition at line 119 of file ConfigurationDescriptions.cc.

References descriptions_.

119 { return descriptions_.begin(); }
std::vector< std::pair< std::string, ParameterSetDescription > > descriptions_

◆ comment()

std::string const& edm::ConfigurationDescriptions::comment ( ) const
inline

Definition at line 44 of file ConfigurationDescriptions.h.

References comment_.

Referenced by print().

◆ defaultDescription()

ParameterSetDescription * ConfigurationDescriptions::defaultDescription ( )

Returns 0 if no default has been assigned.

Definition at line 112 of file ConfigurationDescriptions.cc.

References defaultDesc_, and defaultDescDefined_.

Referenced by edm::edmodule_mightGet_config(), cms::alpakatools::module_backend_config(), and edm::eventsetup::ESProductResolverProvider::prevalidate().

112  {
113  if (defaultDescDefined_) {
114  return &defaultDesc_;
115  }
116  return nullptr;
117  }

◆ end()

ConfigurationDescriptions::iterator ConfigurationDescriptions::end ( void  )

Definition at line 121 of file ConfigurationDescriptions.cc.

References descriptions_.

Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().

121 { return descriptions_.end(); }
std::vector< std::pair< std::string, ParameterSetDescription > > descriptions_

◆ print()

void ConfigurationDescriptions::print ( std::ostream &  os,
std::string const &  moduleLabel,
bool  brief,
bool  printOnlyLabels,
size_t  lineWidth,
int  indentation,
int  iPlugin 
) const

Definition at line 271 of file ConfigurationDescriptions.cc.

References comment(), counter, ztail::d, defaultDesc_, defaultDescDefined_, descriptions_, relativeConstraints::empty, printContent_cfi::indentation, edm::ParameterSetDescription::isUnknown(), RecoTauValidation_cfi::lineWidth, HerwigMaxPtPartonFilter_cfi::moduleLabel, edm::DocFormatHelper::offsetModuleLabel(), printForLabel(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, mitigatedMETSequence_cff::U, and edm::DocFormatHelper::wrapAndPrintText().

277  {
278  if (!brief) {
279  if (!comment().empty()) {
281  }
282  os << "\n";
283  }
284 
285  if (descriptions_.empty() && !defaultDescDefined_) {
286  char oldFill = os.fill();
288  os << std::setfill(' ') << std::setw(indentation) << "";
289  os << "There are no PSet descriptions defined for this plugin.\n";
290  os << std::setfill(' ') << std::setw(indentation) << "";
291  os << "PSets will not be validated and no cfi files will be generated.\n";
292  os << std::setfill(oldFill);
293  if (!brief)
294  os << "\n";
295  return;
296  }
297 
300  char oldFill = os.fill();
301  os << std::setfill(' ') << std::setw(indentation) << "";
302  os << "This plugin has not implemented the function which defines its\n";
303  os << std::setfill(' ') << std::setw(indentation) << "";
304  os << "configuration descriptions yet. No descriptions are available.\n";
305  os << std::setfill(' ') << std::setw(indentation) << "";
306  os << "Its PSets will not be validated, and no cfi files will be generated.\n";
307  os << std::setfill(oldFill);
308  if (!brief)
309  os << "\n";
310  return;
311  }
312 
313  if (!brief) {
314  std::stringstream ss;
315  if (defaultDescDefined_) {
316  if (descriptions_.empty()) {
317  ss << "This plugin has only one PSet description. "
318  << "This description is always used to validate configurations. "
319  << "Because this configuration has no label, no cfi files will be generated.";
320  } else {
321  ss << "This plugin has " << (descriptions_.size() + 1U) << " PSet descriptions. "
322  << "The description used to validate a configuration is selected by "
323  << "matching the module labels. If none match, then the last description, "
324  << "which has no label, is selected. "
325  << "A cfi file will be generated for each configuration with a module label.";
326  }
327  } else {
328  if (descriptions_.size() == 1U) {
329  ss << "This plugin has " << descriptions_.size() << " PSet description. "
330  << "This description is always used to validate configurations. "
331  << "The label below is used when generating the cfi file.";
332  } else {
333  ss << "This plugin has " << descriptions_.size() << " PSet descriptions. "
334  << "The description used to validate a configuration is selected by "
335  << "matching the module labels. If none match the first description below is used. "
336  << "The module labels below are also used when generating the cfi files.";
337  }
338  }
340  os << "\n";
341  }
342 
344 
345  DescriptionCounter counter;
346  counter.iPlugin = iPlugin;
347  counter.iSelectedModule = 0;
348  counter.iModule = 0;
349 
350  for (auto const& d : descriptions_) {
351  printForLabel(d, os, moduleLabel, brief, printOnlyLabels, lineWidth, indentation, counter);
352  }
353 
354  if (defaultDescDefined_) {
355  printForLabel(os,
356  std::string("@default"),
357  defaultDesc_,
358  moduleLabel,
359  brief,
360  printOnlyLabels,
361  lineWidth,
362  indentation,
363  counter);
364  }
365  }
static void wrapAndPrintText(std::ostream &os, std::string const &text, size_t indent, size_t suggestedWidth)
void printForLabel(std::pair< std::string, ParameterSetDescription > const &labelAndDesc, std::ostream &os, std::string const &moduleLabel, bool brief, bool printOnlyLabels, size_t lineWidth, int indentationn, DescriptionCounter &counter) const
static int offsetModuleLabel()
std::vector< std::pair< std::string, ParameterSetDescription > > descriptions_
d
Definition: ztail.py:151
static std::atomic< unsigned int > counter
std::string const & comment() const

◆ printForLabel() [1/2]

void ConfigurationDescriptions::printForLabel ( std::pair< std::string, ParameterSetDescription > const &  labelAndDesc,
std::ostream &  os,
std::string const &  moduleLabel,
bool  brief,
bool  printOnlyLabels,
size_t  lineWidth,
int  indentationn,
DescriptionCounter counter 
) const
private

Definition at line 367 of file ConfigurationDescriptions.cc.

References printContent_cfi::indentation, RecoTauValidation_cfi::lineWidth, and HerwigMaxPtPartonFilter_cfi::moduleLabel.

Referenced by print().

374  {
375  printForLabel(os,
376  labelAndDesc.first,
377  labelAndDesc.second,
378  moduleLabel,
379  brief,
380  printOnlyLabels,
381  lineWidth,
382  indentation,
383  counter);
384  }
void printForLabel(std::pair< std::string, ParameterSetDescription > const &labelAndDesc, std::ostream &os, std::string const &moduleLabel, bool brief, bool printOnlyLabels, size_t lineWidth, int indentationn, DescriptionCounter &counter) const

◆ printForLabel() [2/2]

void ConfigurationDescriptions::printForLabel ( std::ostream &  os,
std::string const &  label,
ParameterSetDescription const &  description,
std::string const &  moduleLabel,
bool  brief,
bool  printOnlyLabels,
size_t  lineWidth,
int  indentationn,
DescriptionCounter counter 
) const
private

Definition at line 386 of file ConfigurationDescriptions.cc.

References baseType_, makeListRunsInFiles::description, printContent_cfi::indentation, kService, edm::kSource, label, RecoTauValidation_cfi::lineWidth, HerwigMaxPtPartonFilter_cfi::moduleLabel, edm::DocFormatHelper::offsetTopLevelPSet(), hgcalPlots::section, edm::DocFormatHelper::setBrief(), edm::DocFormatHelper::setIndentation(), edm::DocFormatHelper::setLineWidth(), edm::DocFormatHelper::setParent(), edm::DocFormatHelper::setSection(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, edm::DocFormatHelper::TOP, and edm::DocFormatHelper::wrapAndPrintText().

394  {
395  ++counter.iModule;
396  if (!moduleLabel.empty() && label != moduleLabel)
397  return;
398  ++counter.iSelectedModule;
399 
400  std::stringstream ss;
401  ss << counter.iPlugin << "." << counter.iSelectedModule;
402  std::string section = ss.str();
403 
404  char oldFill = os.fill();
405  os << std::setfill(' ') << std::setw(indentation) << "" << std::setfill(oldFill);
406  os << section << " ";
407  if (label == std::string("@default")) {
408  os << "description without a module label\n";
409  } else {
410  if (!brief) {
411  if (0 == strcmp(baseType_.c_str(), kSource) || 0 == strcmp(baseType_.c_str(), kService)) {
412  os << "label: ";
413  } else {
414  os << "module label: ";
415  }
416  }
417  os << label << "\n";
418  }
419 
420  if (!brief) {
421  if (!description.comment().empty()) {
423  }
424  os << "\n";
425  }
426  if (printOnlyLabels)
427  return;
428 
429  DocFormatHelper dfh;
430  dfh.setBrief(brief);
431  dfh.setLineWidth(lineWidth);
432  dfh.setIndentation(indentation + DocFormatHelper::offsetTopLevelPSet());
433  dfh.setSection(section);
434  dfh.setParent(DocFormatHelper::TOP);
435 
436  description.print(os, dfh);
437  }
static const char *const kService
static void wrapAndPrintText(std::ostream &os, std::string const &text, size_t indent, size_t suggestedWidth)
char const * label
static int offsetTopLevelPSet()

◆ setComment() [1/2]

void ConfigurationDescriptions::setComment ( std::string const &  value)

Definition at line 48 of file ConfigurationDescriptions.cc.

References comment_, and relativeConstraints::value.

Referenced by ConfigToolBase.ConfigToolBase::apply(), MPIService::fillDescriptions(), edm::BooleanFilter::fillDescriptions(), edm::BooleanProducer::fillDescriptions(), TestCUDAProducerCPU::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::AlpakaBackendProducer::fillDescriptions(), TestCUDAProducerGPU::fillDescriptions(), TestCUDAProducerGPUFirst::fillDescriptions(), edmtest::PathsAndConsumesOfModulesTestService::fillDescriptions(), L1THLTTauMatching::fillDescriptions(), L1HLTTauMatching::fillDescriptions(), TestCUDAProducerGPUtoCPU::fillDescriptions(), PFJetsMaxInvMassModule::fillDescriptions(), TestCUDAAnalyzerGPU::fillDescriptions(), L2TauJetsMerger::fillDescriptions(), TestCUDAProducerGPUEW::fillDescriptions(), AlpakaBackendFilter::fillDescriptions(), ROCmMonitoringService::fillDescriptions(), edm::service::UnixSignalService::fillDescriptions(), CUDAMonitoringService::fillDescriptions(), TestCUDAProducerGPUEWTask::fillDescriptions(), L1TMuonEndCapShowerProducer::fillDescriptions(), PFJetsTauOverlapRemoval::fillDescriptions(), TauJetSelectorForHLTTrackSeeding::fillDescriptions(), HLTL1TMatchedJetsVBFFilter< T >::fillDescriptions(), MillePedeFileConverter::fillDescriptions(), L2TauPixelIsoTagProducer::fillDescriptions(), PFTauL1TJetsMatching::fillDescriptions(), MillePedeFileExtractor::fillDescriptions(), HLTDiPFJetPlusTausCandidatePFJetProducer::fillDescriptions(), VertexFromTrackProducer::fillDescriptions(), edm::service::LoadAllDictionaries::fillDescriptions(), edm::PrintEventSetupDataRetrieval::fillDescriptions(), PrintLoadingPlugins::fillDescriptions(), edm::PrintEventSetupContent::fillDescriptions(), MuonTrackingRegionByPtBuilder::fillDescriptions(), edm::service::Timing::fillDescriptions(), edm::EventSetupRecordDataGetter::fillDescriptions(), L1TJetsMatching< T >::fillDescriptions(), edm::service::Tracer::fillDescriptions(), MuonTrackingRegionBuilder::fillDescriptions(), CSCDCCUnpacker::fillDescriptions(), NVProfilerService::fillDescriptions(), edm::GenericConsumer::fillDescriptions(), edm::service::StallMonitor::fillDescriptions(), and edm::EventContentAnalyzer::fillDescriptions().

◆ setComment() [2/2]

void ConfigurationDescriptions::setComment ( char const *  value)

◆ validate()

void ConfigurationDescriptions::validate ( ParameterSet pset,
std::string const &  moduleLabel 
) const

Definition at line 123 of file ConfigurationDescriptions.cc.

References defaultDesc_, defaultDescDefined_, descriptions_, edm::for_all(), HerwigMaxPtPartonFilter_cfi::moduleLabel, muonDTDigis_cfi::pset, and edm::ParameterSetDescription::validate().

Referenced by edm::eventsetup::ComponentMaker< edm::eventsetup::LooperMakerTraits, TType >::addTo(), and edm::Maker::makeModule().

123  {
124  ParameterSetDescription const* psetDesc = nullptr;
125  for_all(descriptions_, std::bind(&matchLabel, std::placeholders::_1, std::cref(moduleLabel), std::ref(psetDesc)));
126 
127  // If there is a matching label
128  if (psetDesc != nullptr) {
129  psetDesc->validate(pset);
130  }
131  // Is there an explicit description to be used for a non standard label
132  else if (defaultDescDefined_) {
134  }
135  // Otherwise use the first one.
136  else if (!descriptions_.empty()) {
137  descriptions_[0].second.validate(pset);
138  }
139  // It is possible for no descriptions to be defined and no validation occurs
140  // for this module ever.
141  }
Func for_all(ForwardSequence &s, Func f)
wrapper for std::for_each
Definition: Algorithms.h:14
std::vector< std::pair< std::string, ParameterSetDescription > > descriptions_
void validate(ParameterSet &pset) const

◆ writeCfiForLabel()

void ConfigurationDescriptions::writeCfiForLabel ( std::pair< std::string, ParameterSetDescription > const &  labelAndDesc,
std::string const &  baseType,
std::string const &  pluginName,
std::set< std::string > &  usedCfiFileNames 
)
staticprivate

Definition at line 200 of file ConfigurationDescriptions.cc.

References cms::Exception::addContext(), gather_cfg::cout, Exception, printContent_cfi::indentation, kService, edm::kSource, edm::errors::LogicError, L1TdeCSCTF_cfi::outFile, crabTemplate::pluginName, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by writeCfis().

203  {
204  if (0 == strcmp(baseType.c_str(), kService) && labelAndDesc.first != pluginName) {
206  "ConfigurationDescriptions::writeCfiForLabel\nFor a service the label and the plugin name "
207  "must be the same.\n")
208  << "This error is probably caused by an incorrect label being passed\nto the ConfigurationDescriptions::add "
209  "function earlier.\n"
210  << "plugin name = \"" << pluginName << "\" label name = \"" << labelAndDesc.first << "\"\n";
211  }
212 
213  std::string cfi_filename;
214  if (0 == strcmp(baseType.c_str(), kSource)) {
215  cfi_filename = pluginName + "_cfi.py";
216  } else {
217  cfi_filename = labelAndDesc.first + "_cfi.py";
218  }
219  if (!usedCfiFileNames.insert(cfi_filename).second) {
221  "Two cfi files are being generated with the same name in the same directory.\n");
222  ex << "The cfi file name is '" << cfi_filename << "' and\n"
223  << "the module label is \'" << labelAndDesc.first << "\'.\n"
224  << "This error is probably caused by an error in one or more fillDescriptions functions\n"
225  << "where duplicate module labels are being passed to the ConfigurationDescriptions::add\n"
226  << "function. All such module labels must be unique within a package.\n"
227  << "If you do not want the generated cfi file and do not need more than one\n"
228  << "description for a plugin, then a way to fix this is to use the addDefault\n"
229  << "function instead of the add function.\n"
230  << "There are 3 common ways this problem can happen.\n"
231  << "1. This can happen when a module label is explicitly duplicated in one or more\n"
232  << "fillDescriptions functions. Fix these by changing the module labels to be unique.\n"
233  << "2. This can also happen when a module class is a template class and plugins are\n"
234  << "defined by instantiations with differing template parameters and these plugins\n"
235  << "share the same fillDescriptions function. Fix these by specializing the fillDescriptions\n"
236  << "function for each template instantiation.\n"
237  << "3. This can also happen when there is an inheritance heirarchy and multiple plugin modules\n"
238  << "are defined using derived classes and the base class which share the same fillDescriptions\n"
239  << "function. Fix these by redefining the fillDescriptions function in each derived class.\n";
240  ex.addContext("Executing function ConfigurationDescriptions::writeCfiForLabel");
241  throw ex;
242  }
243  std::ofstream outFile(cfi_filename.c_str());
244  if (outFile.fail()) {
245  edm::Exception ex(edm::errors::LogicError, "Creating cfi file failed.\n");
246  ex << "Opening a file '" << cfi_filename << "' for module '" << labelAndDesc.first << "' failed.\n";
247  ex << "Error code from errno " << errno << ": " << std::strerror(errno) << "\n";
248 
249  ex.addContext("Executing function ConfigurationDescriptions::writeCfiForLabel");
250  throw ex;
251  }
252 
253  outFile << "import FWCore.ParameterSet.Config as cms\n\n";
254  outFile << labelAndDesc.first << " = cms." << baseType << "('" << pluginName << "'";
255 
256  bool startWithComma = true;
257  int indentation = 2;
258  labelAndDesc.second.writeCfi(outFile, startWithComma, indentation);
259 
260  outFile << ")\n";
261 
262  outFile.close();
263 
264  if (0 == strcmp(baseType.c_str(), kSource)) {
265  std::cout << pluginName << "\n";
266  } else {
267  std::cout << labelAndDesc.first << "\n";
268  }
269  }
static const char *const kService

◆ writeCfis()

void ConfigurationDescriptions::writeCfis ( std::set< std::string > &  usedCfiFileNames) const

Definition at line 143 of file ConfigurationDescriptions.cc.

References baseType_, defaultDesc_, defaultDescDefined_, descriptions_, edm::for_all(), pluginName_, writeCfiForLabel(), and writeClassFile().

143  {
146  std::placeholders::_1,
147  std::cref(baseType_),
148  std::cref(pluginName_),
149  std::ref(usedCfiFileNames)));
150  if (defaultDescDefined_) {
152  } else if (descriptions_.size() == 1) {
153  writeClassFile(descriptions_.begin()->second);
154  }
155  }
static void writeCfiForLabel(std::pair< std::string, ParameterSetDescription > const &labelAndDesc, std::string const &baseType, std::string const &pluginName, std::set< std::string > &usedCfiFileNames)
void writeClassFile(ParameterSetDescription const &) const
Func for_all(ForwardSequence &s, Func f)
wrapper for std::for_each
Definition: Algorithms.h:14
std::vector< std::pair< std::string, ParameterSetDescription > > descriptions_

◆ writeClassFile()

void ConfigurationDescriptions::writeClassFile ( ParameterSetDescription const &  iDesc) const
private

Definition at line 157 of file ConfigurationDescriptions.cc.

References cms::Exception::addContext(), baseType_, MillePedeFileConverter_cfg::fileName, newFWLiteAna::found, printContent_cfi::indentation, edm::errors::LogicError, L1TdeCSCTF_cfi::outFile, crabTemplate::pluginName, pluginName_, AlCaHLTBitMon_QueryRunRegistry::string, and edm::ParameterSetDescription::writeCfi().

Referenced by writeCfis().

157  {
159  auto found = pluginName.find("::");
160  while (found != std::string::npos) {
161  pluginName.replace(found, 2, "_");
162  found = pluginName.find("::");
163  }
164  //Symbols that can appear in our plugin names but can't in python function names
165  const std::string toReplace("@<>,");
166  found = pluginName.find_first_of(toReplace);
167  while (found != std::string::npos) {
168  pluginName.replace(found, 1, "_");
169  found = pluginName.find_first_of(toReplace, found);
170  }
171 
172  std::string fileName = pluginName + ".py";
173  std::ofstream outFile(fileName.c_str());
174  if (outFile.fail()) {
175  edm::Exception ex(edm::errors::LogicError, "Creating class file failed.\n");
176  ex << "Opening a file '" << fileName << "' failed.\n";
177  ex << "Error code from errno " << errno << ": " << std::strerror(errno) << "\n";
178 
179  ex.addContext("Executing function ConfigurationDescriptions::writeDefault");
180  throw ex;
181  }
182  outFile << "import FWCore.ParameterSet.Config as cms\n\n";
183  outFile << "def " << pluginName
184  << "(**kwargs):\n"
185  " mod = cms."
186  << baseType_ << "('" << pluginName_ << "'";
187 
188  bool startWithComma = true;
189  int indentation = 4;
190  iDesc.writeCfi(outFile, startWithComma, indentation);
191 
192  outFile << ")\n"
193  " for k,v in kwargs.items():\n"
194  " setattr(mod, k, v)\n"
195  " return mod\n";
196 
197  outFile.close();
198  }

Member Data Documentation

◆ baseType_

std::string edm::ConfigurationDescriptions::baseType_
private

◆ comment_

std::string edm::ConfigurationDescriptions::comment_
private

Definition at line 118 of file ConfigurationDescriptions.h.

Referenced by comment(), and setComment().

◆ defaultDesc_

ParameterSetDescription edm::ConfigurationDescriptions::defaultDesc_
private

◆ defaultDescDefined_

bool edm::ConfigurationDescriptions::defaultDescDefined_
private

◆ descriptions_

std::vector<std::pair<std::string, ParameterSetDescription> > edm::ConfigurationDescriptions::descriptions_
private

Definition at line 114 of file ConfigurationDescriptions.h.

Referenced by add(), addDefault(), begin(), end(), print(), validate(), and writeCfis().

◆ pluginName_

std::string edm::ConfigurationDescriptions::pluginName_
private

Definition at line 112 of file ConfigurationDescriptions.h.

Referenced by addWithDefaultLabel(), writeCfis(), and writeClassFile().