9 using namespace sistrip;
92 std::stringstream extra1,extra2,extra3;
109 extra1.str() ).
title();
116 extra2.str() ).
title();
123 extra3.str() ).
title();
130 extra3.str() ).
title();
135 << (
isValid() ?
"Valid" :
"Invalid" )
152 << title1 <<
";" << title2 <<
";" << title3 <<
";" << title4
161 if ( iapv == 1 || iapv == 2 ) { iapv--; }
167 <<
"[" <<
myName() <<
"::" << __func__ <<
"]"
168 <<
" Unexpected number of pedestal/noise values: "
169 <<
peds_[iapv].size() <<
", "
170 <<
raw_[iapv].size();
175 ss <<
" Monitorables for APV number : " << iapv;
176 if ( iapv == 0 ) { ss <<
" (first of pair)"; }
177 else if ( iapv == 1 ) { ss <<
" (second of pair)"; }
179 ss << std::fixed << std::setprecision(2);
180 ss <<
" Example peds/noise for strips : "
181 <<
" 0, 31, 63, 127" << std::endl
183 << std::setw(6) <<
peds_[iapv][0] <<
", "
184 << std::setw(6) <<
peds_[iapv][31] <<
", "
185 << std::setw(6) <<
peds_[iapv][63] <<
", "
186 << std::setw(6) <<
peds_[iapv][127] << std::endl
187 <<
" Raw noise [ADC] : "
188 << std::setw(6) <<
raw_[iapv][0] <<
", "
189 << std::setw(6) <<
raw_[iapv][31] <<
", "
190 << std::setw(6) <<
raw_[iapv][63] <<
", "
191 << std::setw(6) <<
raw_[iapv][127] << std::endl;
192 ss <<
" Mean peds +/- spread [ADC] : " <<
pedsMean_[iapv] <<
" +/- " <<
pedsSpread_[iapv] << std::endl
193 <<
" Min/Max pedestal [ADC] : " <<
pedsMin_[iapv] <<
" <-> " <<
pedsMax_[iapv] << std::endl
194 <<
" Mean raw noise +/- spread [ADC] : " <<
rawMean_[iapv] <<
" +/- " <<
rawSpread_[iapv] << std::endl
195 <<
" Min/Max raw noise [ADC] : " <<
rawMin_[iapv] <<
" <-> " <<
rawMax_[iapv] << std::endl
197 <<
" isValid : " <<
isValid() << std::endl
199 <<
" Error codes (found "
200 << std::setw(2) << std::setfill(
' ') <<
getErrorCodes().size()
206 for ( ; istr != jstr; ++istr ) { ss << *istr <<
" "; }
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...
void print(std::stringstream &, uint32_t apv_number=0)
const uint16_t & lldChan() const
const uint16_t & fecSlot() const
const uint16_t & i2cAddr() const
const uint32_t & key() const
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
tuple path
else: Piece not in the list, fine.
static const char mlCommissioning_[]
static const char controlView_[]
static const uint16_t maximum_
static const char dqmRoot_[]
const uint32_t & fecKey() const
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
const uint16_t & fecCrate() const
virtual void header(std::stringstream &) const
const uint16_t & ccuAddr() const
static const uint16_t invalid_
void summary(std::stringstream &) const
const uint16_t & ccuChan() const
std::vector< VFloat > VVFloat
Abstract base for derived classes that provide analysis of commissioning histograms.
volatile std::atomic< bool > shutdown_flag false
const VString & getErrorCodes() const
const std::string & myName() const
tuple size
Write out results.