Abstract base for derived classes that provide analysis of commissioning histograms. More...
#include <CommissioningAnalysis.h>
Public Types | |
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 |
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<bool> CommissioningAnalysis::VBool |
Definition at line 41 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 45 of file CommissioningAnalysis.h.
typedef std::vector<VBool> CommissioningAnalysis::VVBool |
Definition at line 43 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 155 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(), VpspScanAlgorithm::extract(), SamplingAlgorithm::extract(), CalibrationAlgorithm::extract(), ApvTimingAlgorithm::extract(), NoiseAlgorithm::extract(), PedestalsAlgorithm::extract(), FastFedCablingAlgorithm::extract(), PedsOnlyAlgorithm::extract(), DaqScopeModeAlgorithm::extract(), PedsFullNoiseAlgorithm::extract(), OptoScanAlgorithm::extract(), CalibrationScanAlgorithm::extract(), FedCablingAlgorithm::extract(), and isValid().
|
inline |
Returns DCU id.
Definition at line 143 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 144 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 140 of file CommissioningAnalysis.h.
References fecKey_.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), CommissioningHistosUsingDb::addDcuDetIds(), PedsFullNoiseAlgorithm::analyse(), FastFedCablingHistosUsingDb::connections(), DaqScopeModeHistosUsingDb::create(), VpspScanHistosUsingDb::create(), PedsOnlyHistosUsingDb::create(), NoiseHistosUsingDb::create(), OptoScanHistosUsingDb::create(), PedestalsHistosUsingDb::create(), PedsFullNoiseHistosUsingDb::create(), ApvTimingHistosUsingDb::create(), CalibrationHistosUsingDb::create(), FastFedCablingHistosUsingDb::create(), LatencyHistosUsingDb::create(), FineDelayHistosUsingDb::create(), CommissioningHistograms::data(), FastFedCablingAnalysis::FastFedCablingAnalysis(), FastFedCablingAnalysis::header(), FastFedCablingHistograms::histoAnalysis(), isValid(), CalibrationHistograms::save(), 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 148 of file CommissioningAnalysis.h.
References fecKey_, and crabWrapper::key.
|
inline |
Returns FED key object (encodes readout structure).
Definition at line 141 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(), FastFedCablingHistosUsingDb::create(), LatencyHistosUsingDb::create(), CalibrationHistosUsingDb::create(), FineDelayHistosUsingDb::create(), CommissioningHistograms::data(), ApvLatencyAlgorithm::extract(), FedTimingAlgorithm::extract(), SamplingAlgorithm::extract(), VpspScanAlgorithm::extract(), CalibrationAlgorithm::extract(), FastFedCablingAlgorithm::extract(), NoiseAlgorithm::extract(), PedestalsAlgorithm::extract(), PedsOnlyAlgorithm::extract(), ApvTimingAlgorithm::extract(), DaqScopeModeAlgorithm::extract(), OptoScanAlgorithm::extract(), PedsFullNoiseAlgorithm::extract(), CalibrationScanAlgorithm::extract(), FedCablingAlgorithm::extract(), FastFedCablingAnalysis::FastFedCablingAnalysis(), FastFedCablingAnalysis::header(), isValid(), PedsOnlyAnalysis::summary(), VpspScanAnalysis::summary(), PedestalsAnalysis::summary(), NoiseAnalysis::summary(), OptoScanAnalysis::summary(), DaqScopeModeAnalysis::summary(), FastFedCablingAnalysis::summary(), summary(), PedsFullNoiseAnalysis::summary(), PedsFullNoiseHistosUsingDb::update(), and FastFedCablingHistosUsingDb::update().
|
inline |
Sets FED key (encodes readout structure).
Definition at line 149 of file CommissioningAnalysis.h.
References fedKey_, and crabWrapper::key.
|
inline |
Returns error codes generated by analyses.
Definition at line 138 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(), CalibrationScanAnalysis::print(), PedsFullNoiseAnalysis::print(), and CalibrationAnalysis::print().
|
inlinevirtual |
Identifies if analysis is valid or not.
Reimplemented in CalibrationAnalysis, FastFedCablingAnalysis, FedCablingAnalysis, PedsFullNoiseAnalysis, CalibrationScanAnalysis, ApvTimingAnalysis, NoiseAnalysis, OptoScanAnalysis, PedestalsAnalysis, PedsOnlyAnalysis, VpspScanAnalysis, and DaqScopeModeAnalysis.
Definition at line 51 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(), FineDelayHistosUsingDb::create(), core.AutoHandle.AutoHandle::ReallyLoad(), and summary().
|
inline |
Returns object name.
Definition at line 146 of file CommissioningAnalysis.h.
References myName_.
Referenced by FastFedCablingAnalysis::header(), 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(), FastFedCablingAnalysis::summary(), summary(), and PedsFullNoiseAnalysis::summary().
|
pure virtual |
Prints analysis results.
Implemented in CalibrationAnalysis, PedsFullNoiseAnalysis, ApvTimingAnalysis, CalibrationScanAnalysis, 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, CalibrationScanAnalysis, 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 154 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 runGCPTkAlMap::title.
Referenced by isValid().
|
private |
DCU Id.
Definition at line 123 of file CommissioningAnalysis.h.
|
private |
|
private |
Error codes.
Definition at line 132 of file CommissioningAnalysis.h.
Referenced by addErrorCode(), getErrorCodes(), and setErrorCodes().
|
private |
FEC key object.
Definition at line 117 of file CommissioningAnalysis.h.
|
private |
FEC key object.
Definition at line 120 of file CommissioningAnalysis.h.
|
private |