#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) |
iterator | begin () |
std::string const & | comment () const |
ConfigurationDescriptions (std::string const &baseType) | |
ParameterSetDescription * | defaultDescription () |
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::string const &baseType, std::string const &pluginName) 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) |
Private Attributes | |
std::string | baseType_ |
std::string | comment_ |
ParameterSetDescription | defaultDesc_ |
bool | defaultDescDefined_ |
std::vector< std::pair < std::string, ParameterSetDescription > > | descriptions_ |
Definition at line 27 of file ConfigurationDescriptions.h.
typedef std::vector<std::pair<std::string, ParameterSetDescription> >::iterator edm::ConfigurationDescriptions::iterator |
Definition at line 30 of file ConfigurationDescriptions.h.
ConfigurationDescriptions::ConfigurationDescriptions | ( | std::string const & | baseType | ) |
Definition at line 42 of file ConfigurationDescriptions.cc.
ConfigurationDescriptions::~ConfigurationDescriptions | ( | ) |
Definition at line 47 of file ConfigurationDescriptions.cc.
void ConfigurationDescriptions::add | ( | std::string const & | label, |
ParameterSetDescription const & | psetDescription | ||
) |
Definition at line 65 of file ConfigurationDescriptions.cc.
References baseType_, defaultDescDefined_, descriptions_, edm::hlt::Exception, k_source, kService, kSource, diffTwoXMLs::label, and edm::errors::LogicError.
Referenced by add(), edm::EmptySource::fillDescriptions(), GEDGsfElectronCoreProducer::fillDescriptions(), HLTPFJetIDProducer::fillDescriptions(), edm::Prescaler::fillDescriptions(), edm::EventAuxiliaryHistoryProducer::fillDescriptions(), HLTJetL1MatchProducer< T >::fillDescriptions(), edm::service::InitRootHandlers::fillDescriptions(), HLTDiMuonGlbTrkFilter::fillDescriptions(), HLTMuonTrackMassFilter::fillDescriptions(), TrackerGeometricDetESModule::fillDescriptions(), TFileAdaptor::fillDescriptions(), UpdaterService::fillDescriptions(), HcalTrigTowerGeometryESProducer::fillDescriptions(), TrackerDigiGeometryESModule::fillDescriptions(), edm::StreamerOutputModule< Consumer >::fillDescriptions(), HLTHcalMETNoiseCleaner::fillDescriptions(), HLTHemiDPhiFilter::fillDescriptions(), HLTDisplacedEgammaFilter::fillDescriptions(), HLTPFTauPairLeadTrackDzMatchFilter::fillDescriptions(), HLTHtMhtFilter::fillDescriptions(), HLTJetCollectionsFilter< jetType >::fillDescriptions(), HLTMhtProducer::fillDescriptions(), HLTRFilter::fillDescriptions(), HLTRHemisphere::fillDescriptions(), edm::AsciiOutputModule::fillDescriptions(), HLTForwardBackwardJetsFilter< T >::fillDescriptions(), HLTHcalTowerNoiseCleaner::fillDescriptions(), HLTJetPairDzMatchFilter< T >::fillDescriptions(), HLTMuonL2PreFilter::fillDescriptions(), edm::service::UnixSignalService::fillDescriptions(), HLTHPDFilter::fillDescriptions(), HLTJetCollectionsVBFFilter< T >::fillDescriptions(), edm::service::CPU::fillDescriptions(), HLTMhtFilter::fillDescriptions(), PFJetsMatchedToFilteredCaloJetsProducer::fillDescriptions(), HLTDoubletDZ< T1, T2 >::fillDescriptions(), HLTAlphaTFilter< T >::fillDescriptions(), HLTDeDxFilter::fillDescriptions(), HLTExclDiJetFilter< T >::fillDescriptions(), HLTHcalLaserFilter::fillDescriptions(), HLTHcalMETNoiseFilter::fillDescriptions(), HLTJetVBFFilter< T >::fillDescriptions(), HLTMhtHtFilter< T >::fillDescriptions(), HLTMonoJetFilter< T >::fillDescriptions(), HLTMuonDimuonL3Filter::fillDescriptions(), HLTMuonTrimuonL3Filter::fillDescriptions(), HLTDiJetAveFilter< T >::fillDescriptions(), HLTHtMhtProducer::fillDescriptions(), FastTimerServiceClient::fillDescriptions(), HLTFatJetMassFilter< jetType >::fillDescriptions(), HLTMuonL3PreFilter::fillDescriptions(), edm::StreamerFileReader::fillDescriptions(), RandomEngineStateProducer::fillDescriptions(), HcalTopologyIdealEP::fillDescriptions(), HLTGlobalSums< T >::fillDescriptions(), HLTSinglet< T >::fillDescriptions(), edm::ProvenanceCheckerOutputModule::fillDescriptions(), TrackerTopologyEP::fillDescriptions(), HLTMuonL1Filter::fillDescriptions(), HLTPFEnergyFractionsFilter::fillDescriptions(), edm::PoolSource::fillDescriptions(), edm::service::Timing::fillDescriptions(), HLTBool::fillDescriptions(), edm::GetProductCheckerOutputModule::fillDescriptions(), edm::rootfix::LockService::fillDescriptions(), edm::service::ResourceEnforcer::fillDescriptions(), HLTJetTag< T >::fillDescriptions(), HLTLevel1Pattern::fillDescriptions(), HLTSmartSinglet< T >::fillDescriptions(), LogErrorFilter::fillDescriptions(), edm::LogErrorHarvester::fillDescriptions(), HLTDoublet< T1, T2 >::fillDescriptions(), edm::service::Tracer::fillDescriptions(), HLTCollectionProducer< T >::fillDescriptions(), EventIDChecker::fillDescriptions(), edm::service::LoadAllDictionaries::fillDescriptions(), AbortOnEventIDAnalyzer::fillDescriptions(), HLTJetSortedVBFFilter< T >::fillDescriptions(), edm::PrintEventSetupDataRetrieval::fillDescriptions(), HLTJetCollectionsForLeptonPlusJets< jetType >::fillDescriptions(), HLTLevel1Activity::fillDescriptions(), HLTJetCollForElePlusJets< T >::fillDescriptions(), HLTJetCollectionsForElePlusJets< T >::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), edm::PrintEventSetupContent::fillDescriptions(), edm::service::SiteLocalConfigService::fillDescriptions(), PrintLoadingPlugins::fillDescriptions(), CaloTowerConstituentsMapBuilder::fillDescriptions(), edm::EventSetupRecordDataGetter::fillDescriptions(), HLTElectronPFMTFilter::fillDescriptions(), pat::PATJetProducer::fillDescriptions(), edm::PoolOutputModule::fillDescriptions(), JetCollectionForEleHT::fillDescriptions(), MulticoreRunLumiEventChecker::fillDescriptions(), edm::service::RandomNumberGeneratorService::fillDescriptions(), edm::service::PrescaleService::fillDescriptions(), edm::service::SimpleMemoryCheck::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), pat::JetCorrFactorsProducer::fillDescriptions(), edm::service::EnableFloatingPointExceptions::fillDescriptions(), FastTimerService::fillDescriptions(), and edm::EventContentAnalyzer::fillDescriptions().
void ConfigurationDescriptions::add | ( | char const * | label, |
ParameterSetDescription const & | psetDescription | ||
) |
Definition at line 58 of file ConfigurationDescriptions.cc.
References add(), and AlCaHLTBitMon_QueryRunRegistry::string.
void ConfigurationDescriptions::addDefault | ( | ParameterSetDescription const & | psetDescription | ) |
Definition at line 99 of file ConfigurationDescriptions.cc.
References baseType_, defaultDesc_, defaultDescDefined_, descriptions_, edm::hlt::Exception, kService, kSource, and edm::errors::LogicError.
Referenced by FastTimerFilter::fillDescriptions(), EcalDQMonitorClient::fillDescriptions(), edm::EDAnalyzer::fillDescriptions(), edm::ModelFilter::fillDescriptions(), EcalDQMonitorTask::fillDescriptions(), edm::EDProducer::fillDescriptions(), IsoTrig::fillDescriptions(), dEdxAnalyzer::fillDescriptions(), VertexMonitor::fillDescriptions(), edm::EDFilter::fillDescriptions(), PythonService::fillDescriptions(), PFCand_AssoMap::fillDescriptions(), Mixing2DB::fillDescriptions(), CastorInvalidDataFilter::fillDescriptions(), MuPFIsoEmbedder::fillDescriptions(), PF_PU_FirstVertexTracks::fillDescriptions(), DJpsiFilter::fillDescriptions(), FourLepFilter::fillDescriptions(), PF_PU_AssoMap::fillDescriptions(), HcalLaserEventFilter2012::fillDescriptions(), edm::one::EDProducerBase::fillDescriptions(), BeamProfile2DB::fillDescriptions(), __class__< T >::fillDescriptions(), edm::one::EDFilterBase::fillDescriptions(), TTbar_P4Violation::fillDescriptions(), EmDQMFeeder::fillDescriptions(), edm::EventSetupCacheIdentifierChecker::fillDescriptions(), LHE2HepMCConverter::fillDescriptions(), ExtraFromSeeds::fillDescriptions(), edm::service::JobReportService::fillDescriptions(), PileupJetIdProducer::fillDescriptions(), JetVertexChecker::fillDescriptions(), HcalLaserEventFilter::fillDescriptions(), EGEnergyAnalyzer::fillDescriptions(), GBRWrapperMaker::fillDescriptions(), LogMessageMonitor::fillDescriptions(), HcalLaserHBHEFilter2012::fillDescriptions(), HcalLaserHBHEHFFilter2012::fillDescriptions(), HcalLaserHFFilter2012::fillDescriptions(), PFCand_NoPU_WithAM::fillDescriptions(), TTbar_GenLepAnalyzer::fillDescriptions(), TTbar_GenJetAnalyzer::fillDescriptions(), HcalForwardLibWriter::fillDescriptions(), TTbar_Kinematics::fillDescriptions(), edm::OutputModule::fillDescriptions(), HLTOfflineReproducibility::fillDescriptions(), ExternalLHEProducer::fillDescriptions(), edm::InputSource::fillDescriptions(), DQMRootOutputModule::fillDescriptions(), DQMRootSource::fillDescriptions(), and edm::fillDetails::DoFillAsUnknown< T >::operator()().
ConfigurationDescriptions::iterator ConfigurationDescriptions::begin | ( | void | ) |
Definition at line 123 of file ConfigurationDescriptions.cc.
References descriptions_.
|
inline |
Definition at line 44 of file ConfigurationDescriptions.h.
References comment_.
Referenced by print().
ParameterSetDescription * ConfigurationDescriptions::defaultDescription | ( | ) |
Returns 0 if no default has been assigned.
Definition at line 115 of file ConfigurationDescriptions.cc.
References defaultDesc_, and defaultDescDefined_.
Referenced by edm::edmodule_mightGet_config(), and edm::eventsetup::DataProxyProvider::prevalidate().
ConfigurationDescriptions::iterator ConfigurationDescriptions::end | ( | void | ) |
Definition at line 126 of file ConfigurationDescriptions.cc.
References descriptions_.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
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 207 of file ConfigurationDescriptions.cc.
References comment(), defaultDesc_, defaultDescDefined_, descriptions_, relativeConstraints::empty, edm::for_all(), edm::ConfigurationDescriptions::DescriptionCounter::iModule, edm::ConfigurationDescriptions::DescriptionCounter::iPlugin, edm::ConfigurationDescriptions::DescriptionCounter::iSelectedModule, edm::ParameterSetDescription::isUnknown(), edm::DocFormatHelper::offsetModuleLabel(), printForLabel(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::DocFormatHelper::wrapAndPrintText().
|
private |
Definition at line 312 of file ConfigurationDescriptions.cc.
Referenced by print().
|
private |
Definition at line 333 of file ConfigurationDescriptions.cc.
References baseType_, edm::ParameterSetDescription::comment(), edm::ConfigurationDescriptions::DescriptionCounter::iModule, edm::ConfigurationDescriptions::DescriptionCounter::iPlugin, edm::ConfigurationDescriptions::DescriptionCounter::iSelectedModule, kService, kSource, edm::DocFormatHelper::offsetTopLevelPSet(), edm::ParameterSetDescription::print(), edm::DocFormatHelper::setBrief(), edm::DocFormatHelper::setIndentation(), edm::DocFormatHelper::setLineWidth(), edm::DocFormatHelper::setParent(), edm::DocFormatHelper::setSection(), AlCaHLTBitMon_QueryRunRegistry::string, edm::DocFormatHelper::TOP, and edm::DocFormatHelper::wrapAndPrintText().
void ConfigurationDescriptions::setComment | ( | std::string const & | value | ) |
Definition at line 50 of file ConfigurationDescriptions.cc.
References comment_, and relativeConstraints::value.
Referenced by edm::service::UnixSignalService::fillDescriptions(), edm::service::Timing::fillDescriptions(), edm::service::Tracer::fillDescriptions(), edm::service::LoadAllDictionaries::fillDescriptions(), edm::PrintEventSetupDataRetrieval::fillDescriptions(), edm::PrintEventSetupContent::fillDescriptions(), PrintLoadingPlugins::fillDescriptions(), edm::EventSetupRecordDataGetter::fillDescriptions(), edm::service::EnableFloatingPointExceptions::fillDescriptions(), and edm::EventContentAnalyzer::fillDescriptions().
void ConfigurationDescriptions::setComment | ( | char const * | value | ) |
Definition at line 54 of file ConfigurationDescriptions.cc.
References comment_, and relativeConstraints::value.
void ConfigurationDescriptions::validate | ( | ParameterSet & | pset, |
std::string const & | moduleLabel | ||
) | const |
Definition at line 130 of file ConfigurationDescriptions.cc.
References defaultDesc_, defaultDescDefined_, descriptions_, edm::for_all(), and edm::ParameterSetDescription::validate().
Referenced by edm::serviceregistry::ServicesManager::createServices(), edm::makeInput(), edm::Maker::makeWorker(), and edm::eventsetup::validateEventSetupParameters().
|
staticprivate |
Definition at line 167 of file ConfigurationDescriptions.cc.
References gather_cfg::cout, edm::hlt::Exception, kService, kSource, edm::errors::LogicError, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by writeCfis().
void ConfigurationDescriptions::writeCfis | ( | std::string const & | baseType, |
std::string const & | pluginName | ||
) | const |
Definition at line 156 of file ConfigurationDescriptions.cc.
References descriptions_, edm::for_all(), and writeCfiForLabel().
|
private |
Definition at line 109 of file ConfigurationDescriptions.h.
Referenced by add(), addDefault(), and printForLabel().
|
private |
Definition at line 115 of file ConfigurationDescriptions.h.
Referenced by comment(), and setComment().
|
private |
Definition at line 113 of file ConfigurationDescriptions.h.
Referenced by addDefault(), defaultDescription(), print(), and validate().
|
private |
Definition at line 116 of file ConfigurationDescriptions.h.
Referenced by add(), addDefault(), defaultDescription(), print(), and validate().
|
private |
Definition at line 111 of file ConfigurationDescriptions.h.
Referenced by add(), addDefault(), begin(), end(), print(), validate(), and writeCfis().