![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Utilities for use in an environment without art. More...
Namespaces | |
| detail | |
Functions | |
| fhicl::ParameterSet | ParseConfiguration (std::string configPath, cet::filepath_maker &lookupPolicy) |
| Parses a FHiCL configuration file. More... | |
| fhicl::ParameterSet | ParseConfiguration (std::string configPath) |
| Parses a FHiCL configuration file. More... | |
| void | SetupMessageFacility (fhicl::ParameterSet const &pset, std::string applName="standalone") |
| Sets up the message facility service. More... | |
| std::unique_ptr< geo::GeometryCore > | GeometryFor (fhicl::ParameterSet const &pset, std::unique_ptr< geo::GeoObjectSorter > sorter) |
| Initializes a LArSoft geometry object. More... | |
| std::unique_ptr< geo::AuxDetGeometryCore > | AuxDetGeometryFor (fhicl::ParameterSet const &pset, std::unique_ptr< geo::AuxDetGeoObjectSorter > sorter, std::unique_ptr< geo::AuxDetInitializer > initializer=nullptr) |
| Initializes a LArSoft geometry object. More... | |
| template<typename ObjectSorter = geo::GeoObjectSorterStandard> | |
| std::unique_ptr< geo::GeometryCore > | SetupGeometry (fhicl::ParameterSet const &pset) |
| Initializes a LArSoft geometry object. More... | |
| template<typename ObjectSorter = geo::AuxDetGeoObjectSorterStandard> | |
| std::unique_ptr< geo::AuxDetGeometryCore > | SetupAuxDetGeometry (fhicl::ParameterSet const &pset) |
| Initializes a LArSoft geometry object. More... | |
| template<typename ObjectSorter = geo::WireReadoutSorterStandard, typename WireGeom = geo::WireReadoutStandardGeom> | |
| std::unique_ptr< geo::WireReadoutGeom > | SetupReadout (fhicl::ParameterSet const &pset, geo::GeometryCore const *geom) |
| Initializes a LArSoft geometry object. More... | |
Utilities for use in an environment without art.
|
inline |
Parses a FHiCL configuration file.
| configPath | the path to the configuration file to be parsed |
| lookupPolicy | class performing the proper lookup for FHiCL files |
Some lookup policies are provided in cetlib (see cetlib/filepath_maker.h file).
Definition at line 97 of file StandaloneBasicSetup.h.
References fhicl::ParameterSet::make().
Referenced by ParseConfiguration().
|
inline |
Parses a FHiCL configuration file.
| configPath | the path to the configuration file to be parsed |
The lookup policy for finding the FHiCL files is such that:
configPath must be readily available: no special lookup is performedconfigPath are searched for in the path list specified in the environment variable FHICL_FILE_PATH Definition at line 106 of file StandaloneBasicSetup.h.
References ParseConfiguration().
|
inline |
Sets up the message facility service.
| pset | global configuration parameter set |
| applName | (default: "standalone") name of running the application |
The configuration is read from the path services.message (as for the standard art behaviour). Any configuration working in art is expected to work here as well.
Technical details:
main (mf::SetContextSinglet())mf::SetContextIteration()) Definition at line 113 of file StandaloneBasicSetup.h.
References fhicl::ParameterSet::get(), mf::SetApplicationName(), mf::SetContextIteration(), mf::SetContextSinglet(), and mf::StartMessageFacility().
Referenced by testing::BasicTesterEnvironment< ConfigurationClass >::DefaultParameters(), testing::BasicTesterEnvironment< ConfigurationClass >::Setup(), and testing::BasicTesterEnvironment< ConfigurationClass >::SetupMessageFacility().