20 #include "fhiclcpp/types/Name.h"
33 int main(
int argc,
char** argv) {
42 (argc, argv,
"ValidateAtomicNumberConfiguration_test");
52 mf::LogVerbatim(
"ValidateAtomicNumberConfiguration") << std::string(80,
'-')
53 <<
"\nAllowed configuration for AtomicNumber provider:";
54 providerConfig.print_allowed_configuration(
std::cout);
60 mf::LogVerbatim(
"ValidateAtomicNumberConfiguration") << std::string(80,
'-')
61 <<
"\nValidating configuration from '"
66 providerConfig.validate_ParameterSet
67 (TesterEnv.ServiceParameters(
"AtomicNumberService"), {
"service_type" });
Class holding a configuration for a test environment.
fhicl::Table< Config > parameters_type
Type describing all the parameters.
Provider returning atomic number of the active material in the TPC.
std::string ServiceParameterSetPath(std::string name) const
FHiCL path for the configuration of the service.
TESTENV CreateTesterEnvironment(CONFIG &&config, ARGS...other_args)
Constructs and returns a TesterEnvironment object.
BEGIN_PROLOG vertical distance to the surface Name
std::string ConfigurationPath() const
Path to the configuration file.
int main(int argc, char **argv)
Base class for unit tests using FHiCL configuration.
BEGIN_PROLOG could also be cout