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.
Definition at line 150 of file CommissioningAnalysis.h.
References errors_.
Referenced by ApvTimingAnalysis::addErrorCode(), ApvLatencyAlgorithm::analyse(), FedTimingAlgorithm::analyse(), VpspScanAlgorithm::analyse(), FastFedCablingAlgorithm::analyse(), PedestalsAlgorithm::analyse(), PedsOnlyAlgorithm::analyse(), NoiseAlgorithm::analyse(), OptoScanAlgorithm::analyse(), PedsFullNoiseAlgorithm::analyse(), FedCablingAlgorithm::analyse(), DaqScopeModeAlgorithm::analyse(), ApvLatencyAlgorithm::extract(), FedTimingAlgorithm::extract(), CalibrationAlgorithm::extract(), SamplingAlgorithm::extract(), VpspScanAlgorithm::extract(), ApvTimingAlgorithm::extract(), FastFedCablingAlgorithm::extract(), PedestalsAlgorithm::extract(), NoiseAlgorithm::extract(), PedsOnlyAlgorithm::extract(), PedsFullNoiseAlgorithm::extract(), OptoScanAlgorithm::extract(), FedCablingAlgorithm::extract(), and DaqScopeModeAlgorithm::extract().
|
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(), 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(), and FastFedCablingAnalysis::header().
|
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(), VpspScanHistosUsingDb::create(), NoiseHistosUsingDb::create(), OptoScanHistosUsingDb::create(), PedestalsHistosUsingDb::create(), PedsFullNoiseHistosUsingDb::create(), PedsOnlyHistosUsingDb::create(), ApvTimingHistosUsingDb::create(), FastFedCablingHistosUsingDb::create(), LatencyHistosUsingDb::create(), CalibrationHistosUsingDb::create(), FineDelayHistosUsingDb::create(), FastFedCablingAnalysis::FastFedCablingAnalysis(), FastFedCablingAnalysis::header(), FastFedCablingHistograms::histoAnalysis(), PedsOnlyAnalysis::summary(), VpspScanAnalysis::summary(), NoiseAnalysis::summary(), PedestalsAnalysis::summary(), OptoScanAnalysis::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 combine::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(), NoiseHistosUsingDb::create(), OptoScanHistosUsingDb::create(), PedestalsHistosUsingDb::create(), PedsFullNoiseHistosUsingDb::create(), PedsOnlyHistosUsingDb::create(), VpspScanHistosUsingDb::create(), ApvTimingHistosUsingDb::create(), LatencyHistosUsingDb::create(), CalibrationHistosUsingDb::create(), FastFedCablingHistosUsingDb::create(), FineDelayHistosUsingDb::create(), ApvLatencyAlgorithm::extract(), FedTimingAlgorithm::extract(), SamplingAlgorithm::extract(), VpspScanAlgorithm::extract(), CalibrationAlgorithm::extract(), NoiseAlgorithm::extract(), PedestalsAlgorithm::extract(), PedsOnlyAlgorithm::extract(), ApvTimingAlgorithm::extract(), FastFedCablingAlgorithm::extract(), OptoScanAlgorithm::extract(), PedsFullNoiseAlgorithm::extract(), FedCablingAlgorithm::extract(), DaqScopeModeAlgorithm::extract(), FastFedCablingAnalysis::FastFedCablingAnalysis(), FastFedCablingAnalysis::header(), PedsOnlyAnalysis::summary(), VpspScanAnalysis::summary(), NoiseAnalysis::summary(), PedestalsAnalysis::summary(), OptoScanAnalysis::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 combine::key.
|
inline |
Returns error codes generated by analyses.
Definition at line 133 of file CommissioningAnalysis.h.
References errors_.
Referenced by NoiseHistosUsingDb::create(), VpspScanHistosUsingDb::create(), OptoScanHistosUsingDb::create(), PedestalsHistosUsingDb::create(), PedsFullNoiseHistosUsingDb::create(), PedsOnlyHistosUsingDb::create(), ApvTimingHistosUsingDb::create(), LatencyHistosUsingDb::create(), CalibrationHistosUsingDb::create(), FastFedCablingHistosUsingDb::create(), FineDelayHistosUsingDb::create(), ApvTimingAnalysis::foundTickMark(), ApvTimingAnalysis::frameFindingThreshold(), ApvTimingHistograms::histoAnalysis(), FastFedCablingHistograms::histoAnalysis(), NoiseHistograms::histoAnalysis(), PedestalsHistograms::histoAnalysis(), PedsFullNoiseHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), OptoScanHistograms::histoAnalysis(), PedestalsAnalysis::isValid(), PedsOnlyAnalysis::isValid(), NoiseAnalysis::isValid(), VpspScanAnalysis::isValid(), OptoScanAnalysis::isValid(), ApvTimingAnalysis::isValid(), PedsFullNoiseAnalysis::isValid(), FedCablingAnalysis::isValid(), FastFedCablingAnalysis::isValid(), FedCablingAnalysis::print(), PedsOnlyAnalysis::print(), VpspScanAnalysis::print(), NoiseAnalysis::print(), PedestalsAnalysis::print(), OptoScanAnalysis::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_, 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(), DaqScopeModeAnalysis::print(), FedTimingAnalysis::print(), FedCablingAnalysis::print(), PedsOnlyAnalysis::print(), VpspScanAnalysis::print(), PedestalsAnalysis::print(), NoiseAnalysis::print(), OptoScanAnalysis::print(), ApvTimingAnalysis::print(), CalibrationAnalysis::print(), and PedsFullNoiseAnalysis::print().
|
inlinevirtual |
Identifies if analysis is valid or not.
Reimplemented in FastFedCablingAnalysis, FedCablingAnalysis, PedsFullNoiseAnalysis, ApvTimingAnalysis, NoiseAnalysis, OptoScanAnalysis, PedestalsAnalysis, PedsOnlyAnalysis, and VpspScanAnalysis.
Definition at line 46 of file CommissioningAnalysis.h.
Referenced by CalibrationHistosUsingDb::create(), LatencyHistosUsingDb::create(), FineDelayHistosUsingDb::create(), and summary().
|
inline |
Returns object name.
Definition at line 141 of file CommissioningAnalysis.h.
References myName_.
Referenced by header(), FastFedCablingAnalysis::header(), PedsOnlyAnalysis::print(), PedestalsAnalysis::print(), NoiseAnalysis::print(), OptoScanAnalysis::print(), PedsFullNoiseAnalysis::print(), ApvTimingAnalysis::refTime(), PedsOnlyAnalysis::summary(), VpspScanAnalysis::summary(), NoiseAnalysis::summary(), PedestalsAnalysis::summary(), OptoScanAnalysis::summary(), summary(), FastFedCablingAnalysis::summary(), and PedsFullNoiseAnalysis::summary().
|
pure virtual |
Prints analysis results.
Implemented in CalibrationAnalysis, PedsFullNoiseAnalysis, ApvTimingAnalysis, FastFedCablingAnalysis, OptoScanAnalysis, NoiseAnalysis, PedestalsAnalysis, VpspScanAnalysis, PedsOnlyAnalysis, FedCablingAnalysis, FedTimingAnalysis, DaqScopeModeAnalysis, SamplingAnalysis, and ApvLatencyAnalysis.
|
pure virtual |
Resets analysis member data.
Implemented in PedsFullNoiseAnalysis, FastFedCablingAnalysis, CalibrationAnalysis, ApvTimingAnalysis, OptoScanAnalysis, NoiseAnalysis, PedestalsAnalysis, VpspScanAnalysis, PedsOnlyAnalysis, FedCablingAnalysis, FedTimingAnalysis, DaqScopeModeAnalysis, SamplingAnalysis, and ApvLatencyAnalysis.
Referenced by MatrixReader.MatrixReader::__init__(), CommissioningAlgorithm::analysis(), 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_.
|
virtual |
Navigate information for analysis print().
Reimplemented in PedsFullNoiseAnalysis, FastFedCablingAnalysis, 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(), getHLTPrescaleColumns::path, SiStripEnumsAndStrings::runType(), AlCaHLTBitMon_QueryRunRegistry::string, and indexGen::title.
|
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 |