LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ParameterSet.h"
Public Types | |
using | ps_atom_t = fhicl::detail::ps_atom_t |
using | ps_sequence_t = fhicl::detail::ps_sequence_t |
using | annot_t = std::unordered_map< std::string, std::string > |
Public Member Functions | |
bool | is_empty () const |
ParameterSetID | id () const |
std::string | to_string () const |
std::string | to_compact_string () const |
std::string | to_indented_string () const |
std::string | to_indented_string (unsigned initial_indent_level) const |
std::string | to_indented_string (unsigned initial_indent_level, bool annotate) const |
std::string | to_indented_string (unsigned initial_indent_level, detail::print_mode pm) const |
std::vector< std::string > | get_names () const |
std::vector< std::string > | get_pset_names () const |
std::vector< std::string > | get_all_keys () const |
bool | has_key (std::string const &key) const |
bool | is_key_to_table (std::string const &key) const |
bool | is_key_to_sequence (std::string const &key) const |
bool | is_key_to_atom (std::string const &key) const |
template<class T > | |
std::optional< T > | get_if_present (std::string const &key) const |
template<class T , class Via > | |
std::optional< T > | get_if_present (std::string const &key, T convert(Via const &)) const |
template<class T > | |
bool | get_if_present (std::string const &key, T &value) const |
template<class T , class Via > | |
bool | get_if_present (std::string const &key, T &value, T convert(Via const &)) const |
template<class T > | |
T | get (std::string const &key) const |
template<class T , class Via > | |
T | get (std::string const &key, T convert(Via const &)) const |
template<class T > | |
T | get (std::string const &key, T const &default_value) const |
template<class T , class Via > | |
T | get (std::string const &key, T const &default_value, T convert(Via const &)) const |
std::string | get_src_info (std::string const &key) const |
void | walk (ParameterSetWalker &psw) const |
void | put (std::string const &key) |
template<class T > | |
void | put (std::string const &key, T const &value) |
void | put_or_replace (std::string const &key) |
template<class T > | |
void | put_or_replace (std::string const &key, T const &value) |
template<class T > | |
void | put_or_replace_compatible (std::string const &key, T const &value) |
bool | erase (std::string const &key) |
bool | operator== (ParameterSet const &other) const |
bool | operator!= (ParameterSet const &other) const |
template<> | |
void | put (std::string const &key, fhicl::extended_value const &value) |
Static Public Member Functions | |
static ParameterSet | make (intermediate_table const &tbl) |
static ParameterSet | make (extended_value const &xval) |
static ParameterSet | make (std::string const &str) |
static ParameterSet | make (std::string const &filename, cet::filepath_maker &maker) |
Private Types | |
using | map_t = std::map< std::string, std::any > |
using | map_iter_t = map_t::const_iterator |
Private Member Functions | |
void | insert_ (std::string const &key, std::any const &value) |
void | insert_or_replace_ (std::string const &key, std::any const &value) |
void | insert_or_replace_compatible_ (std::string const &key, std::any const &value) |
std::string | to_string_ (bool compact=false) const |
std::string | stringify_ (std::any const &a, bool compact=false) const |
bool | key_is_type_ (std::string const &key, std::function< bool(std::any const &)> func) const |
template<class T > | |
std::optional< T > | get_one_ (std::string const &key) const |
bool | find_one_ (std::string const &key) const |
std::optional< ParameterSet > | descend_ (std::vector< std::string > const &names) const |
Private Attributes | |
map_t | mapping_ |
annot_t | srcMapping_ |
ParameterSetID | id_ |
Definition at line 36 of file ParameterSet.h.
using fhicl::ParameterSet::annot_t = std::unordered_map<std::string, std::string> |
Definition at line 40 of file ParameterSet.h.
|
private |
Definition at line 123 of file ParameterSet.h.
|
private |
Definition at line 122 of file ParameterSet.h.
Definition at line 38 of file ParameterSet.h.
Definition at line 39 of file ParameterSet.h.
|
private |
Definition at line 223 of file ParameterSet.cc.
References util::empty().
bool ParameterSet::erase | ( | std::string const & | key | ) |
Definition at line 338 of file ParameterSet.cc.
|
private |
Definition at line 209 of file ParameterSet.cc.
References fhicl::detail::find_an_any(), and fhicl::detail::get_sequence_indices().
T fhicl::ParameterSet::get | ( | std::string const & | key | ) | const |
Definition at line 314 of file ParameterSet.h.
References fhicl::cant_find.
Referenced by pmtana::AlgoCFD::AlgoCFD(), pmtana::AlgoFixedWindow::AlgoFixedWindow(), pmtana::AlgoSiPM::AlgoSiPM(), pmtana::AlgoSlidingWindow::AlgoSlidingWindow(), pmtana::AlgoThreshold::AlgoThreshold(), artg4tk::artg4tkMain::artg4tkMain(), fhicl::detail::ValuePrinter::before_action(), fhicl::detail::Prettifier::before_action(), artg4tk::CheckDRCalorimeterHits::beginJob(), cluster::BlurredClusteringAlg::BlurredClusteringAlg(), reco_tool::CandHitDerivative::CandHitDerivative(), reco_tool::CandHitMorphological::CandHitMorphological(), wc::CellTree::CellTree(), cheat::CheckBackTracking::CheckBackTracking(), pid::Chi2PIDAlg::Chi2PIDAlg(), cluster::ClusterCrawlerAlg::ClusterCrawlerAlg(), ClusteringValidation::ClusteringValidation::ClusteringValidation(), cluster::ClusterMatchAlg::ClusterMatchAlg(), cluster::ClusterMatchTQ::ClusterMatchTQ(), altns::ExampleAction::Config(), mf::service::ELdestination::Category::Config::Config(), trigger::TriggerAlgoBase::Config(), evwgh::PPFXCVWeightCalc::Configure(), evwgh::PPFXMIPPKaonWeightCalc::Configure(), evwgh::PPFXMIPPPionWeightCalc::Configure(), evwgh::PPFXOtherWeightCalc::Configure(), evwgh::PPFXTargAttenWeightCalc::Configure(), evwgh::PPFXThinKaonWeightCalc::Configure(), evwgh::PPFXThinMesonWeightCalc::Configure(), evwgh::PPFXThinNucAWeightCalc::Configure(), evwgh::PPFXThinNucWeightCalc::Configure(), evwgh::PPFXThinPionWeightCalc::Configure(), evwgh::PPFXTotAbsorpWeightCalc::Configure(), evwgh::PPFXWeightCalc::Configure(), evwgh::PPFXThinNeutronPionWeightCalc::Configure(), evd_tool::ICARUSDrawer::configure(), evd_tool::MicroBooNEDrawer::configure(), evdb_tool::DrawGausHits::configure(), spacecharge::SpaceChargeStandard::Configure(), lar_cluster3d::ClusterParamsBuilder::configure(), evwgh::WeightManager::Configure(), lar_cluster3d::DBScanAlg::configure(), lar_cluster3d::ClusterMergeAlg::configure(), lar_cluster3d::ClusterPathFinder::configure(), lar_cluster3d::ConvexHullPathFinder::configure(), lar_cluster3d::VoronoiPathFinder::configure(), lar_cluster3d::MinSpanTreeAlg::configure(), lar_cluster3d::kdTree::configure(), lar_cluster3d::MSTPathFinder::configure(), lar_cluster3d::SpacePointHit3DBuilder::configure(), evd_tool::ProtoDUNEDrawer::configure(), evd_tool::StandardDrawer::configure(), trk::TrackContainmentAlg::Configure(), detinfo::LArPropertiesStandard::Configure(), lar_cluster3d::StandardHit3DBuilder::configure(), lar_cluster3d::SnippetHit3DBuilder::configure(), rndm::details::PerEventPolicy< SEED >::configure(), evwgh::GenieWeightCalc::Configure(), lar_pandora::LArPandora::ConstructHitCollectionToolParameterSet(), corner::CornerFinderAlg::CornerFinderAlg(), trkf::CosmicTrackerAlg::CosmicTrackerAlg(), art::PathManager::createModulesAndWorkers(), testing::GeometryTesterEnvironment< ConfigurationClass >::CreateNewGeometry(), rndm::details::AutoIncrementPolicy< SEED >::createSeed(), rndm::details::LinearMappingPolicy< SEED >::createSeed(), rndm::details::PredefinedOffsetPolicy< SEED >::createSeed(), evgb::CRYHelper::CRYHelper(), art::EventSelector::data_for(), cluster::DBScanAlg::DBScanAlg(), evgen::Decay0Gen::Decay0Gen(), DECLARE_ART_SERVICE_INTERFACE_IMPL(), fhicl::decompose_parameterset(), apa::DisambigAlg::DisambigAlg(), evd::Display3DPad::Display3DPad(), fhicl::PrinterFor< T >::do_atomic_print(), fhicl::OptionalSequence< T, N >::do_preset_value(), fhicl::Sequence< float, 3u >::do_preset_value(), fhicl::OptionalSequence< T,-1ull >::do_preset_value(), fhicl::Sequence< T,-1ull >::do_preset_value(), fhicl::PrinterFor< T >::do_sequence_print(), fhicl::Atom< T >::do_set_value(), artg4tk::ArtG4tkModelConfig::DoFill(), evdb_tool::DrawSimEnergyDeposit3D::DrawSimEnergyDeposit3D(), cluster::EndPointAlg::EndPointAlg(), art::detail::ensure_only_one_thread(), art::EventProcessor::EventProcessor(), vertex::FeatureVertexFinderAna::FeatureVertexFinderAna(), opdet::FIFOHistogramAna::FIFOHistogramAna(), artg4tk::ArtG4tkModelConfig::Fill(), opdet::SimPhotonCounterAlg::FillRanges(), hit::GausHitFinder::GausHitFinder(), hit::GausHitFinderAna::GausHitFinderAna(), phot::PropagationTimeModel::generateVUVParams(), geo::Geometry::Geometry(), evd::DrawingPad::GeometryDraw(), fhicl::DelegatedParameter::get(), rndm::details::PerInstancePolicy< SEED >::getInstanceParameter(), rndm::details::PerInstancePolicy< SEED >::getInstanceSeed(), artg4tk::RunSettingsService::getSettings(), hit::HitAnaModule::HitAnaModule(), hit::HitFinderAna::HitFinderAna(), cluster::HoughBaseAlg::HoughBaseAlg(), lar_cluster3d::HoughSeedFinderAlg::HoughSeedFinderAlg(), fluxr::DK2NuInterface::Init(), larg4::ISCalcAna::ISCalcAna(), detsim::ISCalculationSeparate::ISCalculationSeparate(), detinfo::DetectorPropertiesServiceStandard::isDetectorPropertiesServiceStandard(), opdet::SimPhotonCounter::isVisible(), trkf::KalmanFilterAlg::KalmanFilterAlg(), larg4::LArG4Ana::LArG4Ana(), larg4::LArG4DetectorService::LArG4DetectorService(), sim::LArG4Parameters::LArG4Parameters(), lar_pandora::LArPandoraEventDump::LArPandoraEventDump(), reco::shower::LArPandoraModularShowerCreation::LArPandoraModularShowerCreation(), detinfo::LArPropertiesStandard::LArPropertiesStandard(), larg::LArSimChannelAna::LArSimChannelAna(), sim::LArVoxelCalculator::LArVoxelCalculator(), opdet::LEDCalibrationAna::LEDCalibrationAna(), hit::MagDriftAna::MagDriftAna(), art::InputSourceFactory::make(), art::make_tool(), art::EmptyEvent::makePlugin_(), rndm::details::makeRandomSeedPolicy(), art::detail::ServiceCacheEntry::makeService(), hit::MCHitAnaExample::MCHitAnaExample(), sim::MCRecoEdep::MCRecoEdep(), sim::MCShowerRecoPart::MCShowerRecoPart(), sim::MCTrackRecoAlg::MCTrackRecoAlg(), art::PathManager::moduleInformation_(), ems::MultiEMShowers::MultiEMShowers(), DUNE::MuonTrackingEff::MuonTrackingEff(), mvapid::MVAAlg::MVAAlg(), DUNE::NeutrinoShowerEff::NeutrinoShowerEff(), DUNE::NeutrinoTrackingEff::NeutrinoTrackingEff(), evgen::NueAr40CCGenerator::NueAr40CCGenerator(), opdet::OpDigiAna::OpDigiAna(), opdet::OpDigiProperties::OpDigiProperties(), opdet::OpFlashAna::OpFlashAna(), opdet::OpFlashMCTruthAna::OpFlashMCTruthAna(), opdet::OpFlashSimpleAna::OpFlashSimpleAna(), opdet::OpHitAna::OpHitAna(), opreco::OpticalRecoAna::OpticalRecoAna(), lar_cluster3d::ParallelHitsSeedFinderAlg::ParallelHitsSeedFinderAlg(), testing::BasicTesterEnvironment< ConfigurationClass >::ParseEnvironmentOptions(), cheat::ParticleInventoryService::ParticleInventoryService(), lar_cluster3d::PCASeedFinderAlg::PCASeedFinderAlg(), phot::PDFastSimPAR::PDFastSimPAR(), reco_tool::PeakFitterGaussElimination::PeakFitterGaussElimination(), pmtana::PedAlgoEdges::PedAlgoEdges(), pmtana::PedAlgoRmsSlider::PedAlgoRmsSlider(), pmtana::PedAlgoRollingMean::PedAlgoRollingMean(), pmtana::PedAlgoUB::PedAlgoUB(), opdet::PhotonInf::PhotonInf(), phot::PhotonLibraryAnalyzer::PhotonLibraryAnalyzer(), phot::PhotonVisibilityService::PhotonVisibilityService(), pmtana::PMTAna::PMTAna(), detinfo::DetectorPropertiesServiceStandard::postOpenFile(), fluxr::PPFXFluxReader::PPFXFluxReader(), lar_cluster3d::PrincipalComponentsAlg::PrincipalComponentsAlg(), art::detail::print_config_summary(), art::detail::print_module_types(), art::detail::print_service_types(), phot::PropagationTimeModel::PropagationTimeModel(), art::ProvenanceDumper< DETAIL, Enable >::ProvenanceDumper(), cheat::RecoCheckAna::RecoCheckAna(), wcls::WireCellToolkit::reconfigure(), evd::AnalysisDrawingOptions::reconfigure(), evd::ColorDrawingOptions::reconfigure(), evd::RecoDrawingOptions::reconfigure(), evd::EvdLayoutOptions::reconfigure(), evd::SimulationDrawingOptions::reconfigure(), evdb::Colors::reconfigure(), nutools::dbi::DBIService::reconfigure(), evdb::EventDisplay::reconfigure(), mag::MagneticFieldStandard::reconfigure(), trkf::StitchAlg::reconfigure(), tss::Segmentation2D::reconfigure(), trkf::SeedFinderAlgorithm::reconfigure(), lar_pandora::PFParticleTrackAna::reconfigure(), lar_pandora::PFParticleValidation::reconfigure(), lar_pandora::PFParticleCosmicAna::reconfigure(), lar_pandora::PFParticleAnalysis::reconfigure(), lar_pandora::PFParticleMonitoring::reconfigure(), lar_pandora::ConsolidatedPFParticleAnalysisTemplate::reconfigure(), lar_pandora::PFParticleHitDumper::reconfigure(), t0::IndirectHitParticleAssns::reconfigure(), lar_cluster3d::SkeletonAlg::reconfigure(), lariov::SIOVPmtGainProvider::Reconfigure(), evd::RawDrawingOptions::reconfigure(), phot::PhotonVisibilityService::reconfigure(), t0::DirectHitParticleAssns::reconfigure(), noisefilteralg::WireCellNoiseFilter::reconfigure(), lariov::SIOVElectronicsCalibProvider::Reconfigure(), lariov::DatabaseRetrievalAlg::Reconfigure(), util::DatabaseUtil::reconfigure(), evd::InfoTransfer::reconfigure(), rwgt::ReweightAna::reconfigure(), lcvn::ICVNZlibMaker::reconfigure(), lcvn::LArNuCVNZlibMaker::reconfigure(), lariov::DetPedestalRetrievalAlg::Reconfigure(), cluster::MergeClusterAlg::reconfigure(), hit::CCHitFinderAlg::reconfigure(), shower::TrackShowerSeparationAlg::reconfigure(), evdb::ServiceTable::RegisterService(), hit::RFFHitFinderAlg::RFFHitFinderAlg(), art::RPManager::RPManager(), art::run_art(), dnn::SavePiMu::SavePiMu(), evdb::ScanOptions::ScanOptions(), phot::ScintTimeLAr::ScintTimeLAr(), fhicl::detail::TableBase::select_pset(), testing::BasicTesterEnvironment< ConfigurationClass >::ServiceParameters(), lar::standalone::SetupGeometry(), lar::standalone::SetupGeometryWithChannelMapping(), lar::standalone::SetupMessageFacility(), ShowerRecoTools::ShowerBayesianTrucatingdEdx::ShowerBayesianTrucatingdEdx(), shower::ShowerEnergyAlg::ShowerEnergyAlg(), ShowerQuality::ShowerQuality(), shwf::ShowerReco::ShowerReco(), detsim::SimDriftedElectronClusterAna::SimDriftedElectronClusterAna(), opdet::SimPhotonCounterAlg::SimPhotonCounterAlg(), lariov::SimpleChannelStatus::SimpleChannelStatus(), detsim::SimWireAna::SimWireAna(), lariov::SIOVChannelStatusProvider::SIOVChannelStatusProvider(), cluster::SmallClusterFinderAlg::SmallClusterFinderAlg(), evdb_tool::SpacePoint3DDrawerHitAsymmetry::SpacePoint3DDrawerHitAsymmetry(), evdb_tool::SpacePoint3DDrawerHitCharge::SpacePoint3DDrawerHitCharge(), trkf::SpacePointAlg::SpacePointAlg(), sppt::SpacePointAlg_TimeSort::SpacePointAlg_TimeSort(), evgen::SpectrumVolumeGen::SpectrumVolumeGen(), rndm::details::AutoIncrementPolicy< SEED >::static_configure(), rndm::details::LinearMappingPolicy< SEED >::static_configure(), rndm::details::PredefinedOffsetPolicy< SEED >::static_configure(), shower::TCShowerElectronLikelihood::TCShowerElectronLikelihood(), testing::BasicTesterEnvironment< ConfigurationClass >::TesterParameters(), phot::TFLoaderMLP::TFLoaderMLP(), trkf::Track3DKalmanHitAlg::Track3DKalmanHitAlg(), calo::TrackCalorimetryAlg::TrackCalorimetryAlg(), trk::TrackContainmentAnalyzer::TrackContainmentAnalyzer(), tca::TrajClusterAlg::TrajClusterAlg(), lartriton::TritonClient::TritonClient(), evdb::Colors::UnpackColorScale(), evdb::ParameterSetEditRow::UnpackParameter(), wavdenoise_tool::WaveformDenoiseTf::WaveformDenoiseTf(), wavrec_tool::WaveformRecogTf::WaveformRecogTf(), wframerec_tool::WireframeRecogTf::WireframeRecogTf(), and cheat::PhotonBackTracker::~PhotonBackTracker().
T fhicl::ParameterSet::get | ( | std::string const & | key, |
T | convertVia const & | ||
) | const |
Definition at line 322 of file ParameterSet.h.
References fhicl::cant_find.
T fhicl::ParameterSet::get | ( | std::string const & | key, |
T const & | default_value | ||
) | const |
Definition at line 330 of file ParameterSet.h.
T fhicl::ParameterSet::get | ( | std::string const & | key, |
T const & | default_value, | ||
T | convertVia const & | ||
) | const |
Definition at line 338 of file ParameterSet.h.
vector< string > ParameterSet::get_all_keys | ( | ) | const |
Definition at line 201 of file ParameterSet.cc.
References fhicl::detail::KeyAssembler::result().
Referenced by evwgh::GenieWeightCalc::Configure().
std::optional< T > fhicl::ParameterSet::get_if_present | ( | std::string const & | key | ) | const |
Definition at line 267 of file ParameterSet.h.
References fhicl::detail::get_names().
Referenced by rndm::details::RangeCheckHelper< SEED >::configure(), rndm::details::RandomPolicy< SEED >::configure(), rndm::details::RandomPolicy< SEED >::createSeed(), rndm::details::LinearMappingPolicy< SEED >::createSeed(), evgen::Decay0Gen::Decay0Gen(), fhicl::Atom< T >::do_set_value(), fhicl::OptionalAtom< T >::do_set_value(), mf::service::ELdestination::ELdestination(), art::detail::ensure_only_one_thread(), evgen::GENIEGen::GENIEGen(), rndm::details::PerInstancePolicy< SEED >::getInstanceParameter(), rndm::details::PerInstancePolicy< SEED >::getInstanceSeed(), fhicl::detail::TableBase::maybe_select_pset(), rndm::NuRandomService::readSeedParameter(), testing::ProviderSetupClass< detinfo::LArPropertiesStandard >::setup(), testing::ProviderSetupClass< detinfo::DetectorClocksStandard >::setup(), testing::ProviderSetupClass< detinfo::DetectorPropertiesStandard >::setup(), testing::BasicTesterEnvironment< ConfigurationClass >::SetupMessageFacility(), evgen::SpectrumVolumeGen::SpectrumVolumeGen(), rndm::details::LinearMappingPolicy< SEED >::static_configure(), and tca::TrajClusterAlg::TrajClusterAlg().
std::optional< T > fhicl::ParameterSet::get_if_present | ( | std::string const & | key, |
T | convertVia const & | ||
) | const |
Definition at line 278 of file ParameterSet.h.
bool fhicl::ParameterSet::get_if_present | ( | std::string const & | key, |
T & | value | ||
) | const |
Definition at line 290 of file ParameterSet.h.
bool fhicl::ParameterSet::get_if_present | ( | std::string const & | key, |
T & | value, | ||
T | convertVia const & | ||
) | const |
Definition at line 301 of file ParameterSet.h.
vector< string > ParameterSet::get_names | ( | ) | const |
Definition at line 179 of file ParameterSet.cc.
Referenced by artg4tk::CheckDRCalorimeterHits::analyze(), fhicl::decompose_parameterset(), artg4tk::ArtG4tkModelConfig::Fill(), rndm::details::PerInstancePolicy< SEED >::getInstanceParameter(), evdb::ParameterSetEditFrame::ParameterSetEditFrame(), art::detail::print_module_types(), art::detail::print_service_types(), art::detail::print_table_numbers(), and art::RPManager::RPManager().
|
private |
Definition at line 364 of file ParameterSet.h.
References fhicl::cant_find, util::quantities::concepts::decode(), e, fhicl::detail::find_an_any(), fhicl::detail::get_sequence_indices(), fhicl::type_mismatch, and value.
vector< string > ParameterSet::get_pset_names | ( | ) | const |
Definition at line 189 of file ParameterSet.cc.
References fhicl::detail::is_table(), and value.
Referenced by evd::Display3DPad::Display3DPad(), mf::service::ELdestination::ELdestination(), and hit::GausHitFinder::GausHitFinder().
std::string ParameterSet::get_src_info | ( | std::string const & | key | ) | const |
Definition at line 257 of file ParameterSet.cc.
Referenced by fhicl::detail::PrettifierAnnotated::before_action(), fhicl::detail::PrettifierPrefixAnnotated::before_action(), and fhicl::detail::ValidateThenSet::delegated_parameter().
bool ParameterSet::has_key | ( | std::string const & | key | ) | const |
Definition at line 247 of file ParameterSet.cc.
References fhicl::detail::get_names().
Referenced by fhicl::detail::ValidateThenSet::before_action(), cluster::ClusterCrawlerAlg::ClusterCrawlerAlg(), spacecharge::SpaceChargeStandard::Configure(), lar_pandora::LArPandora::ConstructHitCollectionToolParameterSet(), geo::Geometry::Geometry(), rndm::details::PerInstancePolicy< SEED >::getInstanceSeed(), detinfo::DetectorClocksStandard::IsRightConfig(), phot::PhotonVisibilityService::PhotonVisibilityService(), evd::RecoDrawingOptions::reconfigure(), hit::CCHitFinderAlg::reconfigure(), art::run_art(), and tca::TrajClusterAlg::TrajClusterAlg().
ParameterSetID ParameterSet::id | ( | ) | const |
Definition at line 153 of file ParameterSet.cc.
References fhicl::ParameterSetID::reset().
Referenced by fhicl::decompose_parameterset(), art::EventProcessor::EventProcessor(), art::Source< T >::finishProductRegistration_(), art::PathManager::makeTriggerResultsInserter_(), art::PathManager::moduleInformation_(), operator==(), and art::RPManager::RPManager().
|
private |
Definition at line 290 of file ParameterSet.cc.
References fhicl::cant_insert.
|
private |
|
private |
Definition at line 308 of file ParameterSet.cc.
References fhicl::cant_insert, fhicl::detail::is_nil(), fhicl::detail::is_sequence(), fhicl::detail::is_table(), and value.
bool ParameterSet::is_empty | ( | ) | const |
Definition at line 147 of file ParameterSet.cc.
|
inline |
Definition at line 220 of file ParameterSet.h.
References fhicl::detail::is_sequence(), and fhicl::detail::is_table().
Referenced by rndm::details::PerInstancePolicy< SEED >::getInstanceParameter(), and rndm::details::PerInstancePolicy< SEED >::getInstanceSeed().
|
inline |
Definition at line 214 of file ParameterSet.h.
References fhicl::detail::is_sequence().
Referenced by fhicl::decompose_parameterset(), and fhicl::detail::ValidateThenSet::enter_sequence().
|
inline |
Definition at line 208 of file ParameterSet.h.
References fhicl::detail::is_table().
Referenced by fhicl::decompose_parameterset(), rndm::details::PerInstancePolicy< SEED >::getInstanceParameter(), rndm::details::PerInstancePolicy< SEED >::getInstanceSeed(), and fluxr::DK2NuInterface::Init().
|
private |
Definition at line 346 of file ParameterSet.cc.
References fhicl::cant_find, fhicl::detail::find_an_any(), fhicl::detail::get_names(), and fhicl::detail::get_sequence_indices().
|
static |
Definition at line 68 of file ParameterSet.cc.
Referenced by evdb::ServiceTable::ApplyEdits(), testing::BasicTesterEnvironment< ConfigurationClass >::CompileParameterSet(), fhicl::detail::fhicl_get_impl(), fhicl::ParameterSetRegistry::find_(), main(), make(), fhicl::make_ParameterSet(), lar::standalone::ParseConfiguration(), testing::BasicTesterEnvironment< ConfigurationClass >::ParseParameters(), detinfo::DetectorPropertiesServiceStandard::postOpenFile(), detinfo::DetectorClocksServiceStandard::postOpenFile(), and art::run_art().
|
static |
Definition at line 81 of file ParameterSet.cc.
References fhicl::extended_value::is_a(), put(), fhicl::TABLE, fhicl::type_mismatch, and value.
|
static |
Definition at line 98 of file ParameterSet.cc.
References make(), and fhicl::parse_document().
|
static |
Definition at line 107 of file ParameterSet.cc.
References make(), and fhicl::parse_document().
|
inline |
Definition at line 355 of file ParameterSet.h.
References util::details::operator==().
|
inline |
void ParameterSet::put | ( | std::string const & | key | ) |
Definition at line 266 of file ParameterSet.cc.
Referenced by lar_pandora::LArPandora::ConstructHitCollectionToolParameterSet(), fhicl::detail::encode(), art::EventProcessor::EventProcessor(), evgen::GENIEGen::GENIEGen(), reco::shower::LArPandoraModularShowerCreation::LArPandoraModularShowerCreation(), make(), art::PathManager::PathManager(), phot::PhotonVisibilityService::PhotonVisibilityService(), and PointIdAlgTools::PointIdAlgSonicTriton::PointIdAlgSonicTriton().
void fhicl::ParameterSet::put | ( | std::string const & | key, |
T const & | value | ||
) |
Definition at line 229 of file ParameterSet.h.
References util::quantities::concepts::encode(), fhicl::detail::try_insert(), and value.
void fhicl::ParameterSet::put | ( | std::string const & | key, |
fhicl::extended_value const & | value | ||
) |
Definition at line 409 of file ParameterSet.cc.
References fhicl::detail::encode(), fhicl::detail::try_insert(), and value.
void ParameterSet::put_or_replace | ( | std::string const & | key | ) |
Definition at line 272 of file ParameterSet.cc.
References fhicl::unimplemented.
Referenced by lar_cluster3d::DBScanAlg::configure(), and reco::shower::LArPandoraModularShowerCreation::LArPandoraModularShowerCreation().
void fhicl::ParameterSet::put_or_replace | ( | std::string const & | key, |
T const & | value | ||
) |
Definition at line 240 of file ParameterSet.h.
References util::quantities::concepts::encode(), fhicl::detail::try_insert(), and value.
void fhicl::ParameterSet::put_or_replace_compatible | ( | std::string const & | key, |
T const & | value | ||
) |
Definition at line 252 of file ParameterSet.h.
References util::quantities::concepts::encode(), fhicl::detail::try_insert(), and value.
|
private |
Definition at line 117 of file ParameterSet.cc.
References e, fhicl::ParameterSetRegistry::get(), fhicl::detail::is_sequence(), fhicl::detail::is_table(), and fhicl::ParameterSetID::max_str_size().
|
inline |
Definition at line 202 of file ParameterSet.h.
Referenced by fhicl::decompose_parameterset().
string ParameterSet::to_indented_string | ( | ) | const |
Definition at line 466 of file ParameterSet.cc.
Referenced by geo::Geometry::FillGeometryConfigurationInfo(), and testing::BasicTesterEnvironment< ConfigurationClass >::SetupMessageFacility().
string ParameterSet::to_indented_string | ( | unsigned | initial_indent_level | ) | const |
Definition at line 472 of file ParameterSet.cc.
string ParameterSet::to_indented_string | ( | unsigned | initial_indent_level, |
bool | annotate | ||
) | const |
Definition at line 478 of file ParameterSet.cc.
References fhicl::detail::annotated, and fhicl::detail::raw.
string ParameterSet::to_indented_string | ( | unsigned | initial_indent_level, |
detail::print_mode | pm | ||
) | const |
Definition at line 488 of file ParameterSet.cc.
References fhicl::detail::annotated, fhicl::detail::prefix_annotated, fhicl::detail::raw, and fhicl::detail::PrettifierPrefixAnnotated::result().
|
inline |
Definition at line 196 of file ParameterSet.h.
Referenced by fhicl::ParameterSetID::reset(), and evdb::ParameterSetEditRow::UnpackParameter().
|
private |
Definition at line 162 of file ParameterSet.cc.
References e.
void ParameterSet::walk | ( | ParameterSetWalker & | psw | ) | const |
Definition at line 423 of file ParameterSet.cc.
References fhicl::ParameterSetWalker::do_after_action(), fhicl::ParameterSetWalker::do_atom(), fhicl::ParameterSetWalker::do_before_action(), fhicl::ParameterSetWalker::do_enter_sequence(), fhicl::ParameterSetWalker::do_enter_table(), fhicl::ParameterSetWalker::do_exit_sequence(), fhicl::ParameterSetWalker::do_exit_table(), fhicl::detail::is_sequence(), fhicl::detail::is_table(), mapping_, util::to_string(), and value.
Referenced by evgen::MARLEYHelper::reconfigure().
|
mutableprivate |
Definition at line 127 of file ParameterSet.h.
|
private |
Definition at line 125 of file ParameterSet.h.
Referenced by walk().
|
private |
Definition at line 126 of file ParameterSet.h.