Histogram-based analysis for VPSP scan. More...
#include <VpspScanAnalysis.h>
Public Member Functions | |
const VInt & | adcLevel () const |
const VInt & | bottomEdge () const |
const VInt & | bottomLevel () const |
const VInt & | fraction () const |
bool | isValid () const |
void | print (std::stringstream &, uint32_t not_used=0) |
void | reset () |
void | summary (std::stringstream &) const |
const VInt & | topEdge () const |
const VInt & | topLevel () const |
const VInt & | vpsp () const |
VpspScanAnalysis (const uint32_t &key) | |
VpspScanAnalysis () | |
virtual | ~VpspScanAnalysis () |
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 | |
VInt | adcLevel_ |
VInt | bottomEdge_ |
VInt | bottomLevel_ |
VInt | fraction_ |
VInt | topEdge_ |
VInt | topLevel_ |
VInt | vpsp_ |
Friends | |
class | VpspScanAlgorithm |
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 VPSP scan.
Definition at line 15 of file VpspScanAnalysis.h.
VpspScanAnalysis::VpspScanAnalysis | ( | const uint32_t & | key | ) |
Definition at line 14 of file VpspScanAnalysis.cc.
VpspScanAnalysis::VpspScanAnalysis | ( | ) |
Definition at line 27 of file VpspScanAnalysis.cc.
|
inlinevirtual |
Definition at line 25 of file VpspScanAnalysis.h.
|
inline |
Signal levels [ADC] for VPSP settings.
Definition at line 90 of file VpspScanAnalysis.h.
References adcLevel_.
Referenced by VpspScanHistosUsingDb::create(), and VpspScanSummaryFactory::extract().
|
inline |
VPSP setting where baseline leaves "D0" level.
Definition at line 93 of file VpspScanAnalysis.h.
References bottomEdge_.
Referenced by VpspScanHistosUsingDb::create().
|
inline |
Signal level [ADC] for "digital zero".
Definition at line 95 of file VpspScanAnalysis.h.
References bottomLevel_.
Referenced by VpspScanHistosUsingDb::create(), and VpspScanSummaryFactory::extract().
|
inline |
Not used.
Definition at line 91 of file VpspScanAnalysis.h.
References fraction_.
Referenced by VpspScanHistosUsingDb::create().
|
virtual |
Identifies if analysis is valid or not.
Reimplemented from CommissioningAnalysis.
Definition at line 46 of file VpspScanAnalysis.cc.
References adcLevel_, bottomLevel_, relativeConstraints::empty, CommissioningAnalysis::getErrorCodes(), topLevel_, sistrip::valid_, and vpsp_.
Referenced by ntuple._Object::_checkIsValid(), VpspScanHistosUsingDb::create(), VpspScanHistograms::histoAnalysis(), print(), core.AutoHandle.AutoHandle::ReallyLoad(), and summary().
|
virtual |
Prints analysis results.
Implements CommissioningAnalysis.
Definition at line 112 of file VpspScanAnalysis.cc.
References adcLevel_, bottomEdge_, bottomLevel_, relativeConstraints::empty, alignBH_cfg::fixed, CommissioningAnalysis::getErrorCodes(), CommissioningAnalysis::header(), isValid(), topEdge_, topLevel_, and vpsp_.
|
virtual |
Resets analysis member data.
Implements CommissioningAnalysis.
Definition at line 40 of file VpspScanAnalysis.cc.
References sistrip::invalid_, and vpsp_.
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
|
virtual |
Overrides base method.
Reimplemented from CommissioningAnalysis.
Definition at line 60 of file VpspScanAnalysis.cc.
References sistrip::apv_, SiStripFecKey::ccuAddr(), SiStripFecKey::ccuChan(), sistrip::controlView_, sistrip::dir_, sistrip::dqmRoot_, sistrip::EXPERT_HISTO, SiStripFecKey::fecCrate(), CommissioningAnalysis::fecKey(), SiStripFecKey::fecRing(), SiStripFecKey::fecSlot(), sistrip::FED_KEY, CommissioningAnalysis::fedKey(), isValid(), SiStripKey::key(), sistrip::LLD_CHAN, SiStripFecKey::lldChan(), CommissioningAnalysis::myName(), callgraph::path, SiStripEnumsAndStrings::runType(), AlCaHLTBitMon_QueryRunRegistry::string, and fftjetcommon_cfi::title.
|
inline |
VPSP setting where baseline leaves "D1" level.
Definition at line 92 of file VpspScanAnalysis.h.
References topEdge_.
Referenced by VpspScanHistosUsingDb::create().
|
inline |
Signal level [ADC] for "digital one".
Definition at line 94 of file VpspScanAnalysis.h.
References topLevel_.
Referenced by VpspScanHistosUsingDb::create(), and VpspScanSummaryFactory::extract().
|
inline |
VPSP settings for both APVs.
Definition at line 89 of file VpspScanAnalysis.h.
References vpsp_.
Referenced by VpspScanHistosUsingDb::create(), VpspScanSummaryFactory::extract(), and VpspScanHistosUsingDb::update().
|
friend |
Definition at line 27 of file VpspScanAnalysis.h.
|
private |
Definition at line 73 of file VpspScanAnalysis.h.
Referenced by adcLevel(), VpspScanAlgorithm::analyse(), isValid(), and print().
|
private |
Definition at line 79 of file VpspScanAnalysis.h.
Referenced by VpspScanAlgorithm::analyse(), bottomEdge(), and print().
|
private |
Definition at line 83 of file VpspScanAnalysis.h.
Referenced by VpspScanAlgorithm::analyse(), bottomLevel(), isValid(), and print().
|
private |
Definition at line 75 of file VpspScanAnalysis.h.
Referenced by VpspScanAlgorithm::analyse(), and fraction().
|
private |
Definition at line 77 of file VpspScanAnalysis.h.
Referenced by VpspScanAlgorithm::analyse(), print(), and topEdge().
|
private |
Definition at line 81 of file VpspScanAnalysis.h.
Referenced by VpspScanAlgorithm::analyse(), isValid(), print(), and topLevel().
|
private |
VPSP settings
Definition at line 71 of file VpspScanAnalysis.h.
Referenced by VpspScanAlgorithm::analyse(), isValid(), print(), reset(), and vpsp().