Histogram-based analysis for pedestal run. More...
#include <NoiseAnalysis.h>
Public Member Functions | |
const VVInt & | dead () const |
bool | isValid () const |
const VVFloat & | noise () const |
NoiseAnalysis (const uint32_t &key) | |
NoiseAnalysis () | |
const VFloat & | noiseMax () const |
const VFloat & | noiseMean () const |
const VFloat & | noiseMin () const |
const VFloat & | noiseSpread () const |
const VVInt & | noisy () const |
const VVFloat & | peds () const |
const VFloat & | pedsMax () const |
const VFloat & | pedsMean () const |
const VFloat & | pedsMin () const |
const VFloat & | pedsSpread () const |
void | print (std::stringstream &, uint32_t apv_number=0) |
const VVFloat & | raw () const |
const VFloat & | rawMax () const |
const VFloat & | rawMean () const |
const VFloat & | rawMin () const |
const VFloat & | rawSpread () const |
void | reset () |
void | summary (std::stringstream &) const |
virtual | ~NoiseAnalysis () |
Public Member Functions inherited from CommissioningAnalysis | |
virtual void | addErrorCode (const std::string &error) |
CommissioningAnalysis (const uint32_t &key, const std::string &my_name) | |
CommissioningAnalysis (const std::string &my_name) | |
const uint32_t & | dcuId () const |
void | dcuId (const uint32_t &) |
const uint32_t & | detId () const |
void | detId (const uint32_t &) |
const uint32_t & | fecKey () const |
void | fecKey (const uint32_t &) |
const uint32_t & | fedKey () const |
void | fedKey (const uint32_t &) |
const VString & | getErrorCodes () const |
virtual void | header (std::stringstream &) const |
const std::string & | myName () const |
void | setErrorCodes (const VString &errors) |
virtual | ~CommissioningAnalysis () |
Friends | |
class | NoiseAlgorithm |
Additional Inherited Members | |
Public Types inherited from CommissioningAnalysis | |
typedef std::vector< float > | VFloat |
typedef std::vector< uint16_t > | VInt |
typedef std::vector< std::string > | VString |
typedef std::vector< VFloat > | VVFloat |
typedef std::vector< VInt > | VVInt |
Histogram-based analysis for pedestal run.
Definition at line 15 of file NoiseAnalysis.h.
NoiseAnalysis::NoiseAnalysis | ( | const uint32_t & | key | ) |
Definition at line 13 of file NoiseAnalysis.cc.
NoiseAnalysis::NoiseAnalysis | ( | ) |
Definition at line 40 of file NoiseAnalysis.cc.
|
inlinevirtual |
Definition at line 25 of file NoiseAnalysis.h.
|
inline |
Definition at line 142 of file NoiseAnalysis.h.
References dead_.
Referenced by NoiseHistosUsingDb::create(), and NoiseSummaryFactory::extract().
|
virtual |
Identifies if analysis is valid or not.
Reimplemented from CommissioningAnalysis.
Definition at line 94 of file NoiseAnalysis.cc.
References relativeConstraints::empty, CommissioningAnalysis::getErrorCodes(), sistrip::maximum_, noiseMax_, noiseMean_, noiseMin_, noiseSpread_, pedsMax_, pedsMean_, pedsMin_, pedsSpread_, rawMax_, rawMean_, rawMin_, and rawSpread_.
Referenced by NoiseHistosUsingDb::create(), NoiseHistograms::histoAnalysis(), print(), and summary().
|
inline |
Definition at line 139 of file NoiseAnalysis.h.
References noise_.
Referenced by NoiseSummaryFactory::extract(), and NoiseHistosUsingDb::update().
|
inline |
Definition at line 154 of file NoiseAnalysis.h.
References noiseMax_.
Referenced by NoiseHistosUsingDb::create(), and NoiseSummaryFactory::extract().
|
inline |
Definition at line 147 of file NoiseAnalysis.h.
References noiseMean_.
Referenced by NoiseHistosUsingDb::create(), and NoiseSummaryFactory::extract().
|
inline |
Definition at line 155 of file NoiseAnalysis.h.
References noiseMin_.
Referenced by NoiseHistosUsingDb::create(), and NoiseSummaryFactory::extract().
|
inline |
Definition at line 148 of file NoiseAnalysis.h.
References noiseSpread_.
Referenced by NoiseHistosUsingDb::create(), and NoiseSummaryFactory::extract().
|
inline |
Definition at line 143 of file NoiseAnalysis.h.
References noisy_.
Referenced by NoiseHistosUsingDb::create(), and NoiseSummaryFactory::extract().
|
inline |
Definition at line 138 of file NoiseAnalysis.h.
References peds_.
Referenced by NoiseSummaryFactory::extract(), and NoiseHistosUsingDb::update().
|
inline |
Definition at line 152 of file NoiseAnalysis.h.
References pedsMax_.
Referenced by NoiseHistosUsingDb::create(), and NoiseSummaryFactory::extract().
|
inline |
Definition at line 145 of file NoiseAnalysis.h.
References pedsMean_.
Referenced by NoiseHistosUsingDb::create(), and NoiseSummaryFactory::extract().
|
inline |
Definition at line 153 of file NoiseAnalysis.h.
References pedsMin_.
Referenced by NoiseHistosUsingDb::create(), and NoiseSummaryFactory::extract().
|
inline |
Definition at line 146 of file NoiseAnalysis.h.
References pedsSpread_.
Referenced by NoiseHistosUsingDb::create(), and NoiseSummaryFactory::extract().
|
virtual |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 200 of file NoiseAnalysis.cc.
References dead_, relativeConstraints::empty, CommissioningAnalysis::getErrorCodes(), CommissioningAnalysis::header(), isValid(), sistrip::mlCommissioning_, CommissioningAnalysis::myName(), noise_, noiseMax_, noiseMean_, noiseMin_, noiseSpread_, noisy_, peds_, pedsMax_, pedsMean_, pedsMin_, pedsSpread_, raw_, rawMax_, rawMean_, rawMin_, rawSpread_, and findQualityFiles::size.
|
inline |
|
inline |
Definition at line 156 of file NoiseAnalysis.h.
References rawMax_.
Referenced by NoiseHistosUsingDb::create().
|
inline |
Definition at line 149 of file NoiseAnalysis.h.
References rawMean_.
Referenced by NoiseHistosUsingDb::create().
|
inline |
Definition at line 157 of file NoiseAnalysis.h.
References rawMin_.
Referenced by NoiseHistosUsingDb::create().
|
inline |
Definition at line 150 of file NoiseAnalysis.h.
References rawSpread_.
Referenced by NoiseHistosUsingDb::create().
|
virtual |
Resets analysis member data.
Implements CommissioningAnalysis.
Definition at line 67 of file NoiseAnalysis.cc.
References dead_, sistrip::invalid_, legacy_, noise_, noiseMax_, noiseMean_, noiseMin_, noiseSpread_, noisy_, peds_, pedsMax_, pedsMean_, pedsMin_, pedsSpread_, raw_, rawMax_, rawMean_, rawMin_, and rawSpread_.
Referenced by MatrixReader.MatrixReader::__init__(), BeautifulSoup.BeautifulStoneSoup::__init__(), and MatrixReader.MatrixReader::showRaw().
|
virtual |
Overrides base method.
Reimplemented from CommissioningAnalysis.
Definition at line 126 of file NoiseAnalysis.cc.
References sistrip::APV, SiStripFecKey::ccuAddr(), SiStripFecKey::ccuChan(), sistrip::extrainfo::commonMode_, sistrip::controlView_, sistrip::dir_, sistrip::dqmRoot_, sistrip::EXPERT_HISTO, funct::false, 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(), scaleCards::path, sistrip::extrainfo::pedestals_, sistrip::extrainfo::pedsAndCmSubNoise_, sistrip::extrainfo::pedsAndRawNoise_, sistrip::extrainfo::rawNoise_, SiStripEnumsAndStrings::runType(), indexGen::title, and funct::true.
|
friend |
Definition at line 27 of file NoiseAnalysis.h.
|
private |
Dead strips.
Definition at line 88 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), dead(), NoiseAnalysis(), print(), and reset().
|
private |
Definition at line 132 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::extract(), reset(), and summary().
|
private |
Noise values.
Definition at line 80 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), noise(), print(), and reset().
|
private |
Max noise value.
Definition at line 120 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), isValid(), noiseMax(), print(), and reset().
|
private |
Mean noise value.
Definition at line 102 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), isValid(), noiseMean(), print(), and reset().
|
private |
Min noise value.
Definition at line 123 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), isValid(), noiseMin(), print(), and reset().
|
private |
Rms spread in noise.
Definition at line 105 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), isValid(), noiseSpread(), print(), and reset().
|
private |
Noisy strips.
Definition at line 91 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), NoiseAnalysis(), noisy(), print(), and reset().
|
private |
Peds values.
Definition at line 77 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), peds(), print(), and reset().
|
private |
Max peds value.
Definition at line 114 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), isValid(), pedsMax(), print(), and reset().
|
private |
Mean peds value.
Definition at line 96 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), isValid(), pedsMean(), print(), and reset().
|
private |
Min peds value.
Definition at line 117 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), isValid(), pedsMin(), print(), and reset().
|
private |
Rms spread in peds.
Definition at line 99 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), isValid(), pedsSpread(), print(), and reset().
|
private |
Raw noise values.
Definition at line 83 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), print(), raw(), and reset().
|
private |
Max raw noise value.
Definition at line 126 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), isValid(), print(), rawMax(), and reset().
|
private |
Mean raw noise value.
Definition at line 108 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), isValid(), print(), rawMean(), and reset().
|
private |
Min raw noise value.
Definition at line 129 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), isValid(), print(), rawMin(), and reset().
|
private |
Rms spread in raw noise.
Definition at line 111 of file NoiseAnalysis.h.
Referenced by NoiseAlgorithm::analyse(), isValid(), print(), rawSpread(), and reset().