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 38 of file CommissioningAnalysis.h.
typedef std::vector<float> CommissioningAnalysis::VFloat |
Definition at line 30 of file CommissioningAnalysis.h.
typedef std::vector<uint16_t> CommissioningAnalysis::VInt |
Definition at line 34 of file CommissioningAnalysis.h.
typedef std::vector<std::string> CommissioningAnalysis::VString |
Definition at line 42 of file CommissioningAnalysis.h.
typedef std::vector<VBool> CommissioningAnalysis::VVBool |
Definition at line 40 of file CommissioningAnalysis.h.
typedef std::vector<VFloat> CommissioningAnalysis::VVFloat |
Definition at line 32 of file CommissioningAnalysis.h.
typedef std::vector<VInt> CommissioningAnalysis::VVInt |
Definition at line 36 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 26 of file CommissioningAnalysis.h.
|
inlineprivate |
|
inlinevirtual |
Adds error codes generated by analyses.
Reimplemented in ApvTimingAnalysis, and DaqScopeModeAnalysis.
Definition at line 148 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(), CalibrationAlgorithm::extract(), SamplingAlgorithm::extract(), NoiseAlgorithm::extract(), PedsOnlyAlgorithm::extract(), FastFedCablingAlgorithm::extract(), PedestalsAlgorithm::extract(), ApvTimingAlgorithm::extract(), DaqScopeModeAlgorithm::extract(), PedsFullNoiseAlgorithm::extract(), OptoScanAlgorithm::extract(), FedCablingAlgorithm::extract(), and CalibrationScanAlgorithm::extract().
|
inline |
Returns DCU id.
Definition at line 136 of file CommissioningAnalysis.h.
References dcuId_.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), CommissioningHistosUsingDb::addDcuDetIds(), FastFedCablingHistosUsingDb::connections(), FastFedCablingHistosUsingDb::create(), FastFedCablingAnalysis::header(), and FastFedCablingHistosUsingDb::update().
|
inline |
|
inline |
Returns DetId.
Definition at line 137 of file CommissioningAnalysis.h.
References detId_.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), CommissioningHistosUsingDb::addDcuDetIds(), FastFedCablingHistosUsingDb::connections(), and FastFedCablingAnalysis::header().
|
inline |
|
inline |
Returns FEC key object (encodes control structure).
Definition at line 133 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(), CalibrationHistograms::save(), PedsOnlyAnalysis::summary(), VpspScanAnalysis::summary(), NoiseAnalysis::summary(), PedestalsAnalysis::summary(), OptoScanAnalysis::summary(), DaqScopeModeAnalysis::summary(), FastFedCablingAnalysis::summary(), PedsFullNoiseAnalysis::summary(), FastFedCablingHistosUsingDb::update(), and LatencyHistosUsingDb::update().
|
inline |
Sets FEC key (encodes control structure).
Definition at line 141 of file CommissioningAnalysis.h.
References fecKey_, and submitPVResolutionJobs::key.
|
inline |
Returns FED key object (encodes readout structure).
Definition at line 134 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(), CalibrationHistosUsingDb::create(), FastFedCablingHistosUsingDb::create(), FineDelayHistosUsingDb::create(), CommissioningHistograms::data(), ApvLatencyAlgorithm::extract(), FedTimingAlgorithm::extract(), CalibrationAlgorithm::extract(), SamplingAlgorithm::extract(), VpspScanAlgorithm::extract(), NoiseAlgorithm::extract(), PedestalsAlgorithm::extract(), PedsOnlyAlgorithm::extract(), ApvTimingAlgorithm::extract(), FastFedCablingAlgorithm::extract(), DaqScopeModeAlgorithm::extract(), OptoScanAlgorithm::extract(), PedsFullNoiseAlgorithm::extract(), FedCablingAlgorithm::extract(), CalibrationScanAlgorithm::extract(), FastFedCablingAnalysis::FastFedCablingAnalysis(), FastFedCablingAnalysis::header(), 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 142 of file CommissioningAnalysis.h.
References fedKey_, and submitPVResolutionJobs::key.
|
inline |
Returns error codes generated by analyses.
Definition at line 131 of file CommissioningAnalysis.h.
References errors_.
Referenced by DaqScopeModeHistosUsingDb::create(), NoiseHistosUsingDb::create(), OptoScanHistosUsingDb::create(), PedestalsHistosUsingDb::create(), PedsFullNoiseHistosUsingDb::create(), PedsOnlyHistosUsingDb::create(), VpspScanHistosUsingDb::create(), ApvTimingHistosUsingDb::create(), LatencyHistosUsingDb::create(), CalibrationHistosUsingDb::create(), FastFedCablingHistosUsingDb::create(), FineDelayHistosUsingDb::create(), DaqScopeModeAnalysis::foundTickMark(), ApvTimingAnalysis::foundTickMark(), DaqScopeModeAnalysis::frameFindingThreshold(), ApvTimingAnalysis::frameFindingThreshold(), PedsFullNoiseHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), ApvTimingHistograms::histoAnalysis(), DaqScopeModeHistograms::histoAnalysis(), FastFedCablingHistograms::histoAnalysis(), NoiseHistograms::histoAnalysis(), OptoScanHistograms::histoAnalysis(), PedestalsHistograms::histoAnalysis(), DaqScopeModeAnalysis::isValid(), OptoScanAnalysis::isValid(), PedestalsAnalysis::isValid(), PedsOnlyAnalysis::isValid(), VpspScanAnalysis::isValid(), ApvTimingAnalysis::isValid(), NoiseAnalysis::isValid(), PedsFullNoiseAnalysis::isValid(), FedCablingAnalysis::isValid(), FastFedCablingAnalysis::isValid(), FedCablingAnalysis::print(), PedsOnlyAnalysis::print(), VpspScanAnalysis::print(), PedestalsAnalysis::print(), NoiseAnalysis::print(), OptoScanAnalysis::print(), DaqScopeModeAnalysis::print(), ApvTimingAnalysis::print(), FastFedCablingAnalysis::print(), and PedsFullNoiseAnalysis::print().
|
virtual |
Header information for analysis print().
Reimplemented in FastFedCablingAnalysis.
Definition at line 33 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 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 47 of file CommissioningAnalysis.h.
Referenced by ntupleDataFormat._Object::_checkIsValid(), LatencyHistosUsingDb::create(), FineDelayHistosUsingDb::create(), core.AutoHandle.AutoHandle::ReallyLoad(), and summary().
|
inline |
Returns object name.
Definition at line 139 of file CommissioningAnalysis.h.
References myName_.
Referenced by FastFedCablingAnalysis::header(), header(), PedsOnlyAnalysis::print(), NoiseAnalysis::print(), PedestalsAnalysis::print(), OptoScanAnalysis::print(), DaqScopeModeAnalysis::print(), PedsFullNoiseAnalysis::print(), ApvTimingAnalysis::refTime(), PedsOnlyAnalysis::summary(), VpspScanAnalysis::summary(), PedestalsAnalysis::summary(), NoiseAnalysis::summary(), OptoScanAnalysis::summary(), DaqScopeModeAnalysis::summary(), FastFedCablingAnalysis::summary(), summary(), and PedsFullNoiseAnalysis::summary().
|
pure virtual |
Prints analysis results.
Implemented in CalibrationAnalysis, PedsFullNoiseAnalysis, CalibrationScanAnalysis, ApvTimingAnalysis, FastFedCablingAnalysis, DaqScopeModeAnalysis, OptoScanAnalysis, NoiseAnalysis, PedestalsAnalysis, VpspScanAnalysis, PedsOnlyAnalysis, FedCablingAnalysis, FedTimingAnalysis, SamplingAnalysis, and ApvLatencyAnalysis.
|
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(), and MatrixReader.MatrixReader::showRaw().
|
inline |
Sets error codes generated by analyses.
Definition at line 147 of file CommissioningAnalysis.h.
References errors_.
|
virtual |
Navigate information for analysis print().
Reimplemented in PedsFullNoiseAnalysis, FastFedCablingAnalysis, DaqScopeModeAnalysis, OptoScanAnalysis, NoiseAnalysis, PedestalsAnalysis, VpspScanAnalysis, and PedsOnlyAnalysis.
Definition at line 73 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(), fed_dqm_sourceclient-live_cfg::path, SiStripEnumsAndStrings::runType(), AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.
|
private |
DCU Id.
Definition at line 117 of file CommissioningAnalysis.h.
|
private |
|
private |
Error codes.
Definition at line 126 of file CommissioningAnalysis.h.
Referenced by addErrorCode(), getErrorCodes(), and setErrorCodes().
|
private |
FEC key object.
Definition at line 111 of file CommissioningAnalysis.h.
|
private |
FEC key object.
Definition at line 114 of file CommissioningAnalysis.h.
|
private |