Histogram-based analysis for pedestal run. More...
#include <PedestalsAnalysis.h>
Public Member Functions | |
const VVInt & | dead () const |
bool | isValid () const |
const VVFloat & | noise () const |
const VFloat & | noiseMax () const |
const VFloat & | noiseMean () const |
const VFloat & | noiseMin () const |
const VFloat & | noiseSpread () const |
const VVInt & | noisy () const |
PedestalsAnalysis (const uint32_t &key) | |
PedestalsAnalysis () | |
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 | ~PedestalsAnalysis () |
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 | PedestalsAlgorithm |
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 PedestalsAnalysis.h.
PedestalsAnalysis::PedestalsAnalysis | ( | const uint32_t & | key | ) |
Definition at line 13 of file PedestalsAnalysis.cc.
PedestalsAnalysis::PedestalsAnalysis | ( | ) |
Definition at line 40 of file PedestalsAnalysis.cc.
|
inlinevirtual |
Definition at line 25 of file PedestalsAnalysis.h.
|
inline |
Definition at line 142 of file PedestalsAnalysis.h.
References dead_.
Referenced by PedestalsHistosUsingDb::create(), PedestalsSummaryFactory::extract(), and PedestalsHistosUsingDb::update().
|
virtual |
Identifies if analysis is valid or not.
Reimplemented from CommissioningAnalysis.
Definition at line 94 of file PedestalsAnalysis.cc.
References relativeConstraints::empty, CommissioningAnalysis::getErrorCodes(), sistrip::maximum_, noiseMax_, noiseMean_, noiseMin_, noiseSpread_, pedsMax_, pedsMean_, pedsMin_, pedsSpread_, rawMax_, rawMean_, rawMin_, and rawSpread_.
Referenced by PedestalsHistosUsingDb::create(), PedestalsHistograms::histoAnalysis(), print(), core.AutoHandle.AutoHandle::ReallyLoad(), and summary().
|
inline |
Definition at line 139 of file PedestalsAnalysis.h.
References noise_.
Referenced by PedestalsSummaryFactory::extract(), and PedestalsHistosUsingDb::update().
|
inline |
Definition at line 154 of file PedestalsAnalysis.h.
References noiseMax_.
Referenced by PedestalsHistosUsingDb::create(), and PedestalsSummaryFactory::extract().
|
inline |
Definition at line 147 of file PedestalsAnalysis.h.
References noiseMean_.
Referenced by PedestalsHistosUsingDb::create(), and PedestalsSummaryFactory::extract().
|
inline |
Definition at line 155 of file PedestalsAnalysis.h.
References noiseMin_.
Referenced by PedestalsHistosUsingDb::create(), and PedestalsSummaryFactory::extract().
|
inline |
Definition at line 148 of file PedestalsAnalysis.h.
References noiseSpread_.
Referenced by PedestalsHistosUsingDb::create(), and PedestalsSummaryFactory::extract().
|
inline |
Definition at line 143 of file PedestalsAnalysis.h.
References noisy_.
Referenced by PedestalsHistosUsingDb::create(), PedestalsSummaryFactory::extract(), and PedestalsHistosUsingDb::update().
|
inline |
Definition at line 138 of file PedestalsAnalysis.h.
References peds_.
Referenced by PedestalsSummaryFactory::extract(), and PedestalsHistosUsingDb::update().
|
inline |
Definition at line 152 of file PedestalsAnalysis.h.
References pedsMax_.
Referenced by PedestalsHistosUsingDb::create(), and PedestalsSummaryFactory::extract().
|
inline |
Definition at line 145 of file PedestalsAnalysis.h.
References pedsMean_.
Referenced by PedestalsHistosUsingDb::create(), and PedestalsSummaryFactory::extract().
|
inline |
Definition at line 153 of file PedestalsAnalysis.h.
References pedsMin_.
Referenced by PedestalsHistosUsingDb::create(), PedestalsSummaryFactory::extract(), and PedestalsHistosUsingDb::update().
|
inline |
Definition at line 146 of file PedestalsAnalysis.h.
References pedsSpread_.
Referenced by PedestalsHistosUsingDb::create(), and PedestalsSummaryFactory::extract().
|
virtual |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 200 of file PedestalsAnalysis.cc.
References dead_, relativeConstraints::empty, 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_, and findQualityFiles::size.
|
inline |
|
inline |
Definition at line 156 of file PedestalsAnalysis.h.
References rawMax_.
Referenced by PedestalsHistosUsingDb::create().
|
inline |
Definition at line 149 of file PedestalsAnalysis.h.
References rawMean_.
Referenced by PedestalsHistosUsingDb::create().
|
inline |
Definition at line 157 of file PedestalsAnalysis.h.
References rawMin_.
Referenced by PedestalsHistosUsingDb::create().
|
inline |
Definition at line 150 of file PedestalsAnalysis.h.
References rawSpread_.
Referenced by PedestalsHistosUsingDb::create().
|
virtual |
Resets analysis member data.
Implements CommissioningAnalysis.
Definition at line 67 of file PedestalsAnalysis.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().
|
virtual |
Overrides base method.
Reimplemented from CommissioningAnalysis.
Definition at line 126 of file PedestalsAnalysis.cc.
References sistrip::APV, SiStripFecKey::ccuAddr(), SiStripFecKey::ccuChan(), sistrip::extrainfo::commonMode_, sistrip::controlView_, sistrip::dir_, sistrip::dqmRoot_, sistrip::EXPERT_HISTO, edm::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(), fed_dqm_sourceclient-live_cfg::path, sistrip::extrainfo::pedestals_, sistrip::extrainfo::pedsAndCmSubNoise_, sistrip::extrainfo::pedsAndRawNoise_, sistrip::extrainfo::rawNoise_, SiStripEnumsAndStrings::runType(), AlCaHLTBitMon_QueryRunRegistry::string, indexGen::title, and funct::true.
|
friend |
Definition at line 27 of file PedestalsAnalysis.h.
|
private |
Dead strips.
Definition at line 88 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), dead(), PedestalsAnalysis(), print(), and reset().
|
private |
Definition at line 132 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::extract(), reset(), and summary().
|
private |
Noise values.
Definition at line 80 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), noise(), print(), and reset().
|
private |
Max noise value.
Definition at line 120 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), isValid(), noiseMax(), print(), and reset().
|
private |
Mean noise value.
Definition at line 102 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), isValid(), noiseMean(), print(), and reset().
|
private |
Min noise value.
Definition at line 123 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), isValid(), noiseMin(), print(), and reset().
|
private |
Rms spread in noise.
Definition at line 105 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), isValid(), noiseSpread(), print(), and reset().
|
private |
Noisy strips.
Definition at line 91 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), noisy(), PedestalsAnalysis(), print(), and reset().
|
private |
Peds values.
Definition at line 77 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), peds(), print(), and reset().
|
private |
Max peds value.
Definition at line 114 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), isValid(), pedsMax(), print(), and reset().
|
private |
Mean peds value.
Definition at line 96 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), isValid(), pedsMean(), print(), and reset().
|
private |
Min peds value.
Definition at line 117 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), isValid(), pedsMin(), print(), and reset().
|
private |
Rms spread in peds.
Definition at line 99 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), isValid(), pedsSpread(), print(), and reset().
|
private |
Raw noise values.
Definition at line 83 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), print(), raw(), and reset().
|
private |
Max raw noise value.
Definition at line 126 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), isValid(), print(), rawMax(), and reset().
|
private |
Mean raw noise value.
Definition at line 108 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), isValid(), print(), rawMean(), and reset().
|
private |
Min raw noise value.
Definition at line 129 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), isValid(), print(), rawMin(), and reset().
|
private |
Rms spread in raw noise.
Definition at line 111 of file PedestalsAnalysis.h.
Referenced by PedestalsAlgorithm::analyse(), isValid(), print(), rawSpread(), and reset().