96 dead_[0].reserve(256);
97 dead_[1].reserve(256);
111 return ( ( static_cast<uint16_t>(
base_ +
166 if ( iapv == 1 || iapv == 2 ) { iapv--; }
171 <<
" Tick mark bottom (baseline) [ADC] : " <<
base_ << std::endl
172 <<
" Tick mark top [ADC] : " <<
peak_ << std::endl
173 <<
" Tick mark height [ADC] : " <<
height_ << std::endl
177 <<
" isValid : " <<
isValid() << std::endl;
184 <<
"[" <<
myName() <<
"::" << __func__ <<
"]" 185 <<
" Unexpected number of pedestal/noise values: " 186 <<
peds_[iapv].size() <<
", " 187 <<
noise_[iapv].size() <<
", " 188 <<
raw_[iapv].size();
192 ss <<
" Monitorables for APV number : " << iapv;
193 if ( iapv == 0 ) { ss <<
" (first of pair)"; }
194 else if ( iapv == 1 ) { ss <<
" (second of pair)"; }
197 ss <<
" Example peds/noise for strips : " 198 <<
" 0, 31, 63, 127" << std::endl
200 << std::setw(6) <<
peds_[iapv][0] <<
", " 201 << std::setw(6) <<
peds_[iapv][31] <<
", " 202 << std::setw(6) <<
peds_[iapv][63] <<
", " 203 << std::setw(6) <<
peds_[iapv][127] << std::endl
205 << std::setw(6) <<
noise_[iapv][0] <<
", " 206 << std::setw(6) <<
noise_[iapv][31] <<
", " 207 << std::setw(6) <<
noise_[iapv][63] <<
", " 208 << std::setw(6) <<
noise_[iapv][127] << std::endl
209 <<
" Raw noise [ADC] : " 210 << std::setw(6) <<
raw_[iapv][0] <<
", " 211 << std::setw(6) <<
raw_[iapv][31] <<
", " 212 << std::setw(6) <<
raw_[iapv][63] <<
", " 213 << std::setw(6) <<
raw_[iapv][127] << std::endl
214 <<
" Dead strips (<5s) [strip] : (" <<
dead_[iapv].size() <<
" in total) ";
215 for ( uint16_t
ii = 0;
ii <
dead_[iapv].size();
ii++ ) {
216 ss <<
dead_[iapv][
ii] <<
" "; }
219 ss <<
" Noisy strips (>5s) [strip] : (" <<
noisy_[iapv].size() <<
" in total) ";
220 for ( uint16_t
ii = 0;
ii <
noisy_[iapv].size();
ii++ ) {
224 ss <<
" Mean peds +/- spread [ADC] : " <<
pedsMean_[iapv] <<
" +/- " <<
pedsSpread_[iapv] << std::endl
225 <<
" Min/Max pedestal [ADC] : " <<
pedsMin_[iapv] <<
" <-> " <<
pedsMax_[iapv] << std::endl
227 <<
" Min/Max noise [ADC] : " <<
noiseMin_[iapv] <<
" <-> " <<
noiseMax_[iapv] << std::endl
228 <<
" Mean raw noise +/- spread [ADC] : " <<
rawMean_[iapv] <<
" +/- " <<
rawSpread_[iapv] << std::endl
229 <<
" Min/Max raw noise [ADC] : " <<
rawMin_[iapv] <<
" <-> " <<
rawMax_[iapv] << std::endl
230 <<
" Normalised noise : " <<
"(yet to be implemented...)" << std::endl
232 <<
" isValid : " <<
isValid() << std::endl
234 <<
" Error codes (found " 235 << std::setw(2) << std::setfill(
' ') <<
getErrorCodes().size()
241 for ( ; istr != jstr; ++istr ) { ss << *istr <<
" "; }
257 std::stringstream extra1,extra2,extra3,extra4;
269 extra1.str() ).
title();
276 extra2.str() ).
title();
283 extra3.str() ).
title();
290 extra3.str() ).
title();
298 extra4.str() ).
title();
302 << (
isValid() ?
"Valid" :
"Invalid" )
319 << title1 <<
";" << title2 <<
";" << title3 <<
";" << title4 <<
";" << title5
const uint32_t & fedKey() const
const uint16_t & fecRing() const
Utility class that holds histogram title.
A container class for generic run and event-related info, information required by the commissioning a...
static const char noiseMean_[]
bool isValid() const override
bool foundTickMark() const
uint16_t frameFindingThreshold() const
static const char noiseMax_[]
const uint16_t & lldChan() const
static const char noiseMin_[]
const uint16_t & fecSlot() const
static const uint16_t valid_
const uint16_t & i2cAddr() const
const uint32_t & key() const
static const float tickMarkHeightThreshold_
Utility class that identifies a position within the strip tracker control structure, down to the level of an APV25.
static std::string runType(const sistrip::RunType &)
std::vector< float > VFloat
static const char mlCommissioning_[]
static const float frameFindingThreshold_
static const char controlView_[]
static const uint16_t maximum_
static const char dqmRoot_[]
const uint32_t & fecKey() const
static const char noiseSpread_[]
void print(std::stringstream &, uint32_t apv_number=0) override
std::vector< uint16_t > VInt
const uint16_t & fecCrate() const
std::vector< VInt > VVInt
virtual void header(std::stringstream &) const
const uint16_t & ccuAddr() const
static const uint16_t invalid_
const uint16_t & ccuChan() const
std::vector< VFloat > VVFloat
Abstract base for derived classes that provide analysis of commissioning histograms.
const VString & getErrorCodes() const
const std::string & myName() const
void summary(std::stringstream &) const override