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
 

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(), SimpleEventFilter::fillDescriptions(), HLTDynamicPrescaler::fillDescriptions(), PixelTrackCleanerBySharedHitsESProducer::fillDescriptions(), PFTauMiniAODPrimaryVertexProducer::fillDescriptions(), PFTauSelector::fillDescriptions(), cond::FileBasedEmptySource::fillDescriptions(), edm::EmptySource::fillDescriptions(), edm::ModuloStreamIDFilter::fillDescriptions(), L1TStage2RatioClient::fillDescriptions(), GEDGsfElectronValueMapProducer::fillDescriptions(), TrackAlgoPriorityOrderESProducer::fillDescriptions(), edm::ModuloEventIDFilter::fillDescriptions(), edm::Prescaler::fillDescriptions(), edm::TestSource::fillDescriptions(), EcalUncalibRecHitConvertGPU2CPUFormat::fillDescriptions(), TrackCleanerESProducer::fillDescriptions(), ClusterCheckerEDProducer::fillDescriptions(), SeedingLayersEDProducer::fillDescriptions(), CrossingFramePSimHitToPSimHitsConverter::fillDescriptions(), DetStatus::fillDescriptions(), SiPixelPhase1TrackComparisonHarvester::fillDescriptions(), l1tp2::ParametricCalibration::fillDescriptions(), HLTDQMObjSelector< ObjType, ObjCollType >::fillDescriptions(), HLTDisplacedmumuFilter::fillDescriptions(), GEDGsfElectronCoreProducer::fillDescriptions(), HLTDisplacedmumumuFilter::fillDescriptions(), HLTDisplacedtktkFilter::fillDescriptions(), HLTDisplacedtktktkFilter::fillDescriptions(), BasicToPFJet::fillDescriptions(), dqmservices::JsonWritingTimeoutPoolOutputModule::fillDescriptions(), SiStripBadStripFromQualityDBWriter::fillDescriptions(), TrackingParticleConversionRefSelector::fillDescriptions(), SeedGeneratorFromProtoTracksEDProducer::fillDescriptions(), HLTTrackSeedMultiplicityFilter::fillDescriptions(), GsfElectronCoreEcalDrivenProducer::fillDescriptions(), HLTmumutkFilter::fillDescriptions(), LwtnnESProducer::fillDescriptions(), Phase2ITRecHitHarvester::fillDescriptions(), edm::EventAuxiliaryHistoryProducer::fillDescriptions(), GEMRecHitSource::fillDescriptions(), SubdetFEDSelector::fillDescriptions(), HLTmumutktkFilter::fillDescriptions(), SiPhase2RecHitMatcherESProducer::fillDescriptions(), ESRawToDigi::fillDescriptions(), GsfTrackProducer::fillDescriptions(), Primary4DVertexHarvester::fillDescriptions(), MtdTracksHarvester::fillDescriptions(), HLTEcalIsolationFilter::fillDescriptions(), L1GTPrescaler::fillDescriptions(), L1TStage2MuonShowerComp::fillDescriptions(), L1TStage2RegionalMuonCandComp::fillDescriptions(), L1TStage2uGMTMuon::fillDescriptions(), L1TStage2MuonComp::fillDescriptions(), L1TStage2RegionalMuonShowerComp::fillDescriptions(), SiStripPositionCorrectionsTableProducer::fillDescriptions(), Tau3MuMonitor::fillDescriptions(), HGCalRecHitMapProducer::fillDescriptions(), DeepMETProducer::fillDescriptions(), PixelTrackFilterByKinematicsProducer::fillDescriptions(), HGCalRawToDigiFake::fillDescriptions(), HFNoseRawToDigiFake::fillDescriptions(), HLTDiMuonGlbTrkFilter::fillDescriptions(), HLTMuonTrkFilter::fillDescriptions(), HLTMuonTrkL1TFilter::fillDescriptions(), HLTMuonTrkL1TkMuFilter::fillDescriptions(), SiPixelQualityProbabilitiesTestReader::fillDescriptions(), HLTPixelIsolTrackFilter::fillDescriptions(), pat::UnclusteredBlobProducer::fillDescriptions(), StableParametersTrivialProducer::fillDescriptions(), HcalTB02ParametersESModule::fillDescriptions(), HcalTB06ParametersESModule::fillDescriptions(), CUDAService::fillDescriptions(), HLTSumJetTag< T >::fillDescriptions(), SiPixelGainCalibrationForHLTGPUESProducer::fillDescriptions(), L1TEnergySumFilterT< T >::fillDescriptions(), TrackingParticleBHadronRefSelector::fillDescriptions(), HLTPixelIsolTrackL1TFilter::fillDescriptions(), GEMEfficiencyHarvester::fillDescriptions(), TriggerRatesMonitorClient::fillDescriptions(), TrigObjTnPSource::fillDescriptions(), DetectorStateFilter::fillDescriptions(), LowPtGsfElectronCoreProducer::fillDescriptions(), HLTDQMMuonSelector::fillDescriptions(), HIBestVertexProducer::fillDescriptions(), CSCObjectMapESProducer::fillDescriptions(), DTObjectMapESProducer::fillDescriptions(), edmtest::AlignPCLThresholdsReader< T, R >::fillDescriptions(), HcalParametersDBBuilder::fillDescriptions(), HLTHemiDPhiFilter::fillDescriptions(), TrackingParticleNumberOfLayersProducer::fillDescriptions(), HLTMuonL1TFilter::fillDescriptions(), VertexAssociatorByTracksProducer::fillDescriptions(), CTPPSModifiedOpticalFunctionsESSource::fillDescriptions(), SiPixelFEDChannelContainerTestReader::fillDescriptions(), edm::StreamerOutputModule< Consumer >::fillDescriptions(), EcalSimParametersESModule::fillDescriptions(), L1METPFProducer::fillDescriptions(), L1NNTauProducer::fillDescriptions(), HcalTrigTowerGeometryESProducer::fillDescriptions(), HGCalParametersESModule::fillDescriptions(), MuonGeometryConstantsESModule::fillDescriptions(), NumberPerLSFilter::fillDescriptions(), MultiClustersFromTrackstersProducer::fillDescriptions(), ECFAdder::fillDescriptions(), QGTagger::fillDescriptions(), EcalUncalibRecHitProducer::fillDescriptions(), HGCRecHitNavigator< D1, hgcee, D2, hgchef, D3, hgcheb >::fillDescriptions(), L1TJetFilterT< T >::fillDescriptions(), EcalRawToDigiGPU::fillDescriptions(), XangleBetaStarFilter::fillDescriptions(), MultiHitFromChi2EDProducer::fillDescriptions(), HLTEcalPixelIsolTrackFilter::fillDescriptions(), HLTMultipletFilter::fillDescriptions(), HLTPixelTrackFilter::fillDescriptions(), HcalParametersESModule::fillDescriptions(), HcalSimParametersESModule::fillDescriptions(), HcalTopologyIdealEP::fillDescriptions(), L1TStage2uGMT::fillDescriptions(), L1TStage2uGMTInputBxDistributions::fillDescriptions(), MTDParametersESModule::fillDescriptions(), MTDTopologyEP::fillDescriptions(), HLTJetPairDzMatchFilter< T >::fillDescriptions(), DiDispStaMuonMonitor::fillDescriptions(), ParticleBasedIsoProducer::fillDescriptions(), PFTICLProducer::fillDescriptions(), TICLLayerTileProducer::fillDescriptions(), CTPPSLHCInfoESSource::fillDescriptions(), NoBPTXMonitor::fillDescriptions(), EcalCPUUncalibRecHitProducer::fillDescriptions(), MTDCPEESProducer::fillDescriptions(), PixelCPEFastESProducer::fillDescriptions(), PixelCPETemplateRecoESProducer::fillDescriptions(), SiStripApprox2ApproxClusters::fillDescriptions(), SiStripClusters2ApproxClusters::fillDescriptions(), ClusterShapeTrackFilterProducer::fillDescriptions(), PixelNtupletsFitterProducer::fillDescriptions(), PixelVertexCollectionTrimmer::fillDescriptions(), HLTPFTauPairLeadTrackDzMatchFilter::fillDescriptions(), PHGCalParametersDBBuilder::fillDescriptions(), PFRecoTauDiscriminationByLeadingObjectPtCut::fillDescriptions(), HLTForwardBackwardJetsFilter< T >::fillDescriptions(), SiPixelBadFEDChannelSimulationSanityChecker::fillDescriptions(), VertexAssociatorByPositionAndTracksProducer::fillDescriptions(), HLTMuonL1RegionalFilter::fillDescriptions(), HLTMuonTrackMassFilter::fillDescriptions(), CTPPSInterpolatedOpticalFunctionsESSource::fillDescriptions(), HLTHcalTowerFilter::fillDescriptions(), HLTPixelActivityFilter::fillDescriptions(), HLTRPCFilter::fillDescriptions(), TFileAdaptor::fillDescriptions(), pat::PackedGenParticleSignalProducer::fillDescriptions(), TrackerTopologyEP::fillDescriptions(), PileUpFilter::fillDescriptions(), TrackerGeometricDetESModule::fillDescriptions(), CTPPSOpticalFunctionsESSource::fillDescriptions(), HIPixelTrackFilterProducer::fillDescriptions(), PUFilter::fillDescriptions(), HLTElectronMissingHitsFilter::fillDescriptions(), HLTJetTimingFilter< T >::fillDescriptions(), AnyJetToCaloJetProducer::fillDescriptions(), L2TauJetsMerger::fillDescriptions(), HLT2jetGapFilter::fillDescriptions(), HLTHcalMETNoiseCleaner::fillDescriptions(), MeasurementTrackerEventProducer::fillDescriptions(), HLTJetCollectionsFilter< jetType >::fillDescriptions(), HLTJetL1MatchProducer< T >::fillDescriptions(), evf::EvFFEDSelector::fillDescriptions(), HLTCSCRing2or3Filter::fillDescriptions(), HLTHcalNoiseFilter::fillDescriptions(), MCParticleModuloFilter::fillDescriptions(), L1TMP7ZeroSupp::fillDescriptions(), CaloSimParametersESModule::fillDescriptions(), MTDGeometricTimingDetESModule::fillDescriptions(), DeepFlavourONNXJetTagsProducer::fillDescriptions(), SCEnergyCorrectorProducer::fillDescriptions(), ConeIsolation::fillDescriptions(), HLTEgammaDoubleLegCombFilter::fillDescriptions(), HLTElectronPixelMatchFilter::fillDescriptions(), PixelCPEClusterRepairESProducer::fillDescriptions(), TriggerSummaryAnalyzerAOD::fillDescriptions(), MTDTrackQualityMVAProducer::fillDescriptions(), TOFPIDProducer::fillDescriptions(), MuonReducedTrackExtraProducer::fillDescriptions(), PixelVertexSoAFromCUDA::fillDescriptions(), L1THLTTauMatching::fillDescriptions(), HcalRawToDigiGPU::fillDescriptions(), HLTHPDFilter::fillDescriptions(), HLTDeDxFilter::fillDescriptions(), HLTJetL1TMatchProducer< T >::fillDescriptions(), HLTNVFilter::fillDescriptions(), EcalSimHitDump::fillDescriptions(), HLTPhi2METFilter::fillDescriptions(), HLTRapGapFilter::fillDescriptions(), HLTMuonL1TRegionalFilter::fillDescriptions(), HLTMuonL3SimplePreFilter::fillDescriptions(), edm::BunchCrossingFilter::fillDescriptions(), GEMDQMHarvester::fillDescriptions(), HLTSingleVertexPixelTrackFilter::fillDescriptions(), PATMuonMerger::fillDescriptions(), EgammaHLTHGCalIDVarProducer::fillDescriptions(), HLTFiltersDQMonitor::fillDescriptions(), MTDTrackingRecHitProducer::fillDescriptions(), VectorHitBuilderEDProducer::fillDescriptions(), SiStripClusterizerConditionsESProducer::fillDescriptions(), BunchSpacingProducer::fillDescriptions(), TriggerSummaryAnalyzerRAW::fillDescriptions(), dqmservices::DQMProtobufReader::fillDescriptions(), L1TPFTauFilter::fillDescriptions(), GEMPackingTester::fillDescriptions(), PPSFilteredProtonProducer::fillDescriptions(), L1HLTTauMatching::fillDescriptions(), HLTHcalLaserFilter::fillDescriptions(), PFTauDiscriminatorLogicalAndProducer::fillDescriptions(), SeedCreatorFromRegionHitsEDProducerT< T_SeedCreator >::fillDescriptions(), HLTCSCOverlapFilter::fillDescriptions(), SiStripRegFEDSelector::fillDescriptions(), edm::service::UnixSignalService::fillDescriptions(), edm::service::TestService::fillDescriptions(), edm::StreamerFileReader::fillDescriptions(), JetTracksAssociationToTrackRefs::fillDescriptions(), GeneratorSmearedProducer::fillDescriptions(), pat::BadPFCandidateJetsEEnoiseProducer::fillDescriptions(), L1TMuonShowerProducer::fillDescriptions(), Phase2L1TGMTStubProducer::fillDescriptions(), CUDAMonitoringService::fillDescriptions(), HLTDisplacedEgammaFilter::fillDescriptions(), FilteredLayerClustersProducer::fillDescriptions(), photonIsolationHIProducer::fillDescriptions(), JetMonitor::fillDescriptions(), MVAJetPuIdProducer::fillDescriptions(), MTDTimeCalibESProducer::fillDescriptions(), PixelCPEGenericESProducer::fillDescriptions(), HLT2L1TkMuonL1TkMuonMuRefDR::fillDescriptions(), L3MuonSumCaloPFIsolationProducer::fillDescriptions(), KFBasedPixelFitterProducer::fillDescriptions(), EcalCPUDigisProducer::fillDescriptions(), PixelTrackSoAFromCUDA::fillDescriptions(), RPCInverseCPPFLinkMapESProducer::fillDescriptions(), RPCInverseLBLinkMapESProducer::fillDescriptions(), HLTDiJetAveEtaFilter< T >::fillDescriptions(), HLTDiJetAveFilter< T >::fillDescriptions(), HLTDiJetEtaTopologyFilter< T >::fillDescriptions(), RPCInverseTwinMuxLinkMapESProducer::fillDescriptions(), HLTFatJetMassFilter< jetType >::fillDescriptions(), HLTHcalMETNoiseFilter::fillDescriptions(), RecoTauPileUpVertexSelector::fillDescriptions(), RPCInverseOMTFLinkMapESProducer::fillDescriptions(), HLTJetEtaTopologyFilter< T >::fillDescriptions(), HLTJetVBFFilter< T >::fillDescriptions(), HLTMonoJetFilter< T >::fillDescriptions(), HLTMuonDimuonL2FromL1TFilter::fillDescriptions(), CTPPSLHCInfoPlotter::fillDescriptions(), HLTMuonDimuonL2Filter::fillDescriptions(), HLTMuonL2FromL1TPreFilter::fillDescriptions(), HLTMuonL2PreFilter::fillDescriptions(), HLTMuonPFIsoFilter::fillDescriptions(), HLTPhysicsDeclared::fillDescriptions(), HLTMuonIsoFilter::fillDescriptions(), TrackerAdditionalParametersPerDetESModule::fillDescriptions(), DeepCombinedONNXJetTagsProducer::fillDescriptions(), DeepVertexONNXJetTagsProducer::fillDescriptions(), LowPtGSFToTrackLinker::fillDescriptions(), HLTEgammaAllCombMassFilter::fillDescriptions(), HLTEgammaCombMassFilter::fillDescriptions(), TICLCandidateFromTrackstersProducer::fillDescriptions(), CTPPSPixelRawToDigi::fillDescriptions(), TrackFitterProducer::fillDescriptions(), L1THPSPFTauFilter::fillDescriptions(), PixelTrackDumpCUDA::fillDescriptions(), L1TTkEleFilter::fillDescriptions(), L1TTkEmFilter::fillDescriptions(), L1TTkMuonFilter::fillDescriptions(), PFRecoTauDiscriminationByHPSSelection::fillDescriptions(), HLTExclDiJetFilter< T >::fillDescriptions(), HLTHcalTowerNoiseCleaner::fillDescriptions(), HLTHcalTowerNoiseCleanerWithrechit::fillDescriptions(), TrackSelectorByRegion::fillDescriptions(), RPCAMCRawToDigi::fillDescriptions(), HLTJetCollectionsVBFFilter< T >::fillDescriptions(), GlobalTrackingRegionProducer::fillDescriptions(), PixelInactiveAreaTrackingRegionsSeedingLayersProducer::fillDescriptions(), HGCalTBMBAnalyzer::fillDescriptions(), TreeWriterForEcalCorrection::fillDescriptions(), HLTTriMuonIsolation::fillDescriptions(), BeamSpotProblemMonitor::fillDescriptions(), HLTPixelClusterShapeFilter::fillDescriptions(), RPCDigiMerger::fillDescriptions(), PATPuppiJetSpecificProducer::fillDescriptions(), DeepDoubleXONNXJetTagsProducer::fillDescriptions(), LowPtGsfElectronSeedValueMapsProducer::fillDescriptions(), EgammaEcalPFClusterIsolationProducer< T1 >::fillDescriptions(), HLTEgammaDoubleEtDeltaPhiFilter::fillDescriptions(), HiFJGridEmptyAreaCalculator::fillDescriptions(), HLTEgammaEtFilter::fillDescriptions(), HLTEgammaEtFilterPairs::fillDescriptions(), HIProtoTrackFilterProducer::fillDescriptions(), cms::CSJetProducer::fillDescriptions(), HLTElectronEtFilter::fillDescriptions(), PixelVertexProducerCUDA::fillDescriptions(), HcalHBHENewMuonAnalyzer::fillDescriptions(), PPSLocalTrackLiteReAligner::fillDescriptions(), HLTMhtFilter::fillDescriptions(), MaterialBudgetHcalAnalysis::fillDescriptions(), HLTMuonL1toL3TkPreFilter::fillDescriptions(), PuppiProducer::fillDescriptions(), ECALRegFEDSelector::fillDescriptions(), ThroughputServiceClient::fillDescriptions(), edm::TimeoutPoolOutputModule::fillDescriptions(), L1TMuonEndCapShowerProducer::fillDescriptions(), MuonIDTableProducer::fillDescriptions(), TrackerParametersESModule::fillDescriptions(), EgammaHLTBcHcalIsolationProducersRegional::fillDescriptions(), TICLSeedingRegionProducer::fillDescriptions(), HLTEgammaGenericQuadraticEtaFilter::fillDescriptions(), HLTEgammaGenericQuadraticFilter::fillDescriptions(), METplusTrackMonitor::fillDescriptions(), HLTElectronEoverpFilterRegional::fillDescriptions(), HLTEgammaTriggerFilterObjectWrapper::fillDescriptions(), CTPPSLHCInfoRandomXangleESSource::fillDescriptions(), HLTElectronGenericFilter::fillDescriptions(), HLTElectronOneOEMinusOneOPFilterRegional::fillDescriptions(), dqmservices::DQMStreamerReader::fillDescriptions(), HLTGlobalSums< T >::fillDescriptions(), ChargedHadronPFTrackIsolationProducer::fillDescriptions(), HLTSinglet< T >::fillDescriptions(), PixelFitterByHelixProjectionsProducer::fillDescriptions(), PFJetsMaxInvMassModule::fillDescriptions(), PFJetsTauOverlapRemoval::fillDescriptions(), HLTAcoFilter::fillDescriptions(), HLTAlphaTFilter< T >::fillDescriptions(), HitPairEDProducer::fillDescriptions(), HLTMuonL1TtoL3TkPreFilter::fillDescriptions(), edm::AsciiOutputModule::fillDescriptions(), edm::ZombieKillerService::fillDescriptions(), BtlSimHitsHarvester::fillDescriptions(), CaloTowerTopologyEP::fillDescriptions(), GenProtonTableProducer::fillDescriptions(), BPHHistoSpecificDecay::fillDescriptions(), HLTRFilter::fillDescriptions(), CTPPSBeamParametersFromLHCInfoESSource::fillDescriptions(), PFRecoTauDiscriminationByNProngs::fillDescriptions(), HiFJRhoProducer::fillDescriptions(), SiStripDetVOffPrinter::fillDescriptions(), EcalLaserCorrectionService::fillDescriptions(), HLTEventAnalyzerAOD::fillDescriptions(), SiPixelRecHitCUDA::fillDescriptions(), HLTEventAnalyzerRAW::fillDescriptions(), VertexCompositeCandidateCollectionSelector::fillDescriptions(), L2MuonIsolationProducer::fillDescriptions(), HLTBool::fillDescriptions(), SiPixelClusterShapeCacheProducer::fillDescriptions(), CAHitNtupletCUDA::fillDescriptions(), HLTJetTimingProducer< T >::fillDescriptions(), TauJetSelectorForHLTTrackSeeding::fillDescriptions(), RPCUnpackingModule::fillDescriptions(), HLTPFJetIDProducer::fillDescriptions(), HLTMuonTrimuonL3Filter::fillDescriptions(), MaterialBudgetVolumeAnalysis::fillDescriptions(), RandomEngineStateProducer::fillDescriptions(), EnergyRingsTableProducer::fillDescriptions(), LowPtGSFToPackedCandidateLinker::fillDescriptions(), DQMScaleToClient::fillDescriptions(), TrackstersMergeProducer::fillDescriptions(), MuonMonitor::fillDescriptions(), HLTPMDocaFilter::fillDescriptions(), CAHitNtupletEDProducerT< T_Generator >::fillDescriptions(), CTPPSDiamondLocalTrackFitter::fillDescriptions(), HLTRHemisphere::fillDescriptions(), DTUnpackingModule::fillDescriptions(), HLTHtMhtFilter::fillDescriptions(), PFTauL1TJetsMatching::fillDescriptions(), HLTMinDPhiMETFilter::fillDescriptions(), HGcalHitIdCheck::fillDescriptions(), L2TauPixelIsoTagProducer::fillDescriptions(), MillePedeFileConverter::fillDescriptions(), PrintGeomSolids::fillDescriptions(), EcalRecHitProducer::fillDescriptions(), HLTEcalTowerFilter::fillDescriptions(), DaqTestHistograms::fillDescriptions(), edm::service::ResourceEnforcer::fillDescriptions(), PSMonitorClient::fillDescriptions(), LowPtGsfElectronSCProducer::fillDescriptions(), EgammaHcalPFClusterIsolationProducer< T1 >::fillDescriptions(), EgammaIsoHcalDetIdCollectionProducer::fillDescriptions(), HLTEgammaCaloIsolFilterPairs::fillDescriptions(), HLTEgammaDoubleEtPhiFilter::fillDescriptions(), HLTEgammaL1MatchFilterRegional::fillDescriptions(), DemoNormalDQMEDAnalyzer::fillDescriptions(), DemoOneDQMEDAnalyzer::fillDescriptions(), PPSAssociationCutsESSource::fillDescriptions(), EcalBarrelClusterFastTimer::fillDescriptions(), HitTripletEDProducerT< T_HitTripletGenerator >::fillDescriptions(), HLTEgammaL1MatchFilterPairs::fillDescriptions(), PixelVertexProducerFromSoA::fillDescriptions(), TotemRPRecHitProducer::fillDescriptions(), HLTEgammaDoubleEtFilter::fillDescriptions(), HLTMuonL1Filter::fillDescriptions(), HLTMuonL3PreFilter::fillDescriptions(), HLTCTPPSLocalTrackFilter::fillDescriptions(), HLTPixelActivityHFSumEnergyFilter::fillDescriptions(), GEMDigiSource::fillDescriptions(), edm::service::ConcurrentModuleTimer::fillDescriptions(), BeamDivergenceVtxGenerator::fillDescriptions(), EcalLaserCorrectionServiceMC::fillDescriptions(), RPCGeometryESModule::fillDescriptions(), METMonitor::fillDescriptions(), EgammaHLTClusterShapeProducer::fillDescriptions(), SiStripLorentzAngleRunInfoTableProducer::fillDescriptions(), HIMuonTrackingRegionProducer::fillDescriptions(), BadParticleFilter::fillDescriptions(), HLTEgammaL1TMatchFilterRegional::fillDescriptions(), HGCalMultiClusterProducer::fillDescriptions(), HLTGetRaw::fillDescriptions(), HLTSmartSinglet< T >::fillDescriptions(), RecoTauPiZeroUnembedder::fillDescriptions(), RPCTwinMuxDigiToRaw::fillDescriptions(), HLTMhtProducer::fillDescriptions(), sistrip::ExcludedFEDListProducer::fillDescriptions(), HLTDTROMonitorFilter::fillDescriptions(), HLTCaloTowerHtMhtProducer::fillDescriptions(), HLTPixlMBFilt::fillDescriptions(), HLTPixlMBForAlignmentFilter::fillDescriptions(), GEMEfficiencyAnalyzer::fillDescriptions(), HcalTestAnalyzer::fillDescriptions(), Type1PFMET::fillDescriptions(), FilterOutLowPt::fillDescriptions(), PileupJetIDVarProducer::fillDescriptions(), pat::PackedCandidateTrackChi2Producer::fillDescriptions(), DeepBoostedJetTagInfoProducer::fillDescriptions(), HcalSimHitDump::fillDescriptions(), LowPtGsfElectronIDProducer::fillDescriptions(), EgammaHLTCaloTowerProducer::fillDescriptions(), CandMergerCleanOthersByDR::fillDescriptions(), GlobalTrackQualityProducer::fillDescriptions(), L3MuonCombinedRelativeIsolationProducer::fillDescriptions(), PFClusterTimeAssigner::fillDescriptions(), TotemRPClusterProducer::fillDescriptions(), TfGraphDefProducer::fillDescriptions(), HLTHtMhtProducer::fillDescriptions(), RawDataMapperByLabel::fillDescriptions(), MillePedeFileExtractor::fillDescriptions(), HitParentTest::fillDescriptions(), GEMChamberMasker::fillDescriptions(), AlCaEcalHcalReadoutsProducer::fillDescriptions(), L1TObjectsTiming::fillDescriptions(), CaloSimulationConstantsESModule::fillDescriptions(), HcalDDDSimConstantsESModule::fillDescriptions(), citk::PFIsolationSumProducerForPUPPI::fillDescriptions(), HcalSimulationConstantsESModule::fillDescriptions(), AlcaPCCEventProducer::fillDescriptions(), BPHWriteSpecificDecay::fillDescriptions(), HLTDisplacedmumumuVtxProducer::fillDescriptions(), HLTJetTag< T >::fillDescriptions(), HLTJetTagWithMatching< T >::fillDescriptions(), HLTMuonL2SelectorForL3IO::fillDescriptions(), HLTDoubletDZ< T1, T2 >::fillDescriptions(), TauHadronDecayFilter::fillDescriptions(), HLTSummaryFilter::fillDescriptions(), CTPPSLocalTrackLiteProducer::fillDescriptions(), HcalRawToDigi::fillDescriptions(), PixelFitterByConformalMappingAndLineProducer::fillDescriptions(), HcalTestSimHitID::fillDescriptions(), HLTPFEnergyFractionsFilter::fillDescriptions(), HcalForwardLibWriter::fillDescriptions(), HLTCountNumberOfObject< OColl >::fillDescriptions(), HLTCaloTowerFilter::fillDescriptions(), edm::ProvenanceCheckerOutputModule::fillDescriptions(), GEMDAQStatusSource::fillDescriptions(), HLTPPSCalFilter::fillDescriptions(), HLTPPSPerPotTrackFilter::fillDescriptions(), HcalIsoTrackAnalyzer::fillDescriptions(), L1TGlobalSummary::fillDescriptions(), ME0GeometryESModule::fillDescriptions(), HLTDisplacedmumuVtxProducer::fillDescriptions(), ObjMonitor::fillDescriptions(), TSGForOI::fillDescriptions(), HLTMETCleanerUsingJetID::fillDescriptions(), DaqFakeReader::fillDescriptions(), HLTMuonDimuonL3Filter::fillDescriptions(), HGCalBHValidation::fillDescriptions(), TICLPFValidation::fillDescriptions(), HLTMuonTrackSelector::fillDescriptions(), HLTHcalLaserMisfireFilter::fillDescriptions(), HLTTriggerTypeFilter::fillDescriptions(), FastTimerServiceClient::fillDescriptions(), HLLHCEvtVtxGenerator::fillDescriptions(), LH5Source::fillDescriptions(), LHESource::fillDescriptions(), GenJetFlavourTableProducer::fillDescriptions(), PFRecoTauDiscriminationAgainstMuon::fillDescriptions(), HcalSimpleReconstructor::fillDescriptions(), HLTElectronPFMTFilter< T >::fillDescriptions(), RazorMonitor::fillDescriptions(), DemoGlobalDQMEDAnalyzer::fillDescriptions(), HFPMTHitAnalyzer::fillDescriptions(), TriggerSummaryProducerRAW::fillDescriptions(), HLTDoublet< T1, T2 >::fillDescriptions(), TSGForOIFromL2::fillDescriptions(), HcalSimHitCheck::fillDescriptions(), VertexFromTrackProducer::fillDescriptions(), HcalRawToDigiFake::fillDescriptions(), MkFitProducer::fillDescriptions(), TrackstersProducer::fillDescriptions(), edm::GetProductCheckerOutputModule::fillDescriptions(), IPTCorrector::fillDescriptions(), HLTVertexFilter::fillDescriptions(), GEMDigiToRawModule::fillDescriptions(), TrackerDigiGeometryESModule::fillDescriptions(), ElectronSeedProducer::fillDescriptions(), HLTDisplacedtktktkVtxProducer::fillDescriptions(), HLTDisplacedtktkVtxProducer::fillDescriptions(), EgammaHLTRecoEcalCandidateProducers::fillDescriptions(), DiJetMonitor::fillDescriptions(), HGCalLayerClusterProducer::fillDescriptions(), HLTPMMassFilter::fillDescriptions(), MuonSeedGenerator::fillDescriptions(), BeamSpotRcdPrinter::fillDescriptions(), HLTCaloJetIDProducer::fillDescriptions(), RPCTwinMuxRawToDigi::fillDescriptions(), EcalDetIdToBeRecoveredProducer::fillDescriptions(), ME0ChamberMasker::fillDescriptions(), EtlDigiHitsValidation::fillDescriptions(), LogErrorFilter::fillDescriptions(), HLTEventNumberFilter::fillDescriptions(), HLTTrackWithHits::fillDescriptions(), DQMCorrelationClient::fillDescriptions(), PPSTimingCalibrationLUTESSource::fillDescriptions(), MTDDigiGeometryESModule::fillDescriptions(), pat::PackedCandidateMuonSelectorProducer::fillDescriptions(), EcalMustacheSCParametersESProducer::fillDescriptions(), EcalSCDynamicDPhiParametersESProducer::fillDescriptions(), HLTCollectionProducer< T >::fillDescriptions(), EgammaHLTEleL1TrackIsolProducer::fillDescriptions(), HLTJetSortedVBFFilter< T >::fillDescriptions(), HLTFiltCand::fillDescriptions(), HLTLevel1Pattern::fillDescriptions(), CTPPSDiamondRecHitProducer::fillDescriptions(), PPSTimingCalibrationESSource::fillDescriptions(), CSCRecHitDProducer::fillDescriptions(), HLTScoutingTrackProducer::fillDescriptions(), HLTTrackerHaloFilter::fillDescriptions(), AlCaHcalHBHEMuonFilter::fillDescriptions(), GEMRecHitProducer::fillDescriptions(), CTPPSPixelRecHitProducer::fillDescriptions(), PPSPixelTopologyESSource::fillDescriptions(), sistrip::DigiToRawModule::fillDescriptions(), PhotonMonitor::fillDescriptions(), AlCaHcalHEMuonFilter::fillDescriptions(), XtalDedxAnalysis::fillDescriptions(), EventIDChecker::fillDescriptions(), HLTHcalPhiSymFilter::fillDescriptions(), SiPixelQualityProbabilitiesWriteFromASCII::fillDescriptions(), HLTL1NumberFilter::fillDescriptions(), HLTRPCTrigNoSyncFilter::fillDescriptions(), HcalDDDRecConstantsESModule::fillDescriptions(), pat::LeptonUpdater< T >::fillDescriptions(), TotemTimingRecHitProducer::fillDescriptions(), IslandClusterProducer::fillDescriptions(), AbortOnEventIDAnalyzer::fillDescriptions(), AlCaHcalIsotrkFilter::fillDescriptions(), EgammaHLTHcalVarProducerFromRecHit::fillDescriptions(), EgammaHLTPixelMatchElectronProducers::fillDescriptions(), EgammaHLTR9IDProducer::fillDescriptions(), L1TEGammaFilteredCollectionProducer::fillDescriptions(), TotemRPLocalTrackFitter::fillDescriptions(), TriggerResultsFilterFromDB::fillDescriptions(), PFEGammaProducer::fillDescriptions(), PPSAlignmentConfigurationESSource::fillDescriptions(), GEMRawToDigiModule::fillDescriptions(), PFRecoTauTagInfoProducer::fillDescriptions(), XrdAdaptor::XrdStatisticsService::fillDescriptions(), SimAnalyzerMinbias::fillDescriptions(), SiPixelQualityProbabilitiesTestWriter::fillDescriptions(), HLTFEDSizeFilter::fillDescriptions(), edm::service::PrescaleService::fillDescriptions(), edm::service::LoadAllDictionaries::fillDescriptions(), PSMonitor::fillDescriptions(), ElectronStudy::fillDescriptions(), CorrectedPFMETProducer::fillDescriptions(), GEMPadDigiProducer::fillDescriptions(), edm::service::CPU::fillDescriptions(), LeptonInJetProducer< T >::fillDescriptions(), MuonOffsetESProducer::fillDescriptions(), DQMHcalIterativePhiSymAlCaReco::fillDescriptions(), MeasurementTrackerESProducer::fillDescriptions(), HLTCAWZTagFilter::fillDescriptions(), DTCCablingMapTestProducer::fillDescriptions(), HcalRecAlgoESProducer::fillDescriptions(), CaloSimHitStudy::fillDescriptions(), HLTLevel1Activity::fillDescriptions(), HotlineDQM::fillDescriptions(), BtlDigiHitsValidation::fillDescriptions(), SeedingOTEDProducer::fillDescriptions(), HLTHcalNZSFilter::fillDescriptions(), HLTHcalSimpleRecHitFilter::fillDescriptions(), edm::service::CondorStatusService::fillDescriptions(), TriggerBxVsOrbitMonitor::fillDescriptions(), HLTJetCollectionsForBoostedLeptonPlusJets< jetType >::fillDescriptions(), MagneticFieldFilter::fillDescriptions(), pat::PATJetUpdater::fillDescriptions(), DeepDoubleXTagInfoProducer::fillDescriptions(), SiPhase2OuterTrackerFakeLorentzAngleESSource::fillDescriptions(), MTDClusterProducer::fillDescriptions(), TSGForOIDNN::fillDescriptions(), TopMonitor::fillDescriptions(), TotemRPUVPatternFinder::fillDescriptions(), HLTScoutingCaloProducer::fillDescriptions(), HLTJetCollectionsForElePlusJets< T >::fillDescriptions(), HLTJetCollectionsForLeptonPlusJets< jetType >::fillDescriptions(), HLTJetCollForElePlusJets< T >::fillDescriptions(), ElectronNHitSeedProducer::fillDescriptions(), ScalersRawToDigi::fillDescriptions(), TriggerResultsFilter::fillDescriptions(), SiPixelFEDChannelContainerWriteFromASCII::fillDescriptions(), HcalSimHitAnalysis::fillDescriptions(), PFProducer::fillDescriptions(), edm::LogErrorHarvester::fillDescriptions(), edm::PrintEventSetupDataRetrieval::fillDescriptions(), MkFitSiStripHitConverter::fillDescriptions(), AlCaGammaJetProducer::fillDescriptions(), TcdsRawToDigi::fillDescriptions(), CTPPSProtonProducer::fillDescriptions(), HLTTrackMETProducer::fillDescriptions(), EgammaHLTPhotonTrackIsolationProducersRegional::fillDescriptions(), HLTHcalPFClusterIsolationProducer< T1 >::fillDescriptions(), HLTmumutktkVtxProducer::fillDescriptions(), HGCalElectronFilter::fillDescriptions(), HGCalPhotonIDValueMapProducer::fillDescriptions(), EgammaHLTElectronTrackIsolationProducers::fillDescriptions(), EgammaHLTGsfTrackVarProducer::fillDescriptions(), CSCDigiFilter::fillDescriptions(), GlobalTrackingRegionProducerFromBeamSpot::fillDescriptions(), ThroughputService::fillDescriptions(), HTMonitor::fillDescriptions(), HLTGenericFilter< T1 >::fillDescriptions(), HLTL1TMuonSelector::fillDescriptions(), PackedCandidateGenAssociationProducer::fillDescriptions(), HOSimHitStudy::fillDescriptions(), RecAnalyzerHF::fillDescriptions(), HLTHighLevel::fillDescriptions(), GEMGeometryESModule::fillDescriptions(), citk::PFIsolationSumProducer::fillDescriptions(), PFClusterMatchedToPhotonsSelector::fillDescriptions(), HGCalElectronIDValueMapProducer::fillDescriptions(), HLTJetHbbFilter< T >::fillDescriptions(), SiStripQualityStatistics::fillDescriptions(), PFBadHcalPseudoClusterProducer::fillDescriptions(), L3MuonProducer::fillDescriptions(), MtdTracksValidation::fillDescriptions(), SUSY_HLT_Razor::fillDescriptions(), HLTElectronMuonInvMassFilter::fillDescriptions(), DTCCablingMapTestReader::fillDescriptions(), SiPixelFEDChannelContainerFromQualityConverter::fillDescriptions(), TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::fillDescriptions(), MuonHLTSeedMVAClassifier::fillDescriptions(), EcalSimpleUncalibRecHitFilter::fillDescriptions(), edm::PrintEventSetupContent::fillDescriptions(), FedRawDataInputSource::fillDescriptions(), PrintLoadingPlugins::fillDescriptions(), LumiMonitor::fillDescriptions(), GTTFileReader::fillDescriptions(), Phase1L1TJetSumsProducer::fillDescriptions(), Phase2ITMonitorCluster::fillDescriptions(), L1PrefiringWeightProducer::fillDescriptions(), HFJetShowerShape::fillDescriptions(), CTPPSProtonReconstructionEfficiencyEstimatorData::fillDescriptions(), HLTmmkkFilter::fillDescriptions(), HGCalShowerSeparation::fillDescriptions(), HLTmmkFilter::fillDescriptions(), HLTCSCActivityFilter::fillDescriptions(), HLTHcalCalibTypeFilter::fillDescriptions(), CTPPSPixelLocalTrackProducer::fillDescriptions(), CTPPSBeamParametersESSource::fillDescriptions(), Phase1L1TJetCalibrator::fillDescriptions(), BeamSpotToCUDA::fillDescriptions(), SiStripBadComponentInfo::fillDescriptions(), Phase2OTMonitorCluster::fillDescriptions(), HiFJRhoFlowModulationProducer::fillDescriptions(), TemplatedInclusiveVertexFinder< InputContainer, VTX >::fillDescriptions(), HLTHGCalLayerClusterIsolationProducer< T1 >::fillDescriptions(), PixelTrackProducer::fillDescriptions(), HGCalHitCalibration::fillDescriptions(), CTPPSPixelClusterProducer::fillDescriptions(), GctRawToDigi::fillDescriptions(), Pi0FixedMassWindowCalibration::fillDescriptions(), HGCalTimingAnalyzer::fillDescriptions(), edm::service::CheckTransitions::fillDescriptions(), edm::EmbeddedRootSource::fillDescriptions(), PFTauDecayModeCutMultiplexer::fillDescriptions(), HcalCollapseAnalyzer::fillDescriptions(), GEMDigiProducer::fillDescriptions(), HcalTestNumberingTester::fillDescriptions(), HLTL1MuonNoL2Selector::fillDescriptions(), edm::PoolSource::fillDescriptions(), MuonGeometryDBConverter::fillDescriptions(), PPSDiamondSampicTimingCalibrationPCLHarvester::fillDescriptions(), HFNoisyHitsFilter::fillDescriptions(), AlCaIsolatedBunchSelector::fillDescriptions(), HLTBeamModeFilter::fillDescriptions(), AlCaIsolatedBunchFilter::fillDescriptions(), DeDxEstimatorProducer::fillDescriptions(), HcalGeomCheck::fillDescriptions(), CaloSimHitAnalysis::fillDescriptions(), SimPFProducer::fillDescriptions(), HLTL1MuonSelector::fillDescriptions(), CherenkovAnalysis::fillDescriptions(), L1TCaloUpgradeToGCTConverter::fillDescriptions(), L1TExtCondProducer::fillDescriptions(), L1TGlobalProducer::fillDescriptions(), RecoTauPiZeroProducer::fillDescriptions(), EcalSimHitStudy::fillDescriptions(), EtlSimHitsValidation::fillDescriptions(), HLTRechitsToDigis::fillDescriptions(), HLTDoubletSinglet< T1, T2, T3 >::fillDescriptions(), OnlineMetaDataRawToDigi::fillDescriptions(), CaloTowerConstituentsMapBuilder::fillDescriptions(), AlCaIsoTracksProducerFilter::fillDescriptions(), l1t::L1TRawToDigi::fillDescriptions(), SiStripApvGainRescaler::fillDescriptions(), HcalDigiToRawuHTR::fillDescriptions(), HLTMuonPointingFilter::fillDescriptions(), DDDetectorESProducer::fillDescriptions(), edm::service::Timing::fillDescriptions(), JetVertexChecker::fillDescriptions(), HGCalRecHitValidation::fillDescriptions(), RunLumiEventChecker::fillDescriptions(), HLTmumutkVtxProducer::fillDescriptions(), CSCDigiToRawModule::fillDescriptions(), HLTPrescaleRecorder::fillDescriptions(), HLTCATopTagFilter::fillDescriptions(), MuonTrackingRegionByPtBuilder::fillDescriptions(), L1TkEmParticleProducer::fillDescriptions(), SCEnergyCorrectorDRNProducer::fillDescriptions(), EGMEnergyVarProducer< T >::fillDescriptions(), Phase2ITMonitorRecHit::fillDescriptions(), PFECALSuperClusterProducer::fillDescriptions(), CaloParticleDebugger::fillDescriptions(), ZMuMuMassConstraintParameterFinder::fillDescriptions(), FastjetJetProducer::fillDescriptions(), l1t::L1TDigiToRaw::fillDescriptions(), CaloParticleValidation::fillDescriptions(), __class__< T >::fillDescriptions(), EgammaHLTNxNClusterProducer::fillDescriptions(), ParticleTowerProducer< T >::fillDescriptions(), CaloRecHitsBeamHaloCleaned::fillDescriptions(), HLTCSCAcceptBusyFilter::fillDescriptions(), edm::RepeatingCachedRootSource::fillDescriptions(), PPSDiamondSampicTimingCalibrationPCLWorker::fillDescriptions(), PrescaleEventFilter::fillDescriptions(), TkMSParameterizationBuilder::fillDescriptions(), RechitClusterProducerT< Trait >::fillDescriptions(), HcalLaserEventFilter::fillDescriptions(), HLTEcalPFClusterIsolationProducer< T1 >::fillDescriptions(), HLTHFAsymmetryFilter::fillDescriptions(), Phase2L1TGMTSAMuonProducer::fillDescriptions(), EcalRawToDigi::fillDescriptions(), HGCalDigiValidation::fillDescriptions(), GTTFileWriter::fillDescriptions(), IsolatedEcalPixelTrackCandidateProducer::fillDescriptions(), TemplatedVertexArbitrator< InputContainer, VTX >::fillDescriptions(), BPHMonitor::fillDescriptions(), L1TExtCondLegacyToStage2::fillDescriptions(), IsolatedParticlesGeneratedJets::fillDescriptions(), Phase2OTValidateRecHit::fillDescriptions(), TICLTrackstersEdgesValidation::fillDescriptions(), CTPPSCompositeESSource::fillDescriptions(), HLTDTActivityFilter::fillDescriptions(), EcalIsolatedParticleCandidateProducer::fillDescriptions(), HLTPixelAsymmetryFilter::fillDescriptions(), L1TJetsMatching< T >::fillDescriptions(), PrimaryVertexResolution::fillDescriptions(), L1TriggerResultsConverter::fillDescriptions(), BtlSimHitsValidation::fillDescriptions(), CSCGeometryESModule::fillDescriptions(), L2MuonProducer::fillDescriptions(), HGCalHitValidation::fillDescriptions(), PFCandidateRecalibrator::fillDescriptions(), PFPileUp::fillDescriptions(), BetaStarVarProducer< T >::fillDescriptions(), SiPixelDigiToRaw::fillDescriptions(), cms::ProducerAnalyzer::fillDescriptions(), TrackingParticleSelectorByGen::fillDescriptions(), VIDNestedWPBitmapProducer< T >::fillDescriptions(), EtlLocalRecoValidation::fillDescriptions(), Phase2ITValidateRecHit::fillDescriptions(), HLTL1TSeed::fillDescriptions(), SiStripChannelGainFromDBMiscalibrator::fillDescriptions(), omtf::OmtfPacker::fillDescriptions(), DTGeometryESModule::fillDescriptions(), SiStripNoisesFromDBMiscalibrator::fillDescriptions(), edm::EventSetupRecordDataGetter::fillDescriptions(), RecoTauProducer::fillDescriptions(), ConversionTrackCandidateProducer::fillDescriptions(), HGCalSimHitStudy::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), Phase2ITValidateTrackingRecHit::fillDescriptions(), TrackToTrackComparisonHists::fillDescriptions(), pat::DisplacedMuonFilterProducer::fillDescriptions(), HLTPrescaler::fillDescriptions(), Phase2OTValidateTrackingRecHit::fillDescriptions(), GEMPadDigiClusterProducer::fillDescriptions(), CTPPSGeometryESModule::fillDescriptions(), RPCChamberMasker::fillDescriptions(), AlCaGammaJetSelector::fillDescriptions(), RPDigiProducer::fillDescriptions(), AlCaDiJetsProducer::fillDescriptions(), GenHFHadronMatcher::fillDescriptions(), omtf::OmtfUnpacker::fillDescriptions(), edm::service::SiteLocalConfigService::fillDescriptions(), HLTScoutingMuonProducer::fillDescriptions(), BtlLocalRecoValidation::fillDescriptions(), PFTauTransverseImpactParameters::fillDescriptions(), DependencyGraph::fillDescriptions(), SiPixelRawToDigi::fillDescriptions(), HcalRaddamMuon::fillDescriptions(), StudyCaloGen::fillDescriptions(), EcalMIPRecHitFilter::fillDescriptions(), Phase2ITValidateCluster::fillDescriptions(), HGCalTBAnalyzer::fillDescriptions(), HLTLevel1GTSeed::fillDescriptions(), FastPrimaryVertexWithWeightsProducer::fillDescriptions(), Phase2OTMonitorRecHit::fillDescriptions(), PFTauSecondaryVertexProducer::fillDescriptions(), AlCaHBHEMuonFilter::fillDescriptions(), LeptonJetVarProducer< T >::fillDescriptions(), APVModeFilter::fillDescriptions(), StudyTriggerHLT::fillDescriptions(), AlCaHEMuonFilter::fillDescriptions(), GlobalTrackingRegionWithVerticesProducer::fillDescriptions(), AlCaHBHEMuonProducer::fillDescriptions(), AlCaLowPUHBHEMuonFilter::fillDescriptions(), SiPixelClusterProducer::fillDescriptions(), Phase2OTValidateCluster::fillDescriptions(), L2MuonSeedGeneratorFromL1T::fillDescriptions(), HLTEcalPhiSymFilter::fillDescriptions(), reco::HcalNoiseInfoProducer::fillDescriptions(), ClusterTPAssociationProducer::fillDescriptions(), PixelJetPuId::fillDescriptions(), L1TkElectronTrackProducer::fillDescriptions(), HLTScoutingEgammaProducer::fillDescriptions(), cms::PFMETProducer::fillDescriptions(), L2MuonSeedGeneratorFromL1TkMu::fillDescriptions(), TrackingRegionsFromBeamSpotAndL2Tau::fillDescriptions(), pat::PATJetProducer::fillDescriptions(), L1TS2PFJetInputPatternWriter::fillDescriptions(), AlCaHcalNoiseProducer::fillDescriptions(), PrimaryVertexProducer::fillDescriptions(), FastSiPixelFEDChannelContainerFromQuality::fillDescriptions(), CorrectedECALPFClusterProducer::fillDescriptions(), PFRecoTauChargedHadronProducer::fillDescriptions(), APVCyclePhaseDebuggerFromL1TS::fillDescriptions(), L1FastTrackingJetProducer::fillDescriptions(), L1GlobalTriggerRawToDigi::fillDescriptions(), TGeoMgrFromDdd::fillDescriptions(), CTPPSTotemDigiToRaw::fillDescriptions(), DeepFlavourTagInfoProducer::fillDescriptions(), HLTGetDigi::fillDescriptions(), Phase1L1TJetProducer::fillDescriptions(), MuonTrackingRegionBuilder::fillDescriptions(), MCMisalignmentScaler::fillDescriptions(), CTPPSPixelDigiToRaw::fillDescriptions(), IsolatedPixelTrackCandidateProducer::fillDescriptions(), ApeTreeCreateDefault::fillDescriptions(), DTChamberMasker::fillDescriptions(), HITrackingRegionForPrimaryVtxProducer::fillDescriptions(), IsolatedPixelTrackCandidateL1TProducer::fillDescriptions(), PFSimParticleProducer::fillDescriptions(), evf::EvFDaqDirector::fillDescriptions(), AreaSeededTrackingRegionsProducer::fillDescriptions(), edm::PathStatusFilter::fillDescriptions(), TriggerBxMonitor::fillDescriptions(), L1TkGlbMuonProducer::fillDescriptions(), FastTrackDeDxProducer::fillDescriptions(), edm::PoolOutputModule::fillDescriptions(), CTPPSDirectProtonSimulation::fillDescriptions(), HGCalSimHitValidation::fillDescriptions(), edm::service::Tracer::fillDescriptions(), RecAnalyzerMinbias::fillDescriptions(), LowPtGsfElectronSeedProducer::fillDescriptions(), PixelClusterTagInfoProducer::fillDescriptions(), HLTDummyCollections::fillDescriptions(), HLTrigReport::fillDescriptions(), HLTEcalResonanceFilter::fillDescriptions(), DigiSimLinkPruner::fillDescriptions(), PFRecoTauDiscriminationAgainstElectron2::fillDescriptions(), CSCChamberMasker::fillDescriptions(), TauRegionalPixelSeedGenerator::fillDescriptions(), CSCDCCUnpacker::fillDescriptions(), HiPuRhoProducer::fillDescriptions(), HLTRegionalEcalResonanceFilter::fillDescriptions(), SiPixelStatusProducer::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), pat::PATObjectUserDataEmbedder< T >::fillDescriptions(), cms::CATopJetProducer::fillDescriptions(), HcalHBHEMuonAnalyzer::fillDescriptions(), pat::JetCorrFactorsProducer::fillDescriptions(), CreateIdealTkAlRecords::fillDescriptions(), GenTtbarCategorizer::fillDescriptions(), HLTJetsCleanedFromLeadingLeptons< JetType >::fillDescriptions(), IsoValueMapProducer< T >::fillDescriptions(), DTCCablingMapProducer::fillDescriptions(), HGCalWaferValidation::fillDescriptions(), PrimaryVertexValidation::fillDescriptions(), evf::EvFOutputModule::fillDescriptions(), HLTRechitInRegionsProducer< T1 >::fillDescriptions(), CosmicRateAnalyzer::fillDescriptions(), edm::service::SimpleMemoryCheck::fillDescriptions(), SiStripDB2Tree::fillDescriptions(), HcalHBHEMuonHighEtaAnalyzer::fillDescriptions(), JetCoreMCtruthSeedGenerator::fillDescriptions(), CTPPSPixelDigiProducer::fillDescriptions(), edm::service::RandomNumberGeneratorService::fillDescriptions(), AlCaIsoTracksFilter::fillDescriptions(), DeepCoreSeedGenerator::fillDescriptions(), EgammaHLTExtraProducer::fillDescriptions(), L1TriggerJSONMonitoring::fillDescriptions(), HLTriggerJSONMonitoring::fillDescriptions(), IsoTrackCalib::fillDescriptions(), EgammaHLTPhase2ExtraProducer::fillDescriptions(), PhotonIDValueMapProducer::fillDescriptions(), cms::HTTTopJetProducer::fillDescriptions(), L1TGlobalPrescaler::fillDescriptions(), StudyCaloResponse::fillDescriptions(), HcalIsoTrkSimAnalyzer::fillDescriptions(), TriggerSummaryProducerAOD::fillDescriptions(), GenVisTauProducer::fillDescriptions(), SelectedElectronFEDListProducer< TEle, TCand >::fillDescriptions(), AlCaHcalHBHEMuonProducer::fillDescriptions(), TrackingRegionsFromSuperClustersProducer::fillDescriptions(), AlCaIsoTracksProducer::fillDescriptions(), HcalIsoTrkAnalyzer::fillDescriptions(), SiPixelGainCalibScaler::fillDescriptions(), IsoTrig::fillDescriptions(), TrackMVAClassifier< MVA, EventCache >::fillDescriptions(), BJetEnergyRegressionVarProducer< T >::fillDescriptions(), edm::service::InitRootHandlers::fillDescriptions(), HLTCaloObjInRegionsProducer< CaloObjType, CaloObjCollType >::fillDescriptions(), IsolatedTracksHcalScale::fillDescriptions(), NPUTablesProducer::fillDescriptions(), AlCaHcalIsotrkProducer::fillDescriptions(), TriggerRatesMonitor::fillDescriptions(), EgammaHLTPixelMatchVarProducer::fillDescriptions(), DTTrigPhase2Prod::fillDescriptions(), HLTRecHitInAllL1RegionsProducer< RecHitType >::fillDescriptions(), BJetEnergyRegressionMVA::fillDescriptions(), IsolatedGenParticles::fillDescriptions(), CandidateSeededTrackingRegionsProducer::fillDescriptions(), GsfElectronProducer::fillDescriptions(), PFRecoTauDiscriminationByIsolationMVA2::fillDescriptions(), IsolatedTracksCone::fillDescriptions(), PointSeededTrackingRegionsProducer::fillDescriptions(), BTagSFProducer::fillDescriptions(), NVProfilerService::fillDescriptions(), GeneralPurposeTrackAnalyzer::fillDescriptions(), evf::GlobalEvFOutputModule::fillDescriptions(), PFJetMETcorrInputProducerT< T, Textractor >::fillDescriptions(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::fillDescriptions(), BaseMVAValueMapProducer< pat::Jet >::fillDescriptions(), L1MuonSeededTrackingRegionsProducer::fillDescriptions(), reco::tau::PATTauDiscriminationByMVAIsolationRun2::fillDescriptions(), IsolatedTracksNxN::fillDescriptions(), AlCaHOCalibProducer::fillDescriptions(), TotemTimingLocalTrackFitter< T >::fillDescriptions(), CandidatePointSeededTrackingRegionsProducer::fillDescriptions(), LHETablesProducer::fillDescriptions(), evf::FastMonitoringService::fillDescriptions(), FastTimerService::fillDescriptions(), Primary4DVertexValidation::fillDescriptions(), PFRecoTauDiscriminationByIsolation::fillDescriptions(), DMRChecker::fillDescriptions(), ProtonProducer::fillDescriptions(), edm::service::StallMonitor::fillDescriptions(), pat::PATJetSelector::fillDescriptions(), PFRecoTauDiscriminationByIsolationContainer::fillDescriptions(), CandMCMatchTableProducer::fillDescriptions(), edm::EventContentAnalyzer::fillDescriptions(), RecoTauCleanerImpl< Prod >::fillDescriptions(), PrimaryVertexSorter< ParticlesCollection >::fillDescriptions(), TrackExtenderWithMTDT< TrackCollection >::fillDescriptions(), PackedCandidateTrackValidator::fillDescriptions(), TrackingNtuple::fillDescriptions(), DeepTauId::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(), edm::SwitchProducer::fillDescriptions(), TrackingRecHitPropagatorESProducer::fillDescriptions(), DYToMuMuGenFilter::fillDescriptions(), GenParticleDecaySelector::fillDescriptions(), PFRecHitProducer::fillDescriptions(), TransientTrackBuilderESProducer::fillDescriptions(), EcalUncalibRecHitProducer::fillDescriptions(), XMLIdealGeometryESProducer::fillDescriptions(), L1TMuonEndCapTrackProducer::fillDescriptions(), EcalDQMonitorTask::fillDescriptions(), Phase2L1TGMTProducer::fillDescriptions(), CaloTowersReCreator::fillDescriptions(), DistanceBetweenComponentsESProducer< N >::fillDescriptions(), KFUpdatorESProducer::fillDescriptions(), L1TMuonBarrelKalmanTrackProducer::fillDescriptions(), HBHEDarkeningEP::fillDescriptions(), HcalTimeSlewEP::fillDescriptions(), CloseComponentsMergerESProducer< N >::fillDescriptions(), LXXXCorrectorImplMaker::fillDescriptions(), edm::EmptyESSource::fillDescriptions(), AnalyticalPropagatorESProducer::fillDescriptions(), TrackerRecoGeometryESProducer::fillDescriptions(), PropagatorWithMaterialESProducer::fillDescriptions(), L1TSummary::fillDescriptions(), reco::modulesNew::MCTruthCompositeMatcher::fillDescriptions(), CandidateChargeBTagComputer::fillDescriptions(), L1OffsetCorrectorImplMaker::fillDescriptions(), NavigationSchoolESProducer::fillDescriptions(), L1TBasicDemo::fillDescriptions(), L1FastjetCorrectorImplMaker::fillDescriptions(), FastTrackerRecHitCombiner::fillDescriptions(), QIE11Task::fillDescriptions(), edm::ModelFilter::fillDescriptions(), L1JPTOffsetCorrectorImplMaker::fillDescriptions(), TrackerMTDRecoGeometryESProducer::fillDescriptions(), KFSwitching1DUpdatorESProducer::fillDescriptions(), CaloTruthCellsProducer::fillDescriptions(), PuppiPhoton::fillDescriptions(), HLTTagAndProbeOfflineSource< TagType, TagCollType, ProbeType, ProbeCollType >::fillDescriptions(), WriteCTPPSPixGainCalibrations::fillDescriptions(), L6SLBCorrectorImplMaker::fillDescriptions(), GsfTrajectorySmootherESProducer::fillDescriptions(), dEdxAnalyzer::fillDescriptions(), MVAValueMapProducer< ParticleType >::fillDescriptions(), MuonTransientTrackingRecHitBuilderESProducer::fillDescriptions(), SimHitsValidationHcal::fillDescriptions(), FastTrackerRecHitMatcher::fillDescriptions(), dEdxHitAnalyzer::fillDescriptions(), CaloTowersCreator::fillDescriptions(), l1t::L1TStage2CaloAnalyzer::fillDescriptions(), l1t::L1TCaloStage1LutWriter::fillDescriptions(), L1TMuonBarrelKalmanStubProducer::fillDescriptions(), GsfMaterialEffectsESProducer::fillDescriptions(), GsfTrajectoryFitterESProducer::fillDescriptions(), AlcaBeamMonitor::fillDescriptions(), RemovePileUpDominatedEventsGen::fillDescriptions(), ECALpedestalPCLworker::fillDescriptions(), L1TMuonQualityAdjuster::fillDescriptions(), VertexMonitor::fillDescriptions(), DJpsiFilter::fillDescriptions(), ECALpedestalPCLHarvester::fillDescriptions(), L1TUtmTriggerMenuDumper::fillDescriptions(), PFCand_AssoMap::fillDescriptions(), EcalMustacheSCParametersMaker::fillDescriptions(), Mixing2DB::fillDescriptions(), EcalSCDynamicDPhiParametersMaker::fillDescriptions(), DDCompactViewESProducer::fillDescriptions(), CastorInvalidDataFilter::fillDescriptions(), MCDisplacementFilter::fillDescriptions(), dqm::DQMFileSaverPB::fillDescriptions(), HIPTwoBodyDecayAnalyzer::fillDescriptions(), DDCompactViewMFESProducer::fillDescriptions(), WriteL1TriggerObjectsTxt::fillDescriptions(), edm::service::JobReportService::fillDescriptions(), Onia2MuMuPAT::fillDescriptions(), RunInfoTestESProducer::fillDescriptions(), SiStripLorentzAngleDepESProducer::fillDescriptions(), HGCGeometryValidation::fillDescriptions(), DDSpecParRegistryESProducer::fillDescriptions(), FourLepFilter::fillDescriptions(), MuPFIsoEmbedder::fillDescriptions(), MuonDetLayerGeometryESProducer::fillDescriptions(), TestBXVectorRefProducer::fillDescriptions(), HcalLaserEventFilter2012::fillDescriptions(), MuMuForEmbeddingSelector::fillDescriptions(), TriggerRulePrefireVetoFilter::fillDescriptions(), PF_PU_AssoMap::fillDescriptions(), EGMSeedGainProducer< T >::fillDescriptions(), dqm::DQMFileSaverOnline::fillDescriptions(), SiStripBackPlaneCorrectionDepESProducer::fillDescriptions(), JetHTJetPlusHOFilter::fillDescriptions(), TrackAssociatorByPositionProducer::fillDescriptions(), QuickTrackAssociatorByHitsProducer::fillDescriptions(), HBHEPlan1Combiner::fillDescriptions(), L1TPhysicalEtAdder::fillDescriptions(), LumiProducerFromBrilcalc::fillDescriptions(), edm::stream::EDAnalyzerBase::fillDescriptions(), GenJetTauTaggerProducer::fillDescriptions(), LHE2HepMCConverter::fillDescriptions(), HGCalTBCheckGunPostion::fillDescriptions(), edm::EDAnalyzer::fillDescriptions(), BeamProfile2DB::fillDescriptions(), L1TrackerEtMissEmulatorProducer::fillDescriptions(), l1t::L1TCaloRCTToUpgradeConverter::fillDescriptions(), ExtraFromSeeds::fillDescriptions(), TemplatedInclusiveVertexFinder< InputContainer, VTX >::fillDescriptions(), l1t::FakeInputProducer::fillDescriptions(), L1TBMTFConverter::fillDescriptions(), ttHFGenFilter::fillDescriptions(), edm::EventSetupCacheIdentifierChecker::fillDescriptions(), PhotonMVANtuplizer::fillDescriptions(), ValueMapTraslator::fillDescriptions(), TrackAssociatorByChi2Producer::fillDescriptions(), DDVectorRegistryESProducer::fillDescriptions(), InputDataProducer::fillDescriptions(), HFFilter::fillDescriptions(), PATObjectCrossLinker::fillDescriptions(), ElectronMVANtuplizer::fillDescriptions(), HcalDigiToRawuHTR::fillDescriptions(), L1TMicroGMTInputProducer::fillDescriptions(), EGEnergyAnalyzer::fillDescriptions(), L1TCaloLayer1Validator::fillDescriptions(), L1TMuonCaloSumProducer::fillDescriptions(), L1TrackJetProducer::fillDescriptions(), TrackAssociatorByHitsProducer::fillDescriptions(), L1TStage2InputPatternWriter::fillDescriptions(), VertexTableProducer::fillDescriptions(), edm::EDProducer::fillDescriptions(), NanoAODBaseCrossCleaner::fillDescriptions(), BeamSpotRcdReader::fillDescriptions(), LogMessageMonitor::fillDescriptions(), HcalLutAnalyzer::fillDescriptions(), PF_PU_FirstVertexTracks::fillDescriptions(), TemplatedVertexArbitrator< InputContainer, VTX >::fillDescriptions(), l1t::AMC13DumpToRaw::fillDescriptions(), B2GHadronicHLTValidation::fillDescriptions(), B2GSingleLeptonHLTValidation::fillDescriptions(), B2GDoubleLeptonHLTValidation::fillDescriptions(), l1t::AMCDumpToRaw::fillDescriptions(), TrackFromSeedProducer::fillDescriptions(), HcalLaserHBHEHFFilter2012::fillDescriptions(), SiStripGainsPCLHarvester::fillDescriptions(), TemplatedDeepNNTagInfoProducer< IPTag, SVTag >::fillDescriptions(), L1TMicroGMTInputProducerFromGen::fillDescriptions(), HcalLaserHBHEFilter2012::fillDescriptions(), HcalLaserHFFilter2012::fillDescriptions(), BeamSpotOnlineRecordsReader::fillDescriptions(), EGammaCutBasedEleIdAnalyzer::fillDescriptions(), edm::EDFilter::fillDescriptions(), L1TkFastVertexProducer::fillDescriptions(), edm::stream::EDFilterBase::fillDescriptions(), NanoAODOutputModule::fillDescriptions(), SiStripFEDCheckPlugin::fillDescriptions(), TestPythiaDecays::fillDescriptions(), edm::global::EDAnalyzerBase::fillDescriptions(), edm::stream::EDProducerBase::fillDescriptions(), HFPreReconstructor::fillDescriptions(), reco::CentralityProducer::fillDescriptions(), l1t::L1TGlobalAnalyzer::fillDescriptions(), edm::limited::EDAnalyzerBase::fillDescriptions(), edm::one::EDProducerBase::fillDescriptions(), TPStubValueMapProducer::fillDescriptions(), edm::one::EDFilterBase::fillDescriptions(), SoftPFElectronTagInfoProducer::fillDescriptions(), JetTagProducer::fillDescriptions(), AJJGenJetFilter::fillDescriptions(), edm::one::EDAnalyzerBase::fillDescriptions(), HFPhase1Reconstructor::fillDescriptions(), PFCand_NoPU_WithAM::fillDescriptions(), PixelLumiDQM::fillDescriptions(), ElectronHEEPIDValueMapProducer::fillDescriptions(), HCALGPUAnalyzer::fillDescriptions(), L1TrackFastJetProducer::fillDescriptions(), L1TrackJetEmulationProducer::fillDescriptions(), BTagProbabilityToDiscriminator::fillDescriptions(), edm::global::EDFilterBase::fillDescriptions(), SiStripGainsCalibTreeWorker::fillDescriptions(), edm::limited::EDFilterBase::fillDescriptions(), SoftPFMuonTagInfoProducer::fillDescriptions(), l1t::MP7BufferDumpToRaw::fillDescriptions(), HcalHardcodeCalibrations::fillDescriptions(), APVShotsFilter::fillDescriptions(), magneticfield::VolumeBasedMagneticFieldESProducerFromDB::fillDescriptions(), L1TCaloLayer1::fillDescriptions(), FSQDiJetAve::fillDescriptions(), EmbeddingVertexCorrector::fillDescriptions(), L1TStage2Layer2Producer::fillDescriptions(), edm::limited::EDProducerBase::fillDescriptions(), magneticfield::DD4hep_VolumeBasedMagneticFieldESProducerFromDB::fillDescriptions(), edm::global::EDProducerBase::fillDescriptions(), l1t::BXVectorInputProducer::fillDescriptions(), L1TMuonProducer::fillDescriptions(), DeepCMVATagInfoProducer::fillDescriptions(), L1TkMuonProducer::fillDescriptions(), PixelBaryCentreAnalyzer::fillDescriptions(), BoostedDoubleSVProducer::fillDescriptions(), edm::InputSource::fillDescriptions(), L1TStage2Layer1Producer::fillDescriptions(), l1t::GenToInputProducer::fillDescriptions(), SoftLepton::fillDescriptions(), L1TComparison::fillDescriptions(), L1Validator::fillDescriptions(), LHCInfoProducer::fillDescriptions(), VirtualJetProducer::fillDescriptions(), EmbeddingLHEProducer::fillDescriptions(), L1TCaloLayer1RawToDigi::fillDescriptions(), L1TCaloSummary::fillDescriptions(), ExternalLHEProducer::fillDescriptions(), IsoTrackCalibration::fillDescriptions(), L1TStage1Layer2Producer::fillDescriptions(), MuonIdProducer::fillDescriptions(), HadronAndPartonSelector::fillDescriptions(), PileupJetIdProducer::fillDescriptions(), FlavorHistoryFilter::fillDescriptions(), SiStripGainsPCLWorker::fillDescriptions(), EcalTrigPrimProducer::fillDescriptions(), timestudy::SleepingProducer::fillDescriptions(), LeptonSkimming::fillDescriptions(), edm::core::OutputModuleCore::fillDescriptions(), JetCleanerForType1METT< T, Textractor >::fillDescriptions(), TemplatedSecondaryVertexProducer< IPTI, VTX >::fillDescriptions(), ChainedJetCorrectorProducer::fillDescriptions(), timestudy::OneSleepingProducer::fillDescriptions(), PFAnalysis::fillDescriptions(), JetFlavourClustering::fillDescriptions(), timestudy::OneSleepingAnalyzer::fillDescriptions(), SmearedJetProducerT< T >::fillDescriptions(), L1TConfigDumper::fillDescriptions(), MuonToTrackingParticleAssociatorEDProducer::fillDescriptions(), DQMRootOutputModule::fillDescriptions(), HBHEPhase1Reconstructor::fillDescriptions(), timestudy::ExternalWorkSleepingProducer::fillDescriptions(), DQMRootSource::fillDescriptions(), SkippingLayerCosmicNavigationSchoolESProducer::fillDescriptions(), IPProducer< Container, Base, Helper >::fillDescriptions(), and edm::fillDetails::DoFillAsUnknown< T >::operator()().

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(), TrackProducerFromPatMuons::fillDescriptions(), EcalRecHitConvertGPU2CPUFormat::fillDescriptions(), edm::BooleanProducer::fillDescriptions(), HLTMuonRecHitClusterFilter::fillDescriptions(), CandPtrProjector::fillDescriptions(), edm::BooleanFilter::fillDescriptions(), TestCUDAProducerCPU::fillDescriptions(), MultipleScatteringParametrisationMakerESProducer::fillDescriptions(), LowPtGsfElectronFinalizer::fillDescriptions(), HBHERecHitProducerGPU::fillDescriptions(), ParameterSetBlobProducer::fillDescriptions(), GEMEffByGEMCSCSegmentClient::fillDescriptions(), PFRecoTauDiscriminationByIPCut::fillDescriptions(), TestCUDAProducerGPU::fillDescriptions(), TestCUDAProducerGPUFirst::fillDescriptions(), PackedCandidatesTrackLiteModifier::fillDescriptions(), HcalCPUDigisProducer::fillDescriptions(), EcalUncalibRecHitPhase2WeightsProducer::fillDescriptions(), SiPixelDigiErrorsSoAFromCUDA::fillDescriptions(), SiPixelDigisSoAFromCUDA::fillDescriptions(), HcalDigisProducerGPU::fillDescriptions(), HLTMultiplicityValueProducerFromNestedCollection< INP_TYPE, OUT_TYPE >::fillDescriptions(), L1TStage2ObjectComparison< T >::fillDescriptions(), SiPixelROCsStatusAndMappingWrapperESProducer::fillDescriptions(), HcalCPURecHitsProducer::fillDescriptions(), FRDOutputModule::fillDescriptions(), TestCUDAProducerGPUtoCPU::fillDescriptions(), SiPixelDigiMorphing::fillDescriptions(), MLPFProducer::fillDescriptions(), TestCUDAAnalyzerGPU::fillDescriptions(), HLTMultiplicityValueProducer< INP_TYPE, OUT_TYPE >::fillDescriptions(), HiSignalGenJetProducer::fillDescriptions(), SiPhase2OuterTrackerLorentzAngleReader::fillDescriptions(), HiSignalParticleProducer::fillDescriptions(), HLTPFTauIPFilter::fillDescriptions(), SiPhase2BadStripChannelReader::fillDescriptions(), TestCUDAProducerGPUEW::fillDescriptions(), HLTScoutingPrimaryVertexProducer::fillDescriptions(), HLTPFJetsMatchedToFilteredJetsProducer< TriggerJetsRefType >::fillDescriptions(), ClusterShapeHitFilterESProducer::fillDescriptions(), HPSPFTauProducer::fillDescriptions(), pat::MuonMvaIDEstimator::fillDescriptions(), HLTTripletMass< T1, T2, T3 >::fillDescriptions(), GEMEffByGEMCSCSegmentSource::fillDescriptions(), SiStripBadStripFromASCIIFile::fillDescriptions(), HLTMuonL3andL2PreFilter::fillDescriptions(), EcalCPURecHitProducer::fillDescriptions(), MuonIDFilterProducerForHLT::fillDescriptions(), edm::GenericConsumer::fillDescriptions(), L2TauTagFilter::fillDescriptions(), TestCUDAProducerGPUEWTask::fillDescriptions(), TkAlCaSkimTreeMerger::fillDescriptions(), PFEGammaToCandidate::fillDescriptions(), HiHFFilterProducer::fillDescriptions(), SiPixelDigisClustersFromSoA::fillDescriptions(), SiPixelDigiErrorsFromSoA::fillDescriptions(), MkFitGeometryESProducer::fillDescriptions(), HLTPFDiJetCorrCheckerWithDiTau::fillDescriptions(), BeamSpotAnalyzer::fillDescriptions(), HcalGPUComparisonTask::fillDescriptions(), SiPixelPhase1CompareVertexSoA::fillDescriptions(), TrackFromPackedCandidateProducer::fillDescriptions(), EventSelectorAdapter< T >::fillDescriptions(), SiPixelRecHitFromCUDA::fillDescriptions(), SiPixelRecHitSoAFromCUDA::fillDescriptions(), L3MuonCandidateProducerFromMuons::fillDescriptions(), ConvertingESProducerT< Record, Target, Source >::fillDescriptions(), cms::CkfTrackCandidateMaker::fillDescriptions(), BoostedJetONNXJetTagsProducer::fillDescriptions(), SiPixelPhase1MonitorTrackSoA::fillDescriptions(), SiPixelPhase1MonitorVertexSoA::fillDescriptions(), BadParticleFilter::fillDescriptions(), BeamSpotWrite2DB::fillDescriptions(), OnlineBeamMonitor::fillDescriptions(), HLTPPSJetComparisonFilter::fillDescriptions(), FixedGridRhoProducerFastjetFromRecHit::fillDescriptions(), SiPixelRecHitSoAFromLegacy::fillDescriptions(), MkFitSiPixelHitConverter::fillDescriptions(), TkTransientTrackingRecHitBuilderESProducer::fillDescriptions(), PATTracksToPackedCandidates::fillDescriptions(), PPSTimingCalibrationPCLWorker::fillDescriptions(), PPSTimingCalibrationPCLHarvester::fillDescriptions(), AlCaRecoTriggerBitsRcdUpdate::fillDescriptions(), TkAlCaOverlapTagger::fillDescriptions(), MkFitEventOfHitsProducer::fillDescriptions(), FilterTrackerOn::fillDescriptions(), SiStripHitEfficiencyHarvester::fillDescriptions(), SiPixelPhase1CompareRecHitsSoA::fillDescriptions(), EcalUncalibRecHitProducerGPU::fillDescriptions(), CalibratedPhotonProducerT< T >::fillDescriptions(), SiPixelPhase1MonitorRecHitsSoA::fillDescriptions(), SeedGeneratorFromL1TTracksEDProducer::fillDescriptions(), AlignmentTrackFromVertexSelectorModule::fillDescriptions(), cms::CkfTrajectoryMaker::fillDescriptions(), PPSAlignmentWorker::fillDescriptions(), RawEventOutputModuleForBU< Consumer >::fillDescriptions(), BeamSpotOnlineProducer::fillDescriptions(), SiPixelLorentzAngleReader::fillDescriptions(), MuonFSRAssociator::fillDescriptions(), SeedProducerFromSoA::fillDescriptions(), SiPixelFakeLorentzAngleESSource::fillDescriptions(), MuonFSRProducer::fillDescriptions(), SimTrackstersProducer::fillDescriptions(), MkFitSeedConverter::fillDescriptions(), SiPhase2BadStripChannelBuilder::fillDescriptions(), TrackDistanceValueMapProducer::fillDescriptions(), SinglePhotonJetPlusHOFilter::fillDescriptions(), CalibratedElectronProducerT< T >::fillDescriptions(), L1TComparisonResultFilter< T >::fillDescriptions(), AlignmentPrescaler::fillDescriptions(), JetConstituentSelector< T, C >::fillDescriptions(), PixelTrackProducerFromSoA::fillDescriptions(), AlignPCLThresholdsWriter< T >::fillDescriptions(), LhcTrackAnalyzer::fillDescriptions(), SiPixelRawToClusterCUDA::fillDescriptions(), SiPixelPhase2DigiToClusterCUDA::fillDescriptions(), AlCaRecoTriggerBitsRcdRead::fillDescriptions(), LeptonFSRProducer::fillDescriptions(), BeamSpotOnlineRecordsWriter::fillDescriptions(), HLTScoutingPFProducer::fillDescriptions(), JetPlusTrackAddonSeedProducer::fillDescriptions(), SiPhase2OuterTrackerLorentzAngleWriter::fillDescriptions(), IsFromLostTrackMapProducer::fillDescriptions(), TauDiscriminationAgainstElectronMVA6< TauType, TauDiscriminator, ElectronType >::fillDescriptions(), SiPhase2BadStripConfigurableFakeESSource::fillDescriptions(), PPSAlignmentHarvester::fillDescriptions(), TauDiscriminationAgainstElectronDeadECAL< TauType, TauDiscriminator >::fillDescriptions(), L1GTTInputProducer::fillDescriptions(), TrackerRemapper::fillDescriptions(), HLTJetHFCleaner< JetType >::fillDescriptions(), NearbyPixelClustersAnalyzer::fillDescriptions(), SiStripHitEfficiencyWorker::fillDescriptions(), EopTreeWriter::fillDescriptions(), DiMuonVertexValidation::fillDescriptions(), NearbyPixelClustersProducer::fillDescriptions(), L1TrackSelectionProducer::fillDescriptions(), MkFitOutputConverter::fillDescriptions(), SiPixelPhase1CompareTrackSoA::fillDescriptions(), DiElectronVertexValidation::fillDescriptions(), edm::ThinningProducer< Collection, Selector >::fillDescriptions(), SiPixelPhase1Analyzer::fillDescriptions(), ConvertingESProducerWithDependenciesT< CombinedRecord< DepsRecords... >, Target, Dependencies... >::fillDescriptions(), SiStripApvGainFromFileBuilder::fillDescriptions(), SplitVertexResolution::fillDescriptions(), SiPixelLorentzAnglePCLHarvester::fillDescriptions(), EgammaHLTFilteredObjProducer< OutCollType >::fillDescriptions(), SiStripCondVisualizer::fillDescriptions(), DRNCorrectionProducerT< T >::fillDescriptions(), SiPixelLorentzAnglePCLWorker::fillDescriptions(), TritonService::fillDescriptions(), L2TauNNProducer::fillDescriptions(), and MkFitIterationConfigESProducer::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(), and edm::eventsetup::DataProxyProvider::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 223 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().

229  {
230  if (!brief) {
231  if (!comment().empty()) {
233  }
234  os << "\n";
235  }
236 
237  if (descriptions_.empty() && !defaultDescDefined_) {
238  char oldFill = os.fill();
240  os << std::setfill(' ') << std::setw(indentation) << "";
241  os << "There are no PSet descriptions defined for this plugin.\n";
242  os << std::setfill(' ') << std::setw(indentation) << "";
243  os << "PSets will not be validated and no cfi files will be generated.\n";
244  os << std::setfill(oldFill);
245  if (!brief)
246  os << "\n";
247  return;
248  }
249 
252  char oldFill = os.fill();
253  os << std::setfill(' ') << std::setw(indentation) << "";
254  os << "This plugin has not implemented the function which defines its\n";
255  os << std::setfill(' ') << std::setw(indentation) << "";
256  os << "configuration descriptions yet. No descriptions are available.\n";
257  os << std::setfill(' ') << std::setw(indentation) << "";
258  os << "Its PSets will not be validated, and no cfi files will be generated.\n";
259  os << std::setfill(oldFill);
260  if (!brief)
261  os << "\n";
262  return;
263  }
264 
265  if (!brief) {
266  std::stringstream ss;
267  if (defaultDescDefined_) {
268  if (descriptions_.empty()) {
269  ss << "This plugin has only one PSet description. "
270  << "This description is always used to validate configurations. "
271  << "Because this configuration has no label, no cfi files will be generated.";
272  } else {
273  ss << "This plugin has " << (descriptions_.size() + 1U) << " PSet descriptions. "
274  << "The description used to validate a configuration is selected by "
275  << "matching the module labels. If none match, then the last description, "
276  << "which has no label, is selected. "
277  << "A cfi file will be generated for each configuration with a module label.";
278  }
279  } else {
280  if (descriptions_.size() == 1U) {
281  ss << "This plugin has " << descriptions_.size() << " PSet description. "
282  << "This description is always used to validate configurations. "
283  << "The label below is used when generating the cfi file.";
284  } else {
285  ss << "This plugin has " << descriptions_.size() << " PSet descriptions. "
286  << "The description used to validate a configuration is selected by "
287  << "matching the module labels. If none match the first description below is used. "
288  << "The module labels below are also used when generating the cfi files.";
289  }
290  }
292  os << "\n";
293  }
294 
296 
297  DescriptionCounter counter;
298  counter.iPlugin = iPlugin;
299  counter.iSelectedModule = 0;
300  counter.iModule = 0;
301 
302  for (auto const& d : descriptions_) {
303  printForLabel(d, os, moduleLabel, brief, printOnlyLabels, lineWidth, indentation, counter);
304  }
305 
306  if (defaultDescDefined_) {
307  printForLabel(os,
308  std::string("@default"),
309  defaultDesc_,
310  moduleLabel,
311  brief,
312  printOnlyLabels,
313  lineWidth,
314  indentation,
315  counter);
316  }
317  }
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 319 of file ConfigurationDescriptions.cc.

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

Referenced by print().

326  {
327  printForLabel(os,
328  labelAndDesc.first,
329  labelAndDesc.second,
330  moduleLabel,
331  brief,
332  printOnlyLabels,
333  lineWidth,
334  indentation,
335  counter);
336  }
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 338 of file ConfigurationDescriptions.cc.

References baseType_, edmLumisInFiles::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().

346  {
347  ++counter.iModule;
348  if (!moduleLabel.empty() && label != moduleLabel)
349  return;
350  ++counter.iSelectedModule;
351 
352  std::stringstream ss;
353  ss << counter.iPlugin << "." << counter.iSelectedModule;
354  std::string section = ss.str();
355 
356  char oldFill = os.fill();
357  os << std::setfill(' ') << std::setw(indentation) << "" << std::setfill(oldFill);
358  os << section << " ";
359  if (label == std::string("@default")) {
360  os << "description without a module label\n";
361  } else {
362  if (!brief) {
363  if (0 == strcmp(baseType_.c_str(), kSource) || 0 == strcmp(baseType_.c_str(), kService)) {
364  os << "label: ";
365  } else {
366  os << "module label: ";
367  }
368  }
369  os << label << "\n";
370  }
371 
372  if (!brief) {
373  if (!description.comment().empty()) {
375  }
376  os << "\n";
377  }
378  if (printOnlyLabels)
379  return;
380 
381  DocFormatHelper dfh;
382  dfh.setBrief(brief);
383  dfh.setLineWidth(lineWidth);
384  dfh.setIndentation(indentation + DocFormatHelper::offsetTopLevelPSet());
385  dfh.setSection(section);
386  dfh.setParent(DocFormatHelper::TOP);
387 
388  description.print(os, dfh);
389  }
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::BooleanProducer::fillDescriptions(), edm::BooleanFilter::fillDescriptions(), TestCUDAProducerCPU::fillDescriptions(), TestCUDAProducerGPU::fillDescriptions(), TestCUDAProducerGPUFirst::fillDescriptions(), TestCUDAProducerGPUtoCPU::fillDescriptions(), TestCUDAAnalyzerGPU::fillDescriptions(), L2TauJetsMerger::fillDescriptions(), TestCUDAProducerGPUEW::fillDescriptions(), L1THLTTauMatching::fillDescriptions(), L1HLTTauMatching::fillDescriptions(), CUDAMonitoringService::fillDescriptions(), edm::service::UnixSignalService::fillDescriptions(), edm::GenericConsumer::fillDescriptions(), TestCUDAProducerGPUEWTask::fillDescriptions(), PFJetsMaxInvMassModule::fillDescriptions(), PFJetsTauOverlapRemoval::fillDescriptions(), L1TMuonEndCapShowerProducer::fillDescriptions(), TauJetSelectorForHLTTrackSeeding::fillDescriptions(), HLTPFDiJetCorrCheckerWithDiTau::fillDescriptions(), MillePedeFileConverter::fillDescriptions(), L2TauPixelIsoTagProducer::fillDescriptions(), PFTauL1TJetsMatching::fillDescriptions(), MillePedeFileExtractor::fillDescriptions(), VertexFromTrackProducer::fillDescriptions(), edm::service::LoadAllDictionaries::fillDescriptions(), edm::PrintEventSetupDataRetrieval::fillDescriptions(), PrintLoadingPlugins::fillDescriptions(), edm::PrintEventSetupContent::fillDescriptions(), MuonTrackingRegionByPtBuilder::fillDescriptions(), edm::service::Timing::fillDescriptions(), L1TJetsMatching< T >::fillDescriptions(), edm::EventSetupRecordDataGetter::fillDescriptions(), MuonTrackingRegionBuilder::fillDescriptions(), edm::service::Tracer::fillDescriptions(), CSCDCCUnpacker::fillDescriptions(), NVProfilerService::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::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 152 of file ConfigurationDescriptions.cc.

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

Referenced by writeCfis().

155  {
156  if (0 == strcmp(baseType.c_str(), kService) && labelAndDesc.first != pluginName) {
158  "ConfigurationDescriptions::writeCfiForLabel\nFor a service the label and the plugin name "
159  "must be the same.\n")
160  << "This error is probably caused by an incorrect label being passed\nto the ConfigurationDescriptions::add "
161  "function earlier.\n"
162  << "plugin name = \"" << pluginName << "\" label name = \"" << labelAndDesc.first << "\"\n";
163  }
164 
165  std::string cfi_filename;
166  if (0 == strcmp(baseType.c_str(), kSource)) {
167  cfi_filename = pluginName + "_cfi.py";
168  } else {
169  cfi_filename = labelAndDesc.first + "_cfi.py";
170  }
171  if (!usedCfiFileNames.insert(cfi_filename).second) {
173  "Two cfi files are being generated with the same name in the same directory.\n");
174  ex << "The cfi file name is '" << cfi_filename << "' and\n"
175  << "the module label is \'" << labelAndDesc.first << "\'.\n"
176  << "This error is probably caused by an error in one or more fillDescriptions functions\n"
177  << "where duplicate module labels are being passed to the ConfigurationDescriptions::add\n"
178  << "function. All such module labels must be unique within a package.\n"
179  << "If you do not want the generated cfi file and do not need more than one\n"
180  << "description for a plugin, then a way to fix this is to use the addDefault\n"
181  << "function instead of the add function.\n"
182  << "There are 3 common ways this problem can happen.\n"
183  << "1. This can happen when a module label is explicitly duplicated in one or more\n"
184  << "fillDescriptions functions. Fix these by changing the module labels to be unique.\n"
185  << "2. This can also happen when a module class is a template class and plugins are\n"
186  << "defined by instantiations with differing template parameters and these plugins\n"
187  << "share the same fillDescriptions function. Fix these by specializing the fillDescriptions\n"
188  << "function for each template instantiation.\n"
189  << "3. This can also happen when there is an inheritance heirarchy and multiple plugin modules\n"
190  << "are defined using derived classes and the base class which share the same fillDescriptions\n"
191  << "function. Fix these by redefining the fillDescriptions function in each derived class.\n";
192  ex.addContext("Executing function ConfigurationDescriptions::writeCfiForLabel");
193  throw ex;
194  }
195  std::ofstream outFile(cfi_filename.c_str());
196  if (outFile.fail()) {
197  edm::Exception ex(edm::errors::LogicError, "Creating cfi file failed.\n");
198  ex << "Opening a file '" << cfi_filename << "' for module '" << labelAndDesc.first << "' failed.\n";
199  ex << "Error code from errno " << errno << ": " << std::strerror(errno) << "\n";
200 
201  ex.addContext("Executing function ConfigurationDescriptions::writeCfiForLabel");
202  throw ex;
203  }
204 
205  outFile << "import FWCore.ParameterSet.Config as cms\n\n";
206  outFile << labelAndDesc.first << " = cms." << baseType << "('" << pluginName << "'";
207 
208  bool startWithComma = true;
209  int indentation = 2;
210  labelAndDesc.second.writeCfi(outFile, startWithComma, indentation);
211 
212  outFile << ")\n";
213 
214  outFile.close();
215 
216  if (0 == strcmp(baseType.c_str(), kSource)) {
217  std::cout << pluginName << "\n";
218  } else {
219  std::cout << labelAndDesc.first << "\n";
220  }
221  }
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_, descriptions_, edm::for_all(), pluginName_, and writeCfiForLabel().

143  {
146  std::placeholders::_1,
147  std::cref(baseType_),
148  std::cref(pluginName_),
149  std::ref(usedCfiFileNames)));
150  }
static void writeCfiForLabel(std::pair< std::string, ParameterSetDescription > const &labelAndDesc, std::string const &baseType, std::string const &pluginName, std::set< std::string > &usedCfiFileNames)
Func for_all(ForwardSequence &s, Func f)
wrapper for std::for_each
Definition: Algorithms.h:14
std::vector< std::pair< std::string, ParameterSetDescription > > descriptions_

Member Data Documentation

◆ baseType_

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

◆ comment_

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

Definition at line 116 of file ConfigurationDescriptions.h.

Referenced by comment(), and setComment().

◆ defaultDesc_

ParameterSetDescription edm::ConfigurationDescriptions::defaultDesc_
private

Definition at line 114 of file ConfigurationDescriptions.h.

Referenced by addDefault(), defaultDescription(), print(), and validate().

◆ defaultDescDefined_

bool edm::ConfigurationDescriptions::defaultDescDefined_
private

Definition at line 117 of file ConfigurationDescriptions.h.

Referenced by add(), addDefault(), defaultDescription(), print(), and validate().

◆ descriptions_

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

Definition at line 112 of file ConfigurationDescriptions.h.

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

◆ pluginName_

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

Definition at line 110 of file ConfigurationDescriptions.h.

Referenced by addWithDefaultLabel(), and writeCfis().