#include <CommissioningHistograms.h>
Classes | |
class | Histo |
Public Types | |
typedef std::map< uint32_t, CommissioningAnalysis * > | Analyses |
typedef Analyses::iterator | Analysis |
typedef SummaryPlotFactory< CommissioningAnalysis * > | Factory |
typedef std::map< uint32_t, uint32_t > | FedToFecMap |
typedef std::vector< Histo * > | Histos |
typedef std::map< uint32_t, Histos > | HistosMap |
Public Member Functions | |
CommissioningHistograms (const edm::ParameterSet &pset, DQMStore *const, const sistrip::RunType &) | |
CommissioningHistograms () | |
virtual void | configure (const edm::ParameterSet &, const edm::EventSetup &) |
void | createCollations (const std::vector< std::string > &) |
virtual void | createSummaryHisto (const sistrip::Monitorable &, const sistrip::Presentation &, const std::string &top_level_dir, const sistrip::Granularity &) |
void | extractHistograms (const std::vector< std::string > &) |
virtual void | histoAnalysis (bool debug) |
virtual void | printAnalyses () |
virtual void | printSummary () |
void | remove (std::string pattern="") |
void | save (std::string &filename, uint32_t run_number=0, std::string partitionName="") |
virtual | ~CommissioningHistograms () |
Static Public Member Functions | |
static void | copyCustomInformation (DQMStore *const, const std::vector< std::string > &) |
static uint32_t | runNumber (DQMStore *const, const std::vector< std::string > &) |
static sistrip::RunType | runType (DQMStore *const, const std::vector< std::string > &) |
Protected Member Functions | |
DQMStore *const | bei () const |
void | clearHistosMap () |
Analyses & | data (bool getMaskedData=false) |
Factory *const | factory () |
TH1 * | histogram (const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &directory, const uint32_t &xbins, const float &xlow=1.*sistrip::invalid_, const float &xhigh=1.*sistrip::invalid_) |
const HistosMap & | histos () const |
const FedToFecMap & | mapping () const |
void | printHistosMap () |
const edm::ParameterSet & | pset () const |
const sistrip::RunType & | task () const |
Protected Attributes | |
std::unique_ptr< Factory > | factory_ |
Private Attributes | |
DQMStore * | bei_ |
std::vector< uint32_t > | ccuVector_ |
Analyses | data_ |
Analyses | dataWithMask_ |
bool | dataWithMaskCached_ |
std::vector< uint32_t > | fecMaskVector_ |
std::vector< uint32_t > | fedMaskVector_ |
HistosMap | histos_ |
std::vector< uint32_t > | i2cChanVector_ |
std::vector< uint32_t > | lldChanVector_ |
FedToFecMap | mapping_ |
bool | mask_ |
edm::ParameterSet | pset_ |
std::vector< uint32_t > | ringVector_ |
sistrip::RunType | task_ |
Definition at line 25 of file CommissioningHistograms.h.
typedef std::map<uint32_t,CommissioningAnalysis*> CommissioningHistograms::Analyses |
Definition at line 59 of file CommissioningHistograms.h.
typedef Analyses::iterator CommissioningHistograms::Analysis |
Definition at line 61 of file CommissioningHistograms.h.
Definition at line 63 of file CommissioningHistograms.h.
typedef std::map<uint32_t,uint32_t> CommissioningHistograms::FedToFecMap |
Definition at line 69 of file CommissioningHistograms.h.
typedef std::vector<Histo*> CommissioningHistograms::Histos |
Definition at line 65 of file CommissioningHistograms.h.
typedef std::map<uint32_t,Histos> CommissioningHistograms::HistosMap |
Definition at line 67 of file CommissioningHistograms.h.
CommissioningHistograms::CommissioningHistograms | ( | const edm::ParameterSet & | pset, |
DQMStore * const | bei, | ||
const sistrip::RunType & | task | ||
) |
Definition at line 17 of file CommissioningHistograms.cc.
References bei_, clearHistosMap(), LogTrace, and sistrip::mlDqmClient_.
CommissioningHistograms::CommissioningHistograms | ( | ) |
Definition at line 52 of file CommissioningHistograms.cc.
References LogTrace, and sistrip::mlDqmClient_.
|
virtual |
Definition at line 69 of file CommissioningHistograms.cc.
References clearHistosMap(), LogTrace, and sistrip::mlDqmClient_.
|
inlineprotected |
Definition at line 172 of file CommissioningHistograms.h.
References bei_.
Referenced by CalibrationHistograms::save().
|
protected |
Definition at line 561 of file CommissioningHistograms.cc.
References histos_, LogTrace, and sistrip::mlDqmClient_.
Referenced by CommissioningHistograms(), and ~CommissioningHistograms().
|
inlinevirtual |
Reimplemented in CommissioningHistosUsingDb, FineDelayHistosUsingDb, LatencyHistosUsingDb, and SamplingHistograms.
Definition at line 40 of file CommissioningHistograms.h.
Referenced by SiStripCommissioningOfflineDbClient::createHistos(), and SiStripCommissioningOfflineClient::createHistos().
|
static |
Extracts custom information from list of MonitorElements.
Definition at line 253 of file CommissioningHistograms.cc.
References sistrip::dir_, MonitorElement::DQM_KIND_INT, HcalObjRepresent::Fill(), sistrip::mlDqmClient_, callgraph::path, SiStripKey::path(), pickleFileParser::slash, AlCaHLTBitMon_QueryRunRegistry::string, and fftjetcommon_cfi::title.
Referenced by SiStripCommissioningOfflineClient::beginRun().
void CommissioningHistograms::createCollations | ( | const std::vector< std::string > & | ) |
|
virtual |
Reimplemented in FedCablingHistograms, and FedTimingHistograms.
Definition at line 578 of file CommissioningHistograms.cc.
References data(), relativeConstraints::empty, factory(), sistrip::FED_ADC_RANGE, SummaryPlotFactory< CommissioningAnalysis * >::fill(), sistrip::HISTO_1D, histoAnalysis(), histogram(), SummaryPlotFactory< CommissioningAnalysis * >::init(), LogTrace, sistrip::mlDqmClient_, heppy_report::summary, sistrip::UNKNOWN_VIEW, SiStripEnumsAndStrings::view(), and fw3dlego::xbins.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
protected |
Definition at line 812 of file CommissioningHistograms.cc.
References SiStripFecKey::ccuAddr(), SiStripFecKey::ccuChan(), ccuVector_, data_, dataWithMask_, dataWithMaskCached_, CommissioningAnalysis::fecKey(), fecMaskVector_, SiStripFecKey::fecRing(), SiStripFecKey::fecSlot(), SiStripFedKey::fedId(), CommissioningAnalysis::fedKey(), fedMaskVector_, mps_fire::i, i2cChanVector_, SiStripFecKey::lldChan(), lldChanVector_, mask_, and ringVector_.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), CommissioningHistosUsingDb::addDcuDetIds(), FineDelayHistosUsingDb::computeDelays(), FastFedCablingHistosUsingDb::connections(), CommissioningHistosUsingDb::createAnalyses(), createSummaryHisto(), PedestalsHistograms::histoAnalysis(), DaqScopeModeHistograms::histoAnalysis(), PedsFullNoiseHistograms::histoAnalysis(), FastFedCablingHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), NoiseHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), ApvTimingHistograms::histoAnalysis(), OptoScanHistograms::histoAnalysis(), SamplingHistograms::histoAnalysis(), CalibrationHistograms::histoAnalysis(), OptoScanHistograms::printAnalyses(), PedestalsHistograms::printAnalyses(), FastFedCablingHistograms::printAnalyses(), DaqScopeModeHistograms::printAnalyses(), PedsFullNoiseHistograms::printAnalyses(), PedsOnlyHistograms::printAnalyses(), VpspScanHistograms::printAnalyses(), NoiseHistograms::printAnalyses(), CalibrationHistograms::printAnalyses(), printAnalyses(), FastFedCablingHistograms::printSummary(), printSummary(), CalibrationHistograms::save(), DaqScopeModeHistosUsingDb::update(), VpspScanHistosUsingDb::update(), PedsOnlyHistosUsingDb::update(), OptoScanHistosUsingDb::update(), PedsFullNoiseHistosUsingDb::update(), NoiseHistosUsingDb::update(), PedestalsHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), FastFedCablingHistosUsingDb::update(), LatencyHistosUsingDb::update(), and CalibrationHistosUsingDb::update().
void CommissioningHistograms::extractHistograms | ( | const std::vector< std::string > & | contents | ) |
Definition at line 320 of file CommissioningHistograms.cc.
References sistrip::APV, bei_, sistrip::collate_, sistrip::CONTROL_VIEW, sistrip::DETECTOR_VIEW, sistrip::dir_, SiStripKey::granularity(), trackerHits::histo, histos_, sistrip::invalid32_, sistrip::invalid_, crabWrapper::key, SiStripKey::key(), SiStripFecKey::lldChan(), LogTrace, mapping_, CommissioningHistograms::Histo::me_, sistrip::mlDqmClient_, callgraph::path, sistrip::READOUT_VIEW, edm::second(), pickleFileParser::slash, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, fftjetcommon_cfi::title, CommissioningHistograms::Histo::title_, sistrip::UNDEFINED_GRAN, sistrip::undefinedView_, sistrip::UNKNOWN_GRAN, and SiStripEnumsAndStrings::view().
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
inlineprotected |
Definition at line 173 of file CommissioningHistograms.h.
References factory_.
Referenced by createSummaryHisto().
|
virtual |
Reimplemented in FedCablingHistograms, FedTimingHistograms, CalibrationHistograms, SamplingHistograms, ApvTimingHistograms, DaqScopeModeHistograms, FastFedCablingHistograms, NoiseHistograms, OptoScanHistograms, PedestalsHistograms, PedsFullNoiseHistograms, PedsOnlyHistograms, and VpspScanHistograms.
Definition at line 486 of file CommissioningHistograms.cc.
References LogTrace, and sistrip::mlDqmClient_.
Referenced by SiStripCommissioningOfflineClient::beginRun(), and createSummaryHisto().
|
protected |
Definition at line 729 of file CommissioningHistograms.cc.
References bei_, sistrip::collate_, sistrip::dir_, extract(), sistrip::FED_ADC_RANGE, MonitorElement::getName(), sistrip::HISTO_1D, sistrip::HISTO_2D_SCATTER, sistrip::HISTO_2D_SUM, LogTrace, sistrip::mlDqmClient_, SummaryGenerator::name(), dataset::name, SiStripEnumsAndStrings::presentation(), sistrip::PROFILE_1D, alignCSCRings::pwd, AlCaHLTBitMon_QueryRunRegistry::string, heppy_report::summary, task_, sistrip::valid_, and fw3dlego::xbins.
Referenced by FedTimingHistograms::createSummaryHisto(), FedCablingHistograms::createSummaryHisto(), and createSummaryHisto().
|
inlineprotected |
Definition at line 174 of file CommissioningHistograms.h.
References histos_.
Referenced by ApvTimingHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), FastFedCablingHistograms::histoAnalysis(), PedestalsHistograms::histoAnalysis(), PedsFullNoiseHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), OptoScanHistograms::histoAnalysis(), NoiseHistograms::histoAnalysis(), DaqScopeModeHistograms::histoAnalysis(), SamplingHistograms::histoAnalysis(), CalibrationHistograms::histoAnalysis(), and FedCablingHistograms::histoAnalysis().
|
inlineprotected |
Definition at line 175 of file CommissioningHistograms.h.
References mapping_.
Referenced by FastFedCablingHistograms::histoAnalysis().
|
virtual |
Reimplemented in FedCablingHistograms, CalibrationHistograms, DaqScopeModeHistograms, FastFedCablingHistograms, NoiseHistograms, OptoScanHistograms, PedestalsHistograms, PedsFullNoiseHistograms, PedsOnlyHistograms, and VpspScanHistograms.
Definition at line 494 of file CommissioningHistograms.cc.
References data(), LogTrace, and sistrip::mlDqmClient_.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
protected |
Definition at line 539 of file CommissioningHistograms.cc.
References histos_, LogTrace, sistrip::mlDqmClient_, and SiStripFedKey::print().
|
virtual |
Reimplemented in FastFedCablingHistograms.
Definition at line 509 of file CommissioningHistograms.cc.
References data(), LogTrace, and sistrip::mlDqmClient_.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
inlineprotected |
Definition at line 176 of file CommissioningHistograms.h.
References pset_.
Referenced by ApvTimingHistosUsingDb::ApvTimingHistosUsingDb(), CalibrationHistograms::CalibrationHistograms(), CalibrationHistosUsingDb::CalibrationHistosUsingDb(), FineDelayHistosUsingDb::configure(), LatencyHistosUsingDb::configure(), DaqScopeModeHistosUsingDb::DaqScopeModeHistosUsingDb(), ApvTimingHistograms::histoAnalysis(), OptoScanHistograms::histoAnalysis(), DaqScopeModeHistograms::histoAnalysis(), PedestalsHistograms::histoAnalysis(), FastFedCablingHistograms::histoAnalysis(), PedsFullNoiseHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), NoiseHistograms::histoAnalysis(), SamplingHistograms::histoAnalysis(), CalibrationHistograms::histoAnalysis(), FedCablingHistograms::histoAnalysis(), OptoScanHistosUsingDb::OptoScanHistosUsingDb(), PedestalsHistosUsingDb::PedestalsHistosUsingDb(), PedsFullNoiseHistosUsingDb::PedsFullNoiseHistosUsingDb(), and VpspScanHistosUsingDb::VpspScanHistosUsingDb().
void CommissioningHistograms::remove | ( | std::string | pattern = "" | ) |
Definition at line 618 of file CommissioningHistograms.cc.
References bei_, LogTrace, and sistrip::mlDqmClient_.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
static |
Definition at line 94 of file CommissioningHistograms.cc.
References sistrip::collate_, TauDecayModes::dec, sistrip::dir_, LogTrace, sistrip::mlDqmClient_, callgraph::path, SiStripKey::path(), writedatasetfile::run, sistrip::runNumber_, pickleFileParser::slash, AlCaHLTBitMon_QueryRunRegistry::string, fftjetcommon_cfi::title, and relativeConstraints::value.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
static |
Extract run type string from "added contents".
Definition at line 169 of file CommissioningHistograms.cc.
References sistrip::collate_, sistrip::dir_, LogTrace, sistrip::mlDqmClient_, callgraph::path, SiStripKey::path(), SiStripEnumsAndStrings::runType(), pickleFileParser::slash, AlCaHLTBitMon_QueryRunRegistry::string, sistrip::taskId_, fftjetcommon_cfi::title, sistrip::UNKNOWN_RUN_TYPE, and relativeConstraints::value.
Referenced by SiStripCommissioningOfflineClient::beginRun().
void CommissioningHistograms::save | ( | std::string & | filename, |
uint32_t | run_number = 0 , |
||
std::string | partitionName = "" |
||
) |
Definition at line 676 of file CommissioningHistograms.cc.
References bei_, sistrip::collate_, dir, sistrip::dqmClientFileName_, LogTrace, sistrip::mlDqmClient_, callgraph::path, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by Vispa.Main.TabController.TabController::allowClose(), SiStripCommissioningOfflineClient::beginRun(), and Vispa.Main.TabController.TabController::checkModificationTimestamp().
|
inlineprotected |
Definition at line 171 of file CommissioningHistograms.h.
References task_.
Referenced by CalibrationHistosUsingDb::create(), CalibrationHistograms::histoAnalysis(), CalibrationHistosUsingDb::update(), and CalibrationHistosUsingDb::uploadConfigurations().
|
private |
Definition at line 146 of file CommissioningHistograms.h.
Referenced by bei(), CommissioningHistograms(), extractHistograms(), histogram(), remove(), and save().
|
private |
Definition at line 160 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 148 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 164 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 165 of file CommissioningHistograms.h.
Referenced by data().
|
protected |
Definition at line 140 of file CommissioningHistograms.h.
Referenced by ApvTimingHistograms::ApvTimingHistograms(), CalibrationHistograms::CalibrationHistograms(), DaqScopeModeHistograms::DaqScopeModeHistograms(), factory(), FastFedCablingHistograms::FastFedCablingHistograms(), NoiseHistograms::NoiseHistograms(), OptoScanHistograms::OptoScanHistograms(), PedestalsHistograms::PedestalsHistograms(), PedsFullNoiseHistograms::PedsFullNoiseHistograms(), PedsOnlyHistograms::PedsOnlyHistograms(), SamplingHistograms::SamplingHistograms(), and VpspScanHistograms::VpspScanHistograms().
|
private |
Definition at line 158 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 157 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 150 of file CommissioningHistograms.h.
Referenced by clearHistosMap(), extractHistograms(), histos(), and printHistosMap().
|
private |
Definition at line 161 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 162 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 152 of file CommissioningHistograms.h.
Referenced by extractHistograms(), and mapping().
|
private |
Definition at line 156 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 154 of file CommissioningHistograms.h.
Referenced by pset().
|
private |
Definition at line 159 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 144 of file CommissioningHistograms.h.
Referenced by histogram(), and task().