#include <ParameterSetDescription.h>
Classes | |
class | SetDescriptionEntry |
Public Types | |
typedef SetDescriptionEntries::const_iterator | const_iterator |
typedef std::vector< SetDescriptionEntry > | SetDescriptionEntries |
Public Member Functions | |
template<typename T , typename U > | |
ParameterDescriptionBase * | add (U const &iLabel, T const &value) |
template<typename T , typename U > | |
ParameterDescriptionBase * | add (U const &iLabel) |
ParameterDescriptionNode * | addNode (ParameterDescriptionNode const &node) |
ParameterDescriptionNode * | addNode (std::unique_ptr< ParameterDescriptionNode > node) |
template<typename T , typename U > | |
ParameterDescriptionBase * | addOptional (U const &iLabel, T const &value) |
template<typename T , typename U > | |
ParameterDescriptionBase * | addOptional (U const &iLabel) |
ParameterDescriptionNode * | addOptionalNode (ParameterDescriptionNode const &node, bool writeToCfi) |
ParameterDescriptionNode * | addOptionalNode (std::unique_ptr< ParameterDescriptionNode > node, bool writeToCfi) |
template<typename T , typename U > | |
ParameterDescriptionBase * | addOptionalUntracked (U const &iLabel, T const &value) |
template<typename T , typename U > | |
ParameterDescriptionBase * | addOptionalUntracked (U const &iLabel) |
template<typename T , typename U > | |
ParameterDescriptionBase * | addUntracked (U const &iLabel, T const &value) |
template<typename T , typename U > | |
ParameterDescriptionBase * | addUntracked (U const &iLabel) |
template<typename U > | |
ParameterDescriptionBase * | addVPSet (U const &iLabel, ParameterSetDescription const &validator, std::vector< ParameterSet > const &defaults) |
template<typename U > | |
ParameterDescriptionBase * | addVPSet (U const &iLabel, ParameterSetDescription const &validator) |
template<typename U > | |
ParameterDescriptionBase * | addVPSetOptional (U const &iLabel, ParameterSetDescription const &validator, std::vector< ParameterSet > const &defaults) |
template<typename U > | |
ParameterDescriptionBase * | addVPSetOptional (U const &iLabel, ParameterSetDescription const &validator) |
template<typename U > | |
ParameterDescriptionBase * | addVPSetOptionalUntracked (U const &iLabel, ParameterSetDescription const &validator, std::vector< ParameterSet > const &defaults) |
template<typename U > | |
ParameterDescriptionBase * | addVPSetOptionalUntracked (U const &iLabel, ParameterSetDescription const &validator) |
template<typename U > | |
ParameterDescriptionBase * | addVPSetUntracked (U const &iLabel, ParameterSetDescription const &validator, std::vector< ParameterSet > const &defaults) |
template<typename U > | |
ParameterDescriptionBase * | addVPSetUntracked (U const &iLabel, ParameterSetDescription const &validator) |
template<typename T , typename U > | |
ParameterWildcardBase * | addWildcard (U const &pattern) |
template<typename T , typename U > | |
ParameterWildcardBase * | addWildcardUntracked (U const &pattern) |
bool | anythingAllowed () const |
const_iterator | begin () const |
std::string const & | comment () const |
const_iterator | end () const |
ParameterDescriptionNode * | ifExists (ParameterDescriptionNode const &node1, ParameterDescriptionNode const &node2) |
ParameterDescriptionNode * | ifExistsOptional (ParameterDescriptionNode const &node1, ParameterDescriptionNode const &node2, bool writeToCfi) |
template<typename T > | |
ParameterDescriptionNode * | ifValue (ParameterDescription< T > const &switchParameter, std::unique_ptr< ParameterDescriptionCases< T >> cases) |
template<typename T > | |
ParameterDescriptionNode * | ifValueOptional (ParameterDescription< T > const &switchParameter, std::unique_ptr< ParameterDescriptionCases< T >> cases, bool writeToCfi) |
bool | isLabelUnused (std::string const &label) const |
bool | isUnknown () const |
template<typename T , typename U > | |
ParameterDescriptionNode * | labelsFrom (U const &iLabel) |
template<typename T , typename U , typename V > | |
ParameterDescriptionNode * | labelsFrom (U const &iLabel, V const &desc) |
template<typename T , typename U > | |
ParameterDescriptionNode * | labelsFromOptional (U const &iLabel, bool writeToCfi) |
template<typename T , typename U , typename V > | |
ParameterDescriptionNode * | labelsFromOptional (U const &iLabel, bool writeToCfi, V const &desc) |
template<typename T , typename U > | |
ParameterDescriptionNode * | labelsFromOptionalUntracked (U const &iLabel, bool writeToCfi) |
template<typename T , typename U , typename V > | |
ParameterDescriptionNode * | labelsFromOptionalUntracked (U const &iLabel, bool writeToCfi, V const &desc) |
template<typename T , typename U > | |
ParameterDescriptionNode * | labelsFromUntracked (U const &iLabel) |
template<typename T , typename U , typename V > | |
ParameterDescriptionNode * | labelsFromUntracked (U const &iLabel, V const &desc) |
ParameterSetDescription () | |
void | print (std::ostream &os, DocFormatHelper &dfh) const |
void | reserve (SetDescriptionEntries::size_type n) |
void | setAllowAnything () |
allow any parameter label/value pairs More... | |
void | setComment (std::string const &value) |
void | setComment (char const *value) |
void | setUnknown () |
void | validate (ParameterSet &pset) const |
void | writeCfi (std::ostream &os, bool startWithComma, int indentation) const |
virtual | ~ParameterSetDescription () |
Private Member Functions | |
template<typename T , typename U > | |
ParameterDescriptionBase * | add (U const &iLabel, T const &value, bool isTracked, bool isOptional, bool writeToCfi) |
template<typename T , typename U > | |
ParameterDescriptionBase * | add (U const &iLabel, bool isTracked, bool isOptional, bool writeToCfi) |
ParameterDescriptionNode * | addNode (std::unique_ptr< ParameterDescriptionNode > node, bool optional, bool writeToCfi) |
template<typename U > | |
ParameterDescriptionBase * | addVPSet (U const &iLabel, ParameterSetDescription const &validator, std::vector< ParameterSet > const &defaults, bool isTracked, bool isOptional, bool writeToCfi) |
template<typename U > | |
ParameterDescriptionBase * | addVPSet (U const &iLabel, ParameterSetDescription const &validator, bool isTracked, bool isOptional, bool writeToCfi) |
template<typename T , typename U > | |
ParameterWildcardBase * | addWildcard (U const &pattern, bool isTracked) |
ParameterDescriptionNode * | ifExists (ParameterDescriptionNode const &node1, ParameterDescriptionNode const &node2, bool optional, bool writeToCfi) |
template<typename T > | |
ParameterDescriptionNode * | ifValue (ParameterDescription< T > const &switchParameter, std::unique_ptr< ParameterDescriptionCases< T >> cases, bool optional, bool writeToCfi) |
template<typename T , typename U > | |
ParameterDescriptionNode * | labelsFrom (U const &iLabel, bool isTracked, bool optional, bool writeToCfi) |
template<typename T , typename U , typename V > | |
ParameterDescriptionNode * | labelsFrom (U const &iLabel, bool isTracked, bool optional, bool writeToCfi, V const &desc) |
void | throwIfLabelsAlreadyUsed (std::set< std::string > const &nodeLabels) |
void | throwIfWildcardCollision (std::set< ParameterTypes > const &nodeParameterTypes, std::set< ParameterTypes > const &nodeWildcardTypes) |
Static Private Member Functions | |
static void | printNode (SetDescriptionEntry const &entry, std::ostream &os, DocFormatHelper &dfh) |
static void | throwIllegalParameters (std::vector< std::string > const ¶meterNames, std::set< std::string > const &validatedNames) |
static void | validateNode (SetDescriptionEntry const &entry, ParameterSet &pset, std::set< std::string > &validatedNames) |
static void | writeNode (SetDescriptionEntry const &entry, std::ostream &os, bool &startWithComma, int indentation, bool &wroteSomething) |
Private Attributes | |
bool | anythingAllowed_ |
std::string | comment_ |
SetDescriptionEntries | entries_ |
std::set< ParameterTypes > | typesUsedForParameters_ |
std::set< ParameterTypes > | typesUsedForWildcards_ |
bool | unknown_ |
std::set< std::string > | usedLabels_ |
Definition at line 52 of file ParameterSetDescription.h.
typedef SetDescriptionEntries::const_iterator edm::ParameterSetDescription::const_iterator |
Definition at line 73 of file ParameterSetDescription.h.
typedef std::vector<SetDescriptionEntry> edm::ParameterSetDescription::SetDescriptionEntries |
Definition at line 72 of file ParameterSetDescription.h.
ParameterSetDescription::ParameterSetDescription | ( | ) |
Definition at line 29 of file ParameterSetDescription.cc.
|
virtual |
Definition at line 31 of file ParameterSetDescription.cc.
|
inline |
Definition at line 95 of file ParameterSetDescription.h.
References relativeConstraints::value.
Referenced by JetCorrectorImplMakerBase::addToDescription(), hgcal::HGCalFrameGenerator::description(), pat::helper::KinResolutionsLoader::fillDescription(), BeamFitter::fillDescription(), PVFitter::fillDescription(), pat::PATUserDataHelper< pat::MET >::fillDescription(), SiStripQualityWithFromFedErrorsHelper::fillDescription(), pat::PATUserDataMerger< pat::Jet, pat::helper::AddUserInt >::fillDescription(), PFTauSelector::fillDescriptions(), SeedGeneratorFromProtoTracksEDProducer::fillDescriptions(), edmtest::TestDescriptionComments::fillDescriptions(), Phase2ITRecHitHarvester::fillDescriptions(), L1TEnergySumFilterT< T >::fillDescriptions(), edmtest::PathsAndConsumesOfModulesTestService::fillDescriptions(), VertexAssociatorByTracksProducer::fillDescriptions(), HGCRecHitNavigator< D1, hgcee, D2, hgchef, D3, hgcheb >::fillDescriptions(), L1TJetFilterT< T >::fillDescriptions(), ECFAdder::fillDescriptions(), PFRecoTauDiscriminationByLeadingObjectPtCut::fillDescriptions(), PixelVertexCollectionTrimmer::fillDescriptions(), ParticleBasedIsoProducer::fillDescriptions(), CTPPSOpticalFunctionsESSource::fillDescriptions(), edmtest::ProducerWithPSetDesc::fillDescriptions(), TrackerGeometricDetESModule::fillDescriptions(), HcalTimeSlewEP::fillDescriptions(), HBHEDarkeningEP::fillDescriptions(), MTDGeometricTimingDetESModule::fillDescriptions(), L1TPFTauFilter::fillDescriptions(), PPSFilteredProtonProducer::fillDescriptions(), HPSPFTauProducer::fillDescriptions(), PFTauDiscriminatorLogicalAndProducer::fillDescriptions(), SeedCreatorFromRegionHitsEDProducerT< T_SeedCreator >::fillDescriptions(), MVAJetPuIdProducer::fillDescriptions(), EcalRecHitParametersGPUESProducer::fillDescriptions(), L1TTkMuonFilter::fillDescriptions(), Phase2L1TGMTStubProducer::fillDescriptions(), edmtest::ThinningDSVTestAnalyzer::fillDescriptions(), L1THPSPFTauFilter::fillDescriptions(), RPCPointProducer::fillDescriptions(), L1TTkEleFilter::fillDescriptions(), L1TTkEmFilter::fillDescriptions(), PFRecoTauDiscriminationByHPSSelection::fillDescriptions(), GlobalTrackingRegionProducer::fillDescriptions(), OnlineBeamSpotESProducer::fillDescriptions(), TICLCandidateFromTrackstersProducer::fillDescriptions(), cms::CSJetProducer::fillDescriptions(), L2MuonIsolationProducer::fillDescriptions(), PFRecoTauDiscriminationByNProngs::fillDescriptions(), BeamSpotAnalyzer::fillDescriptions(), CTPPSDiamondLocalTrackFitter::fillDescriptions(), TrackingRegionsFromBeamSpotAndL2Tau::fillDescriptions(), DTUnpackingModule::fillDescriptions(), EcalRecHitProducer::fillDescriptions(), EcalBarrelClusterFastTimer::fillDescriptions(), CaloTowerFromL1TSeededCreatorForTauHLT::fillDescriptions(), PixelTripletHLTGenerator::fillDescriptions(), GEMCSCSegmentProducer::fillDescriptions(), GlobalTrackQualityProducer::fillDescriptions(), L3MuonCombinedRelativeIsolationProducer::fillDescriptions(), TauHadronDecayFilter::fillDescriptions(), citk::PFIsolationSumProducerForPUPPI::fillDescriptions(), AlcaPCCEventProducer::fillDescriptions(), HLTPPSPerPotTrackFilter::fillDescriptions(), MkFitProducer::fillDescriptions(), TrackerDigiGeometryESModule::fillDescriptions(), HcalSimpleReconstructor::fillDescriptions(), MuDTSegmentExtTableProducer::fillDescriptions(), CaloTowerFromL1TCreatorForTauHLT::fillDescriptions(), PFRecoTauDiscriminationAgainstMuon::fillDescriptions(), AlCaRecoTriggerBitsRcdUpdate::fillDescriptions(), HLTCaloJetIDProducer::fillDescriptions(), CaloTowerCreatorForTauHLT::fillDescriptions(), magneticfield::DD4hep_VolumeBasedMagneticFieldESProducer::fillDescriptions(), ElectronSeedProducer::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaGlobalProducer::fillDescriptions(), BeamSpotOnlineProducer::fillDescriptions(), EcalSCDynamicDPhiParametersESProducer::fillDescriptions(), EcalMustacheSCParametersESProducer::fillDescriptions(), MTDDigiGeometryESModule::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaGlobalProducerOffset::fillDescriptions(), SiPixelFakeLorentzAngleESSource::fillDescriptions(), pat::PATMETProducer::fillDescriptions(), SiStripLorentzAngleDepESProducer::fillDescriptions(), HcalRecAlgoESProducer::fillDescriptions(), PPSAlignmentConfigurationESSource::fillDescriptions(), MeasurementTrackerESProducer::fillDescriptions(), RunInfoTestESProducer::fillDescriptions(), edm::service::PrescaleService::fillDescriptions(), PFProducer::fillDescriptions(), TotemRPUVPatternFinder::fillDescriptions(), TopMonitor::fillDescriptions(), pat::PATJetUpdater::fillDescriptions(), CAHitTripletGenerator::fillDescriptions(), SiStripBackPlaneCorrectionDepESProducer::fillDescriptions(), MkFitSiStripHitConverter::fillDescriptions(), CAHitQuadrupletGenerator::fillDescriptions(), GlobalTrackingRegionProducerFromBeamSpot::fillDescriptions(), BPHWriteSpecificDecay::fillDescriptions(), ALPAKA_ACCELERATOR_NAMESPACE::TestAlpakaStreamProducer::fillDescriptions(), L3MuonProducer::fillDescriptions(), citk::PFIsolationSumProducer::fillDescriptions(), TauDiscriminantCutMultiplexerT< TauType, TauTypeRef, ParentClass >::fillDescriptions(), Phase2ITMonitorCluster::fillDescriptions(), BTagAndProbe::fillDescriptions(), Phase2OTMonitorCluster::fillDescriptions(), Phase1L1TJetCalibrator::fillDescriptions(), AlignPCLThresholdsWriter< T >::fillDescriptions(), TemplatedInclusiveVertexFinder< InputContainer, VTX >::fillDescriptions(), PFTauDecayModeCutMultiplexer::fillDescriptions(), RecoTauPiZeroProducer::fillDescriptions(), TotemVFATRawToDigi::fillDescriptions(), Phase2OTMonitorVectorHits::fillDescriptions(), DDDetectorESProducer::fillDescriptions(), FastjetJetProducer::fillDescriptions(), Phase2ITMonitorRecHit::fillDescriptions(), EgammaHLTNxNClusterProducer::fillDescriptions(), SiPixelQualityESProducer::fillDescriptions(), NanoAODDQM::fillDescriptions(), CTPPSCompositeESSource::fillDescriptions(), TemplatedVertexArbitrator< InputContainer, VTX >::fillDescriptions(), L2MuonProducer::fillDescriptions(), edmtest::PluginUsingProducer::fillDescriptions(), SiStripChannelGainFromDBMiscalibrator::fillDescriptions(), RecoTauProducer::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), ConversionTrackCandidateProducer::fillDescriptions(), SiStripNoisesFromDBMiscalibrator::fillDescriptions(), Phase2ITValidateCluster::fillDescriptions(), Phase2OTMonitorRecHit::fillDescriptions(), BTagProbabilityToDiscriminator::fillDescriptions(), Phase2OTValidateCluster::fillDescriptions(), GlobalTrackingRegionWithVerticesProducer::fillDescriptions(), cms::PFMETProducer::fillDescriptions(), PFECALSuperClusterProducer::fillDescriptions(), HLTGenValSource::fillDescriptions(), HcalHardcodeCalibrations::fillDescriptions(), CorrectedECALPFClusterProducer::fillDescriptions(), pat::PATJetProducer::fillDescriptions(), pat::PATTauProducer::fillDescriptions(), PrimaryVertexProducer::fillDescriptions(), PFRecoTauChargedHadronProducer::fillDescriptions(), TrackerOfflineValidationSummary::fillDescriptions(), Phase2L1CaloEGammaEmulator::fillDescriptions(), DiMuonVertexValidation::fillDescriptions(), HITrackingRegionForPrimaryVtxProducer::fillDescriptions(), AreaSeededTrackingRegionsProducer::fillDescriptions(), L1TrackSelectionProducer::fillDescriptions(), DiElectronVertexValidation::fillDescriptions(), TauRegionalPixelSeedGenerator::fillDescriptions(), EcalSelectiveReadoutProducer::fillDescriptions(), ExternalLHEProducer::fillDescriptions(), DiMuonMassBiasMonitor::fillDescriptions(), PFRecoTauDiscriminationAgainstElectron2::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), SiPixelStatusProducer::fillDescriptions(), L1TrackVertexAssociationProducer::fillDescriptions(), pat::JetCorrFactorsProducer::fillDescriptions(), PrimaryVertexValidation::fillDescriptions(), MuonIdProducer::fillDescriptions(), TrackerOfflineValidation::fillDescriptions(), EgammaHLTPhase2ExtraProducer::fillDescriptions(), EgammaHLTExtraProducer::fillDescriptions(), TotemDAQMappingESSourceXML::fillDescriptions(), pat::PATMuonProducer::fillDescriptions(), reco::tau::RecoTauQualityCuts::fillDescriptions(), TrackingRegionsFromSuperClustersProducer::fillDescriptions(), EgammaHLTFilteredObjProducer< OutCollType >::fillDescriptions(), SiStripCondVisualizer::fillDescriptions(), SiPixelGainCalibScaler::fillDescriptions(), MuRecObjBaseProducer< DETECTOR_T, RECO_T, GEOM_T >::fillDescriptions(), HLTCaloObjInRegionsProducer< CaloObjType, CaloObjCollType >::fillDescriptions(), DTTrigPhase2Prod::fillDescriptions(), CandidateSeededTrackingRegionsProducer::fillDescriptions(), HLTRecHitInAllL1RegionsProducer< RecHitType >::fillDescriptions(), IsolatedTracksCone::fillDescriptions(), GsfElectronProducer::fillDescriptions(), PointSeededTrackingRegionsProducer::fillDescriptions(), L1MuonSeededTrackingRegionsProducer::fillDescriptions(), CandidatePointSeededTrackingRegionsProducer::fillDescriptions(), TopProjector< Top, Bottom, Matcher >::fillDescriptions(), L2TauNNProducer::fillDescriptions(), PFRecoTauDiscriminationByIsolation::fillDescriptions(), pat::PATJetSelector::fillDescriptions(), PFRecoTauDiscriminationByIsolationContainer::fillDescriptions(), SimpleFlatTableProducer< T >::fillDescriptions(), RecoTauCleanerImpl< Prod >::fillDescriptions(), DeepTauId::fillDescriptions(), GenWeightsTableProducer::fillDescriptions(), PrimaryVertexSorter< ParticlesCollection >::fillDescriptionsCommon(), PuppiAlgo::fillDescriptionsPuppiAlgo(), TotemTimingLocalTrackFitter< T >::fillDescriptionsShared(), edm::fillOptionsDescription(), TauDiscriminationProducerBase< TauType, TauDiscriminator >::fillProducerDescriptions(), MaxConsecLostHitsTrajectoryFilter::fillPSetDescription(), MaxLostHitsTrajectoryFilter::fillPSetDescription(), MuonCkfTrajectoryBuilder::fillPSetDescription(), SeedExtensionTrajectoryFilter::fillPSetDescription(), LostHitsFractionTrajectoryFilter::fillPSetDescription(), MaxHitsTrajectoryFilter::fillPSetDescription(), MaxCCCLostHitsTrajectoryFilter::fillPSetDescription(), cms::alpakatest::TestHostOnlyHelperClass::fillPSetDescription(), PFMuonAlgo::fillPSetDescription(), LooperTrajectoryFilter::fillPSetDescription(), ALPAKA_ACCELERATOR_NAMESPACE::TestHelperClass::fillPSetDescription(), ChargeSignificanceTrajectoryFilter::fillPSetDescription(), ticl::PatternRecognitionbyCLUE3D< TILES >::fillPSetDescription(), ClusterShapeTrajectoryFilter::fillPSetDescription(), ThresholdPtTrajectoryFilter::fillPSetDescription(), MinHitsTrajectoryFilter::fillPSetDescription(), GroupedCkfTrajectoryBuilder::fillPSetDescription(), ticl::PatternRecognitionbyCA< TILES >::fillPSetDescription(), PFEGammaFilters::fillPSetDescription(), ticl::PatternRecognitionbyFastJet< TILES >::fillPSetDescription(), MinPtTrajectoryFilter::fillPSetDescription(), StripSubClusterShapeFilterBase::fillPSetDescription(), edmtest::ValueMaker::fillPSetDescription(), CkfTrajectoryBuilder::fillPSetDescription(), Phase2ITValidateRecHitBase::fillPSetDescription(), cms::CkfTrackCandidateMakerBase::fillPSetDescription(), edmtest::AnotherValueMaker::fillPSetDescription(), TritonClient::fillPSetDescription(), Phase2OTValidateRecHitBase::fillPSetDescription(), BaseCkfTrajectoryBuilder::fillPSetDescription(), HGCalCLUEAlgoT< TILE, STRATEGY >::fillPSetDescription(), PFCandConnector::fillPSetDescription(), HGCalImagingAlgo::fillPSetDescription(), PFTauPrimaryVertexProducerBase::getDescriptionsBase(), HLTDQMTagAndProbeEff< TagType, TagCollType, ProbeType, ProbeCollType >::makePSetDescription(), edm::eventsetup::ESProductResolverProvider::prevalidate(), counter.Counter::register(), SequenceTypes._TaskBase::remove(), and SequenceTypes._TaskBase::replace().
|
inline |
Definition at line 118 of file ParameterSetDescription.h.
Referenced by counter.Counter::register(), SequenceTypes._TaskBase::remove(), and SequenceTypes._TaskBase::replace().
|
private |
Definition at line 390 of file ParameterSetDescription.h.
References addNode(), eostools::move(), and relativeConstraints::value.
Referenced by counter.Counter::register(), SequenceTypes._TaskBase::remove(), and SequenceTypes._TaskBase::replace().
|
private |
Definition at line 399 of file ParameterSetDescription.h.
References addNode(), and eostools::move().
Referenced by counter.Counter::register(), SequenceTypes._TaskBase::remove(), and SequenceTypes._TaskBase::replace().
ParameterDescriptionNode * ParameterSetDescription::addNode | ( | ParameterDescriptionNode const & | node | ) |
Definition at line 41 of file ParameterSetDescription.cc.
References edm::ParameterDescriptionNode::clone(), and eostools::move().
Referenced by add(), addNode(), addOptionalNode(), addVPSet(), addWildcard(), EcalDQMonitorClient::fillDescriptions(), edmtest::ProducerWithPSetDesc::fillDescriptions(), EcalDQMonitorTask::fillDescriptions(), TICLSeedingRegionProducer::fillDescriptions(), TrackstersProducer::fillDescriptions(), HGCalLayerClusterProducer::fillDescriptions(), edmtest::PluginUsingProducer::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), TrackstersMergeProducer::fillDescriptions(), pat::PATTauProducer::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), pat::PATMuonProducer::fillDescriptions(), MuRecObjBaseProducer< DETECTOR_T, RECO_T, GEOM_T >::fillDescriptions(), GroupedCkfTrajectoryBuilder::fillPSetDescription(), CompositeTrajectoryFilter::fillPSetDescription(), CkfTrajectoryBuilder::fillPSetDescription(), cms::CkfTrackCandidateMakerBase::fillPSetDescription(), EcalUncalibRecHitWorkerRatio::getAlgoDescription(), EcalUncalibRecHitWorkerFixedAlphaBetaFit::getAlgoDescription(), EcalUncalibRecHitWorkerGlobal::getAlgoDescription(), EcalUncalibRecHitWorkerMultiFit::getAlgoDescription(), ifExists(), ifValue(), and labelsFrom().
ParameterDescriptionNode * ParameterSetDescription::addNode | ( | std::unique_ptr< ParameterDescriptionNode > | node | ) |
Definition at line 46 of file ParameterSetDescription.cc.
References addNode(), and eostools::move().
|
private |
Definition at line 61 of file ParameterSetDescription.cc.
References edm::ParameterDescriptionNode::checkAndGetLabelsAndTypes(), entries_, mps_splice::entry, eostools::move(), Types::optional, throwIfLabelsAlreadyUsed(), and throwIfWildcardCollision().
|
inline |
Definition at line 105 of file ParameterSetDescription.h.
References relativeConstraints::value.
Referenced by pat::helper::KinResolutionsLoader::fillDescription(), edm::EventSelector::fillDescription(), pat::PATUserDataMerger< pat::Jet, pat::helper::AddUserInt >::fillDescription(), edmtest::ProducerWithPSetDesc::fillDescriptions(), citk::PFIsolationSumProducerForPUPPI::fillDescriptions(), PFRecoTauDiscriminationAgainstMuon::fillDescriptions(), BeamSpotOnlineProducer::fillDescriptions(), SiPixelFakeLorentzAngleESSource::fillDescriptions(), pat::PATMETProducer::fillDescriptions(), pat::PATJetUpdater::fillDescriptions(), citk::PFIsolationSumProducer::fillDescriptions(), RecoTauPiZeroProducer::fillDescriptions(), SiPixelRawToClusterCUDAT< TrackerTraits >::fillDescriptions(), RecoTauProducer::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), SiPixelRawToDigi::fillDescriptions(), pat::PATJetProducer::fillDescriptions(), pat::PATTauProducer::fillDescriptions(), PFRecoTauChargedHadronProducer::fillDescriptions(), EcalSelectiveReadoutProducer::fillDescriptions(), PFRecoTauDiscriminationAgainstElectron2::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), pat::PATMuonProducer::fillDescriptions(), reco::tau::RecoTauQualityCuts::fillDescriptions(), PFRecoTauDiscriminationByIsolation::fillDescriptions(), PFRecoTauDiscriminationByIsolationContainer::fillDescriptions(), RecoTauCleanerImpl< Prod >::fillDescriptions(), DeepTauId::fillDescriptions(), and TauDiscriminationProducerBase< TauType, TauDiscriminator >::fillProducerDescriptions().
|
inline |
Definition at line 128 of file ParameterSetDescription.h.
ParameterDescriptionNode * ParameterSetDescription::addOptionalNode | ( | ParameterDescriptionNode const & | node, |
bool | writeToCfi | ||
) |
Definition at line 50 of file ParameterSetDescription.cc.
References addNode(), edm::ParameterDescriptionNode::clone(), and eostools::move().
Referenced by ecaldqm::binning::fillAxisDescriptions(), edmtest::ProducerWithPSetDesc::fillDescriptions(), and SimpleFlatTableProducer< T >::fillDescriptions().
ParameterDescriptionNode * ParameterSetDescription::addOptionalNode | ( | std::unique_ptr< ParameterDescriptionNode > | node, |
bool | writeToCfi | ||
) |
Definition at line 56 of file ParameterSetDescription.cc.
References addNode(), and eostools::move().
|
inline |
Definition at line 110 of file ParameterSetDescription.h.
References relativeConstraints::value.
Referenced by edm::edmodule_mightGet_config(), ecaldqm::binning::fillAxisDescriptions(), edmtest::ProducerWithPSetDesc::fillDescriptions(), and ecaldqm::fillMESetDescriptions().
|
inline |
Definition at line 133 of file ParameterSetDescription.h.
|
inline |
Definition at line 100 of file ParameterSetDescription.h.
References relativeConstraints::value.
Referenced by ecaldqm::binning::fillAxisDescriptions(), BeamFitter::fillDescription(), PVFitter::fillDescription(), edm::PoolOutputModule::fillDescription(), edm::TestSource::fillDescriptions(), edmtest::ProducerWithPSetDesc::fillDescriptions(), ecaldqm::DQWorkerClient::fillDescriptions(), ecaldqm::EcalDQMonitor::fillDescriptions(), BeamSpotAnalyzer::fillDescriptions(), SiStripDetVOffPrinter::fillDescriptions(), DTUnpackingModule::fillDescriptions(), CaloTowerFromL1TSeededCreatorForTauHLT::fillDescriptions(), GEMCSCSegmentProducer::fillDescriptions(), AlcaPCCEventProducer::fillDescriptions(), CUDAService::fillDescriptions(), CaloTowerFromL1TCreatorForTauHLT::fillDescriptions(), OnlineBeamMonitor::fillDescriptions(), BeamSpotRcdPrinter::fillDescriptions(), CaloTowerCreatorForTauHLT::fillDescriptions(), BeamSpotOnlineProducer::fillDescriptions(), AlcaBeamMonitor::fillDescriptions(), SiStripLorentzAngleDepESProducer::fillDescriptions(), SiStripBackPlaneCorrectionDepESProducer::fillDescriptions(), L3MuonProducer::fillDescriptions(), edm::service::CheckTransitions::fillDescriptions(), TotemVFATRawToDigi::fillDescriptions(), L2MuonProducer::fillDescriptions(), L2MuonSeedGeneratorFromL1T::fillDescriptions(), L2MuonSeedGeneratorFromL1TkMu::fillDescriptions(), FastSiPixelFEDChannelContainerFromQuality::fillDescriptions(), MCMisalignmentScaler::fillDescriptions(), ecaldqm::DQWorker::fillDescriptions(), EcalSelectiveReadoutProducer::fillDescriptions(), SiPixelStatusProducer::fillDescriptions(), DTTrigPhase2Prod::fillDescriptions(), TritonService::fillDescriptions(), L1MuonSeededTrackingRegionsProducer::fillDescriptions(), TopProjector< Top, Bottom, Matcher >::fillDescriptions(), FastTimerService::fillDescriptions(), TrackingNtuple::fillDescriptions(), ecaldqm::fillMESetDescriptions(), edm::fillOptionsDescription(), StripSubClusterShapeFilterBase::fillPSetDescription(), TritonClient::fillPSetDescription(), HGCalCLUEAlgoT< TILE, STRATEGY >::fillPSetDescription(), HGCalImagingAlgo::fillPSetDescription(), and cms::alpakatools::module_backend_config().
|
inline |
Definition at line 123 of file ParameterSetDescription.h.
|
inline |
Definition at line 149 of file ParameterSetDescription.h.
References common_cff::defaults.
Referenced by hgcal::HGCalFrameGenerator::description(), CTPPSOpticalFunctionsESSource::fillDescriptions(), edmtest::ProducerWithPSetDesc::fillDescriptions(), citk::PFIsolationSumProducerForPUPPI::fillDescriptions(), citk::PFIsolationSumProducer::fillDescriptions(), NanoAODDQM::fillDescriptions(), and CompositeTrajectoryFilter::fillPSetDescription().
|
inline |
Definition at line 177 of file ParameterSetDescription.h.
|
private |
Definition at line 409 of file ParameterSetDescription.h.
References addNode(), common_cff::defaults, and eostools::move().
|
private |
Definition at line 422 of file ParameterSetDescription.h.
References addNode(), and eostools::move().
|
inline |
Definition at line 163 of file ParameterSetDescription.h.
References common_cff::defaults.
Referenced by RecoTauProducer::fillDescriptions().
|
inline |
Definition at line 187 of file ParameterSetDescription.h.
|
inline |
|
inline |
Definition at line 192 of file ParameterSetDescription.h.
|
inline |
|
inline |
Definition at line 182 of file ParameterSetDescription.h.
|
inline |
Definition at line 199 of file ParameterSetDescription.h.
References topSingleLeptonDQM_PU_cfi::pattern.
Referenced by pat::PATObjectUserDataEmbedder< T, ParentType >::fillDescriptions().
|
private |
Definition at line 431 of file ParameterSetDescription.h.
References addNode(), eostools::move(), topSingleLeptonDQM_PU_cfi::pattern, and edm::RequireZeroOrMore.
|
inline |
Definition at line 204 of file ParameterSetDescription.h.
References topSingleLeptonDQM_PU_cfi::pattern.
Referenced by ecaldqm::DQWorkerClient::fillDescriptions(), edm::fillMaxEventsDescription(), ecaldqm::fillMESetDescriptions(), and edm::fillOptionsDescription().
|
inline |
Definition at line 292 of file ParameterSetDescription.h.
References anythingAllowed_.
Referenced by print(), and validate().
|
inline |
Definition at line 295 of file ParameterSetDescription.h.
References entries_.
|
inline |
|
inline |
Definition at line 297 of file ParameterSetDescription.h.
References entries_.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 233 of file ParameterSetDescription.h.
Referenced by ifExistsOptional().
|
private |
Definition at line 319 of file ParameterSetDescription.cc.
References addNode(), eostools::move(), and Types::optional.
|
inline |
Definition at line 237 of file ParameterSetDescription.h.
References ifExists().
|
inline |
Definition at line 220 of file ParameterSetDescription.h.
References eostools::move().
Referenced by reco::helper::JetIDHelper::fillDescription(), edmtest::ProducerWithPSetDesc::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), pat::PATMuonProducer::fillDescriptions(), EgammaHLTPixelMatchVarProducer::fillDescriptions(), and SimpleFlatTableProducer< T >::fillDescriptions().
|
private |
Definition at line 439 of file ParameterSetDescription.h.
References addNode(), eostools::move(), and Types::optional.
|
inline |
Definition at line 226 of file ParameterSetDescription.h.
References eostools::move().
Referenced by edmtest::ProducerWithPSetDesc::fillDescriptions().
bool ParameterSetDescription::isLabelUnused | ( | std::string const & | label | ) | const |
Definition at line 191 of file ParameterSetDescription.cc.
References label, and usedLabels_.
Referenced by edm::edmodule_mightGet_config(), cms::alpakatools::module_backend_config(), and edm::eventsetup::ESProductResolverProvider::prevalidate().
|
inline |
Definition at line 293 of file ParameterSetDescription.h.
References unknown_.
Referenced by edm::ConfigurationDescriptions::print(), and print().
|
inline |
Definition at line 245 of file ParameterSetDescription.h.
|
inline |
|
private |
Definition at line 449 of file ParameterSetDescription.h.
References addNode(), eostools::move(), and Types::optional.
|
private |
Definition at line 458 of file ParameterSetDescription.h.
References addNode(), submitPVResolutionJobs::desc, eostools::move(), and Types::optional.
|
inline |
Definition at line 255 of file ParameterSetDescription.h.
|
inline |
|
inline |
Definition at line 260 of file ParameterSetDescription.h.
|
inline |
|
inline |
Definition at line 250 of file ParameterSetDescription.h.
|
inline |
void ParameterSetDescription::print | ( | std::ostream & | os, |
DocFormatHelper & | dfh | ||
) | const |
Definition at line 146 of file ParameterSetDescription.cc.
References anythingAllowed(), edm::DocFormatHelper::brief(), entries_, edm::for_all(), edm::DocFormatHelper::indent(), isUnknown(), printNode(), edm::DocFormatHelper::setCounter(), and edm::DocFormatHelper::setPass().
Referenced by edm::ParameterWildcardWithSpecifics::printNestedContent_(), edm::PluginDescription< T >::printNestedContent_(), and edm::ParameterDescription< std::vector< ParameterSet > >::printNestedContent_().
|
staticprivate |
Definition at line 227 of file ParameterSetDescription.cc.
References mps_splice::entry, and edm::DocFormatHelper::pass().
Referenced by print().
|
inline |
Definition at line 301 of file ParameterSetDescription.h.
References entries_, and dqmiodumpmetadata::n.
Referenced by EcalRecHitProducer::fillDescriptions().
void ParameterSetDescription::setAllowAnything | ( | ) |
allow any parameter label/value pairs
Definition at line 37 of file ParameterSetDescription.cc.
References anythingAllowed_.
Referenced by pat::helper::KinResolutionsLoader::fillDescription(), DeregionizerProducer::fillDescriptions(), edmtest::ProducerWithPSetDesc::fillDescriptions(), SeedCreatorFromRegionHitsEDProducerT< T_SeedCreator >::fillDescriptions(), PixelTripletHLTGenerator::fillDescriptions(), HIMuonTrackingRegionProducer::fillDescriptions(), GEMEfficiencyAnalyzer::fillDescriptions(), GlobalTrackQualityProducer::fillDescriptions(), pat::PATMETProducer::fillDescriptions(), NanoAODRNTupleOutputModule::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), NanoAODOutputModule::fillDescriptions(), pat::PATTauProducer::fillDescriptions(), pat::PATJetProducer::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), MuonIdProducer::fillDescriptions(), pat::PATMuonProducer::fillDescriptions(), and StripSubClusterShapeFilterBase::fillPSetDescription().
void ParameterSetDescription::setComment | ( | std::string const & | value | ) |
Definition at line 33 of file ParameterSetDescription.cc.
References comment_, and relativeConstraints::value.
Referenced by ConfigToolBase.ConfigToolBase::apply(), ECFAdder::fillDescriptions(), edmtest::ProducerWithPSetDesc::fillDescriptions(), citk::PFIsolationSumProducerForPUPPI::fillDescriptions(), pat::PATMETProducer::fillDescriptions(), pat::PATJetUpdater::fillDescriptions(), citk::PFIsolationSumProducer::fillDescriptions(), NanoAODDQM::fillDescriptions(), SiStripChannelGainFromDBMiscalibrator::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), SiStripNoisesFromDBMiscalibrator::fillDescriptions(), pat::PATJetProducer::fillDescriptions(), pat::PATTauProducer::fillDescriptions(), MCMisalignmentScaler::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), pat::PATMuonProducer::fillDescriptions(), MuRecObjBaseProducer< DETECTOR_T, RECO_T, GEOM_T >::fillDescriptions(), pat::PATJetSelector::fillDescriptions(), and SimpleFlatTableProducer< T >::fillDescriptions().
void ParameterSetDescription::setComment | ( | char const * | value | ) |
Definition at line 35 of file ParameterSetDescription.cc.
References comment_, and relativeConstraints::value.
Referenced by ConfigToolBase.ConfigToolBase::apply().
void ParameterSetDescription::setUnknown | ( | ) |
Definition at line 39 of file ParameterSetDescription.cc.
References unknown_.
Referenced by LowPtGsfElectronFinalizer::fillDescriptions(), ConversionTrackCandidateProducer::fillDescriptions(), and PFSimParticleProducer::fillDescriptions().
|
private |
Definition at line 235 of file ParameterSetDescription.cc.
References Exception, edm::errors::LogicError, DBoxMetadataHelper::set_intersection(), contentValuesCheck::ss, and usedLabels_.
Referenced by addNode().
|
private |
Definition at line 254 of file ParameterSetDescription.cc.
References Exception, edm::errors::LogicError, edm::parameterTypeEnumToString(), DBoxMetadataHelper::set_intersection(), contentValuesCheck::ss, typesUsedForParameters_, and typesUsedForWildcards_.
Referenced by addNode().
|
staticprivate |
Definition at line 195 of file ParameterSetDescription.cc.
References edm::errors::Configuration, Exception, HcalResponse_cfi::parNames, DBoxMetadataHelper::set_difference(), contentValuesCheck::ss, and mitigatedMETSequence_cff::U.
Referenced by validate().
void ParameterSetDescription::validate | ( | ParameterSet & | pset | ) | const |
Definition at line 78 of file ParameterSetDescription.cc.
References anythingAllowed(), entries_, edm::for_all(), muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, edm::IllegalParameters::throwAnException(), throwIllegalParameters(), unknown_, and validateNode().
Referenced by edm::ConfigurationDescriptions::validate(), edm::PluginDescription< T >::validate_(), and edm::ParameterWildcardWithSpecifics::validateDescription().
|
staticprivate |
Definition at line 140 of file ParameterSetDescription.cc.
References mps_splice::entry, and muonDTDigis_cfi::pset.
Referenced by validate().
void ParameterSetDescription::writeCfi | ( | std::ostream & | os, |
bool | startWithComma, | ||
int | indentation | ||
) | const |
Definition at line 122 of file ParameterSetDescription.cc.
References entries_, edm::for_all(), printContent_cfi::indentation, and writeNode().
Referenced by edm::PluginDescription< T >::writeCfi_(), and edm::ParameterDescription< std::vector< ParameterSet > >::writeOneElementToCfi().
|
staticprivate |
Definition at line 220 of file ParameterSetDescription.cc.
References mps_splice::entry, and printContent_cfi::indentation.
Referenced by writeCfi().
|
private |
Definition at line 371 of file ParameterSetDescription.h.
Referenced by anythingAllowed(), and setAllowAnything().
|
private |
Definition at line 379 of file ParameterSetDescription.h.
Referenced by comment(), and setComment().
|
private |
Definition at line 373 of file ParameterSetDescription.h.
Referenced by addNode(), begin(), end(), print(), reserve(), validate(), and writeCfi().
|
private |
Definition at line 376 of file ParameterSetDescription.h.
Referenced by throwIfWildcardCollision().
|
private |
Definition at line 377 of file ParameterSetDescription.h.
Referenced by throwIfWildcardCollision().
|
private |
Definition at line 372 of file ParameterSetDescription.h.
Referenced by isUnknown(), setUnknown(), and validate().
|
private |
Definition at line 375 of file ParameterSetDescription.h.
Referenced by isLabelUnused(), and throwIfLabelsAlreadyUsed().