![]() |
LArSoft
v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
|
parameter set interface More...
Namespaces | |
comment_detail | |
detail | |
sequence_detail | |
tuple_detail | |
Classes | |
struct | ass_parser |
class | Atom |
struct | bin_parser |
struct | binding_parser |
struct | Comment |
class | ConfigurationTable |
struct | dbid_parser |
class | DelegatedParameter |
struct | dss_parser |
class | extended_value |
struct | hex_parser |
class | intermediate_table |
struct | KeysToIgnore |
struct | MaybeUseFunction |
struct | Name |
class | NameStackRegistry |
class | OptionalAtom |
class | OptionalDelegatedParameter |
class | OptionalSequence |
class | OptionalSequence< T,-1ull > |
class | OptionalTable |
class | OptionalTableAs |
class | OptionalTuple |
class | OptionalTupleAs |
class | OptionalTupleAs< T(ARGS...)> |
class | ParameterSet |
class | ParameterSetID |
class | ParameterSetRegistry |
class | ParameterSetWalker |
class | Printer |
class | PrinterFor |
class | PrinterForTypes |
struct | real_parser |
class | Sequence |
class | Sequence< T,-1ull > |
class | Table |
class | TableAs |
class | TableFragment |
class | Tuple |
class | TupleAs |
class | TupleAs< T(ARGS...)> |
struct | uint_parser |
class | WrappedTable |
Typedefs | |
using | exception = cet::coded_exception< error, detail::translate > |
template<typename T > | |
using | NullaryConfigPredicate_t = bool(T::*)() const |
Enumerations | |
enum | error { cant_find, cant_happen, cant_insert, number_is_too_large, parse_error, type_mismatch, protection_violation, cant_open_db, sql_error, unimplemented, other } |
enum | value_tag { UNKNOWN, NIL, BOOL, NUMBER, COMPLEX, STRING, SEQUENCE, TABLE, TABLEID } |
enum | Protection : unsigned char { Protection::NONE, Protection::PROTECT_IGNORE, Protection::PROTECT_ERROR } |
enum | par_type { par_type::ATOM, par_type::TABLE, par_type::SEQ_VECTOR, par_type::SEQ_ARRAY, par_type::TUPLE, par_type::DELEGATE, par_type::NTYPES } |
enum | par_style { par_style::REQUIRED, par_style::REQUIRED_CONDITIONAL, par_style::DEFAULT, par_style::DEFAULT_CONDITIONAL, par_style::OPTIONAL, par_style::OPTIONAL_CONDITIONAL, par_style::NTYPES } |
Functions | |
void | decompose_parameterset (fhicl::ParameterSet const &top, std::vector< std::string > &records, std::vector< std::string > &hashes) |
void | decompose_fhicl (std::string const &filename, std::vector< std::string > &records, std::vector< std::string > &hashes) |
void | parse_file_and_fill_db (std::string const &filename, sqlite3 *db) |
void | make_ParameterSet (intermediate_table const &tbl, ParameterSet &ps) |
void | make_ParameterSet (extended_value const &xval, ParameterSet &ps) |
void | make_ParameterSet (std::string const &str, ParameterSet &ps) |
void | make_ParameterSet (std::string const &filename, cet::filepath_maker &maker, ParameterSet &ps) |
std::ostream & | operator<< (std::ostream &, ParameterSetID const &) |
bool | parse_value_string (std::string const &s, extended_value &v, std::string &unparsed) |
intermediate_table | parse_document (std::string const &filename, cet::filepath_maker &maker) |
intermediate_table | parse_document (std::istream &is, cet::filepath_maker &maker) |
intermediate_table | parse_document (std::string const &s) |
std::string | to_string (Protection p) |
bool | maximally_munched (char const ch) |
bool | maximally_munched_number (char const ch) |
bool | maximally_munched_ass (char const ch) |
bool | maximally_munched_dss (char const ch) |
template<typename T > | |
std::function< bool()> | use_if (T *p, NullaryConfigPredicate_t< T > f) |
template<typename T > | |
std::function< bool()> | use_unless (T *p, NullaryConfigPredicate_t< T > f) |
bool | is_table (par_type const pt) |
bool | is_sequence (par_type const pt) |
bool | is_atom (par_type const pt) |
std::string | get_regex_replace_str (std::string const &str) |
parameter set interface
Title: Hit <–> Cosmic Tag Associator Alg Author: Wes Ketchum (wketc) hum@ lanl. gov
Description: Algorithm that will provide associations of Hits to cosmic tags, where both of those are associated to some intermediate object (like a track or cluster) Input: Assn<recob::Hit,???> and Assn<???,anab::CosmicTag> Output: Assn<recob::Hit,anab::CosmicTag>
Title: FlashHypothesisAnaAlg Class Author: Wes Ketchum (wketc) hum@ lanl. gov
Description: Alg that compares the flash hypotheses with truth photons and stores the results in a TTree.
Title: PIDA Algorithim Class Author: Wes Ketchum (wketc), based on ideas/code from Bruce Baller hum@ lanl. gov
Description: Algorithm that calculates the PIDA from a calorimetry object Input: anab::Calorimetry Output: PIDA information
This class encapsulates the calculations associated with computing the LArVoxelID, and provides access to the any LArVoxel parameters from the input file(s). It is to be called using art::ServiceHandle<sim::LArVoxelCalculator const> lvx; The service makes it act like a singleton, but it knows about the Parameters defined in the input file. Definition: "Voxels" are three-dimensional "pixels"; basically they divide the energy deposition in the LAr into (x,y,z) cubes. Well, hyper-cubes actually, since we have to potentially include divisions in time as well.
using fhicl::exception = typedef cet::coded_exception<error, detail::translate> |
Definition at line 33 of file exception.h.
using fhicl::NullaryConfigPredicate_t = typedef bool (T::*)() const |
Definition at line 17 of file ConfigPredicate.h.
enum fhicl::error |
Enumerator | |
---|---|
cant_find | |
cant_happen | |
cant_insert | |
number_is_too_large | |
parse_error | |
type_mismatch | |
protection_violation | |
cant_open_db | |
sql_error | |
unimplemented | |
other |
Definition at line 15 of file exception.h.
|
strong |
Enumerator | |
---|---|
REQUIRED | |
REQUIRED_CONDITIONAL | |
DEFAULT | |
DEFAULT_CONDITIONAL | |
OPTIONAL | |
OPTIONAL_CONDITIONAL | |
NTYPES |
Definition at line 37 of file ParameterArgumentTypes.h.
|
strong |
Enumerator | |
---|---|
ATOM | |
TABLE | |
SEQ_VECTOR | |
SEQ_ARRAY | |
TUPLE | |
DELEGATE | |
NTYPES |
Definition at line 8 of file ParameterArgumentTypes.h.
|
strong |
Enumerator | |
---|---|
NONE | |
PROTECT_IGNORE | |
PROTECT_ERROR |
Definition at line 7 of file Protection.h.
enum fhicl::value_tag |
Enumerator | |
---|---|
UNKNOWN | |
NIL | |
BOOL | |
NUMBER | |
COMPLEX | |
STRING | |
SEQUENCE | |
TABLE | |
TABLEID |
Definition at line 22 of file extended_value.h.
void fhicl::decompose_fhicl | ( | std::string const & | filename, |
std::vector< std::string > & | records, | ||
std::vector< std::string > & | hashes | ||
) |
Definition at line 8 of file DatabaseSupport.cc.
References decompose_parameterset(), and art::InputSourceFactory::make().
void fhicl::decompose_parameterset | ( | fhicl::ParameterSet const & | top, |
std::vector< std::string > & | records, | ||
std::vector< std::string > & | hashes | ||
) |
Definition at line 19 of file DatabaseSupport.cc.
References fhicl::ParameterSet::get(), fhicl::ParameterSet::get_names(), fhicl::ParameterSet::id(), fhicl::ParameterSet::is_key_to_sequence(), fhicl::ParameterSet::is_key_to_table(), fhicl::ParameterSet::to_compact_string(), and fhicl::ParameterSetID::to_string().
Referenced by decompose_fhicl().
std::string fhicl::get_regex_replace_str | ( | std::string const & | str | ) |
Definition at line 11 of file Name.cc.
Referenced by fhicl::Name::regex_safe().
|
inline |
Definition at line 32 of file ParameterArgumentTypes.h.
References ATOM.
Referenced by fhicl::detail::ParameterWalker< C >::walk_over().
|
inline |
Definition at line 25 of file ParameterArgumentTypes.h.
References SEQ_ARRAY, SEQ_VECTOR, and TUPLE.
|
inline |
Definition at line 19 of file ParameterArgumentTypes.h.
References TABLE.
Referenced by art::detail::path_specs().
void fhicl::make_ParameterSet | ( | intermediate_table const & | tbl, |
ParameterSet & | ps | ||
) |
Definition at line 16 of file make_ParameterSet.cc.
References fhicl::ParameterSet::make().
void fhicl::make_ParameterSet | ( | extended_value const & | xval, |
ParameterSet & | ps | ||
) |
Definition at line 24 of file make_ParameterSet.cc.
References fhicl::ParameterSet::make().
void fhicl::make_ParameterSet | ( | std::string const & | str, |
ParameterSet & | ps | ||
) |
Definition at line 32 of file make_ParameterSet.cc.
References fhicl::ParameterSet::make().
void fhicl::make_ParameterSet | ( | std::string const & | filename, |
cet::filepath_maker & | maker, | ||
ParameterSet & | ps | ||
) |
Definition at line 40 of file make_ParameterSet.cc.
References fhicl::ParameterSet::make().
|
inline |
Definition at line 28 of file tokens.h.
Referenced by maximally_munched_ass(), maximally_munched_dss(), and maximally_munched_number().
|
inline |
Definition at line 41 of file tokens.h.
References maximally_munched().
Referenced by fhicl::ass_parser::parse().
|
inline |
Definition at line 47 of file tokens.h.
References bin, and maximally_munched().
Referenced by fhicl::dss_parser::parse().
|
inline |
Definition at line 35 of file tokens.h.
References maximally_munched().
Referenced by fhicl::real_parser::parse(), fhicl::uint_parser::parse(), fhicl::hex_parser::parse(), fhicl::dbid_parser::parse(), and fhicl::bin_parser::parse().
ostream & fhicl::operator<< | ( | std::ostream & | os, |
ParameterSetID const & | psid | ||
) |
Definition at line 139 of file ParameterSetID.cc.
References fhicl::ParameterSetID::to_string().
fhicl::intermediate_table fhicl::parse_document | ( | std::string const & | filename, |
cet::filepath_maker & | maker | ||
) |
Definition at line 709 of file parse.cc.
Referenced by art::BasicOptionsHandler::doProcessOptions(), fhicl::ParameterSet::make(), parse_document(), and testing::BasicTesterEnvironment< ConfigurationClass >::ParseParameters().
fhicl::intermediate_table fhicl::parse_document | ( | std::istream & | is, |
cet::filepath_maker & | maker | ||
) |
fhicl::intermediate_table fhicl::parse_document | ( | std::string const & | s | ) |
Definition at line 721 of file parse.cc.
References parse_document().
void fhicl::parse_file_and_fill_db | ( | std::string const & | filename, |
sqlite3 * | db | ||
) |
Definition at line 50 of file DatabaseSupport.cc.
References fhicl::ParameterSetRegistry::exportTo(), art::InputSourceFactory::make(), and fhicl::ParameterSetRegistry::put().
Referenced by main().
bool fhicl::parse_value_string | ( | std::string const & | s, |
extended_value & | v, | ||
std::string & | unparsed | ||
) |
Definition at line 658 of file parse.cc.
References util::begin(), e, util::end(), shims::lit(), and parse_error.
Referenced by fhicl::detail::decode(), and fhicl::detail::encode().
std::string fhicl::to_string | ( | Protection | p | ) |
Definition at line 4 of file Protection.cc.
Referenced by art::TriggerNamesService::getTrigPath(), fhicl::detail::HashParameterSetID::operator()(), art::detail::path_specs(), and art::detail::prune_config_if_enabled().
std::function<bool()> fhicl::use_if | ( | T * | p, |
NullaryConfigPredicate_t< T > | f | ||
) |
Definition at line 21 of file ConfigPredicate.h.
References f.
std::function<bool()> fhicl::use_unless | ( | T * | p, |
NullaryConfigPredicate_t< T > | f | ||
) |
Definition at line 28 of file ConfigPredicate.h.
References f.