Abstract base for derived classes that provide analysis of commissioning histograms. More...
#include <CommissioningAnalysis.h>
Public Types | |
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 |
Public Member Functions | |
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 |
virtual bool | isValid () const |
const std::string & | myName () const |
virtual void | print (std::stringstream &, uint32_t not_used=0)=0 |
virtual void | reset ()=0 |
void | setErrorCodes (const VString &errors) |
virtual void | summary (std::stringstream &) const |
virtual | ~CommissioningAnalysis () |
Private Member Functions | |
CommissioningAnalysis () | |
Private Attributes | |
uint32_t | dcuId_ |
uint32_t | detId_ |
VString | errors_ |
uint32_t | fecKey_ |
uint32_t | fedKey_ |
std::string | myName_ |
Abstract base for derived classes that provide analysis of commissioning histograms.
Definition at line 18 of file CommissioningAnalysis.h.
typedef std::vector<float> CommissioningAnalysis::VFloat |
Definition at line 33 of file CommissioningAnalysis.h.
typedef std::vector<uint16_t> CommissioningAnalysis::VInt |
Definition at line 37 of file CommissioningAnalysis.h.
typedef std::vector<std::string> CommissioningAnalysis::VString |
Definition at line 41 of file CommissioningAnalysis.h.
typedef std::vector<VFloat> CommissioningAnalysis::VVFloat |
Definition at line 35 of file CommissioningAnalysis.h.
typedef std::vector<VInt> CommissioningAnalysis::VVInt |
Definition at line 39 of file CommissioningAnalysis.h.
CommissioningAnalysis::CommissioningAnalysis | ( | const uint32_t & | key, |
const std::string & | my_name | ||
) |
Definition at line 9 of file CommissioningAnalysis.cc.
CommissioningAnalysis::CommissioningAnalysis | ( | const std::string & | my_name | ) |
Definition at line 21 of file CommissioningAnalysis.cc.
|
inlinevirtual |
Definition at line 29 of file CommissioningAnalysis.h.
|
inlineprivate |
|
inlinevirtual |
Adds error codes generated by analyses.
Reimplemented in ApvTimingAnalysis, and DaqScopeModeAnalysis.
Definition at line 150 of file CommissioningAnalysis.h.
References errors_.
Referenced by DaqScopeModeAnalysis::addErrorCode(), ApvTimingAnalysis::addErrorCode(), ApvLatencyAlgorithm::analyse(), FedTimingAlgorithm::analyse(), VpspScanAlgorithm::analyse(), NoiseAlgorithm::analyse(), FastFedCablingAlgorithm::analyse(), PedestalsAlgorithm::analyse(), PedsOnlyAlgorithm::analyse(), OptoScanAlgorithm::analyse(), PedsFullNoiseAlgorithm::analyse(), FedCablingAlgorithm::analyse(), ApvLatencyAlgorithm::extract(), FedTimingAlgorithm::extract(), DaqScopeModeAlgorithm::extract(), VpspScanAlgorithm::extract(), SamplingAlgorithm::extract(), CalibrationAlgorithm::extract(), PedestalsAlgorithm::extract(), PedsOnlyAlgorithm::extract(), FastFedCablingAlgorithm::extract(), ApvTimingAlgorithm::extract(), NoiseAlgorithm::extract(), PedsFullNoiseAlgorithm::extract(), OptoScanAlgorithm::extract(), FedCablingAlgorithm::extract(), and isValid().
|
inline |
Returns DCU id.
Definition at line 138 of file CommissioningAnalysis.h.
References dcuId_.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), CommissioningHistosUsingDb::addDcuDetIds(), FastFedCablingHistosUsingDb::connections(), FastFedCablingHistosUsingDb::create(), FastFedCablingAnalysis::header(), isValid(), and FastFedCablingHistosUsingDb::update().
|
inline |
|
inline |
Returns DetId.
Definition at line 139 of file CommissioningAnalysis.h.
References detId_.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), CommissioningHistosUsingDb::addDcuDetIds(), FastFedCablingHistosUsingDb::connections(), FastFedCablingAnalysis::header(), and isValid().
|
inline |
|
inline |
Returns FEC key object (encodes control structure).
Definition at line 135 of file CommissioningAnalysis.h.
References fecKey_.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), CommissioningHistosUsingDb::addDcuDetIds(), PedsFullNoiseAlgorithm::analyse(), FastFedCablingHistosUsingDb::connections(), DaqScopeModeHistosUsingDb::create(), VpspScanHistosUsingDb::create(), NoiseHistosUsingDb::create(), OptoScanHistosUsingDb::create(), PedestalsHistosUsingDb::create(), PedsFullNoiseHistosUsingDb::create(), PedsOnlyHistosUsingDb::create(), ApvTimingHistosUsingDb::create(), LatencyHistosUsingDb::create(), CalibrationHistosUsingDb::create(), FastFedCablingHistosUsingDb::create(), FineDelayHistosUsingDb::create(), CommissioningHistograms::data(), FastFedCablingAnalysis::FastFedCablingAnalysis(), FastFedCablingAnalysis::header(), FastFedCablingHistograms::histoAnalysis(), isValid(), PedsOnlyAnalysis::summary(), VpspScanAnalysis::summary(), PedestalsAnalysis::summary(), NoiseAnalysis::summary(), OptoScanAnalysis::summary(), DaqScopeModeAnalysis::summary(), FastFedCablingAnalysis::summary(), PedsFullNoiseAnalysis::summary(), FastFedCablingHistosUsingDb::update(), and LatencyHistosUsingDb::update().
|
inline |
Sets FEC key (encodes control structure).
Definition at line 143 of file CommissioningAnalysis.h.
References fecKey_, and crabWrapper::key.
|
inline |
Returns FED key object (encodes readout structure).
Definition at line 136 of file CommissioningAnalysis.h.
References fedKey_.
Referenced by CommissioningHistosUsingDb::addDcuDetIds(), FastFedCablingHistosUsingDb::connections(), DaqScopeModeHistosUsingDb::create(), NoiseHistosUsingDb::create(), OptoScanHistosUsingDb::create(), PedestalsHistosUsingDb::create(), PedsFullNoiseHistosUsingDb::create(), PedsOnlyHistosUsingDb::create(), VpspScanHistosUsingDb::create(), ApvTimingHistosUsingDb::create(), LatencyHistosUsingDb::create(), FastFedCablingHistosUsingDb::create(), CalibrationHistosUsingDb::create(), FineDelayHistosUsingDb::create(), CommissioningHistograms::data(), ApvLatencyAlgorithm::extract(), FedTimingAlgorithm::extract(), CalibrationAlgorithm::extract(), SamplingAlgorithm::extract(), VpspScanAlgorithm::extract(), DaqScopeModeAlgorithm::extract(), FastFedCablingAlgorithm::extract(), NoiseAlgorithm::extract(), PedestalsAlgorithm::extract(), PedsOnlyAlgorithm::extract(), ApvTimingAlgorithm::extract(), OptoScanAlgorithm::extract(), PedsFullNoiseAlgorithm::extract(), FedCablingAlgorithm::extract(), FastFedCablingAnalysis::FastFedCablingAnalysis(), FastFedCablingAnalysis::header(), isValid(), PedsOnlyAnalysis::summary(), VpspScanAnalysis::summary(), NoiseAnalysis::summary(), PedestalsAnalysis::summary(), OptoScanAnalysis::summary(), DaqScopeModeAnalysis::summary(), summary(), FastFedCablingAnalysis::summary(), PedsFullNoiseAnalysis::summary(), PedsFullNoiseHistosUsingDb::update(), and FastFedCablingHistosUsingDb::update().
|
inline |
Sets FED key (encodes readout structure).
Definition at line 144 of file CommissioningAnalysis.h.
References fedKey_, and crabWrapper::key.
|
inline |
Returns error codes generated by analyses.
Definition at line 133 of file CommissioningAnalysis.h.
References errors_.
Referenced by DaqScopeModeHistosUsingDb::create(), NoiseHistosUsingDb::create(), OptoScanHistosUsingDb::create(), PedestalsHistosUsingDb::create(), PedsFullNoiseHistosUsingDb::create(), PedsOnlyHistosUsingDb::create(), VpspScanHistosUsingDb::create(), ApvTimingHistosUsingDb::create(), CalibrationHistosUsingDb::create(), FastFedCablingHistosUsingDb::create(), LatencyHistosUsingDb::create(), FineDelayHistosUsingDb::create(), DaqScopeModeAnalysis::foundTickMark(), ApvTimingAnalysis::foundTickMark(), DaqScopeModeAnalysis::frameFindingThreshold(), ApvTimingAnalysis::frameFindingThreshold(), PedestalsHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), PedsFullNoiseHistograms::histoAnalysis(), ApvTimingHistograms::histoAnalysis(), DaqScopeModeHistograms::histoAnalysis(), FastFedCablingHistograms::histoAnalysis(), NoiseHistograms::histoAnalysis(), OptoScanHistograms::histoAnalysis(), DaqScopeModeAnalysis::isValid(), NoiseAnalysis::isValid(), ApvTimingAnalysis::isValid(), PedestalsAnalysis::isValid(), PedsOnlyAnalysis::isValid(), VpspScanAnalysis::isValid(), OptoScanAnalysis::isValid(), PedsFullNoiseAnalysis::isValid(), FastFedCablingAnalysis::isValid(), FedCablingAnalysis::isValid(), isValid(), FedCablingAnalysis::print(), PedsOnlyAnalysis::print(), VpspScanAnalysis::print(), NoiseAnalysis::print(), PedestalsAnalysis::print(), OptoScanAnalysis::print(), DaqScopeModeAnalysis::print(), FastFedCablingAnalysis::print(), ApvTimingAnalysis::print(), and PedsFullNoiseAnalysis::print().
|
virtual |
Header information for analysis print().
Reimplemented in FastFedCablingAnalysis.
Definition at line 32 of file CommissioningAnalysis.cc.
References SiStripFecKey::ccuAddr(), SiStripFecKey::ccuChan(), dcuId_, TauDecayModes::dec, detId_, SiStripFecKey::fecCrate(), SiStripFedKey::feChan(), fecKey_, SiStripFecKey::fecRing(), SiStripFecKey::fecSlot(), SiStripFedKey::fedChannel(), SiStripFedKey::fedId(), fedKey_, SiStripFedKey::feUnit(), SiStripFecKey::lldChan(), and myName().
Referenced by isValid(), ApvLatencyAnalysis::print(), SamplingAnalysis::print(), FedTimingAnalysis::print(), FedCablingAnalysis::print(), PedsOnlyAnalysis::print(), VpspScanAnalysis::print(), NoiseAnalysis::print(), PedestalsAnalysis::print(), OptoScanAnalysis::print(), DaqScopeModeAnalysis::print(), ApvTimingAnalysis::print(), PedsFullNoiseAnalysis::print(), and CalibrationAnalysis::print().
|
inlinevirtual |
Identifies if analysis is valid or not.
Reimplemented in FastFedCablingAnalysis, FedCablingAnalysis, PedsFullNoiseAnalysis, ApvTimingAnalysis, NoiseAnalysis, OptoScanAnalysis, PedestalsAnalysis, PedsOnlyAnalysis, VpspScanAnalysis, and DaqScopeModeAnalysis.
Definition at line 46 of file CommissioningAnalysis.h.
References addErrorCode(), dcuId(), detId(), relativeConstraints::error, fecKey(), fedKey(), getErrorCodes(), header(), myName(), print(), reset(), setErrorCodes(), AlCaHLTBitMon_QueryRunRegistry::string, and summary().
Referenced by ntupleDataFormat._Object::_checkIsValid(), LatencyHistosUsingDb::create(), CalibrationHistosUsingDb::create(), FineDelayHistosUsingDb::create(), core.AutoHandle.AutoHandle::ReallyLoad(), and summary().
|
inline |
Returns object name.
Definition at line 141 of file CommissioningAnalysis.h.
References myName_.
Referenced by header(), FastFedCablingAnalysis::header(), isValid(), PedsOnlyAnalysis::print(), NoiseAnalysis::print(), PedestalsAnalysis::print(), OptoScanAnalysis::print(), DaqScopeModeAnalysis::print(), PedsFullNoiseAnalysis::print(), ApvTimingAnalysis::refTime(), PedsOnlyAnalysis::summary(), VpspScanAnalysis::summary(), NoiseAnalysis::summary(), PedestalsAnalysis::summary(), OptoScanAnalysis::summary(), DaqScopeModeAnalysis::summary(), summary(), FastFedCablingAnalysis::summary(), and PedsFullNoiseAnalysis::summary().
|
pure virtual |
Prints analysis results.
Implemented in CalibrationAnalysis, PedsFullNoiseAnalysis, ApvTimingAnalysis, FastFedCablingAnalysis, DaqScopeModeAnalysis, OptoScanAnalysis, NoiseAnalysis, PedestalsAnalysis, VpspScanAnalysis, PedsOnlyAnalysis, FedCablingAnalysis, FedTimingAnalysis, SamplingAnalysis, and ApvLatencyAnalysis.
Referenced by isValid().
|
pure virtual |
Resets analysis member data.
Implemented in CalibrationAnalysis, PedsFullNoiseAnalysis, FastFedCablingAnalysis, DaqScopeModeAnalysis, ApvTimingAnalysis, OptoScanAnalysis, NoiseAnalysis, PedestalsAnalysis, VpspScanAnalysis, PedsOnlyAnalysis, FedCablingAnalysis, FedTimingAnalysis, SamplingAnalysis, and ApvLatencyAnalysis.
Referenced by MatrixReader.MatrixReader::__init__(), CommissioningAlgorithm::analysis(), isValid(), and MatrixReader.MatrixReader::showRaw().
|
inline |
Sets error codes generated by analyses.
Definition at line 149 of file CommissioningAnalysis.h.
References benchmark_cfg::errors, and errors_.
Referenced by isValid().
|
virtual |
Navigate information for analysis print().
Reimplemented in PedsFullNoiseAnalysis, FastFedCablingAnalysis, DaqScopeModeAnalysis, OptoScanAnalysis, NoiseAnalysis, PedestalsAnalysis, VpspScanAnalysis, and PedsOnlyAnalysis.
Definition at line 102 of file CommissioningAnalysis.cc.
References SiStripFecKey::ccuAddr(), SiStripFecKey::ccuChan(), sistrip::controlView_, sistrip::dir_, sistrip::dqmRoot_, sistrip::EXPERT_HISTO, SiStripFecKey::fecCrate(), fecKey_, SiStripFecKey::fecRing(), SiStripFecKey::fecSlot(), sistrip::FED_KEY, fedKey(), isValid(), sistrip::LLD_CHAN, SiStripFecKey::lldChan(), myName(), callgraph::path, SiStripEnumsAndStrings::runType(), AlCaHLTBitMon_QueryRunRegistry::string, and fftjetcommon_cfi::title.
Referenced by isValid().
|
private |
DCU Id.
Definition at line 118 of file CommissioningAnalysis.h.
|
private |
|
private |
Error codes.
Definition at line 127 of file CommissioningAnalysis.h.
Referenced by addErrorCode(), getErrorCodes(), and setErrorCodes().
|
private |
FEC key object.
Definition at line 112 of file CommissioningAnalysis.h.
|
private |
FEC key object.
Definition at line 115 of file CommissioningAnalysis.h.
|
private |