#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(), edm::Prescaler::fillDescriptions(), HLTPFJetIDProducer::fillDescriptions(), HLTJetL1MatchProducer< T >::fillDescriptions(), HLTDiMuonGlbTrkFilter::fillDescriptions(), edm::service::InitRootHandlers::fillDescriptions(), edm::EventAuxiliaryHistoryProducer::fillDescriptions(), HLTMuonTrackMassFilter::fillDescriptions(), TFileAdaptor::fillDescriptions(), UpdaterService::fillDescriptions(), edm::StreamerOutputModule< Consumer >::fillDescriptions(), HLTHcalMETNoiseCleaner::fillDescriptions(), HLTHemiDPhiFilter::fillDescriptions(), HLTDisplacedEgammaFilter::fillDescriptions(), HLTPFTauPairLeadTrackDzMatchFilter::fillDescriptions(), HLTHtMhtFilter::fillDescriptions(), HLTMhtProducer::fillDescriptions(), HLTRFilter::fillDescriptions(), HLTRHemisphere::fillDescriptions(), edm::AsciiOutputModule::fillDescriptions(), HLTForwardBackwardJetsFilter< T >::fillDescriptions(), HLTHcalTowerNoiseCleaner::fillDescriptions(), HLTJetCollectionsFilter< jetType >::fillDescriptions(), HLTJetPairDzMatchFilter< T >::fillDescriptions(), HLTMuonL2PreFilter::fillDescriptions(), HLTHPDFilter::fillDescriptions(), edm::service::UnixSignalService::fillDescriptions(), HLTMhtFilter::fillDescriptions(), edm::service::CPU::fillDescriptions(), HLTDoubletDZ< T1, T2 >::fillDescriptions(), PFJetsMatchedToFilteredCaloJetsProducer::fillDescriptions(), HLTAlphaTFilter< T >::fillDescriptions(), edm::service::SimpleProfiling::fillDescriptions(), HLTDeDxFilter::fillDescriptions(), HLTExclDiJetFilter< T >::fillDescriptions(), HLTHcalLaserFilter::fillDescriptions(), HLTHcalMETNoiseFilter::fillDescriptions(), HLTJetCollectionsVBFFilter< T >::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(), HLTGlobalSums< T >::fillDescriptions(), HLTSinglet< T >::fillDescriptions(), edm::ProvenanceCheckerOutputModule::fillDescriptions(), HLTMuonL1Filter::fillDescriptions(), edm::PoolSource::fillDescriptions(), HLTBool::fillDescriptions(), HLTPFEnergyFractionsFilter::fillDescriptions(), edm::service::Timing::fillDescriptions(), edm::GetProductCheckerOutputModule::fillDescriptions(), edm::rootfix::LockService::fillDescriptions(), HLTLevel1Pattern::fillDescriptions(), HLTJetTag< T >::fillDescriptions(), edm::service::ResourceEnforcer::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(), HLTJetSortedVBFFilter< T >::fillDescriptions(), edm::PrintEventSetupDataRetrieval::fillDescriptions(), HLTLevel1Activity::fillDescriptions(), HLTJetCollectionsForLeptonPlusJets< jetType >::fillDescriptions(), HLTJetCollForElePlusJets< T >::fillDescriptions(), edm::service::SiteLocalConfigService::fillDescriptions(), HLTJetCollectionsForElePlusJets< T >::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), edm::PrintEventSetupContent::fillDescriptions(), PrintLoadingPlugins::fillDescriptions(), edm::XMLOutputModule::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().
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(), dEdxAnalyzer::fillDescriptions(), edm::EDFilter::fillDescriptions(), VertexMonitor::fillDescriptions(), PythonService::fillDescriptions(), fltrname::fillDescriptions(), PFCand_AssoMap::fillDescriptions(), Mixing2DB::fillDescriptions(), CastorInvalidDataFilter::fillDescriptions(), MuPFIsoEmbedder::fillDescriptions(), PF_PU_FirstVertexTracks::fillDescriptions(), DJpsiFilter::fillDescriptions(), FourLepFilter::fillDescriptions(), PF_PU_AssoMap::fillDescriptions(), BeamProfile2DB::fillDescriptions(), HighLumiFilter::fillDescriptions(), anlzrname::fillDescriptions(), TTbar_P4Violation::fillDescriptions(), prodname::fillDescriptions(), EmDQMFeeder::fillDescriptions(), LHE2HepMCConverter::fillDescriptions(), edm::service::JobReportService::fillDescriptions(), JetVertexChecker::fillDescriptions(), EGammaCutBasedEleIdAnalyzer::fillDescriptions(), HcalLaserEventFilter2012::fillDescriptions(), GBRWrapperMaker::fillDescriptions(), EGEnergyAnalyzer::fillDescriptions(), LogMessageMonitor::fillDescriptions(), HcalLaserEventFilter::fillDescriptions(), HcalLaserHBHEHFFilter2012::fillDescriptions(), HcalLaserHBHEFilter2012::fillDescriptions(), PFCand_NoPU_WithAM::fillDescriptions(), HcalLaserHFFilter2012::fillDescriptions(), edm::OutputModule::fillDescriptions(), TTbar_GenLepAnalyzer::fillDescriptions(), TTbar_GenJetAnalyzer::fillDescriptions(), TTbar_Kinematics::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(), 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(), 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 jetTools.RunBTagging::apply(), 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.
Referenced by jetTools.RunBTagging::apply().
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 GetRecoTauVFromDQM_MC_cff::outFile.
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().