38 synchronized_(
false) {
52 synchronized_(
false) {
74 <<
" Attempting to re-synchronize with reference time!" 88 if (targetDelay == -1) {
95 float adjustment = 25 -
position % 25;
98 if (targetDelay == -1) {
101 if (adjustment > 25 / 2)
165 adjust = sampling1 +
delay_;
168 ss <<
std::fixed << std::setprecision(2) <<
" Tick mark: time of rising edge [ns] : " <<
time_ 171 <<
" Tick mark: time of sampling point [ns] : " << sampling1 << std::endl
172 <<
" Ref tick: time of rising edge [ns] : " <<
refTime_ << std::endl
173 <<
" Ref tick: time of sampling point [ns] : " << sampling2 << std::endl
174 <<
" Ref tick: adjusted sampling point [ns] : " << adjust << std::endl
175 <<
" Delay required to synchronise [ns] : " <<
delay_ << std::endl
176 <<
" Tick mark bottom (baseline) [ADC] : " <<
base_ << std::endl
177 <<
" Tick mark top [ADC] : " <<
peak_ << std::endl
178 <<
" Tick mark height [ADC] : " <<
height_ << std::endl
180 << std::boolalpha <<
" Tick mark found : " <<
foundTickMark() << std::endl
181 <<
" isValid : " <<
isValid() << std::endl
182 << std::noboolalpha <<
" Error codes (found " << std::setw(3) << std::setfill(
' ') <<
getErrorCodes().size()
189 for (; istr != jstr; ++istr) {
const VString & getErrorCodes() const
bool foundTickMark() const
static const float tickMarkHeightThreshold_
static const uint16_t valid_
const std::string & myName() const
static const char mlCommissioning_[]
void addErrorCode(const std::string &error) override
bool isValid() const override
const float & time() const
void print(std::stringstream &, uint32_t not_used=0) override
static const char apvTimingAnalysis_[]
const float & refTime() const
static const char invalidRefTime_[]
static const float optimumSamplingPoint_
static const uint16_t invalid_
virtual void header(std::stringstream &) const
static int position[264][3]
Abstract base for derived classes that provide analysis of commissioning histograms.
Log< level::Warning, false > LogWarning
uint16_t frameFindingThreshold() const
static const float frameFindingThreshold_
static const char invalidDelayTime_[]