Histogram-based analysis for pedestal run. More...
#include <PedsOnlyAnalysis.h>
Public Member Functions | |
bool | isValid () const |
const VVFloat & | peds () const |
const VFloat & | pedsMax () const |
const VFloat & | pedsMean () const |
const VFloat & | pedsMin () const |
PedsOnlyAnalysis (const uint32_t &key) | |
PedsOnlyAnalysis () | |
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 | ~PedsOnlyAnalysis () |
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 () |
Private Attributes | |
bool | legacy_ |
VVFloat | peds_ |
VFloat | pedsMax_ |
VFloat | pedsMean_ |
VFloat | pedsMin_ |
VFloat | pedsSpread_ |
VVFloat | raw_ |
VFloat | rawMax_ |
VFloat | rawMean_ |
VFloat | rawMin_ |
VFloat | rawSpread_ |
Friends | |
class | PedsOnlyAlgorithm |
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 PedsOnlyAnalysis.h.
PedsOnlyAnalysis::PedsOnlyAnalysis | ( | const uint32_t & | key | ) |
Definition at line 13 of file PedsOnlyAnalysis.cc.
PedsOnlyAnalysis::PedsOnlyAnalysis | ( | ) |
Definition at line 30 of file PedsOnlyAnalysis.cc.
|
inlinevirtual |
Definition at line 25 of file PedsOnlyAnalysis.h.
|
virtual |
Identifies if analysis is valid or not.
Reimplemented from CommissioningAnalysis.
Definition at line 63 of file PedsOnlyAnalysis.cc.
References relativeConstraints::empty, CommissioningAnalysis::getErrorCodes(), sistrip::maximum_, pedsMax_, pedsMean_, pedsMin_, pedsSpread_, rawMax_, rawMean_, rawMin_, and rawSpread_.
Referenced by PedsOnlyHistosUsingDb::create(), PedsOnlyHistograms::histoAnalysis(), print(), and summary().
|
inline |
Definition at line 106 of file PedsOnlyAnalysis.h.
References peds_.
Referenced by PedsOnlySummaryFactory::extract(), and PedsOnlyHistosUsingDb::update().
|
inline |
Definition at line 114 of file PedsOnlyAnalysis.h.
References pedsMax_.
Referenced by PedsOnlyHistosUsingDb::create(), and PedsOnlySummaryFactory::extract().
|
inline |
Definition at line 109 of file PedsOnlyAnalysis.h.
References pedsMean_.
Referenced by PedsOnlyHistosUsingDb::create(), and PedsOnlySummaryFactory::extract().
|
inline |
Definition at line 115 of file PedsOnlyAnalysis.h.
References pedsMin_.
Referenced by PedsOnlyHistosUsingDb::create(), PedsOnlySummaryFactory::extract(), and PedsOnlyHistosUsingDb::update().
|
inline |
Definition at line 110 of file PedsOnlyAnalysis.h.
References pedsSpread_.
Referenced by PedsOnlyHistosUsingDb::create(), and PedsOnlySummaryFactory::extract().
|
virtual |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 159 of file PedsOnlyAnalysis.cc.
References relativeConstraints::empty, CommissioningAnalysis::getErrorCodes(), CommissioningAnalysis::header(), isValid(), sistrip::mlCommissioning_, CommissioningAnalysis::myName(), peds_, pedsMax_, pedsMean_, pedsMin_, pedsSpread_, raw_, rawMax_, rawMean_, rawMin_, rawSpread_, and findQualityFiles::size.
|
inline |
Definition at line 107 of file PedsOnlyAnalysis.h.
References raw_.
Referenced by PedsOnlySummaryFactory::extract(), and PedsOnlyHistosUsingDb::update().
|
inline |
Definition at line 116 of file PedsOnlyAnalysis.h.
References rawMax_.
Referenced by PedsOnlyHistosUsingDb::create(), and PedsOnlySummaryFactory::extract().
|
inline |
Definition at line 111 of file PedsOnlyAnalysis.h.
References rawMean_.
Referenced by PedsOnlyHistosUsingDb::create(), and PedsOnlySummaryFactory::extract().
|
inline |
Definition at line 117 of file PedsOnlyAnalysis.h.
References rawMin_.
Referenced by PedsOnlyHistosUsingDb::create(), and PedsOnlySummaryFactory::extract().
|
inline |
Definition at line 112 of file PedsOnlyAnalysis.h.
References rawSpread_.
Referenced by PedsOnlyHistosUsingDb::create(), and PedsOnlySummaryFactory::extract().
|
virtual |
Resets analysis member data.
Implements CommissioningAnalysis.
Definition at line 47 of file PedsOnlyAnalysis.cc.
References sistrip::invalid_, legacy_, 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 85 of file PedsOnlyAnalysis.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 PedsOnlyAnalysis.h.
|
private |
Definition at line 100 of file PedsOnlyAnalysis.h.
Referenced by PedsOnlyAlgorithm::analyse(), PedsOnlyAlgorithm::extract(), reset(), and summary().
|
private |
Peds values.
Definition at line 68 of file PedsOnlyAnalysis.h.
Referenced by PedsOnlyAlgorithm::analyse(), peds(), print(), and reset().
|
private |
Max peds value.
Definition at line 88 of file PedsOnlyAnalysis.h.
Referenced by PedsOnlyAlgorithm::analyse(), isValid(), pedsMax(), print(), and reset().
|
private |
Mean peds value.
Definition at line 76 of file PedsOnlyAnalysis.h.
Referenced by PedsOnlyAlgorithm::analyse(), isValid(), pedsMean(), print(), and reset().
|
private |
Min peds value.
Definition at line 91 of file PedsOnlyAnalysis.h.
Referenced by PedsOnlyAlgorithm::analyse(), isValid(), pedsMin(), print(), and reset().
|
private |
Rms spread in peds.
Definition at line 79 of file PedsOnlyAnalysis.h.
Referenced by PedsOnlyAlgorithm::analyse(), isValid(), pedsSpread(), print(), and reset().
|
private |
Raw noise values.
Definition at line 71 of file PedsOnlyAnalysis.h.
Referenced by PedsOnlyAlgorithm::analyse(), print(), raw(), and reset().
|
private |
Max raw noise value.
Definition at line 94 of file PedsOnlyAnalysis.h.
Referenced by PedsOnlyAlgorithm::analyse(), isValid(), print(), rawMax(), and reset().
|
private |
Mean raw noise value.
Definition at line 82 of file PedsOnlyAnalysis.h.
Referenced by PedsOnlyAlgorithm::analyse(), isValid(), print(), rawMean(), and reset().
|
private |
Min raw noise value.
Definition at line 97 of file PedsOnlyAnalysis.h.
Referenced by PedsOnlyAlgorithm::analyse(), isValid(), print(), rawMin(), and reset().
|
private |
Rms spread in raw noise.
Definition at line 85 of file PedsOnlyAnalysis.h.
Referenced by PedsOnlyAlgorithm::analyse(), isValid(), print(), rawSpread(), and reset().