Histogram-based analysis for pedestal run.
- Author
- M. Wingham, R.Bainbridge
Definition at line 15 of file PedsOnlyAnalysis.h.
void PedsOnlyAnalysis::print |
( |
std::stringstream & |
ss, |
|
|
uint32_t |
apv_number = 0 |
|
) |
| |
|
overridevirtual |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 133 of file PedsOnlyAnalysis.cc.
134 if (iapv == 1 || iapv == 2) {
142 <<
" Unexpected number of pedestal/noise values: " <<
peds_[iapv].size() <<
", "
143 <<
raw_[iapv].size();
148 ss <<
" Monitorables for APV number : " << iapv;
150 ss <<
" (first of pair)";
151 }
else if (iapv == 1) {
152 ss <<
" (second of pair)";
156 ss <<
" Example peds/noise for strips : "
157 <<
" 0, 31, 63, 127" << std::endl
158 <<
" Peds [ADC] : " << std::setw(6) <<
peds_[iapv][0] <<
", " << std::setw(6)
159 <<
peds_[iapv][31] <<
", " << std::setw(6) <<
peds_[iapv][63] <<
", " << std::setw(6) <<
peds_[iapv][127]
161 <<
" Raw noise [ADC] : " << std::setw(6) <<
raw_[iapv][0] <<
", " << std::setw(6) <<
raw_[iapv][31]
162 <<
", " << std::setw(6) <<
raw_[iapv][63] <<
", " << std::setw(6) <<
raw_[iapv][127] << std::endl;
164 <<
" Min/Max pedestal [ADC] : " <<
pedsMin_[iapv] <<
" <-> " <<
pedsMax_[iapv] << std::endl
165 <<
" Mean raw noise +/- spread [ADC] : " <<
rawMean_[iapv] <<
" +/- " <<
rawSpread_[iapv] << std::endl
166 <<
" Min/Max raw noise [ADC] : " <<
rawMin_[iapv] <<
" <-> " <<
rawMax_[iapv] << std::endl
167 << std::boolalpha <<
" isValid : " <<
isValid() << std::endl
168 << std::noboolalpha <<
" Error codes (found " << std::setw(2) << std::setfill(
' ') <<
getErrorCodes().size()
175 for (; istr != jstr; ++istr) {
References relativeConstraints::empty, alignBH_cfg::fixed, CommissioningAnalysis::getErrorCodes(), CommissioningAnalysis::header(), isValid(), sistrip::mlCommissioning_, CommissioningAnalysis::myName(), peds_, pedsMax_, pedsMean_, pedsMin_, pedsSpread_, raw_, rawMax_, rawMean_, rawMin_, rawSpread_, findQualityFiles::size, and contentValuesCheck::ss.
void PedsOnlyAnalysis::summary |
( |
std::stringstream & |
ss | ) |
const |
|
overridevirtual |
Overrides base method.
Reimplemented from CommissioningAnalysis.
Definition at line 72 of file PedsOnlyAnalysis.cc.
78 std::stringstream extra1, extra2, extra3;
124 << fec_key.fecSlot() <<
"/" << fec_key.fecRing() <<
"/" << fec_key.ccuAddr() <<
"/" << fec_key.ccuChan() <<
":"
126 <<
SiStripFecKey(fec_key.fecCrate(), fec_key.fecSlot(), fec_key.fecRing(), fec_key.ccuAddr(), fec_key.ccuChan())
128 <<
":" << title1 <<
";" << title2 <<
";" << title3 <<
";" << title4 << std::endl;
References sistrip::APV, SiStripFecKey::ccuAddr(), SiStripFecKey::ccuChan(), sistrip::extrainfo::commonMode_, sistrip::controlView_, sistrip::dir_, sistrip::dqmRoot_, sistrip::EXPERT_HISTO, SiStripFecKey::fecCrate(), CommissioningAnalysis::fecKey(), SiStripFecKey::fecRing(), SiStripFecKey::fecSlot(), sistrip::FED_KEY, CommissioningAnalysis::fedKey(), SiStripFecKey::i2cAddr(), isValid(), SiStripKey::key(), legacy_, sistrip::LLD_CHAN, SiStripFecKey::lldChan(), CommissioningAnalysis::myName(), castor_dqm_sourceclient_file_cfg::path, sistrip::extrainfo::pedestals_, sistrip::extrainfo::pedsAndCmSubNoise_, sistrip::extrainfo::pedsAndRawNoise_, sistrip::extrainfo::rawNoise_, SiStripEnumsAndStrings::runType(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.