61 std::cerr <<
"FHiCL configuration file path required as first argument!" <<
std::endl;
86 auto const& detClocksData = detClocks->
DataForJob();
88 <<
"TPC clock frame: " << detClocksData.TPCClock().FramePeriod() <<
" us";
90 detClocksData.debugReport(std::cout);
93 if (nErrors > 0) {
mf::LogError(
"clocks_test") << nErrors <<
" errors detected!"; }
MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
DetectorClocksData DataForJob() const override
Returns a complete detinfo::DetectorClocksData object.
int main(int argc, char const **argv)
Runs the test.
Class holding a configuration for a test environment.
MaybeLogger_< ELseverityLevel::ELsev_error, false > LogError
Helper functions for support of DetectorClocksService in LArSoft tests.
Class used for the conversion of times between different formats and references.
A test environment with some support for service providers.
void SetConfigurationPath(std::string path)
Sets the path to the configuration file.
testing::TesterEnvironment< testing::BasicEnvironmentConfiguration > TestEnvironment
Implementation of detinfo::DetectorClocks interface with fixed settings from configuration.
void SetServiceParameterSetPath(std::string service_name, std::string path)
Sets the FHiCL path for the configuration of a test algorithm.
void SetMainTesterParameterSetPath(std::string path)
Sets the FHiCL path for the configuration of the main test algorithm.
QTextStream & endl(QTextStream &s)