12#define BOOST_TEST_MODULE Test EMCAL Reconstruction
13#define BOOST_TEST_MAIN
14#define BOOST_TEST_DYN_LINK
15#include <boost/test/unit_test.hpp>
27 std::array<std::string, 5> errornames = {{
"SampleUninitalized",
32 errortitles = {{
"sample uninitalized",
37 errordescriptions = {{
"Sample for fit not initialzied or bunch length is 0",
38 "Fit of the raw bunch was not successful",
39 "Chi2 of the fit could not be determined",
40 "Calo bunch could not be selected",
41 "No ADC value above threshold found"}};
static constexpr int getNumberOfErrorTypes() noexcept
Get the number of raw fit error types supported.
static const char * getErrorTypeTitle(RawFitterError_t fiterror)
Get the title connected to the fit error type.
static int getErrorNumber(RawFitterError_t fiterror)
Convert error type to numeric representation.
static const char * getErrorTypeDescription(RawFitterError_t fiterror)
Get the description connected to the fit error type.
@ LOW_SIGNAL
No ADC value above threshold found.
@ FIT_ERROR
Fit procedure failed.
@ BUNCH_NOT_OK
Bunch selection failed.
@ SAMPLE_UNINITIALIZED
Samples not initialized or length is 0.
@ CHI2_ERROR
Chi2 cannot be determined (usually due to insufficient amount of samples)
static const char * getErrorTypeName(RawFitterError_t fiterror)
Get the name connected to the fit error type.
static RawFitterError_t intToErrorType(unsigned int fiterror)
Convert numeric representation of error type to RawFitterError_t.
BOOST_AUTO_TEST_CASE(asynch_schedule_test)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
BOOST_CHECK_EQUAL(triggersD.size(), triggers.size())