73 <<
"[" <<
myName() <<
"::" << __func__ <<
"]" 74 <<
" Attempting to re-synchronize with reference time!" 86 if ( targetDelay == -1 ) {
93 float adjustment = 25 - position % 25;
96 if ( targetDelay == -1 ) {
99 if ( adjustment > 25/2 ) adjustment -= 25;
110 if ( delay_ < -sistrip::valid_ || delay_ > sistrip::valid_ ) {
126 return ( ( static_cast<uint16_t>(
base_ +
172 <<
" Tick mark: time of rising edge [ns] : " <<
time_ << std::endl
174 <<
" Tick mark: time of sampling point [ns] : " << sampling1 << std::endl
175 <<
" Ref tick: time of rising edge [ns] : " <<
refTime_ << std::endl
176 <<
" Ref tick: time of sampling point [ns] : " << sampling2 << std::endl
177 <<
" Ref tick: adjusted sampling point [ns] : " << adjust << std::endl
178 <<
" Delay required to synchronise [ns] : " <<
delay_ << std::endl
179 <<
" Tick mark bottom (baseline) [ADC] : " <<
base_ << std::endl
180 <<
" Tick mark top [ADC] : " <<
peak_ << std::endl
181 <<
" Tick mark height [ADC] : " <<
height_ << std::endl
185 <<
" isValid : " <<
isValid() << std::endl
187 <<
" Error codes (found " 188 << std::setw(3) << std::setfill(
' ') <<
getErrorCodes().size()
194 for ( ; istr != jstr; ++istr ) { ss << *istr <<
" "; }
const float & refTime() const
static const float tickMarkHeightThreshold_
static const uint16_t valid_
void addErrorCode(const std::string &error)
static const char mlCommissioning_[]
static const char apvTimingAnalysis_[]
const float & time() const
void print(std::stringstream &, uint32_t not_used=0)
uint16_t frameFindingThreshold() const
static const char invalidRefTime_[]
virtual void header(std::stringstream &) const
static const float optimumSamplingPoint_
static const uint16_t invalid_
static int position[264][3]
Abstract base for derived classes that provide analysis of commissioning histograms.
static const float frameFindingThreshold_
const VString & getErrorCodes() const
const std::string & myName() const
bool foundTickMark() const
static const char invalidDelayTime_[]