#include <ParameterBase.h>
Public Member Functions | |
std::string const & | key () const |
std::string const & | name () const |
std::string const & | comment () const |
bool | has_default () const |
bool | is_optional () const |
bool | is_conditional () const |
par_type | parameter_type () const |
bool | should_use () const |
ParameterBase (Name const &name, Comment const &comment, par_style const vt, par_type const type, std::function< bool()> maybeUse=AlwaysUse()) | |
virtual | ~ParameterBase ()=default |
void | set_value (fhicl::ParameterSet const &ps) |
bool | preset_value (fhicl::ParameterSet const &ps) |
void | set_par_style (par_style const vt) |
Private Member Functions | |
virtual bool | do_preset_value (fhicl::ParameterSet const &) |
virtual void | do_set_value (fhicl::ParameterSet const &)=0 |
Private Attributes | |
ParameterMetadata | mdata_ |
std::function< bool()> | maybeUse_ |
Definition at line 35 of file ParameterBase.h.
|
inline |
Definition at line 78 of file ParameterBase.h.
|
virtualdefault |
|
inline |
Definition at line 48 of file ParameterBase.h.
|
inlineprivatevirtual |
Reimplemented in fhicl::Sequence< T,-1ull >, fhicl::OptionalSequence< T,-1ull >, fhicl::Sequence< T, N >, fhicl::Sequence< double >, fhicl::Sequence< fhicl::Table< recob::test::HitDataProductChecker::Config::TargetInfo > >, fhicl::Sequence< std::string >, fhicl::Sequence< float >, fhicl::Sequence< double, 5 >, fhicl::Sequence< fhicl::TupleAs< SwitchPoint(std::string, fhicl::Sequence< std::uint32_t >)> >, fhicl::Sequence< int >, fhicl::Sequence< unsigned int >, fhicl::Sequence< art::InputTag >, fhicl::Sequence< double, 3 >, fhicl::Sequence< string >, fhicl::Sequence< fhicl::Table< lar::example::tests::ParticleMaker::ParticleConfig > >, fhicl::Sequence< size_t >, fhicl::Sequence< fhicl::Sequence< double > >, fhicl::Sequence< float, 3u >, fhicl::OptionalSequence< T, N >, fhicl::OptionalSequence< std::string >, fhicl::OptionalSequence< art::InputTag >, fhicl::OptionalSequence< fhicl::TupleAs< art::test::TypeAndTag(std::string, art::art::InputTag)> >, and fhicl::OptionalSequence< fhicl::TupleAs< art::test::TypeAndInstance(std::string, std::string)> >.
Definition at line 106 of file ParameterBase.h.
|
privatepure virtual |
Implemented in fhicl::Sequence< T,-1ull >, fhicl::OptionalSequence< T,-1ull >, fhicl::Sequence< T, N >, fhicl::Sequence< double >, fhicl::Sequence< fhicl::Table< recob::test::HitDataProductChecker::Config::TargetInfo > >, fhicl::Sequence< std::string >, fhicl::Sequence< float >, fhicl::Sequence< double, 5 >, fhicl::Sequence< fhicl::TupleAs< SwitchPoint(std::string, fhicl::Sequence< std::uint32_t >)> >, fhicl::Sequence< int >, fhicl::Sequence< unsigned int >, fhicl::Sequence< art::InputTag >, fhicl::Sequence< double, 3 >, fhicl::Sequence< string >, fhicl::Sequence< fhicl::Table< lar::example::tests::ParticleMaker::ParticleConfig > >, fhicl::Sequence< size_t >, fhicl::Sequence< fhicl::Sequence< double > >, fhicl::Sequence< float, 3u >, fhicl::OptionalTuple< T >, fhicl::OptionalTuple< ARGS... >, fhicl::OptionalSequence< T, N >, fhicl::OptionalSequence< std::string >, fhicl::OptionalSequence< art::InputTag >, fhicl::OptionalSequence< fhicl::TupleAs< art::test::TypeAndTag(std::string, art::art::InputTag)> >, fhicl::OptionalSequence< fhicl::TupleAs< art::test::TypeAndInstance(std::string, std::string)> >, fhicl::Tuple< T >, fhicl::Table< T, KeysToIgnore >, fhicl::Table< art::ProducerTable::FullConfig< UserConfig, ImplicitConfig >, KeysToIgnore_t >, fhicl::Table< trkf::MCSFitProducer::trkf::MCSFitProducer::Inputs >, fhicl::Table< Config >, fhicl::Table< art::test::TopLevelTable::TestProperties >, fhicl::Table< nnet::nnet::PointIdAlg::nnet::ParticleDecayId::Config >, fhicl::Table< art::TimeTracker::Config::DBoutput >, fhicl::Table< trkf::TrajectoryMCSFitter::trkf::MCSFitProducer::Config >, fhicl::Table< calo::CalorimetryAlg::pdune::RecoStats::Config >, fhicl::Table< trkf::Geometric3DVertexFitter::trkf::VertexFitter::Config >, fhicl::Table< pma::PMAlgVertexing::trkf::PMAlgTrajFitter::Config >, fhicl::Table< fhicl::CondConfig::SphereParameters >, fhicl::Table< img::DataProviderAlg::pma::PMAlgTracker::Config >, fhicl::Table< PointIdAlgTools::IPointIdAlg::nnet::EmTrack::Config >, fhicl::Table< cheat::PhotonBackTracker::cheat::PhotonBackTrackerService::fhiclConfig >, fhicl::Table< pma::PMAlgVertexing::trkf::PMAlgTrackMaker::Config >, fhicl::Table< trkf::TrackStatePropagator::trkf::VertexFitter::Config >, fhicl::Table< pma::PMAlgCosmicTagger::trkf::PMAlgTrackMaker::Config >, fhicl::Table< trkf::TrackKalmanFitter::trkf::KalmanFilterTrajectoryFitter::Config >, fhicl::Table< evgen::evgen::ActiveVolumeVertexSampler::evgen::MarleyGen::Config >, fhicl::Table< pma::PMAlgStitching::trkf::PMAlgTrackMaker::Config >, fhicl::Table< nnet::nnet::TrainingDataAlg::nnet::SPMultiTpcDump::Config >, fhicl::Table< nnet::nnet::PointIdAlg::nnet::EmTrackMichelId::Config >, fhicl::Table< trkf::VertexFitter::trkf::VertexFitter::Inputs >, fhicl::Table< trkf::TrackStatePropagator::trkf::KalmanFilterTrajectoryFitter::Config >, fhicl::Table< T >, fhicl::Table< fhicl::CondConfig::BoxParameters >, fhicl::Table< trkf::KalmanFilterTrajectoryFitter::trkf::KalmanFilterTrajectoryFitter::Options >, fhicl::Table< pma::PMAlgFitter::trkf::PMAlgTrajFitter::Config >, fhicl::Table< trkf::TrackStatePropagator::trkf::KalmanFilterFinalTrackFitter::Config >, fhicl::Table< trkf::KalmanFilterFinalTrackFitter::trkf::KalmanFilterFinalTrackFitter::Inputs >, fhicl::Table< calo::CalorimetryAlg::nnet::PointIdEffTest::Config >, fhicl::Table< calo::CalorimetryAlg::pdunedp::Purity::Config >, fhicl::Table< nnet::nnet::TrainingDataAlg::nnet::PointIdTrainingData::Config >, fhicl::Table< trkf::TrajectoryMCSFitter::trkmkr::KalmanFilterFitTrackMaker::Config >, fhicl::Table< lar::example::SpacePointIsolationAlg::lar::example::RemoveIsolatedSpacePoints::Config >, fhicl::Table< art::detail::Analyzer::Table::FullConfig< UserConfig >, KeysToIgnore_t >, fhicl::Table< cheat::BackTracker::cheat::BackTrackerService::fhiclConfig >, fhicl::Table< T, fhicl::KeysToIgnore >, fhicl::Table< calo::CalorimetryAlg::img::DataProviderAlg::Config >, fhicl::Table< pma::ProjectionMatchingAlg::trkf::PMAlgTrackMaker::Config >, fhicl::Table< trkmkr::KalmanFilterFitTrackMaker::trkmkr::KalmanFilterFitTrackMaker::Options >, fhicl::Table< lar::example::lar::example::TotallyCheatTrackingAlg::lar::example::TotallyCheatTracker::Config >, fhicl::Table< trkf::TrackKalmanFitter::trkf::KalmanFilterFinalTrackFitter::Config >, fhicl::Table< art::ToolConfigTable::FullConfig< Config >, KeysToIgnore_t >, fhicl::Table< art::ToolConfigTable::FullConfig< UserConfig >, KeysToIgnore_t >, fhicl::Table< evgen::evgen::ActiveVolumeVertexSampler::evgen::MarleyTimeGen::Config >, fhicl::Table< trkf::TrackKalmanFitter::trkmkr::KalmanFilterFitTrackMaker::Config >, fhicl::Table< pma::ProjectionMatchingAlg::trkf::PMAlgTrajFitter::Config >, fhicl::Table< trkf::KalmanFilterTrajectoryFitter::trkf::KalmanFilterTrajectoryFitter::Inputs >, fhicl::Table< nnet::nnet::PointIdAlg::nnet::EmTrackClusterId::Config >, fhicl::Table< trkf::KalmanFilterFinalTrackFitter::trkf::KalmanFilterFinalTrackFitter::Options >, fhicl::Table< mf::service::ELdestination::MsgFormatSettings::mf::service::ELdestination::Config >, fhicl::Table< pma::PMAlgTracker::trkf::PMAlgTrackMaker::Config >, fhicl::Table< cheat::ParticleInventory::ParticleInventoryConfig >, fhicl::Table< calo::calo::CalorimetryAlg::calo::GnocchiCalorimetry::Config >, fhicl::Table< nnet::nnet::PointIdAlg::nnet::EmTrackClusterId2out::Config >, fhicl::Table< trkf::TrackStatePropagator::trkmkr::KalmanFilterFitTrackMaker::Config >, fhicl::OptionalTable< T >, fhicl::OptionalTable< Config >, fhicl::OptionalTable< art::Scheduler::Config::DebugConfig >, fhicl::OptionalTable< geo::GeometryInfoCheck::GeometryInfoConfig >, fhicl::OptionalTable< art::test::TopLevelTable::Source >, fhicl::OptionalAtom< T >, fhicl::OptionalAtom< double >, fhicl::OptionalAtom< std::string >, fhicl::OptionalAtom< EventNumber_t >, fhicl::OptionalAtom< int >, fhicl::OptionalAtom< art::InputTag >, fhicl::OptionalAtom< unsigned int >, fhicl::OptionalAtom< rndm::NuRandomService::seed_t >, fhicl::OptionalAtom< short >, fhicl::OptionalAtom< size_t >, fhicl::OptionalAtom< bool >, fhicl::OptionalAtom< SubRunNumber_t >, fhicl::OptionalAtom< RunNumber_t >, fhicl::Atom< T >, fhicl::Atom< Path_t::Depth_t >, fhicl::Atom< int64_t >, fhicl::Atom< uint32_t >, fhicl::Atom< double >, fhicl::Atom< geo::fhicl::Table::PlaneID_t >, fhicl::Atom< unsigned long long >, fhicl::Atom< std::string >, fhicl::Atom< float >, fhicl::Atom< raw::ADC_Count_t >, fhicl::Atom< int >, fhicl::Atom< geo::fhicl::Table::TPCID_t >, fhicl::Atom< art::InputTag >, fhicl::Atom< unsigned int >, fhicl::Atom< geo::fhicl::Table::CryostatID_t >, fhicl::Atom< geo::fhicl::Table::WireID_t >, fhicl::Atom< geo::fhicl::Table::OpDetID_t >, fhicl::Atom< seed_t >, fhicl::Atom< string >, fhicl::Atom< short >, fhicl::Atom< size_t >, fhicl::Atom< Pedestal_t >, fhicl::Atom< unsigned >, fhicl::Atom< art::ScheduleID::size_type >, fhicl::Atom< bool >, fhicl::Atom< readout::TPCsetID::TPCsetID_t >, fhicl::Atom< readout::readout::ROPID::ROPID_t >, fhicl::Atom< raw::ChannelID_t >, fhicl::OptionalDelegatedParameter, and fhicl::DelegatedParameter.
|
inline |
Definition at line 53 of file ParameterBase.h.
|
inline |
Definition at line 63 of file ParameterBase.h.
|
inline |
Definition at line 58 of file ParameterBase.h.
|
inline |
Definition at line 38 of file ParameterBase.h.
|
inline |
Definition at line 43 of file ParameterBase.h.
|
inline |
Definition at line 68 of file ParameterBase.h.
|
inline |
Definition at line 95 of file ParameterBase.h.
|
inline |
Definition at line 100 of file ParameterBase.h.
|
inline |
Definition at line 90 of file ParameterBase.h.
|
inline |
Definition at line 73 of file ParameterBase.h.
|
private |
Definition at line 110 of file ParameterBase.h.
|
private |
Definition at line 109 of file ParameterBase.h.