Histogram-based analysis for pedestal run. More...
#include <NoiseAnalysis.h>
Public Member Functions | |
const VVInt & | dead () const |
bool | isValid () const override |
const VVFloat & | noise () const |
NoiseAnalysis () | |
NoiseAnalysis (const uint32_t &key) | |
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) override |
const VVFloat & | raw () const |
const VFloat & | rawMax () const |
const VFloat & | rawMean () const |
const VFloat & | rawMin () const |
const VFloat & | rawSpread () const |
void | reset () override |
void | summary (std::stringstream &) const override |
~NoiseAnalysis () override | |
Public Member Functions inherited from CommissioningAnalysis | |
virtual void | addErrorCode (const std::string &error) |
CommissioningAnalysis (const std::string &my_name) | |
CommissioningAnalysis (const uint32_t &key, 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< bool > | VBool |
typedef std::vector< float > | VFloat |
typedef std::vector< uint16_t > | VInt |
typedef std::vector< std::string > | VString |
typedef std::vector< VBool > | VVBool |
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 41 of file NoiseAnalysis.cc.
|
inlineoverride |
Definition at line 23 of file NoiseAnalysis.h.
|
inline |
|
overridevirtual |
Identifies if analysis is valid or not.
Reimplemented from CommissioningAnalysis.
Definition at line 96 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 ntupleDataFormat._Object::_checkIsValid(), print(), core.AutoHandle.AutoHandle::ReallyLoad(), and summary().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 173 of file NoiseAnalysis.cc.
References dead_, relativeConstraints::empty, alignBH_cfg::fixed, CommissioningAnalysis::getErrorCodes(), CommissioningAnalysis::header(), cuy::ii, isValid(), sistrip::mlCommissioning_, CommissioningAnalysis::myName(), noise_, noiseMax_, noiseMean_, noiseMin_, noiseSpread_, noisy_, peds_, pedsMax_, pedsMean_, pedsMin_, pedsSpread_, raw_, rawMax_, rawMean_, rawMin_, rawSpread_, findQualityFiles::size, and contentValuesCheck::ss.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Resets analysis member data.
Implements CommissioningAnalysis.
Definition at line 69 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__(), and MatrixReader.MatrixReader::showRaw().
|
overridevirtual |
Overrides base method.
Reimplemented from CommissioningAnalysis.
Definition at line 112 of file NoiseAnalysis.cc.
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.
|
friend |
Definition at line 25 of file NoiseAnalysis.h.
|
private |
Dead strips.
Definition at line 85 of file NoiseAnalysis.h.
Referenced by dead(), NoiseAnalysis(), print(), and reset().
|
private |
Definition at line 129 of file NoiseAnalysis.h.
|
private |
Noise values.
Definition at line 77 of file NoiseAnalysis.h.
|
private |
Max noise value.
Definition at line 117 of file NoiseAnalysis.h.
Referenced by isValid(), noiseMax(), print(), and reset().
|
private |
Mean noise value.
Definition at line 99 of file NoiseAnalysis.h.
Referenced by isValid(), noiseMean(), print(), and reset().
|
private |
Min noise value.
Definition at line 120 of file NoiseAnalysis.h.
Referenced by isValid(), noiseMin(), print(), and reset().
|
private |
Rms spread in noise.
Definition at line 102 of file NoiseAnalysis.h.
Referenced by isValid(), noiseSpread(), print(), and reset().
|
private |
Noisy strips.
Definition at line 88 of file NoiseAnalysis.h.
Referenced by NoiseAnalysis(), noisy(), print(), and reset().
|
private |
Peds values.
Definition at line 74 of file NoiseAnalysis.h.
|
private |
|
private |
Mean peds value.
Definition at line 93 of file NoiseAnalysis.h.
Referenced by isValid(), pedsMean(), print(), and reset().
|
private |
|
private |
Rms spread in peds.
Definition at line 96 of file NoiseAnalysis.h.
Referenced by isValid(), pedsSpread(), print(), and reset().
|
private |
Raw noise values.
Definition at line 80 of file NoiseAnalysis.h.
|
private |
|
private |
|
private |
|
private |
Rms spread in raw noise.
Definition at line 108 of file NoiseAnalysis.h.
Referenced by isValid(), print(), rawSpread(), and reset().