96 dead_[0].reserve(256);
97 dead_[1].reserve(256);
111 return ( ( static_cast<uint16_t>(
base_ +
167 if ( iapv == 1 || iapv == 2 ) { iapv--; }
172 <<
" Tick mark bottom (baseline) [ADC] : " <<
base_ << std::endl
173 <<
" Tick mark top [ADC] : " <<
peak_ << std::endl
174 <<
" Tick mark height [ADC] : " <<
height_ << std::endl
178 <<
" isValid : " <<
isValid() << std::endl;
185 <<
"[" <<
myName() <<
"::" << __func__ <<
"]" 186 <<
" Unexpected number of pedestal/noise values: " 187 <<
peds_[iapv].size() <<
", " 188 <<
noise_[iapv].size() <<
", " 189 <<
raw_[iapv].size();
193 ss <<
" Monitorables for APV number : " << iapv;
194 if ( iapv == 0 ) { ss <<
" (first of pair)"; }
195 else if ( iapv == 1 ) { ss <<
" (second of pair)"; }
198 ss <<
" Example peds/noise for strips : " 199 <<
" 0, 31, 63, 127" << std::endl
201 << std::setw(6) <<
peds_[iapv][0] <<
", " 202 << std::setw(6) <<
peds_[iapv][31] <<
", " 203 << std::setw(6) <<
peds_[iapv][63] <<
", " 204 << std::setw(6) <<
peds_[iapv][127] << std::endl
206 << std::setw(6) <<
noise_[iapv][0] <<
", " 207 << std::setw(6) <<
noise_[iapv][31] <<
", " 208 << std::setw(6) <<
noise_[iapv][63] <<
", " 209 << std::setw(6) <<
noise_[iapv][127] << std::endl
210 <<
" Raw noise [ADC] : " 211 << std::setw(6) <<
raw_[iapv][0] <<
", " 212 << std::setw(6) <<
raw_[iapv][31] <<
", " 213 << std::setw(6) <<
raw_[iapv][63] <<
", " 214 << std::setw(6) <<
raw_[iapv][127] << std::endl
215 <<
" Dead strips (<5s) [strip] : (" <<
dead_[iapv].size() <<
" in total) ";
216 for ( uint16_t
ii = 0;
ii <
dead_[iapv].size();
ii++ ) {
217 ss <<
dead_[iapv][
ii] <<
" "; }
220 ss <<
" Noisy strips (>5s) [strip] : (" <<
noisy_[iapv].size() <<
" in total) ";
221 for ( uint16_t
ii = 0;
ii <
noisy_[iapv].size();
ii++ ) {
225 ss <<
" Mean peds +/- spread [ADC] : " <<
pedsMean_[iapv] <<
" +/- " <<
pedsSpread_[iapv] << std::endl
226 <<
" Min/Max pedestal [ADC] : " <<
pedsMin_[iapv] <<
" <-> " <<
pedsMax_[iapv] << std::endl
228 <<
" Min/Max noise [ADC] : " <<
noiseMin_[iapv] <<
" <-> " <<
noiseMax_[iapv] << std::endl
229 <<
" Mean raw noise +/- spread [ADC] : " <<
rawMean_[iapv] <<
" +/- " <<
rawSpread_[iapv] << std::endl
230 <<
" Min/Max raw noise [ADC] : " <<
rawMin_[iapv] <<
" <-> " <<
rawMax_[iapv] << std::endl
231 <<
" Normalised noise : " <<
"(yet to be implemented...)" << std::endl
233 <<
" isValid : " <<
isValid() << std::endl
235 <<
" Error codes (found " 236 << std::setw(2) << std::setfill(
' ') <<
getErrorCodes().size()
242 for ( ; istr != jstr; ++istr ) { ss << *istr <<
" "; }
258 std::stringstream extra1,extra2,extra3,extra4,extra5,extra6;
272 extra1.str() ).
title();
279 extra2.str() ).
title();
286 extra3.str() ).
title();
293 extra3.str() ).
title();
301 extra4.str() ).
title();
309 extra5.str() ).
title();
317 extra6.str() ).
title();
321 << (
isValid() ?
"Valid" :
"Invalid" )
338 << title1 <<
";" << title2 <<
";" << title3 <<
";" << title4 <<
";" << title5 <<
";" << title6 <<
";" << title7
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