#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::auto_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::auto_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::auto_ptr< ParameterDescriptionCases< T > > cases) |
template<typename T > | |
ParameterDescriptionNode * | ifValueOptional (ParameterDescription< T > const &switchParameter, std::auto_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::auto_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::auto_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 50 of file ParameterSetDescription.h.
typedef SetDescriptionEntries::const_iterator edm::ParameterSetDescription::const_iterator |
Definition at line 67 of file ParameterSetDescription.h.
typedef std::vector<SetDescriptionEntry> edm::ParameterSetDescription::SetDescriptionEntries |
Definition at line 66 of file ParameterSetDescription.h.
ParameterSetDescription::ParameterSetDescription | ( | ) |
Definition at line 31 of file ParameterSetDescription.cc.
|
virtual |
Definition at line 36 of file ParameterSetDescription.cc.
|
inline |
Definition at line 89 of file ParameterSetDescription.h.
References relativeConstraints::value.
Referenced by ConeIsolationAlgorithm::fillDescription(), GsfElectronBaseProducer::fillDescription(), GsfElectronCoreBaseProducer::fillDescription(), pat::helper::KinResolutionsLoader::fillDescription(), pat::PATUserDataHelper< ObjectType >::fillDescription(), pat::PATUserDataMerger< ObjectType, Operation >::fillDescription(), edm::fillDescriptionFromPSet(), GEDGsfElectronCoreProducer::fillDescriptions(), HLTDynamicPrescaler::fillDescriptions(), edm::Prescaler::fillDescriptions(), HLTDiMuonGlbTrkFilter::fillDescriptions(), edm::EventAuxiliaryHistoryProducer::fillDescriptions(), HLTDisplacedmumuFilter::fillDescriptions(), HLTEcalIsolationFilter::fillDescriptions(), HLTDisplacedmumumuFilter::fillDescriptions(), HLTPixelActivityFilter::fillDescriptions(), HLTTrackSeedMultiplicityFilter::fillDescriptions(), HLTPixelClusterShapeFilter::fillDescriptions(), HLTPFJetIDProducer::fillDescriptions(), SeedGeneratorFromProtoTracksEDProducer::fillDescriptions(), HLTPixelIsolTrackFilter::fillDescriptions(), HLTCaloJetIDProducer::fillDescriptions(), HLTMuonTrackMassFilter::fillDescriptions(), TrackerGeometricDetESModule::fillDescriptions(), HLTCSCRing2or3Filter::fillDescriptions(), HLTCSCOverlapFilter::fillDescriptions(), HcalTrigTowerGeometryESProducer::fillDescriptions(), TrackerDigiGeometryESModule::fillDescriptions(), HLTElectronMissingHitsFilter::fillDescriptions(), HLTHcalNoiseFilter::fillDescriptions(), FastTimerFilter::fillDescriptions(), HLTHemiDPhiFilter::fillDescriptions(), HLTPFTauPairLeadTrackDzMatchFilter::fillDescriptions(), HLTRPCFilter::fillDescriptions(), FTSLuminosityFromPileupSummaryInfo::fillDescriptions(), FTSLuminosityFromPixelClusters::fillDescriptions(), FTSLuminosityFromScalers::fillDescriptions(), HLTForwardBackwardJetsFilter< T >::fillDescriptions(), HLTHtMhtFilter::fillDescriptions(), EgammaHLTRechitInRegionsProducer::fillDescriptions(), HLTNVFilter::fillDescriptions(), HLTRapGapFilter::fillDescriptions(), HLTPhi2METFilter::fillDescriptions(), HLTMuonL1RegionalFilter::fillDescriptions(), HLTEgammaDoubleLegCombFilter::fillDescriptions(), HLTHcalTowerFilter::fillDescriptions(), HLT2jetGapFilter::fillDescriptions(), HLTJetPairDzMatchFilter< T >::fillDescriptions(), FTSLuminosityFromVertices::fillDescriptions(), HLTHcalMETNoiseCleaner::fillDescriptions(), HLTJetCollectionsFilter< jetType >::fillDescriptions(), HLTEgammaAllCombMassFilter::fillDescriptions(), AnyJetToCaloJetProducer::fillDescriptions(), HLTSingleVertexPixelTrackFilter::fillDescriptions(), HLTHPDFilter::fillDescriptions(), HLTJetL1MatchProducer< T >::fillDescriptions(), HLTEgammaCombMassFilter::fillDescriptions(), PFJetsMatchedToFilteredCaloJetsProducer::fillDescriptions(), FTSLuminosityFromLumiSummary::fillDescriptions(), HLTHcalLaserFilter::fillDescriptions(), HLTDeDxFilter::fillDescriptions(), EgammaHLTHybridClusterProducer::fillDescriptions(), HLTMhtProducer::fillDescriptions(), HLTMuonDimuonL3Filter::fillDescriptions(), HLTEgammaEtFilter::fillDescriptions(), HLTMuonTrimuonL3Filter::fillDescriptions(), HLTEgammaEtFilterPairs::fillDescriptions(), HLTPhysicsDeclared::fillDescriptions(), HLTElectronEtFilter::fillDescriptions(), HLTDiJetAveFilter< T >::fillDescriptions(), HLTHcalMETNoiseFilter::fillDescriptions(), HLTHcalTowerNoiseCleaner::fillDescriptions(), HLTDisplacedEgammaFilter::fillDescriptions(), EgammaHLTPFChargedIsolationProducer::fillDescriptions(), HLTJetVBFFilter< T >::fillDescriptions(), HLTMonoJetFilter< T >::fillDescriptions(), HLTEgammaDoubleEtDeltaPhiFilter::fillDescriptions(), HLTMuonDimuonL2Filter::fillDescriptions(), ConeIsolation::fillDescriptions(), HLTMuonL2PreFilter::fillDescriptions(), HLTMuonPFIsoFilter::fillDescriptions(), HLTDoubletDZ< T1, T2 >::fillDescriptions(), HLTEgammaGenericFilter::fillDescriptions(), HLTEgammaGenericQuadraticEtaFilter::fillDescriptions(), HLTEgammaGenericQuadraticFilter::fillDescriptions(), HLTEgammaTriggerFilterObjectWrapper::fillDescriptions(), HLTElectronEoverpFilterRegional::fillDescriptions(), HLTExclDiJetFilter< T >::fillDescriptions(), HLTElectronGenericFilter::fillDescriptions(), HLTFatJetMassFilter< jetType >::fillDescriptions(), EcalRecHitsMerger::fillDescriptions(), EgammaHLTIslandClusterProducer::fillDescriptions(), HLTJetCollectionsVBFFilter< T >::fillDescriptions(), HLTMhtFilter::fillDescriptions(), EgammaHLTPFNeutralIsolationProducer::fillDescriptions(), ESRecHitsMerger::fillDescriptions(), HLTRFilter::fillDescriptions(), HLTMuonIsoFilter::fillDescriptions(), HLTElectronOneOEMinusOneOPFilterRegional::fillDescriptions(), HLTMhtHtFilter< T >::fillDescriptions(), HLTAlphaTFilter< T >::fillDescriptions(), TriggerSummaryAnalyzerAOD::fillDescriptions(), EgammaHLTPFPhotonIsolationProducer::fillDescriptions(), TriggerSummaryAnalyzerRAW::fillDescriptions(), HLTMuonL1toL3TkPreFilter::fillDescriptions(), HLTMuonL3PreFilter::fillDescriptions(), EgammaHLTMulti5x5ClusterProducer::fillDescriptions(), HLTSinglet< T >::fillDescriptions(), HLTAcoFilter::fillDescriptions(), HLTElectronPixelMatchFilter::fillDescriptions(), HLTPMDocaFilter::fillDescriptions(), HLTGlobalSums< T >::fillDescriptions(), HLTEventAnalyzerAOD::fillDescriptions(), HLTEgammaL1MatchFilterPairs::fillDescriptions(), HLTEgammaL1MatchFilterRegional::fillDescriptions(), HLTHtMhtProducer::fillDescriptions(), HLTEventAnalyzerRAW::fillDescriptions(), HLTEgammaDoubleEtFilter::fillDescriptions(), HLTEgammaDoubleEtPhiFilter::fillDescriptions(), HcalTopologyIdealEP::fillDescriptions(), HLTBool::fillDescriptions(), L2MuonIsolationProducer::fillDescriptions(), L3MuonCombinedRelativeIsolationProducer::fillDescriptions(), HLTDTROMonitorFilter::fillDescriptions(), HLTEcalTowerFilter::fillDescriptions(), HLTDisplacedmumumuVtxProducer::fillDescriptions(), HLTPixlMBFilt::fillDescriptions(), HLTPixlMBForAlignmentFilter::fillDescriptions(), EgammaHLTClusterShapeProducer::fillDescriptions(), TrackerTopologyEP::fillDescriptions(), HLTEgammaCaloIsolFilterPairs::fillDescriptions(), HLTMuonL1Filter::fillDescriptions(), EgammaHLTCombinedIsolationProducer::fillDescriptions(), HLTGetRaw::fillDescriptions(), HLTRHemisphere::fillDescriptions(), HLTSmartSinglet< T >::fillDescriptions(), HLTDisplacedmumuVtxProducer::fillDescriptions(), HLTCaloTowerFilter::fillDescriptions(), HLTLevel1Pattern::fillDescriptions(), EgammaHLTRecoEcalCandidateProducers::fillDescriptions(), EgammaHLTPixelMatchElectronProducers::fillDescriptions(), HLTJetTag< T >::fillDescriptions(), EgammaHLTRemoveDuplicatedSC::fillDescriptions(), HLTCountNumberOfObject< OColl >::fillDescriptions(), HLTSummaryFilter::fillDescriptions(), HLTPFEnergyFractionsFilter::fillDescriptions(), HLTTriggerTypeFilter::fillDescriptions(), EgammaHLTElectronCombinedIsolationProducer::fillDescriptions(), TriggerSummaryProducerRAW::fillDescriptions(), LogErrorFilter::fillDescriptions(), EgammaHLTEcalRecIsolationProducer::fillDescriptions(), HLTDoublet< T1, T2 >::fillDescriptions(), EgammaHLTRegionalPixelSeedGeneratorProducers::fillDescriptions(), HLTCollectionProducer< T >::fillDescriptions(), HLTFiltCand::fillDescriptions(), EcalListOfFEDSProducer::fillDescriptions(), EgammaHLTR9IDProducer::fillDescriptions(), HLTTrackWithHits::fillDescriptions(), HLTEventNumberFilter::fillDescriptions(), TriggerResultsFilterFromDB::fillDescriptions(), EgammaHLTElectronTrackIsolationProducers::fillDescriptions(), EgammaHLTHcalIsolationDoubleConeProducers::fillDescriptions(), HLTVertexFilter::fillDescriptions(), ESListOfFEDSProducer::fillDescriptions(), EgammaHLTElectronDetaDphiProducer::fillDescriptions(), EgammaHLTR9Producer::fillDescriptions(), HLTLevel1Activity::fillDescriptions(), TriggerResultsFilter::fillDescriptions(), HLTHcalPhiSymFilter::fillDescriptions(), HLTJetSortedVBFFilter< T >::fillDescriptions(), HLTL1NumberFilter::fillDescriptions(), HLTrigReport::fillDescriptions(), EgammaHLTHcalIsolationProducersRegional::fillDescriptions(), HLTJetCollectionsForLeptonPlusJets< jetType >::fillDescriptions(), HLTHighLevel::fillDescriptions(), HLTFEDSizeFilter::fillDescriptions(), EcalTrigPrimProducer::fillDescriptions(), EgammaHLTPhotonTrackIsolationProducersRegional::fillDescriptions(), edm::service::PrescaleService::fillDescriptions(), EgammaHLTBcHcalIsolationProducersRegional::fillDescriptions(), pat::PATMETProducer::fillDescriptions(), HLTJetCollForElePlusJets< T >::fillDescriptions(), HLTMuonPointingFilter::fillDescriptions(), HLTElectronMuonInvMassFilter::fillDescriptions(), HLTHcalCalibTypeFilter::fillDescriptions(), HLTHcalNZSFilter::fillDescriptions(), HLTHcalSimpleRecHitFilter::fillDescriptions(), HLTTrackerHaloFilter::fillDescriptions(), HLTmmkkFilter::fillDescriptions(), HLTmmkFilter::fillDescriptions(), HLTJetCollectionsForElePlusJets< T >::fillDescriptions(), HLTCSCActivityFilter::fillDescriptions(), HLTElectronPFMTFilter::fillDescriptions(), EgammaHLTEcalIsolationProducersRegional::fillDescriptions(), HLTBeamModeFilter::fillDescriptions(), HLTPrescaleRecorder::fillDescriptions(), edm::EventSetupRecordDataGetter::fillDescriptions(), pat::PATMuonProducer::fillDescriptions(), HLTPrescaler::fillDescriptions(), HLTCSCAcceptBusyFilter::fillDescriptions(), EgammaHLTNxNClusterProducer::fillDescriptions(), HLTEcalPhiSymFilter::fillDescriptions(), pat::PATTauProducer::fillDescriptions(), HLTHFAsymmetryFilter::fillDescriptions(), HLTPixelAsymmetryFilter::fillDescriptions(), pat::PATJetProducer::fillDescriptions(), HLTDTActivityFilter::fillDescriptions(), HLTRPCTrigNoSyncFilter::fillDescriptions(), FastPrimaryVertexWithWeightsProducer::fillDescriptions(), PixelJetPuId::fillDescriptions(), EcalMIPRecHitFilter::fillDescriptions(), HLTPMMassFilter::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), HLTLevel1GTSeed::fillDescriptions(), HLTHeavyIon::fillDescriptions(), HLTGetDigi::fillDescriptions(), TriggerSummaryProducerAOD::fillDescriptions(), ExternalLHEProducer::fillDescriptions(), HLTDummyCollections::fillDescriptions(), EgammaHLTGsfTrackVarProducer::fillDescriptions(), pat::JetCorrFactorsProducer::fillDescriptions(), HLTEcalResonanceFilter::fillDescriptions(), HLTFilter::makeHLTFilterDescription(), HLTStreamFilter::makeHLTFilterDescription(), and edm::eventsetup::DataProxyProvider::prevalidate().
|
inline |
Definition at line 112 of file ParameterSetDescription.h.
|
private |
Definition at line 419 of file ParameterSetDescription.h.
References addNode(), and python.Node::node.
|
private |
Definition at line 428 of file ParameterSetDescription.h.
References addNode(), and python.Node::node.
ParameterDescriptionNode * ParameterSetDescription::addNode | ( | ParameterDescriptionNode const & | node | ) |
Definition at line 61 of file ParameterSetDescription.cc.
References edm::ParameterDescriptionNode::clone().
Referenced by add(), addNode(), addOptionalNode(), addVPSet(), addWildcard(), edm::fillDescriptionFromPSet(), pat::PATMuonProducer::fillDescriptions(), pat::PATTauProducer::fillDescriptions(), edm::service::RandomNumberGeneratorService::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), edm::service::EnableFloatingPointExceptions::fillDescriptions(), ifExists(), ifValue(), and labelsFrom().
ParameterDescriptionNode * ParameterSetDescription::addNode | ( | std::auto_ptr< ParameterDescriptionNode > | node | ) |
Definition at line 68 of file ParameterSetDescription.cc.
References addNode().
|
private |
Definition at line 87 of file ParameterSetDescription.cc.
References edm::ParameterDescriptionNode::checkAndGetLabelsAndTypes(), entries_, edm::ParameterSetDescription::SetDescriptionEntry::setOptional(), edm::ParameterSetDescription::SetDescriptionEntry::setWriteToCfi(), throwIfLabelsAlreadyUsed(), and throwIfWildcardCollision().
|
inline |
Definition at line 99 of file ParameterSetDescription.h.
References relativeConstraints::value.
Referenced by pat::helper::KinResolutionsLoader::fillDescription(), edm::EventSelector::fillDescription(), TrackerGeometricDetESModule::fillDescriptions(), TrackerDigiGeometryESModule::fillDescriptions(), HcalTopologyIdealEP::fillDescriptions(), pat::PATMETProducer::fillDescriptions(), pat::PATMuonProducer::fillDescriptions(), pat::PATTauProducer::fillDescriptions(), pat::PATJetProducer::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), and pat::PATPhotonProducer::fillDescriptions().
|
inline |
Definition at line 122 of file ParameterSetDescription.h.
ParameterDescriptionNode * ParameterSetDescription::addOptionalNode | ( | ParameterDescriptionNode const & | node, |
bool | writeToCfi | ||
) |
Definition at line 74 of file ParameterSetDescription.cc.
References addNode(), and edm::ParameterDescriptionNode::clone().
ParameterDescriptionNode * ParameterSetDescription::addOptionalNode | ( | std::auto_ptr< ParameterDescriptionNode > | node, |
bool | writeToCfi | ||
) |
Definition at line 81 of file ParameterSetDescription.cc.
References addNode().
|
inline |
Definition at line 104 of file ParameterSetDescription.h.
References relativeConstraints::value.
Referenced by edm::edmodule_mightGet_config(), edm::ProducerSourceBase::fillDescription(), TFileAdaptor::fillDescriptions(), edm::service::SiteLocalConfigService::fillDescriptions(), edm::service::RandomNumberGeneratorService::fillDescriptions(), and edm::EventContentAnalyzer::fillDescriptions().
|
inline |
Definition at line 127 of file ParameterSetDescription.h.
|
inline |
Definition at line 94 of file ParameterSetDescription.h.
References relativeConstraints::value.
Referenced by edm::StreamerOutputModuleBase::fillDescription(), edm::EventSkipperByID::fillDescription(), edm::FromFiles::fillDescription(), evf::RecoEventWriterForFU::fillDescription(), edm::EDInputSource::fillDescription(), edm::ProducerSourceBase::fillDescription(), edm::ProductSelectorRules::fillDescription(), edm::StreamerFileWriter::fillDescription(), edm::DuplicateChecker::fillDescription(), edm::EventSelector::fillDescription(), edm::RootInputFileSequence::fillDescription(), edm::InputSource::fillDescription(), edm::fillDescriptionFromPSet(), edm::service::InitRootHandlers::fillDescriptions(), HLTRPCFilter::fillDescriptions(), edm::service::UnixSignalService::fillDescriptions(), edm::service::CPU::fillDescriptions(), edm::AsciiOutputModule::fillDescriptions(), HLTEgammaEtFilterPairs::fillDescriptions(), HLTEgammaDoubleEtDeltaPhiFilter::fillDescriptions(), HLTEgammaEtFilter::fillDescriptions(), edm::service::Timing::fillDescriptions(), edm::StreamerFileReader::fillDescriptions(), FastTimerServiceClient::fillDescriptions(), HLTEgammaDoubleEtFilter::fillDescriptions(), HcalTopologyIdealEP::fillDescriptions(), evf::RecoEventOutputModuleForFU< Consumer >::fillDescriptions(), edm::service::ResourceEnforcer::fillDescriptions(), edm::service::LoadAllDictionaries::fillDescriptions(), EventIDChecker::fillDescriptions(), AbortOnEventIDAnalyzer::fillDescriptions(), edm::PrintEventSetupDataRetrieval::fillDescriptions(), HLTrigReport::fillDescriptions(), HLTHcalCalibTypeFilter::fillDescriptions(), HLTElectronMuonInvMassFilter::fillDescriptions(), CaloTowerConstituentsMapBuilder::fillDescriptions(), edm::service::Tracer::fillDescriptions(), Timer::fillDescriptions(), edm::EventSetupRecordDataGetter::fillDescriptions(), edm::PoolOutputModule::fillDescriptions(), MulticoreRunLumiEventChecker::fillDescriptions(), edm::service::RandomNumberGeneratorService::fillDescriptions(), EcalMIPRecHitFilter::fillDescriptions(), edm::service::SimpleMemoryCheck::fillDescriptions(), HLTPMMassFilter::fillDescriptions(), HLTGetDigi::fillDescriptions(), TimerService::fillDescriptions(), FastTimerService::fillDescriptions(), edm::service::EnableFloatingPointExceptions::fillDescriptions(), and DQMRootSource::fillDescriptions().
|
inline |
Definition at line 117 of file ParameterSetDescription.h.
|
inline |
Definition at line 143 of file ParameterSetDescription.h.
References l1GtPatternGenerator_cfi::defaults.
Referenced by HLTMuonL1RegionalFilter::fillDescriptions(), edm::service::PrescaleService::fillDescriptions(), and edm::EventSetupRecordDataGetter::fillDescriptions().
|
inline |
Definition at line 171 of file ParameterSetDescription.h.
|
private |
Definition at line 437 of file ParameterSetDescription.h.
References addNode(), and python.Node::node.
|
private |
Definition at line 449 of file ParameterSetDescription.h.
References addNode(), and python.Node::node.
|
inline |
Definition at line 157 of file ParameterSetDescription.h.
References l1GtPatternGenerator_cfi::defaults.
|
inline |
Definition at line 183 of file ParameterSetDescription.h.
|
inline |
Definition at line 164 of file ParameterSetDescription.h.
References l1GtPatternGenerator_cfi::defaults.
|
inline |
Definition at line 189 of file ParameterSetDescription.h.
|
inline |
Definition at line 150 of file ParameterSetDescription.h.
References l1GtPatternGenerator_cfi::defaults.
|
inline |
Definition at line 177 of file ParameterSetDescription.h.
|
inline |
|
private |
Definition at line 460 of file ParameterSetDescription.h.
References addNode(), python.Node::node, and edm::RequireZeroOrMore.
|
inline |
Definition at line 202 of file ParameterSetDescription.h.
References listBenchmarks::pattern.
Referenced by edm::EventSetupCacheIdentifierChecker::fillDescriptions().
|
inline |
Definition at line 303 of file ParameterSetDescription.h.
References anythingAllowed_.
Referenced by print(), and validate().
|
inline |
Definition at line 306 of file ParameterSetDescription.h.
References entries_.
|
inline |
Definition at line 72 of file ParameterSetDescription.h.
References comment_.
Referenced by edm::ConfigurationDescriptions::printForLabel().
|
inline |
Definition at line 310 of file ParameterSetDescription.h.
References entries_.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 234 of file ParameterSetDescription.h.
Referenced by ifExistsOptional().
|
private |
Definition at line 399 of file ParameterSetDescription.cc.
References addNode().
|
inline |
Definition at line 240 of file ParameterSetDescription.h.
References ifExists().
|
inline |
Definition at line 219 of file ParameterSetDescription.h.
Referenced by reco::helper::JetIDHelper::fillDescription().
|
private |
Definition at line 469 of file ParameterSetDescription.h.
References addNode().
|
inline |
Definition at line 226 of file ParameterSetDescription.h.
bool ParameterSetDescription::isLabelUnused | ( | std::string const & | label | ) | const |
Definition at line 232 of file ParameterSetDescription.cc.
References usedLabels_.
Referenced by edm::edmodule_mightGet_config(), and edm::eventsetup::DataProxyProvider::prevalidate().
|
inline |
Definition at line 304 of file ParameterSetDescription.h.
References unknown_.
Referenced by edm::ConfigurationDescriptions::print(), and print().
|
inline |
Definition at line 249 of file ParameterSetDescription.h.
|
inline |
Definition at line 281 of file ParameterSetDescription.h.
|
private |
Definition at line 478 of file ParameterSetDescription.h.
References addNode().
|
private |
Definition at line 485 of file ParameterSetDescription.h.
References addNode().
|
inline |
Definition at line 261 of file ParameterSetDescription.h.
|
inline |
Definition at line 293 of file ParameterSetDescription.h.
|
inline |
Definition at line 267 of file ParameterSetDescription.h.
|
inline |
Definition at line 299 of file ParameterSetDescription.h.
|
inline |
Definition at line 255 of file ParameterSetDescription.h.
|
inline |
Definition at line 287 of file ParameterSetDescription.h.
void ParameterSetDescription::print | ( | std::ostream & | os, |
DocFormatHelper & | dfh | ||
) | const |
Definition at line 179 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::ConfigurationDescriptions::printForLabel(), and edm::ParameterDescription< std::vector< ParameterSet > >::printNestedContent_().
|
staticprivate |
Definition at line 285 of file ParameterSetDescription.cc.
References edm::ParameterSetDescription::SetDescriptionEntry::node(), edm::ParameterSetDescription::SetDescriptionEntry::optional(), edm::DocFormatHelper::pass(), and edm::ParameterSetDescription::SetDescriptionEntry::writeToCfi().
Referenced by print().
|
inline |
Definition at line 316 of file ParameterSetDescription.h.
References entries_.
void ParameterSetDescription::setAllowAnything | ( | ) |
allow any parameter label/value pairs
Definition at line 48 of file ParameterSetDescription.cc.
References anythingAllowed_.
Referenced by pat::helper::KinResolutionsLoader::fillDescription(), pat::PATMETProducer::fillDescriptions(), pat::PATMuonProducer::fillDescriptions(), pat::PATTauProducer::fillDescriptions(), edm::PoolOutputModule::fillDescriptions(), pat::PATJetProducer::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), and pat::PATElectronProducer::fillDescriptions().
void ParameterSetDescription::setComment | ( | std::string const & | value | ) |
Definition at line 40 of file ParameterSetDescription.cc.
References comment_, and relativeConstraints::value.
Referenced by evf::RecoEventWriterForFU::fillDescription(), edm::StreamerFileWriter::fillDescription(), edm::EmptySource::fillDescriptions(), edm::service::InitRootHandlers::fillDescriptions(), edm::AsciiOutputModule::fillDescriptions(), edm::StreamerFileReader::fillDescriptions(), edm::PoolSource::fillDescriptions(), edm::service::JobReportService::fillDescriptions(), pat::PATMETProducer::fillDescriptions(), edm::service::SiteLocalConfigService::fillDescriptions(), pat::PATMuonProducer::fillDescriptions(), pat::PATTauProducer::fillDescriptions(), pat::PATJetProducer::fillDescriptions(), edm::PoolOutputModule::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), ExternalLHEProducer::fillDescriptions(), and edm::service::EnableFloatingPointExceptions::fillDescriptions().
void ParameterSetDescription::setComment | ( | char const * | value | ) |
Definition at line 44 of file ParameterSetDescription.cc.
References comment_, and relativeConstraints::value.
void ParameterSetDescription::setUnknown | ( | ) |
Definition at line 54 of file ParameterSetDescription.cc.
References unknown_.
Referenced by EcalDQMonitorClient::fillDescriptions(), edm::ModelFilter::fillDescriptions(), EcalDQMonitorTask::fillDescriptions(), IsoTrig::fillDescriptions(), edm::EDAnalyzer::fillDescriptions(), dEdxAnalyzer::fillDescriptions(), VertexMonitor::fillDescriptions(), edm::EDProducer::fillDescriptions(), PFCand_AssoMap::fillDescriptions(), edm::EDFilter::fillDescriptions(), Mixing2DB::fillDescriptions(), CastorInvalidDataFilter::fillDescriptions(), AnaL1CaloCleaner::fillDescriptions(), DYGenFilter::fillDescriptions(), DJpsiFilter::fillDescriptions(), FourLepFilter::fillDescriptions(), MuPFIsoEmbedder::fillDescriptions(), PF_PU_FirstVertexTracks::fillDescriptions(), PF_PU_AssoMap::fillDescriptions(), HcalLaserEventFilter2012::fillDescriptions(), BeamProfile2DB::fillDescriptions(), __class__< T >::fillDescriptions(), edm::stream::EDAnalyzerBase::fillDescriptions(), TTbar_P4Violation::fillDescriptions(), edm::stream::EDProducerBase::fillDescriptions(), LHE2HepMCConverter::fillDescriptions(), ExtraFromSeeds::fillDescriptions(), edm::stream::EDFilterBase::fillDescriptions(), PileupJetIdProducer::fillDescriptions(), JetVertexChecker::fillDescriptions(), EGEnergyAnalyzer::fillDescriptions(), HcalLaserEventFilter::fillDescriptions(), edm::global::EDAnalyzerBase::fillDescriptions(), edm::one::EDProducerBase::fillDescriptions(), edm::one::EDAnalyzerBase::fillDescriptions(), AnaMuonCaloCleaner::fillDescriptions(), TestMuonCaloCleaner::fillDescriptions(), edm::one::EDFilterBase::fillDescriptions(), edm::global::EDFilterBase::fillDescriptions(), HcalLaserHBHEFilter2012::fillDescriptions(), HcalLaserHBHEHFFilter2012::fillDescriptions(), EcalZmassTask::fillDescriptions(), HcalLaserHFFilter2012::fillDescriptions(), LogMessageMonitor::fillDescriptions(), EGammaCutBasedEleIdAnalyzer::fillDescriptions(), SeedToTrackProducer::fillDescriptions(), edm::global::EDProducerBase::fillDescriptions(), TTbar_GenLepAnalyzer::fillDescriptions(), PFCand_NoPU_WithAM::fillDescriptions(), EcalZmassClient::fillDescriptions(), TTbar_GenJetAnalyzer::fillDescriptions(), APVShotsFilter::fillDescriptions(), TTbar_Kinematics::fillDescriptions(), HcalForwardLibWriter::fillDescriptions(), L1Validator::fillDescriptions(), HLTOfflineReproducibility::fillDescriptions(), edm::OutputModule::fillDescriptions(), HadronAndPartonSelector::fillDescriptions(), edm::one::OutputModuleBase::fillDescriptions(), edm::InputSource::fillDescriptions(), JetFlavourClustering::fillDescriptions(), DQMRootOutputModule::fillDescriptions(), and edm::fillDetails::DoFillAsUnknown< T >::operator()().
|
private |
Definition at line 298 of file ParameterSetDescription.cc.
References edm::hlt::Exception, edm::errors::LogicError, and usedLabels_.
Referenced by addNode().
|
private |
Definition at line 327 of file ParameterSetDescription.cc.
References edm::hlt::Exception, edm::errors::LogicError, edm::parameterTypeEnumToString(), typesUsedForParameters_, and typesUsedForWildcards_.
Referenced by addNode().
|
staticprivate |
Definition at line 237 of file ParameterSetDescription.cc.
References edm::errors::Configuration, and edm::hlt::Exception.
Referenced by validate().
void ParameterSetDescription::validate | ( | ParameterSet & | pset | ) | const |
Definition at line 106 of file ParameterSetDescription.cc.
References anythingAllowed(), entries_, edm::ParameterSet::exists(), edm::for_all(), edm::ParameterSet::getParameterNames(), AlCaHLTBitMon_QueryRunRegistry::string, edm::IllegalParameters::throwAnException(), throwIllegalParameters(), unknown_, and validateNode().
Referenced by edm::ConfigurationDescriptions::validate().
|
staticprivate |
Definition at line 172 of file ParameterSetDescription.cc.
References edm::ParameterSetDescription::SetDescriptionEntry::node(), and edm::ParameterSetDescription::SetDescriptionEntry::optional().
Referenced by validate().
void ParameterSetDescription::writeCfi | ( | std::ostream & | os, |
bool | startWithComma, | ||
int | indentation | ||
) | const |
Definition at line 153 of file ParameterSetDescription.cc.
References entries_, edm::for_all(), and writeNode().
Referenced by edm::ParameterDescription< std::vector< ParameterSet > >::writeOneElementToCfi().
|
staticprivate |
Definition at line 274 of file ParameterSetDescription.cc.
References edm::ParameterSetDescription::SetDescriptionEntry::node(), and edm::ParameterSetDescription::SetDescriptionEntry::writeToCfi().
Referenced by writeCfi().
|
private |
Definition at line 399 of file ParameterSetDescription.h.
Referenced by anythingAllowed(), and setAllowAnything().
|
private |
Definition at line 407 of file ParameterSetDescription.h.
Referenced by comment(), and setComment().
|
private |
Definition at line 401 of file ParameterSetDescription.h.
Referenced by addNode(), begin(), end(), print(), reserve(), validate(), and writeCfi().
|
private |
Definition at line 404 of file ParameterSetDescription.h.
Referenced by throwIfWildcardCollision().
|
private |
Definition at line 405 of file ParameterSetDescription.h.
Referenced by throwIfWildcardCollision().
|
private |
Definition at line 400 of file ParameterSetDescription.h.
Referenced by isUnknown(), setUnknown(), and validate().
|
private |
Definition at line 403 of file ParameterSetDescription.h.
Referenced by isLabelUnused(), and throwIfLabelsAlreadyUsed().