41 std::string const CalibrationFullPath =
"TestCalibration.root:Showers";
43 (CalibrationFullPath);
48 (
"ShowerCalibrationGaloreFromPID_test");
50 (
"ShowerCalibrationGaloreService", R
"( 51 service_provider: "ShowerCalibrationGaloreFromPIDService" 52 CalibrationFile: ")" + CalibrationFullPath + R"(" 68 auto const* Calibration
76 Calibration, 0.0, 2.5, 0.1,
77 { 11, 13, -11, -13, 211, 111, 2112, 2212, 22 }
MaybeLogger_< ELseverityLevel::ELsev_info, false > LogInfo
Test functions for ShowerCalibrationGalore service providers.
Class holding a configuration for a test environment.
Shower calibration service provider correcting according to PID.
void AddDefaultServiceConfiguration(std::string service_name, std::string service_cfg)
Adds a default configuration for the specified service.
int CreateTestShowerCalibrationFromPID(std::string outputPath)
Creates a test calibration file for ShowerCalibrationGaloreFromPID.
TESTENV CreateTesterEnvironment(CONFIG &&config, ARGS...other_args)
Constructs and returns a TesterEnvironment object.
Creates a test calibration file for ShowerCalibrationGaloreFromPID.
Specialization of helper classes for LArSoft tests.
Interface for a shower calibration service provider.
unsigned int ShowerCalibrationTableTest(Stream &&out, lar::example::ShowerCalibrationGalore const *calibration, float Emin=0.0, float Emax=2.5, float Estep=0.1, std::vector< lar::example::ShowerCalibrationGalore::PDGID_t > const &pids={11, 13, 111, 2212, 22})
Synthetic test: prints corrections for showers in a energy range.
Shower energy calibration according to particle type.
QTextStream & endl(QTextStream &s)
Interface for a shower calibration service provider.