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::ModuloEventIDFilter::fillDescriptions(), edm::ModuloStreamIDFilter::fillDescriptions(), L1TStage2RatioClient::fillDescriptions(), GEDGsfElectronValueMapProducer::fillDescriptions(), TrackAlgoPriorityOrderESProducer::fillDescriptions(), edm::Prescaler::fillDescriptions(), edm::TestSource::fillDescriptions(), EcalUncalibRecHitConvertGPU2CPUFormat::fillDescriptions(), TrackCleanerESProducer::fillDescriptions(), ClusterCheckerEDProducer::fillDescriptions(), SeedingLayersEDProducer::fillDescriptions(), CrossingFramePSimHitToPSimHitsConverter::fillDescriptions(), DetStatus::fillDescriptions(), SiPixelPhase1TrackComparisonHarvester::fillDescriptions(), l1tp2::ParametricCalibration::fillDescriptions(), HLTDisplacedmumuFilter::fillDescriptions(), HLTDisplacedmumumuFilter::fillDescriptions(), GEDGsfElectronCoreProducer::fillDescriptions(), HLTDisplacedtktkFilter::fillDescriptions(), HLTDisplacedtktktkFilter::fillDescriptions(), BasicToPFJet::fillDescriptions(), HLTDQMObjSelector< ObjType, ObjCollType >::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(), MtdTracksHarvester::fillDescriptions(), Primary4DVertexHarvester::fillDescriptions(), HLTEcalIsolationFilter::fillDescriptions(), L1TStage2MuonShowerComp::fillDescriptions(), L1GTPrescaler::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(), VertexAssociatorByTracksProducer::fillDescriptions(), CTPPSModifiedOpticalFunctionsESSource::fillDescriptions(), HLTMuonL1TFilter::fillDescriptions(), SiPixelFEDChannelContainerTestReader::fillDescriptions(), HLTEcalPixelIsolTrackFilter::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(), 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(), CTPPSLHCInfoESSource::fillDescriptions(), PFTICLProducer::fillDescriptions(), TICLLayerTileProducer::fillDescriptions(), EcalCPUUncalibRecHitProducer::fillDescriptions(), MTDCPEESProducer::fillDescriptions(), NoBPTXMonitor::fillDescriptions(), PixelCPEFastESProducer::fillDescriptions(), PixelCPETemplateRecoESProducer::fillDescriptions(), SiStripApprox2ApproxClusters::fillDescriptions(), SiStripClusters2ApproxClusters::fillDescriptions(), ClusterShapeTrackFilterProducer::fillDescriptions(), PixelNtupletsFitterProducer::fillDescriptions(), PixelVertexCollectionTrimmer::fillDescriptions(), PHGCalParametersDBBuilder::fillDescriptions(), HLTPFTauPairLeadTrackDzMatchFilter::fillDescriptions(), PFRecoTauDiscriminationByLeadingObjectPtCut::fillDescriptions(), HLTForwardBackwardJetsFilter< T >::fillDescriptions(), SiPixelBadFEDChannelSimulationSanityChecker::fillDescriptions(), HLTMuonL1RegionalFilter::fillDescriptions(), VertexAssociatorByPositionAndTracksProducer::fillDescriptions(), HLTMuonTrackMassFilter::fillDescriptions(), CTPPSInterpolatedOpticalFunctionsESSource::fillDescriptions(), HLTHcalTowerFilter::fillDescriptions(), HLTPixelActivityFilter::fillDescriptions(), HLTRPCFilter::fillDescriptions(), TFileAdaptor::fillDescriptions(), pat::PackedGenParticleSignalProducer::fillDescriptions(), TrackerGeometricDetESModule::fillDescriptions(), TrackerTopologyEP::fillDescriptions(), PileUpFilter::fillDescriptions(), CTPPSOpticalFunctionsESSource::fillDescriptions(), HIPixelTrackFilterProducer::fillDescriptions(), PUFilter::fillDescriptions(), HLTElectronMissingHitsFilter::fillDescriptions(), HLTJetTimingFilter< T >::fillDescriptions(), L2TauJetsMerger::fillDescriptions(), HLT2jetGapFilter::fillDescriptions(), AnyJetToCaloJetProducer::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(), HLTDeDxFilter::fillDescriptions(), HLTHPDFilter::fillDescriptions(), HLTJetL1TMatchProducer< T >::fillDescriptions(), HLTNVFilter::fillDescriptions(), EcalSimHitDump::fillDescriptions(), HLTRapGapFilter::fillDescriptions(), HLTPhi2METFilter::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(), PFTauDiscriminatorLogicalAndProducer::fillDescriptions(), HLTHcalLaserFilter::fillDescriptions(), SeedCreatorFromRegionHitsEDProducerT< T_SeedCreator >::fillDescriptions(), HLTCSCOverlapFilter::fillDescriptions(), SiStripRegFEDSelector::fillDescriptions(), edm::service::TestService::fillDescriptions(), edm::StreamerFileReader::fillDescriptions(), JetTracksAssociationToTrackRefs::fillDescriptions(), pat::BadPFCandidateJetsEEnoiseProducer::fillDescriptions(), edm::service::UnixSignalService::fillDescriptions(), GeneratorSmearedProducer::fillDescriptions(), L1TMuonShowerProducer::fillDescriptions(), Phase2L1TGMTStubProducer::fillDescriptions(), HLTMuonDimuonL2FromL1TFilter::fillDescriptions(), CUDAMonitoringService::fillDescriptions(), HLTDisplacedEgammaFilter::fillDescriptions(), FilteredLayerClustersProducer::fillDescriptions(), photonIsolationHIProducer::fillDescriptions(), JetMonitor::fillDescriptions(), MVAJetPuIdProducer::fillDescriptions(), MTDTimeCalibESProducer::fillDescriptions(), PixelCPEGenericESProducer::fillDescriptions(), HLTDiJetAveEtaFilter< T >::fillDescriptions(), HLT2L1TkMuonL1TkMuonMuRefDR::fillDescriptions(), L3MuonSumCaloPFIsolationProducer::fillDescriptions(), KFBasedPixelFitterProducer::fillDescriptions(), PixelTrackSoAFromCUDA::fillDescriptions(), EcalCPUDigisProducer::fillDescriptions(), RPCInverseCPPFLinkMapESProducer::fillDescriptions(), RPCInverseLBLinkMapESProducer::fillDescriptions(), HLTDiJetAveFilter< T >::fillDescriptions(), HLTDiJetEtaTopologyFilter< T >::fillDescriptions(), RPCInverseTwinMuxLinkMapESProducer::fillDescriptions(), HLTFatJetMassFilter< jetType >::fillDescriptions(), RecoTauPileUpVertexSelector::fillDescriptions(), HLTHcalMETNoiseFilter::fillDescriptions(), RPCInverseOMTFLinkMapESProducer::fillDescriptions(), HLTJetEtaTopologyFilter< T >::fillDescriptions(), HLTJetVBFFilter< T >::fillDescriptions(), HLTMonoJetFilter< T >::fillDescriptions(), CTPPSLHCInfoPlotter::fillDescriptions(), HLTMuonDimuonL2Filter::fillDescriptions(), HLTMuonL2PreFilter::fillDescriptions(), HLTMuonL2FromL1TPreFilter::fillDescriptions(), HLTMuonPFIsoFilter::fillDescriptions(), HLTPhysicsDeclared::fillDescriptions(), TrackerAdditionalParametersPerDetESModule::fillDescriptions(), DeepCombinedONNXJetTagsProducer::fillDescriptions(), DeepVertexONNXJetTagsProducer::fillDescriptions(), LowPtGSFToTrackLinker::fillDescriptions(), HLTEgammaAllCombMassFilter::fillDescriptions(), HLTEgammaCombMassFilter::fillDescriptions(), TICLCandidateFromTrackstersProducer::fillDescriptions(), TrackSelectorByRegion::fillDescriptions(), TrackFitterProducer::fillDescriptions(), CTPPSPixelRawToDigi::fillDescriptions(), L1THPSPFTauFilter::fillDescriptions(), PixelTrackDumpCUDA::fillDescriptions(), L1TTkEleFilter::fillDescriptions(), L1TTkEmFilter::fillDescriptions(), L1TTkMuonFilter::fillDescriptions(), PFRecoTauDiscriminationByHPSSelection::fillDescriptions(), HLTExclDiJetFilter< T >::fillDescriptions(), HLTHcalTowerNoiseCleanerWithrechit::fillDescriptions(), HLTHcalTowerNoiseCleaner::fillDescriptions(), HLTJetCollectionsVBFFilter< T >::fillDescriptions(), GlobalTrackingRegionProducer::fillDescriptions(), PixelInactiveAreaTrackingRegionsSeedingLayersProducer::fillDescriptions(), RPCAMCRawToDigi::fillDescriptions(), HGCalTBMBAnalyzer::fillDescriptions(), HLTMuonIsoFilter::fillDescriptions(), TreeWriterForEcalCorrection::fillDescriptions(), HLTTriMuonIsolation::fillDescriptions(), BeamSpotProblemMonitor::fillDescriptions(), HLTPixelClusterShapeFilter::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(), RPCDigiMerger::fillDescriptions(), HLTMhtFilter::fillDescriptions(), MaterialBudgetHcalAnalysis::fillDescriptions(), HLTMuonL1toL3TkPreFilter::fillDescriptions(), ECALRegFEDSelector::fillDescriptions(), ThroughputServiceClient::fillDescriptions(), edm::TimeoutPoolOutputModule::fillDescriptions(), L1TMuonEndCapShowerProducer::fillDescriptions(), MuonIDTableProducer::fillDescriptions(), TrackerParametersESModule::fillDescriptions(), EgammaHLTBcHcalIsolationProducersRegional::fillDescriptions(), TICLSeedingRegionProducer::fillDescriptions(), CTPPSLHCInfoRandomXangleESSource::fillDescriptions(), HLTEgammaGenericQuadraticEtaFilter::fillDescriptions(), HLTEgammaGenericQuadraticFilter::fillDescriptions(), METplusTrackMonitor::fillDescriptions(), HLTEgammaTriggerFilterObjectWrapper::fillDescriptions(), HLTElectronEoverpFilterRegional::fillDescriptions(), HLTElectronGenericFilter::fillDescriptions(), HLTElectronOneOEMinusOneOPFilterRegional::fillDescriptions(), dqmservices::DQMStreamerReader::fillDescriptions(), HLTGlobalSums< T >::fillDescriptions(), ChargedHadronPFTrackIsolationProducer::fillDescriptions(), HLTSinglet< T >::fillDescriptions(), PuppiProducer::fillDescriptions(), PixelFitterByHelixProjectionsProducer::fillDescriptions(), PFJetsMaxInvMassModule::fillDescriptions(), PFJetsTauOverlapRemoval::fillDescriptions(), HLTAcoFilter::fillDescriptions(), HLTAlphaTFilter< T >::fillDescriptions(), HitPairEDProducer::fillDescriptions(), HLTMuonL1TtoL3TkPreFilter::fillDescriptions(), edm::AsciiOutputModule::fillDescriptions(), edm::ZombieKillerService::fillDescriptions(), CaloTowerTopologyEP::fillDescriptions(), GenProtonTableProducer::fillDescriptions(), CTPPSBeamParametersFromLHCInfoESSource::fillDescriptions(), HiFJRhoProducer::fillDescriptions(), SiStripDetVOffPrinter::fillDescriptions(), EcalLaserCorrectionService::fillDescriptions(), SiPixelRecHitCUDA::fillDescriptions(), HLTEventAnalyzerAOD::fillDescriptions(), HLTEventAnalyzerRAW::fillDescriptions(), L2MuonIsolationProducer::fillDescriptions(), VertexCompositeCandidateCollectionSelector::fillDescriptions(), HLTBool::fillDescriptions(), SiPixelClusterShapeCacheProducer::fillDescriptions(), CAHitNtupletCUDA::fillDescriptions(), HLTRFilter::fillDescriptions(), HLTJetTimingProducer< T >::fillDescriptions(), TauJetSelectorForHLTTrackSeeding::fillDescriptions(), PFRecoTauDiscriminationByNProngs::fillDescriptions(), RPCUnpackingModule::fillDescriptions(), HLTPFJetIDProducer::fillDescriptions(), BtlSimHitsHarvester::fillDescriptions(), HLTMuonTrimuonL3Filter::fillDescriptions(), MaterialBudgetVolumeAnalysis::fillDescriptions(), RandomEngineStateProducer::fillDescriptions(), CAHitNtupletEDProducerT< T_Generator >::fillDescriptions(), EnergyRingsTableProducer::fillDescriptions(), LowPtGSFToPackedCandidateLinker::fillDescriptions(), DQMScaleToClient::fillDescriptions(), TrackstersMergeProducer::fillDescriptions(), MuonMonitor::fillDescriptions(), EcalRecHitProducer::fillDescriptions(), HLTPMDocaFilter::fillDescriptions(), DTUnpackingModule::fillDescriptions(), CTPPSDiamondLocalTrackFitter::fillDescriptions(), HLTRHemisphere::fillDescriptions(), L2TauPixelIsoTagProducer::fillDescriptions(), PFTauL1TJetsMatching::fillDescriptions(), HLTHtMhtFilter::fillDescriptions(), HLTMinDPhiMETFilter::fillDescriptions(), HGcalHitIdCheck::fillDescriptions(), PrintGeomSolids::fillDescriptions(), MillePedeFileConverter::fillDescriptions(), HLTEcalTowerFilter::fillDescriptions(), DaqTestHistograms::fillDescriptions(), edm::service::ResourceEnforcer::fillDescriptions(), PSMonitorClient::fillDescriptions(), BPHHistoSpecificDecay::fillDescriptions(), LowPtGsfElectronSCProducer::fillDescriptions(), EgammaIsoHcalDetIdCollectionProducer::fillDescriptions(), EgammaHcalPFClusterIsolationProducer< T1 >::fillDescriptions(), HLTEgammaCaloIsolFilterPairs::fillDescriptions(), HLTEgammaDoubleEtPhiFilter::fillDescriptions(), HLTEgammaDoubleEtFilter::fillDescriptions(), HLTEgammaL1MatchFilterPairs::fillDescriptions(), HLTEgammaL1MatchFilterRegional::fillDescriptions(), DemoOneDQMEDAnalyzer::fillDescriptions(), DemoNormalDQMEDAnalyzer::fillDescriptions(), PPSAssociationCutsESSource::fillDescriptions(), HLTMuonL1Filter::fillDescriptions(), EcalBarrelClusterFastTimer::fillDescriptions(), HitTripletEDProducerT< T_HitTripletGenerator >::fillDescriptions(), PixelVertexProducerFromSoA::fillDescriptions(), TotemRPRecHitProducer::fillDescriptions(), HLTMuonL3PreFilter::fillDescriptions(), HLTCTPPSLocalTrackFilter::fillDescriptions(), GEMDigiSource::fillDescriptions(), HLTPixelActivityHFSumEnergyFilter::fillDescriptions(), edm::service::ConcurrentModuleTimer::fillDescriptions(), BeamDivergenceVtxGenerator::fillDescriptions(), EcalLaserCorrectionServiceMC::fillDescriptions(), RecoTauPiZeroUnembedder::fillDescriptions(), RPCGeometryESModule::fillDescriptions(), EgammaHLTClusterShapeProducer::fillDescriptions(), SiStripLorentzAngleRunInfoTableProducer::fillDescriptions(), HIMuonTrackingRegionProducer::fillDescriptions(), HLTEgammaL1TMatchFilterRegional::fillDescriptions(), HGCalMultiClusterProducer::fillDescriptions(), BadParticleFilter::fillDescriptions(), HLTGetRaw::fillDescriptions(), HLTSmartSinglet< T >::fillDescriptions(), METMonitor::fillDescriptions(), HLTMhtProducer::fillDescriptions(), RPCTwinMuxDigiToRaw::fillDescriptions(), sistrip::ExcludedFEDListProducer::fillDescriptions(), HLTDTROMonitorFilter::fillDescriptions(), HLTPixlMBFilt::fillDescriptions(), HLTPixlMBForAlignmentFilter::fillDescriptions(), GEMEfficiencyAnalyzer::fillDescriptions(), HcalTestAnalyzer::fillDescriptions(), Type1PFMET::fillDescriptions(), FilterOutLowPt::fillDescriptions(), PileupJetIDVarProducer::fillDescriptions(), pat::PackedCandidateTrackChi2Producer::fillDescriptions(), DeepBoostedJetTagInfoProducer::fillDescriptions(), LowPtGsfElectronIDProducer::fillDescriptions(), EgammaHLTCaloTowerProducer::fillDescriptions(), TfGraphDefProducer::fillDescriptions(), CandMergerCleanOthersByDR::fillDescriptions(), GlobalTrackQualityProducer::fillDescriptions(), L3MuonCombinedRelativeIsolationProducer::fillDescriptions(), PFClusterTimeAssigner::fillDescriptions(), TotemRPClusterProducer::fillDescriptions(), HLTCaloTowerHtMhtProducer::fillDescriptions(), HLTHtMhtProducer::fillDescriptions(), MillePedeFileExtractor::fillDescriptions(), RawDataMapperByLabel::fillDescriptions(), HcalSimHitDump::fillDescriptions(), HitParentTest::fillDescriptions(), GEMChamberMasker::fillDescriptions(), AlCaEcalHcalReadoutsProducer::fillDescriptions(), L1TObjectsTiming::fillDescriptions(), CaloSimulationConstantsESModule::fillDescriptions(), HcalDDDSimConstantsESModule::fillDescriptions(), citk::PFIsolationSumProducerForPUPPI::fillDescriptions(), HcalSimulationConstantsESModule::fillDescriptions(), HcalTestSimHitID::fillDescriptions(), AlcaPCCEventProducer::fillDescriptions(), HLTDisplacedmumumuVtxProducer::fillDescriptions(), HLTJetTag< T >::fillDescriptions(), HLTJetTagWithMatching< T >::fillDescriptions(), HLTMuonL2SelectorForL3IO::fillDescriptions(), PixelFitterByConformalMappingAndLineProducer::fillDescriptions(), HLTDoubletDZ< T1, T2 >::fillDescriptions(), TauHadronDecayFilter::fillDescriptions(), HLTSummaryFilter::fillDescriptions(), CTPPSLocalTrackLiteProducer::fillDescriptions(), HcalRawToDigi::fillDescriptions(), HcalForwardLibWriter::fillDescriptions(), HLTPFEnergyFractionsFilter::fillDescriptions(), HLTCaloTowerFilter::fillDescriptions(), HLTCountNumberOfObject< OColl >::fillDescriptions(), GEMDAQStatusSource::fillDescriptions(), HLTMuonTrackSelector::fillDescriptions(), edm::ProvenanceCheckerOutputModule::fillDescriptions(), HLTPPSCalFilter::fillDescriptions(), HLTPPSPerPotTrackFilter::fillDescriptions(), L1TGlobalSummary::fillDescriptions(), ME0GeometryESModule::fillDescriptions(), HLTDisplacedmumuVtxProducer::fillDescriptions(), ObjMonitor::fillDescriptions(), DaqFakeReader::fillDescriptions(), TSGForOI::fillDescriptions(), HcalIsoTrackAnalyzer::fillDescriptions(), HLTMETCleanerUsingJetID::fillDescriptions(), HLTMuonDimuonL3Filter::fillDescriptions(), HGCalBHValidation::fillDescriptions(), TICLPFValidation::fillDescriptions(), HLTHcalLaserMisfireFilter::fillDescriptions(), HLTTriggerTypeFilter::fillDescriptions(), HLLHCEvtVtxGenerator::fillDescriptions(), HLTDoublet< T1, T2 >::fillDescriptions(), LH5Source::fillDescriptions(), LHESource::fillDescriptions(), GenJetFlavourTableProducer::fillDescriptions(), TrackstersProducer::fillDescriptions(), HLTElectronPFMTFilter< T >::fillDescriptions(), RazorMonitor::fillDescriptions(), DemoGlobalDQMEDAnalyzer::fillDescriptions(), HFPMTHitAnalyzer::fillDescriptions(), TriggerSummaryProducerRAW::fillDescriptions(), TSGForOIFromL2::fillDescriptions(), PFRecoTauDiscriminationAgainstMuon::fillDescriptions(), VertexFromTrackProducer::fillDescriptions(), HcalRawToDigiFake::fillDescriptions(), MkFitProducer::fillDescriptions(), HcalSimpleReconstructor::fillDescriptions(), HcalSimHitCheck::fillDescriptions(), edm::GetProductCheckerOutputModule::fillDescriptions(), IPTCorrector::fillDescriptions(), RPCTwinMuxRawToDigi::fillDescriptions(), HLTVertexFilter::fillDescriptions(), FastTimerServiceClient::fillDescriptions(), GEMDigiToRawModule::fillDescriptions(), TrackerDigiGeometryESModule::fillDescriptions(), HLTCaloJetIDProducer::fillDescriptions(), ElectronSeedProducer::fillDescriptions(), HLTDisplacedtktktkVtxProducer::fillDescriptions(), HLTDisplacedtktkVtxProducer::fillDescriptions(), EgammaHLTRecoEcalCandidateProducers::fillDescriptions(), DiJetMonitor::fillDescriptions(), HGCalLayerClusterProducer::fillDescriptions(), HLTPMMassFilter::fillDescriptions(), MuonSeedGenerator::fillDescriptions(), BeamSpotRcdPrinter::fillDescriptions(), ME0ChamberMasker::fillDescriptions(), EcalDetIdToBeRecoveredProducer::fillDescriptions(), EtlDigiHitsValidation::fillDescriptions(), LogErrorFilter::fillDescriptions(), HLTEventNumberFilter::fillDescriptions(), HLTTrackWithHits::fillDescriptions(), DQMCorrelationClient::fillDescriptions(), HLTFiltCand::fillDescriptions(), MTDDigiGeometryESModule::fillDescriptions(), pat::PackedCandidateMuonSelectorProducer::fillDescriptions(), HLTJetSortedVBFFilter< T >::fillDescriptions(), PPSTimingCalibrationLUTESSource::fillDescriptions(), EcalMustacheSCParametersESProducer::fillDescriptions(), EcalSCDynamicDPhiParametersESProducer::fillDescriptions(), HLTCollectionProducer< T >::fillDescriptions(), EgammaHLTEleL1TrackIsolProducer::fillDescriptions(), CSCRecHitDProducer::fillDescriptions(), CTPPSDiamondRecHitProducer::fillDescriptions(), PPSTimingCalibrationESSource::fillDescriptions(), HLTLevel1Pattern::fillDescriptions(), HLTScoutingTrackProducer::fillDescriptions(), HLTTrackerHaloFilter::fillDescriptions(), AlCaHcalHBHEMuonFilter::fillDescriptions(), AlCaHcalHEMuonFilter::fillDescriptions(), PhotonMonitor::fillDescriptions(), GEMRecHitProducer::fillDescriptions(), CTPPSPixelRecHitProducer::fillDescriptions(), PPSPixelTopologyESSource::fillDescriptions(), XtalDedxAnalysis::fillDescriptions(), sistrip::DigiToRawModule::fillDescriptions(), EventIDChecker::fillDescriptions(), HLTHcalPhiSymFilter::fillDescriptions(), HLTL1NumberFilter::fillDescriptions(), GEMRawToDigiModule::fillDescriptions(), EgammaHLTR9IDProducer::fillDescriptions(), AbortOnEventIDAnalyzer::fillDescriptions(), HcalDDDRecConstantsESModule::fillDescriptions(), HLTRPCTrigNoSyncFilter::fillDescriptions(), pat::LeptonUpdater< T >::fillDescriptions(), PFRecoTauTagInfoProducer::fillDescriptions(), IslandClusterProducer::fillDescriptions(), AlCaHcalIsotrkFilter::fillDescriptions(), EgammaHLTHcalVarProducerFromRecHit::fillDescriptions(), EgammaHLTPixelMatchElectronProducers::fillDescriptions(), L1TEGammaFilteredCollectionProducer::fillDescriptions(), TotemRPLocalTrackFitter::fillDescriptions(), PFEGammaProducer::fillDescriptions(), TriggerResultsFilterFromDB::fillDescriptions(), TotemTimingRecHitProducer::fillDescriptions(), XrdAdaptor::XrdStatisticsService::fillDescriptions(), SimAnalyzerMinbias::fillDescriptions(), SiPixelQualityProbabilitiesTestWriter::fillDescriptions(), SiPixelQualityProbabilitiesWriteFromASCII::fillDescriptions(), HLTFEDSizeFilter::fillDescriptions(), edm::service::PrescaleService::fillDescriptions(), edm::service::CPU::fillDescriptions(), edm::service::LoadAllDictionaries::fillDescriptions(), PSMonitor::fillDescriptions(), ElectronStudy::fillDescriptions(), CorrectedPFMETProducer::fillDescriptions(), GEMPadDigiProducer::fillDescriptions(), HLTCAWZTagFilter::fillDescriptions(), LeptonInJetProducer< T >::fillDescriptions(), MuonOffsetESProducer::fillDescriptions(), DQMHcalIterativePhiSymAlCaReco::fillDescriptions(), HotlineDQM::fillDescriptions(), PPSAlignmentConfigurationESSource::fillDescriptions(), HLTLevel1Activity::fillDescriptions(), MeasurementTrackerESProducer::fillDescriptions(), SeedingOTEDProducer::fillDescriptions(), DTCCablingMapTestProducer::fillDescriptions(), HcalRecAlgoESProducer::fillDescriptions(), CaloSimHitStudy::fillDescriptions(), BtlDigiHitsValidation::fillDescriptions(), edm::LogErrorHarvester::fillDescriptions(), HLTHcalNZSFilter::fillDescriptions(), HLTHcalSimpleRecHitFilter::fillDescriptions(), TriggerBxVsOrbitMonitor::fillDescriptions(), edm::service::CondorStatusService::fillDescriptions(), HLTJetCollectionsForBoostedLeptonPlusJets< jetType >::fillDescriptions(), ScalersRawToDigi::fillDescriptions(), pat::PATJetUpdater::fillDescriptions(), SiPixelFEDChannelContainerWriteFromASCII::fillDescriptions(), SiPhase2OuterTrackerFakeLorentzAngleESSource::fillDescriptions(), MagneticFieldFilter::fillDescriptions(), TopMonitor::fillDescriptions(), TSGForOIDNN::fillDescriptions(), HcalSimHitAnalysis::fillDescriptions(), DeepDoubleXTagInfoProducer::fillDescriptions(), TotemRPUVPatternFinder::fillDescriptions(), MTDClusterProducer::fillDescriptions(), HLTScoutingCaloProducer::fillDescriptions(), HLTJetCollectionsForElePlusJets< T >::fillDescriptions(), HLTJetCollectionsForLeptonPlusJets< jetType >::fillDescriptions(), HLTJetCollForElePlusJets< T >::fillDescriptions(), TriggerResultsFilter::fillDescriptions(), ElectronNHitSeedProducer::fillDescriptions(), PFProducer::fillDescriptions(), edm::PrintEventSetupDataRetrieval::fillDescriptions(), HLTTrackMETProducer::fillDescriptions(), ThroughputService::fillDescriptions(), EgammaHLTPhotonTrackIsolationProducersRegional::fillDescriptions(), MkFitSiStripHitConverter::fillDescriptions(), CTPPSProtonProducer::fillDescriptions(), BPHWriteSpecificDecay::fillDescriptions(), HLTHcalPFClusterIsolationProducer< T1 >::fillDescriptions(), HLTmumutktkVtxProducer::fillDescriptions(), HGCalPhotonIDValueMapProducer::fillDescriptions(), HTMonitor::fillDescriptions(), HGCalElectronFilter::fillDescriptions(), EgammaHLTGsfTrackVarProducer::fillDescriptions(), EgammaHLTElectronTrackIsolationProducers::fillDescriptions(), TcdsRawToDigi::fillDescriptions(), AlCaGammaJetProducer::fillDescriptions(), HLTGenericFilter< T1 >::fillDescriptions(), CSCDigiFilter::fillDescriptions(), HLTL1TMuonSelector::fillDescriptions(), GlobalTrackingRegionProducerFromBeamSpot::fillDescriptions(), PackedCandidateGenAssociationProducer::fillDescriptions(), HOSimHitStudy::fillDescriptions(), RecAnalyzerHF::fillDescriptions(), HLTHighLevel::fillDescriptions(), DTCCablingMapTestReader::fillDescriptions(), SUSY_HLT_Razor::fillDescriptions(), LumiMonitor::fillDescriptions(), GEMGeometryESModule::fillDescriptions(), SiPixelFEDChannelContainerFromQualityConverter::fillDescriptions(), HLTJetHbbFilter< T >::fillDescriptions(), MtdTracksValidation::fillDescriptions(), PFClusterMatchedToPhotonsSelector::fillDescriptions(), HGCalElectronIDValueMapProducer::fillDescriptions(), citk::PFIsolationSumProducer::fillDescriptions(), SiStripQualityStatistics::fillDescriptions(), PFBadHcalPseudoClusterProducer::fillDescriptions(), TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::fillDescriptions(), L3MuonProducer::fillDescriptions(), HLTElectronMuonInvMassFilter::fillDescriptions(), MuonHLTSeedMVAClassifier::fillDescriptions(), EcalSimpleUncalibRecHitFilter::fillDescriptions(), PrintLoadingPlugins::fillDescriptions(), GTTFileReader::fillDescriptions(), Phase1L1TJetSumsProducer::fillDescriptions(), edm::PrintEventSetupContent::fillDescriptions(), Phase2ITMonitorCluster::fillDescriptions(), L1PrefiringWeightProducer::fillDescriptions(), FedRawDataInputSource::fillDescriptions(), HLTmmkkFilter::fillDescriptions(), CTPPSProtonReconstructionEfficiencyEstimatorData::fillDescriptions(), HLTmmkFilter::fillDescriptions(), HFJetShowerShape::fillDescriptions(), HGCalShowerSeparation::fillDescriptions(), HLTCSCActivityFilter::fillDescriptions(), HLTHcalCalibTypeFilter::fillDescriptions(), CTPPSBeamParametersESSource::fillDescriptions(), Phase1L1TJetCalibrator::fillDescriptions(), SiStripBadComponentInfo::fillDescriptions(), Phase2OTMonitorCluster::fillDescriptions(), HiFJRhoFlowModulationProducer::fillDescriptions(), TemplatedInclusiveVertexFinder< InputContainer, VTX >::fillDescriptions(), GctRawToDigi::fillDescriptions(), CTPPSPixelClusterProducer::fillDescriptions(), BeamSpotToCUDA::fillDescriptions(), HLTHGCalLayerClusterIsolationProducer< T1 >::fillDescriptions(), HGCalHitCalibration::fillDescriptions(), Pi0FixedMassWindowCalibration::fillDescriptions(), HFNoisyHitsFilter::fillDescriptions(), edm::service::CheckTransitions::fillDescriptions(), edm::EmbeddedRootSource::fillDescriptions(), HcalTestNumberingTester::fillDescriptions(), HcalCollapseAnalyzer::fillDescriptions(), GEMDigiProducer::fillDescriptions(), AlCaIsolatedBunchSelector::fillDescriptions(), edm::PoolSource::fillDescriptions(), AlCaIsolatedBunchFilter::fillDescriptions(), PFTauDecayModeCutMultiplexer::fillDescriptions(), MuonGeometryDBConverter::fillDescriptions(), DeDxEstimatorProducer::fillDescriptions(), HLTBeamModeFilter::fillDescriptions(), CaloSimHitAnalysis::fillDescriptions(), HcalGeomCheck::fillDescriptions(), SimPFProducer::fillDescriptions(), HGCalTimingAnalyzer::fillDescriptions(), PPSDiamondSampicTimingCalibrationPCLHarvester::fillDescriptions(), HLTL1MuonNoL2Selector::fillDescriptions(), CherenkovAnalysis::fillDescriptions(), HLTL1MuonSelector::fillDescriptions(), HLTMuonPointingFilter::fillDescriptions(), AlCaIsoTracksProducerFilter::fillDescriptions(), HLTRechitsToDigis::fillDescriptions(), OnlineMetaDataRawToDigi::fillDescriptions(), CaloTowerConstituentsMapBuilder::fillDescriptions(), L1TGlobalProducer::fillDescriptions(), L1TExtCondProducer::fillDescriptions(), RecoTauPiZeroProducer::fillDescriptions(), EtlSimHitsValidation::fillDescriptions(), HcalDigiToRawuHTR::fillDescriptions(), HLTDoubletSinglet< T1, T2, T3 >::fillDescriptions(), L1TCaloUpgradeToGCTConverter::fillDescriptions(), EcalSimHitStudy::fillDescriptions(), l1t::L1TRawToDigi::fillDescriptions(), SiStripApvGainRescaler::fillDescriptions(), edm::service::Timing::fillDescriptions(), L1TkEmParticleProducer::fillDescriptions(), HLTCATopTagFilter::fillDescriptions(), CSCDigiToRawModule::fillDescriptions(), PixelTrackProducer::fillDescriptions(), HGCalRecHitValidation::fillDescriptions(), HLTmumutkVtxProducer::fillDescriptions(), HLTPrescaleRecorder::fillDescriptions(), MuonTrackingRegionByPtBuilder::fillDescriptions(), JetVertexChecker::fillDescriptions(), RunLumiEventChecker::fillDescriptions(), DDDetectorESProducer::fillDescriptions(), __class__< T >::fillDescriptions(), EGMEnergyVarProducer< T >::fillDescriptions(), SCEnergyCorrectorDRNProducer::fillDescriptions(), EgammaHLTNxNClusterProducer::fillDescriptions(), CaloParticleDebugger::fillDescriptions(), FastjetJetProducer::fillDescriptions(), ZMuMuMassConstraintParameterFinder::fillDescriptions(), CaloParticleValidation::fillDescriptions(), PFECALSuperClusterProducer::fillDescriptions(), l1t::L1TDigiToRaw::fillDescriptions(), Phase2ITMonitorRecHit::fillDescriptions(), ParticleTowerProducer< T >::fillDescriptions(), HLTHFAsymmetryFilter::fillDescriptions(), edm::RepeatingCachedRootSource::fillDescriptions(), PPSDiamondSampicTimingCalibrationPCLWorker::fillDescriptions(), TkMSParameterizationBuilder::fillDescriptions(), EcalRawToDigi::fillDescriptions(), HcalLaserEventFilter::fillDescriptions(), HLTEcalPFClusterIsolationProducer< T1 >::fillDescriptions(), RechitClusterProducerT< Trait >::fillDescriptions(), HLTCSCAcceptBusyFilter::fillDescriptions(), CaloRecHitsBeamHaloCleaned::fillDescriptions(), Phase2L1TGMTSAMuonProducer::fillDescriptions(), HGCalDigiValidation::fillDescriptions(), PrescaleEventFilter::fillDescriptions(), IsolatedEcalPixelTrackCandidateProducer::fillDescriptions(), HLTDTActivityFilter::fillDescriptions(), IsolatedParticlesGeneratedJets::fillDescriptions(), TemplatedVertexArbitrator< InputContainer, VTX >::fillDescriptions(), CTPPSCompositeESSource::fillDescriptions(), L1TExtCondLegacyToStage2::fillDescriptions(), BPHMonitor::fillDescriptions(), GTTFileWriter::fillDescriptions(), ParticleNetJetTagMonitor::fillDescriptions(), Phase2OTValidateRecHit::fillDescriptions(), TICLTrackstersEdgesValidation::fillDescriptions(), EcalIsolatedParticleCandidateProducer::fillDescriptions(), SiPixelDigiToRaw::fillDescriptions(), L1TJetsMatching< T >::fillDescriptions(), CSCGeometryESModule::fillDescriptions(), SiStripChannelGainFromDBMiscalibrator::fillDescriptions(), L1TriggerResultsConverter::fillDescriptions(), PrimaryVertexResolution::fillDescriptions(), HGCalHitValidation::fillDescriptions(), L2MuonProducer::fillDescriptions(), HLTPixelAsymmetryFilter::fillDescriptions(), BtlSimHitsValidation::fillDescriptions(), HLTL1TSeed::fillDescriptions(), BetaStarVarProducer< T >::fillDescriptions(), PFCandidateRecalibrator::fillDescriptions(), EtlLocalRecoValidation::fillDescriptions(), PFPileUp::fillDescriptions(), cms::ProducerAnalyzer::fillDescriptions(), TrackingParticleSelectorByGen::fillDescriptions(), Phase2ITValidateRecHit::fillDescriptions(), edm::EventSetupRecordDataGetter::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), ConversionTrackCandidateProducer::fillDescriptions(), omtf::OmtfPacker::fillDescriptions(), RecoTauProducer::fillDescriptions(), HGCalSimHitStudy::fillDescriptions(), DTGeometryESModule::fillDescriptions(), SiStripNoisesFromDBMiscalibrator::fillDescriptions(), Phase2OTValidateTrackingRecHit::fillDescriptions(), CTPPSGeometryESModule::fillDescriptions(), CTPPSPixelLocalTrackProducer::fillDescriptions(), pat::DisplacedMuonFilterProducer::fillDescriptions(), Phase2ITValidateTrackingRecHit::fillDescriptions(), TrackToTrackComparisonHists::fillDescriptions(), RPCChamberMasker::fillDescriptions(), AlCaGammaJetSelector::fillDescriptions(), HLTPrescaler::fillDescriptions(), AlCaDiJetsProducer::fillDescriptions(), RPDigiProducer::fillDescriptions(), HLTScoutingMuonProducer::fillDescriptions(), GenHFHadronMatcher::fillDescriptions(), omtf::OmtfUnpacker::fillDescriptions(), edm::service::SiteLocalConfigService::fillDescriptions(), BtlLocalRecoValidation::fillDescriptions(), DependencyGraph::fillDescriptions(), HcalRaddamMuon::fillDescriptions(), SiPixelRawToDigi::fillDescriptions(), HGCalTBAnalyzer::fillDescriptions(), Phase2ITValidateCluster::fillDescriptions(), FastPrimaryVertexWithWeightsProducer::fillDescriptions(), PFTauTransverseImpactParameters::fillDescriptions(), EcalMIPRecHitFilter::fillDescriptions(), StudyCaloGen::fillDescriptions(), HLTLevel1GTSeed::fillDescriptions(), HLTEcalPhiSymFilter::fillDescriptions(), PFTauSecondaryVertexProducer::fillDescriptions(), L2MuonSeedGeneratorFromL1T::fillDescriptions(), AlCaHBHEMuonFilter::fillDescriptions(), AlCaHBHEMuonProducer::fillDescriptions(), AlCaLowPUHBHEMuonFilter::fillDescriptions(), LeptonJetVarProducer< T >::fillDescriptions(), Phase2OTValidateCluster::fillDescriptions(), StudyTriggerHLT::fillDescriptions(), GlobalTrackingRegionWithVerticesProducer::fillDescriptions(), SiPixelClusterProducer::fillDescriptions(), Phase2OTMonitorRecHit::fillDescriptions(), AlCaHEMuonFilter::fillDescriptions(), APVModeFilter::fillDescriptions(), L1TkElectronTrackProducer::fillDescriptions(), reco::HcalNoiseInfoProducer::fillDescriptions(), PixelJetPuId::fillDescriptions(), ClusterTPAssociationProducer::fillDescriptions(), L2MuonSeedGeneratorFromL1TkMu::fillDescriptions(), cms::PFMETProducer::fillDescriptions(), HLTScoutingEgammaProducer::fillDescriptions(), L1TS2PFJetInputPatternWriter::fillDescriptions(), FastSiPixelFEDChannelContainerFromQuality::fillDescriptions(), AlCaHcalNoiseProducer::fillDescriptions(), PrimaryVertexProducer::fillDescriptions(), pat::PATJetProducer::fillDescriptions(), TrackingRegionsFromBeamSpotAndL2Tau::fillDescriptions(), CorrectedECALPFClusterProducer::fillDescriptions(), APVCyclePhaseDebuggerFromL1TS::fillDescriptions(), L1GlobalTriggerRawToDigi::fillDescriptions(), PFRecoTauChargedHadronProducer::fillDescriptions(), L1FastTrackingJetProducer::fillDescriptions(), TGeoMgrFromDdd::fillDescriptions(), CTPPSTotemDigiToRaw::fillDescriptions(), DeepFlavourTagInfoProducer::fillDescriptions(), Phase1L1TJetProducer::fillDescriptions(), MCMisalignmentScaler::fillDescriptions(), MuonTrackingRegionBuilder::fillDescriptions(), HLTGetDigi::fillDescriptions(), DTChamberMasker::fillDescriptions(), IsolatedPixelTrackCandidateProducer::fillDescriptions(), CTPPSPixelDigiToRaw::fillDescriptions(), HITrackingRegionForPrimaryVtxProducer::fillDescriptions(), ApeTreeCreateDefault::fillDescriptions(), evf::EvFDaqDirector::fillDescriptions(), IsolatedPixelTrackCandidateL1TProducer::fillDescriptions(), PFSimParticleProducer::fillDescriptions(), AreaSeededTrackingRegionsProducer::fillDescriptions(), FastTrackDeDxProducer::fillDescriptions(), CTPPSDirectProtonSimulation::fillDescriptions(), L1TkGlbMuonProducer::fillDescriptions(), edm::PoolOutputModule::fillDescriptions(), edm::PathStatusFilter::fillDescriptions(), TriggerBxMonitor::fillDescriptions(), HGCalSimHitValidation::fillDescriptions(), RecAnalyzerMinbias::fillDescriptions(), edm::service::Tracer::fillDescriptions(), HLTDummyCollections::fillDescriptions(), GEMPadDigiClusterProducer::fillDescriptions(), HLTEcalResonanceFilter::fillDescriptions(), LowPtGsfElectronSeedProducer::fillDescriptions(), HLTrigReport::fillDescriptions(), PixelClusterTagInfoProducer::fillDescriptions(), CSCChamberMasker::fillDescriptions(), PFRecoTauDiscriminationAgainstElectron2::fillDescriptions(), TauRegionalPixelSeedGenerator::fillDescriptions(), DigiSimLinkPruner::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), SiPixelStatusProducer::fillDescriptions(), HLTRegionalEcalResonanceFilter::fillDescriptions(), HiPuRhoProducer::fillDescriptions(), CSCDCCUnpacker::fillDescriptions(), pat::JetCorrFactorsProducer::fillDescriptions(), HcalHBHEMuonAnalyzer::fillDescriptions(), cms::CATopJetProducer::fillDescriptions(), CreateIdealTkAlRecords::fillDescriptions(), HGCalWaferValidation::fillDescriptions(), DTCCablingMapProducer::fillDescriptions(), IsoValueMapProducer< T >::fillDescriptions(), GenTtbarCategorizer::fillDescriptions(), PrimaryVertexValidation::fillDescriptions(), HLTJetsCleanedFromLeadingLeptons< JetType >::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(), EgammaHLTExtraProducer::fillDescriptions(), DeepCoreSeedGenerator::fillDescriptions(), EgammaHLTPhase2ExtraProducer::fillDescriptions(), L1TriggerJSONMonitoring::fillDescriptions(), VIDNestedWPBitmapProducer< T >::fillDescriptions(), IsoTrackCalib::fillDescriptions(), PhotonIDValueMapProducer::fillDescriptions(), cms::HTTTopJetProducer::fillDescriptions(), HcalIsoTrkSimAnalyzer::fillDescriptions(), L1TGlobalPrescaler::fillDescriptions(), StudyCaloResponse::fillDescriptions(), GenVisTauProducer::fillDescriptions(), TriggerSummaryProducerAOD::fillDescriptions(), SelectedElectronFEDListProducer< TEle, TCand >::fillDescriptions(), AlCaHcalHBHEMuonProducer::fillDescriptions(), HLTriggerJSONMonitoring::fillDescriptions(), TrackingRegionsFromSuperClustersProducer::fillDescriptions(), AlCaIsoTracksProducer::fillDescriptions(), SiPixelGainCalibScaler::fillDescriptions(), HcalIsoTrkAnalyzer::fillDescriptions(), IsoTrig::fillDescriptions(), TrackMVAClassifier< MVA, EventCache >::fillDescriptions(), edm::service::InitRootHandlers::fillDescriptions(), BJetEnergyRegressionVarProducer< T >::fillDescriptions(), HLTCaloObjInRegionsProducer< CaloObjType, CaloObjCollType >::fillDescriptions(), IsolatedTracksHcalScale::fillDescriptions(), NPUTablesProducer::fillDescriptions(), AlCaHcalIsotrkProducer::fillDescriptions(), EgammaHLTPixelMatchVarProducer::fillDescriptions(), TriggerRatesMonitor::fillDescriptions(), DTTrigPhase2Prod::fillDescriptions(), HLTRecHitInAllL1RegionsProducer< RecHitType >::fillDescriptions(), BJetEnergyRegressionMVA::fillDescriptions(), HeavyFlavorDQMAnalyzer::fillDescriptions(), IsolatedGenParticles::fillDescriptions(), CandidateSeededTrackingRegionsProducer::fillDescriptions(), PFRecoTauDiscriminationByIsolationMVA2::fillDescriptions(), GsfElectronProducer::fillDescriptions(), IsolatedTracksCone::fillDescriptions(), PointSeededTrackingRegionsProducer::fillDescriptions(), pat::PATObjectUserDataEmbedder< T, ParentType >::fillDescriptions(), BTagSFProducer::fillDescriptions(), NVProfilerService::fillDescriptions(), GeneralPurposeTrackAnalyzer::fillDescriptions(), evf::GlobalEvFOutputModule::fillDescriptions(), reco::tau::PFRecoTauDiscriminationByMVAIsolationRun2::fillDescriptions(), PFJetMETcorrInputProducerT< T, Textractor >::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(), Phase2L1TGMTProducer::fillDescriptions(), EcalDQMonitorTask::fillDescriptions(), CaloTowersReCreator::fillDescriptions(), DistanceBetweenComponentsESProducer< N >::fillDescriptions(), KFUpdatorESProducer::fillDescriptions(), L1TMuonBarrelKalmanTrackProducer::fillDescriptions(), HBHEDarkeningEP::fillDescriptions(), HcalTimeSlewEP::fillDescriptions(), LXXXCorrectorImplMaker::fillDescriptions(), CloseComponentsMergerESProducer< N >::fillDescriptions(), edm::EmptyESSource::fillDescriptions(), TrackerRecoGeometryESProducer::fillDescriptions(), AnalyticalPropagatorESProducer::fillDescriptions(), PropagatorWithMaterialESProducer::fillDescriptions(), L1TSummary::fillDescriptions(), reco::modulesNew::MCTruthCompositeMatcher::fillDescriptions(), CandidateChargeBTagComputer::fillDescriptions(), L1OffsetCorrectorImplMaker::fillDescriptions(), NavigationSchoolESProducer::fillDescriptions(), L1TBasicDemo::fillDescriptions(), L1FastjetCorrectorImplMaker::fillDescriptions(), FastTrackerRecHitCombiner::fillDescriptions(), edm::ModelFilter::fillDescriptions(), QIE11Task::fillDescriptions(), L1JPTOffsetCorrectorImplMaker::fillDescriptions(), TrackerMTDRecoGeometryESProducer::fillDescriptions(), KFSwitching1DUpdatorESProducer::fillDescriptions(), CaloTruthCellsProducer::fillDescriptions(), PuppiPhoton::fillDescriptions(), WriteCTPPSPixGainCalibrations::fillDescriptions(), GsfTrajectorySmootherESProducer::fillDescriptions(), L6SLBCorrectorImplMaker::fillDescriptions(), dEdxAnalyzer::fillDescriptions(), MVAValueMapProducer< ParticleType >::fillDescriptions(), MuonTransientTrackingRecHitBuilderESProducer::fillDescriptions(), SimHitsValidationHcal::fillDescriptions(), FastTrackerRecHitMatcher::fillDescriptions(), dEdxHitAnalyzer::fillDescriptions(), CaloTowersCreator::fillDescriptions(), l1t::L1TCaloStage1LutWriter::fillDescriptions(), l1t::L1TStage2CaloAnalyzer::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(), MCDisplacementFilter::fillDescriptions(), CastorInvalidDataFilter::fillDescriptions(), dqm::DQMFileSaverPB::fillDescriptions(), HIPTwoBodyDecayAnalyzer::fillDescriptions(), DDCompactViewMFESProducer::fillDescriptions(), WriteL1TriggerObjectsTxt::fillDescriptions(), HGCGeometryValidation::fillDescriptions(), edm::service::JobReportService::fillDescriptions(), Onia2MuMuPAT::fillDescriptions(), RunInfoTestESProducer::fillDescriptions(), SiStripLorentzAngleDepESProducer::fillDescriptions(), DDSpecParRegistryESProducer::fillDescriptions(), FourLepFilter::fillDescriptions(), MuonDetLayerGeometryESProducer::fillDescriptions(), MuPFIsoEmbedder::fillDescriptions(), TestBXVectorRefProducer::fillDescriptions(), HcalLaserEventFilter2012::fillDescriptions(), MuMuForEmbeddingSelector::fillDescriptions(), TriggerRulePrefireVetoFilter::fillDescriptions(), PF_PU_AssoMap::fillDescriptions(), EGMSeedGainProducer< T >::fillDescriptions(), dqm::DQMFileSaverOnline::fillDescriptions(), SiStripBackPlaneCorrectionDepESProducer::fillDescriptions(), JetHTJetPlusHOFilter::fillDescriptions(), QuickTrackAssociatorByHitsProducer::fillDescriptions(), HBHEPlan1Combiner::fillDescriptions(), TrackAssociatorByPositionProducer::fillDescriptions(), L1TPhysicalEtAdder::fillDescriptions(), edm::stream::EDAnalyzerBase::fillDescriptions(), GenJetTauTaggerProducer::fillDescriptions(), LHE2HepMCConverter::fillDescriptions(), LumiProducerFromBrilcalc::fillDescriptions(), HGCalTBCheckGunPostion::fillDescriptions(), TemplatedInclusiveVertexFinder< InputContainer, VTX >::fillDescriptions(), edm::EDAnalyzer::fillDescriptions(), L1TrackerEtMissEmulatorProducer::fillDescriptions(), BeamProfile2DB::fillDescriptions(), ExtraFromSeeds::fillDescriptions(), l1t::L1TCaloRCTToUpgradeConverter::fillDescriptions(), l1t::FakeInputProducer::fillDescriptions(), L1TBMTFConverter::fillDescriptions(), ttHFGenFilter::fillDescriptions(), TrackAssociatorByChi2Producer::fillDescriptions(), edm::EventSetupCacheIdentifierChecker::fillDescriptions(), PhotonMVANtuplizer::fillDescriptions(), ValueMapTraslator::fillDescriptions(), DDVectorRegistryESProducer::fillDescriptions(), InputDataProducer::fillDescriptions(), HFFilter::fillDescriptions(), PATObjectCrossLinker::fillDescriptions(), ElectronMVANtuplizer::fillDescriptions(), HcalDigiToRawuHTR::fillDescriptions(), L1TMicroGMTInputProducer::fillDescriptions(), L1TCaloLayer1Validator::fillDescriptions(), EGEnergyAnalyzer::fillDescriptions(), L1TMuonCaloSumProducer::fillDescriptions(), L1TrackJetProducer::fillDescriptions(), TrackAssociatorByHitsProducer::fillDescriptions(), L1TStage2InputPatternWriter::fillDescriptions(), edm::EDProducer::fillDescriptions(), NanoAODBaseCrossCleaner::fillDescriptions(), VertexTableProducer::fillDescriptions(), BeamSpotRcdReader::fillDescriptions(), LogMessageMonitor::fillDescriptions(), HcalLutAnalyzer::fillDescriptions(), l1t::AMCDumpToRaw::fillDescriptions(), PF_PU_FirstVertexTracks::fillDescriptions(), TemplatedVertexArbitrator< InputContainer, VTX >::fillDescriptions(), B2GDoubleLeptonHLTValidation::fillDescriptions(), B2GSingleLeptonHLTValidation::fillDescriptions(), B2GHadronicHLTValidation::fillDescriptions(), l1t::AMC13DumpToRaw::fillDescriptions(), BeamSpotOnlineRecordsReader::fillDescriptions(), SiStripGainsPCLHarvester::fillDescriptions(), HcalLaserHBHEFilter2012::fillDescriptions(), HcalLaserHFFilter2012::fillDescriptions(), L1TMicroGMTInputProducerFromGen::fillDescriptions(), TemplatedDeepNNTagInfoProducer< IPTag, SVTag >::fillDescriptions(), HcalLaserHBHEHFFilter2012::fillDescriptions(), TrackFromSeedProducer::fillDescriptions(), L1TkFastVertexProducer::fillDescriptions(), SiStripFEDCheckPlugin::fillDescriptions(), edm::stream::EDFilterBase::fillDescriptions(), NanoAODOutputModule::fillDescriptions(), edm::EDFilter::fillDescriptions(), EGammaCutBasedEleIdAnalyzer::fillDescriptions(), edm::global::EDAnalyzerBase::fillDescriptions(), HFPreReconstructor::fillDescriptions(), edm::stream::EDProducerBase::fillDescriptions(), reco::CentralityProducer::fillDescriptions(), TestPythiaDecays::fillDescriptions(), l1t::L1TGlobalAnalyzer::fillDescriptions(), JetTagProducer::fillDescriptions(), edm::one::EDAnalyzerBase::fillDescriptions(), TPStubValueMapProducer::fillDescriptions(), edm::one::EDFilterBase::fillDescriptions(), edm::one::EDProducerBase::fillDescriptions(), PixelLumiDQM::fillDescriptions(), PFCand_NoPU_WithAM::fillDescriptions(), SoftPFElectronTagInfoProducer::fillDescriptions(), edm::limited::EDAnalyzerBase::fillDescriptions(), AJJGenJetFilter::fillDescriptions(), HFPhase1Reconstructor::fillDescriptions(), L1TrackFastJetProducer::fillDescriptions(), HCALGPUAnalyzer::fillDescriptions(), ElectronHEEPIDValueMapProducer::fillDescriptions(), edm::global::EDFilterBase::fillDescriptions(), SiStripGainsCalibTreeWorker::fillDescriptions(), L1TrackJetEmulationProducer::fillDescriptions(), BTagProbabilityToDiscriminator::fillDescriptions(), edm::limited::EDFilterBase::fillDescriptions(), l1t::MP7BufferDumpToRaw::fillDescriptions(), SoftPFMuonTagInfoProducer::fillDescriptions(), HcalHardcodeCalibrations::fillDescriptions(), magneticfield::VolumeBasedMagneticFieldESProducerFromDB::fillDescriptions(), APVShotsFilter::fillDescriptions(), L1TCaloLayer1::fillDescriptions(), FSQDiJetAve::fillDescriptions(), EmbeddingVertexCorrector::fillDescriptions(), L1TStage2Layer2Producer::fillDescriptions(), edm::limited::EDProducerBase::fillDescriptions(), edm::global::EDProducerBase::fillDescriptions(), L1TMuonProducer::fillDescriptions(), l1t::BXVectorInputProducer::fillDescriptions(), magneticfield::DD4hep_VolumeBasedMagneticFieldESProducerFromDB::fillDescriptions(), DeepCMVATagInfoProducer::fillDescriptions(), L1TkMuonProducer::fillDescriptions(), PixelBaryCentreAnalyzer::fillDescriptions(), edm::InputSource::fillDescriptions(), BoostedDoubleSVProducer::fillDescriptions(), L1TStage2Layer1Producer::fillDescriptions(), l1t::GenToInputProducer::fillDescriptions(), SoftLepton::fillDescriptions(), L1TComparison::fillDescriptions(), L1Validator::fillDescriptions(), LHCInfoProducer::fillDescriptions(), L1TCaloLayer1RawToDigi::fillDescriptions(), EmbeddingLHEProducer::fillDescriptions(), VirtualJetProducer::fillDescriptions(), L1TCaloSummary::fillDescriptions(), ExternalLHEProducer::fillDescriptions(), L1TStage1Layer2Producer::fillDescriptions(), IsoTrackCalibration::fillDescriptions(), MuonIdProducer::fillDescriptions(), HadronAndPartonSelector::fillDescriptions(), PileupJetIdProducer::fillDescriptions(), SiStripGainsPCLWorker::fillDescriptions(), FlavorHistoryFilter::fillDescriptions(), EcalTrigPrimProducer::fillDescriptions(), LeptonSkimming::fillDescriptions(), timestudy::SleepingProducer::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(), EcalRecHitConvertGPU2CPUFormat::fillDescriptions(), TrackProducerFromPatMuons::fillDescriptions(), edm::BooleanProducer::fillDescriptions(), edm::BooleanFilter::fillDescriptions(), HLTMuonRecHitClusterFilter::fillDescriptions(), CandPtrProjector::fillDescriptions(), MultipleScatteringParametrisationMakerESProducer::fillDescriptions(), TestCUDAProducerCPU::fillDescriptions(), LowPtGsfElectronFinalizer::fillDescriptions(), HBHERecHitProducerGPU::fillDescriptions(), ParameterSetBlobProducer::fillDescriptions(), HLTTagAndProbeOfflineSource< TagType, TagCollType, ProbeType, ProbeCollType >::fillDescriptions(), GEMEffByGEMCSCSegmentClient::fillDescriptions(), SiPixelDigiErrorsSoAFromCUDA::fillDescriptions(), SiPixelDigisSoAFromCUDA::fillDescriptions(), PFRecoTauDiscriminationByIPCut::fillDescriptions(), TestCUDAProducerGPU::fillDescriptions(), TestCUDAProducerGPUFirst::fillDescriptions(), PackedCandidatesTrackLiteModifier::fillDescriptions(), HcalCPUDigisProducer::fillDescriptions(), EcalUncalibRecHitPhase2WeightsProducer::fillDescriptions(), HcalDigisProducerGPU::fillDescriptions(), FRDOutputModule::fillDescriptions(), HLTMultiplicityValueProducerFromNestedCollection< INP_TYPE, OUT_TYPE >::fillDescriptions(), L1TStage2ObjectComparison< T >::fillDescriptions(), HcalCPURecHitsProducer::fillDescriptions(), SiPixelROCsStatusAndMappingWrapperESProducer::fillDescriptions(), TestCUDAProducerGPUtoCPU::fillDescriptions(), SiPixelDigiMorphing::fillDescriptions(), MLPFProducer::fillDescriptions(), TestCUDAAnalyzerGPU::fillDescriptions(), HLTMultiplicityValueProducer< INP_TYPE, OUT_TYPE >::fillDescriptions(), HiSignalGenJetProducer::fillDescriptions(), SiPhase2OuterTrackerLorentzAngleReader::fillDescriptions(), HiSignalParticleProducer::fillDescriptions(), SiPhase2BadStripChannelReader::fillDescriptions(), HLTPFTauIPFilter::fillDescriptions(), TestCUDAProducerGPUEW::fillDescriptions(), HLTScoutingPrimaryVertexProducer::fillDescriptions(), HLTPFJetsMatchedToFilteredJetsProducer< TriggerJetsRefType >::fillDescriptions(), ClusterShapeHitFilterESProducer::fillDescriptions(), HPSPFTauProducer::fillDescriptions(), pat::MuonMvaIDEstimator::fillDescriptions(), HLTTripletMass< T1, T2, T3 >::fillDescriptions(), GEMEffByGEMCSCSegmentSource::fillDescriptions(), SiStripBadStripFromASCIIFile::fillDescriptions(), MuonIDFilterProducerForHLT::fillDescriptions(), HLTMuonL3andL2PreFilter::fillDescriptions(), EcalCPURecHitProducer::fillDescriptions(), L2TauTagFilter::fillDescriptions(), edm::GenericConsumer::fillDescriptions(), TkAlCaSkimTreeMerger::fillDescriptions(), TestCUDAProducerGPUEWTask::fillDescriptions(), PFEGammaToCandidate::fillDescriptions(), HiHFFilterProducer::fillDescriptions(), SiPixelDigisClustersFromSoA::fillDescriptions(), SiPixelDigiErrorsFromSoA::fillDescriptions(), MkFitGeometryESProducer::fillDescriptions(), HLTPFDiJetCorrCheckerWithDiTau::fillDescriptions(), BeamSpotAnalyzer::fillDescriptions(), HcalGPUComparisonTask::fillDescriptions(), SiPixelPhase1CompareVertexSoA::fillDescriptions(), SiPixelRecHitSoAFromCUDA::fillDescriptions(), TrackFromPackedCandidateProducer::fillDescriptions(), EventSelectorAdapter< T >::fillDescriptions(), SiPixelRecHitFromCUDA::fillDescriptions(), L3MuonCandidateProducerFromMuons::fillDescriptions(), HcalFEDIntegrityTask::fillDescriptions(), BadParticleFilter::fillDescriptions(), cms::CkfTrackCandidateMaker::fillDescriptions(), ConvertingESProducerT< Record, Target, Source >::fillDescriptions(), SiPixelPhase1MonitorVertexSoA::fillDescriptions(), BoostedJetONNXJetTagsProducer::fillDescriptions(), SiPixelPhase1MonitorTrackSoA::fillDescriptions(), SiPixelRecHitSoAFromLegacy::fillDescriptions(), BeamSpotWrite2DB::fillDescriptions(), OnlineBeamMonitor::fillDescriptions(), HLTPPSJetComparisonFilter::fillDescriptions(), FixedGridRhoProducerFastjetFromRecHit::fillDescriptions(), AlCaRecoTriggerBitsRcdUpdate::fillDescriptions(), TkTransientTrackingRecHitBuilderESProducer::fillDescriptions(), TkAlCaOverlapTagger::fillDescriptions(), PATTracksToPackedCandidates::fillDescriptions(), PPSTimingCalibrationPCLWorker::fillDescriptions(), MkFitSiPixelHitConverter::fillDescriptions(), PPSTimingCalibrationPCLHarvester::fillDescriptions(), MkFitEventOfHitsProducer::fillDescriptions(), FilterTrackerOn::fillDescriptions(), SiPixelPhase1CompareRecHitsSoA::fillDescriptions(), DiMuonVertexMonitor::fillDescriptions(), EcalUncalibRecHitProducerGPU::fillDescriptions(), SiPixelPhase1MonitorRecHitsSoA::fillDescriptions(), CalibratedPhotonProducerT< T >::fillDescriptions(), RawEventOutputModuleForBU< Consumer >::fillDescriptions(), SeedGeneratorFromL1TTracksEDProducer::fillDescriptions(), AlignmentTrackFromVertexSelectorModule::fillDescriptions(), cms::CkfTrajectoryMaker::fillDescriptions(), PPSAlignmentWorker::fillDescriptions(), SiPixelLorentzAngleReader::fillDescriptions(), MuonFSRAssociator::fillDescriptions(), BeamSpotOnlineProducer::fillDescriptions(), MuonFSRProducer::fillDescriptions(), SiPixelFakeLorentzAngleESSource::fillDescriptions(), SimTrackstersProducer::fillDescriptions(), SeedProducerFromSoA::fillDescriptions(), SiPhase2BadStripChannelBuilder::fillDescriptions(), MkFitSeedConverter::fillDescriptions(), TrackDistanceValueMapProducer::fillDescriptions(), SinglePhotonJetPlusHOFilter::fillDescriptions(), SiStripHitEfficiencyHarvester::fillDescriptions(), CalibratedElectronProducerT< T >::fillDescriptions(), AlignmentPrescaler::fillDescriptions(), L1TComparisonResultFilter< T >::fillDescriptions(), JetConstituentSelector< T, C >::fillDescriptions(), PixelTrackProducerFromSoA::fillDescriptions(), LhcTrackAnalyzer::fillDescriptions(), AlignPCLThresholdsWriter< T >::fillDescriptions(), SiPixelRawToClusterCUDA::fillDescriptions(), SiPixelPhase2DigiToClusterCUDA::fillDescriptions(), BeamSpotOnlineRecordsWriter::fillDescriptions(), AlCaRecoTriggerBitsRcdRead::fillDescriptions(), LeptonFSRProducer::fillDescriptions(), SiPhase2OuterTrackerLorentzAngleWriter::fillDescriptions(), HLTScoutingPFProducer::fillDescriptions(), JetPlusTrackAddonSeedProducer::fillDescriptions(), IsFromLostTrackMapProducer::fillDescriptions(), TauDiscriminationAgainstElectronMVA6< TauType, TauDiscriminator, ElectronType >::fillDescriptions(), SiPixelCalSingleMuonAnalyzer::fillDescriptions(), TauDiscriminationAgainstElectronDeadECAL< TauType, TauDiscriminator >::fillDescriptions(), L1GTTInputProducer::fillDescriptions(), SiPhase2BadStripConfigurableFakeESSource::fillDescriptions(), TrackerRemapper::fillDescriptions(), PPSAlignmentHarvester::fillDescriptions(), HLTJetHFCleaner< JetType >::fillDescriptions(), NearbyPixelClustersAnalyzer::fillDescriptions(), DiMuonMassBiasClient::fillDescriptions(), SiStripHitEfficiencyWorker::fillDescriptions(), EopTreeWriter::fillDescriptions(), DiMuonVertexValidation::fillDescriptions(), NearbyPixelClustersProducer::fillDescriptions(), L1TrackSelectionProducer::fillDescriptions(), SiPixelPhase1CompareTrackSoA::fillDescriptions(), MkFitOutputConverter::fillDescriptions(), DiElectronVertexValidation::fillDescriptions(), edm::ThinningProducer< Collection, Selector >::fillDescriptions(), DiMuonMassBiasMonitor::fillDescriptions(), SiPixelPhase1Analyzer::fillDescriptions(), ConvertingESProducerWithDependenciesT< CombinedRecord< DepsRecords... >, Target, Dependencies... >::fillDescriptions(), SiStripApvGainFromFileBuilder::fillDescriptions(), SplitVertexResolution::fillDescriptions(), EgammaHLTFilteredObjProducer< OutCollType >::fillDescriptions(), SiStripCondVisualizer::fillDescriptions(), DRNCorrectionProducerT< T >::fillDescriptions(), SiPixelLorentzAnglePCLWorker::fillDescriptions(), SiPixelLorentzAnglePCLHarvester::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().