9 using namespace sistrip;
38 dead_[0].reserve(256);
39 dead_[1].reserve(256);
68 dead_[0].reserve(256);
69 dead_[1].reserve(256);
98 dead_[0].reserve(256);
99 dead_[1].reserve(256);
141 if (iapv == 1 || iapv == 2) {
148 ss << std::fixed << std::setprecision(2) <<
" Tick mark bottom (baseline) [ADC] : " <<
base_ << std::endl
149 <<
" Tick mark top [ADC] : " <<
peak_ << std::endl
150 <<
" Tick mark height [ADC] : " <<
height_ << std::endl
152 << std::boolalpha <<
" Tick mark found : " <<
foundTickMark() << std::endl
153 <<
" isValid : " <<
isValid() << std::endl;
157 <<
" Unexpected number of pedestal/noise values: " <<
peds_[iapv].size() <<
", "
158 <<
noise_[iapv].size() <<
", " <<
raw_[iapv].size();
162 ss <<
" Monitorables for APV number : " << iapv;
164 ss <<
" (first of pair)";
165 }
else if (iapv == 1) {
166 ss <<
" (second of pair)";
169 ss << std::fixed << std::setprecision(2);
170 ss <<
" Example peds/noise for strips : "
171 <<
" 0, 31, 63, 127" << std::endl
172 <<
" Peds [ADC] : " << std::setw(6) <<
peds_[iapv][0] <<
", " << std::setw(6)
173 <<
peds_[iapv][31] <<
", " << std::setw(6) <<
peds_[iapv][63] <<
", " << std::setw(6) <<
peds_[iapv][127]
175 <<
" Noise [ADC] : " << std::setw(6) <<
noise_[iapv][0] <<
", " << std::setw(6)
176 <<
noise_[iapv][31] <<
", " << std::setw(6) <<
noise_[iapv][63] <<
", " << std::setw(6) <<
noise_[iapv][127]
178 <<
" Raw noise [ADC] : " << std::setw(6) <<
raw_[iapv][0] <<
", " << std::setw(6) <<
raw_[iapv][31]
179 <<
", " << std::setw(6) <<
raw_[iapv][63] <<
", " << std::setw(6) <<
raw_[iapv][127] << std::endl
180 <<
" Dead strips (<5s) [strip] : (" <<
dead_[iapv].size() <<
" in total) ";
181 for (uint16_t
ii = 0;
ii <
dead_[iapv].size();
ii++) {
186 ss <<
" Noisy strips (>5s) [strip] : (" <<
noisy_[iapv].size() <<
" in total) ";
191 ss <<
" Mean peds +/- spread [ADC] : " <<
pedsMean_[iapv] <<
" +/- " <<
pedsSpread_[iapv] << std::endl
192 <<
" Min/Max pedestal [ADC] : " <<
pedsMin_[iapv] <<
" <-> " <<
pedsMax_[iapv] << std::endl
194 <<
" Min/Max noise [ADC] : " <<
noiseMin_[iapv] <<
" <-> " <<
noiseMax_[iapv] << std::endl
195 <<
" Mean raw noise +/- spread [ADC] : " <<
rawMean_[iapv] <<
" +/- " <<
rawSpread_[iapv] << std::endl
196 <<
" Min/Max raw noise [ADC] : " <<
rawMin_[iapv] <<
" <-> " <<
rawMax_[iapv] << std::endl
197 <<
" Normalised noise : "
198 <<
"(yet to be implemented...)" << std::endl
199 << std::boolalpha <<
" isValid : " <<
isValid() << std::endl
200 << std::noboolalpha <<
" Error codes (found " << std::setw(2) << std::setfill(
' ') <<
getErrorCodes().size()
207 for (; istr != jstr; ++istr) {
222 std::stringstream extra1, extra2, extra3, extra4, extra5, extra6;
296 <<
":" << title1 <<
";" << title2 <<
";" << title3 <<
";" << title4 <<
";" << title5 <<
";" << title6 <<
";"
297 << title7 << std::endl;
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 foundTickMark() const
uint16_t frameFindingThreshold() const
static const char noiseMax_[]
const uint16_t & lldChan() const
static const char noiseMin_[]
const uint16_t & fecSlot() const
void summary(std::stringstream &) const override
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_[]
tuple key
prepare the HTCondor submission files and eventually submit them
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
bool isValid() const override
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.
Log< level::Warning, false > LogWarning
const VString & getErrorCodes() const
const std::string & myName() const
tuple size
Write out results.