#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) |
virtual | ~CommissioningHistograms () |
Static Public Member Functions | |
static void | copyCustomInformation (DQMStore *const, const std::vector< std::string > &) |
static void | getContents (DQMStore *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 () |
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::auto_ptr< Factory > | factory_ |
Private Attributes | |
DQMStore * | bei_ |
Analyses | data_ |
HistosMap | histos_ |
FedToFecMap | mapping_ |
edm::ParameterSet | pset_ |
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 43 of file CommissioningHistograms.cc.
References LogTrace, and sistrip::mlDqmClient_.
|
virtual |
Definition at line 57 of file CommissioningHistograms.cc.
References clearHistosMap(), LogTrace, and sistrip::mlDqmClient_.
|
inlineprotected |
|
protected |
Definition at line 555 of file CommissioningHistograms.cc.
References histos_, LogTrace, and sistrip::mlDqmClient_.
Referenced by CommissioningHistograms(), and ~CommissioningHistograms().
|
inlinevirtual |
Reimplemented in 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 247 of file CommissioningHistograms.cc.
References sistrip::dir_, MonitorElement::DQM_KIND_INT, HcalObjRepresent::Fill(), sistrip::mlDqmClient_, fed_dqm_sourceclient-live_cfg::path, SiStripKey::path(), pickleFileParser::slash, AlCaHLTBitMon_QueryRunRegistry::string, indexGen::title, and relativeConstraints::value.
Referenced by SiStripCommissioningOfflineClient::beginRun().
void CommissioningHistograms::createCollations | ( | const std::vector< std::string > & | ) |
|
virtual |
Reimplemented in FedCablingHistograms, DaqScopeModeHistograms, and FedTimingHistograms.
Definition at line 572 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_, edmLumisInFiles::summary, sistrip::UNKNOWN_VIEW, SiStripEnumsAndStrings::view(), and fw3dlego::xbins.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
inlineprotected |
Definition at line 164 of file CommissioningHistograms.h.
References data_.
Referenced by cuy.FindIssue::__init__(), FastFedCablingHistosUsingDb::addDcuDetIds(), CommissioningHistosUsingDb::addDcuDetIds(), FineDelayHistosUsingDb::computeDelays(), FastFedCablingHistosUsingDb::connections(), CommissioningHistosUsingDb::createAnalyses(), createSummaryHisto(), NoiseHistograms::histoAnalysis(), PedsFullNoiseHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), ApvTimingHistograms::histoAnalysis(), OptoScanHistograms::histoAnalysis(), PedestalsHistograms::histoAnalysis(), FastFedCablingHistograms::histoAnalysis(), SamplingHistograms::histoAnalysis(), CalibrationHistograms::histoAnalysis(), FastFedCablingHistograms::printAnalyses(), PedsFullNoiseHistograms::printAnalyses(), PedsOnlyHistograms::printAnalyses(), NoiseHistograms::printAnalyses(), VpspScanHistograms::printAnalyses(), OptoScanHistograms::printAnalyses(), PedestalsHistograms::printAnalyses(), CalibrationHistograms::printAnalyses(), printAnalyses(), FastFedCablingHistograms::printSummary(), printSummary(), NoiseHistosUsingDb::update(), PedsFullNoiseHistosUsingDb::update(), VpspScanHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), OptoScanHistosUsingDb::update(), PedsOnlyHistosUsingDb::update(), PedestalsHistosUsingDb::update(), FastFedCablingHistosUsingDb::update(), and LatencyHistosUsingDb::update().
void CommissioningHistograms::extractHistograms | ( | const std::vector< std::string > & | contents | ) |
Definition at line 314 of file CommissioningHistograms.cc.
References sistrip::APV, bei_, sistrip::collate_, sistrip::CONTROL_VIEW, sistrip::DETECTOR_VIEW, sistrip::dir_, SiStripKey::granularity(), timingPdfMaker::histo, histos_, sistrip::invalid32_, sistrip::invalid_, SiStripKey::key(), relval_steps::key, SiStripFecKey::lldChan(), LogTrace, mapping_, CommissioningHistograms::Histo::me_, sistrip::mlDqmClient_, fed_dqm_sourceclient-live_cfg::path, sistrip::READOUT_VIEW, edm::second(), pickleFileParser::slash, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, indexGen::title, CommissioningHistograms::Histo::title_, sistrip::UNDEFINED_GRAN, sistrip::undefinedView_, sistrip::UNKNOWN_GRAN, and SiStripEnumsAndStrings::view().
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
inlineprotected |
Definition at line 165 of file CommissioningHistograms.h.
References factory_.
Referenced by createSummaryHisto().
|
static |
Retrieves list of histograms in form of strings.
Definition at line 241 of file CommissioningHistograms.cc.
|
virtual |
Reimplemented in FedCablingHistograms, DaqScopeModeHistograms, FedTimingHistograms, CalibrationHistograms, SamplingHistograms, ApvTimingHistograms, FastFedCablingHistograms, NoiseHistograms, OptoScanHistograms, PedestalsHistograms, PedsFullNoiseHistograms, PedsOnlyHistograms, and VpspScanHistograms.
Definition at line 480 of file CommissioningHistograms.cc.
References LogTrace, and sistrip::mlDqmClient_.
Referenced by SiStripCommissioningOfflineClient::beginRun(), and createSummaryHisto().
|
protected |
Definition at line 717 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, hlt_dqm_clientPB-live_cfg::me, sistrip::mlDqmClient_, SummaryGenerator::name(), mergeVDriftHistosByStation::name, SiStripEnumsAndStrings::presentation(), sistrip::PROFILE_1D, alignCSCRings::pwd, AlCaHLTBitMon_QueryRunRegistry::string, edmLumisInFiles::summary, task_, sistrip::valid_, and fw3dlego::xbins.
Referenced by FedTimingHistograms::createSummaryHisto(), DaqScopeModeHistograms::createSummaryHisto(), FedCablingHistograms::createSummaryHisto(), and createSummaryHisto().
|
inlineprotected |
Definition at line 166 of file CommissioningHistograms.h.
References histos_.
Referenced by cuy.ValElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), OptoScanHistograms::histoAnalysis(), NoiseHistograms::histoAnalysis(), PedsFullNoiseHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), PedestalsHistograms::histoAnalysis(), ApvTimingHistograms::histoAnalysis(), FastFedCablingHistograms::histoAnalysis(), SamplingHistograms::histoAnalysis(), CalibrationHistograms::histoAnalysis(), and FedCablingHistograms::histoAnalysis().
|
inlineprotected |
Definition at line 167 of file CommissioningHistograms.h.
References mapping_.
Referenced by FastFedCablingHistograms::histoAnalysis().
|
virtual |
Reimplemented in FedCablingHistograms, CalibrationHistograms, FastFedCablingHistograms, NoiseHistograms, OptoScanHistograms, PedestalsHistograms, PedsFullNoiseHistograms, PedsOnlyHistograms, and VpspScanHistograms.
Definition at line 488 of file CommissioningHistograms.cc.
References data(), LogTrace, sistrip::mlDqmClient_, and contentValuesCheck::ss.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
protected |
Definition at line 533 of file CommissioningHistograms.cc.
References histos_, LogTrace, sistrip::mlDqmClient_, SiStripFedKey::print(), and contentValuesCheck::ss.
|
virtual |
Reimplemented in FastFedCablingHistograms.
Definition at line 503 of file CommissioningHistograms.cc.
References data(), LogTrace, and sistrip::mlDqmClient_.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
inlineprotected |
Definition at line 168 of file CommissioningHistograms.h.
References pset_.
Referenced by ApvTimingHistosUsingDb::ApvTimingHistosUsingDb(), FineDelayHistosUsingDb::configure(), LatencyHistosUsingDb::configure(), NoiseHistograms::histoAnalysis(), PedsFullNoiseHistograms::histoAnalysis(), FastFedCablingHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), ApvTimingHistograms::histoAnalysis(), OptoScanHistograms::histoAnalysis(), PedestalsHistograms::histoAnalysis(), SamplingHistograms::histoAnalysis(), CalibrationHistograms::histoAnalysis(), FedCablingHistograms::histoAnalysis(), OptoScanHistosUsingDb::OptoScanHistosUsingDb(), PedestalsHistosUsingDb::PedestalsHistosUsingDb(), and PedsFullNoiseHistosUsingDb::PedsFullNoiseHistosUsingDb().
void CommissioningHistograms::remove | ( | std::string | pattern = "" | ) |
Definition at line 612 of file CommissioningHistograms.cc.
References bei_, LogTrace, and sistrip::mlDqmClient_.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
static |
Definition at line 82 of file CommissioningHistograms.cc.
References sistrip::collate_, TauDecayModes::dec, sistrip::dir_, LogTrace, sistrip::mlDqmClient_, fed_dqm_sourceclient-live_cfg::path, SiStripKey::path(), DTTTrigCorrFirst::run, sistrip::runNumber_, pickleFileParser::slash, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, indexGen::title, and relativeConstraints::value.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
static |
Extract run type string from "added contents".
Definition at line 157 of file CommissioningHistograms.cc.
References sistrip::collate_, sistrip::dir_, LogTrace, sistrip::mlDqmClient_, fed_dqm_sourceclient-live_cfg::path, SiStripKey::path(), SiStripEnumsAndStrings::runType(), pickleFileParser::slash, AlCaHLTBitMon_QueryRunRegistry::string, sistrip::taskId_, indexGen::title, sistrip::UNKNOWN_RUN_TYPE, and relativeConstraints::value.
Referenced by SiStripCommissioningOfflineClient::beginRun().
void CommissioningHistograms::save | ( | std::string & | filename, |
uint32_t | run_number = 0 |
||
) |
Definition at line 670 of file CommissioningHistograms.cc.
References bei_, sistrip::collate_, dir, sistrip::dqmClientFileName_, LogTrace, sistrip::mlDqmClient_, NULL, fed_dqm_sourceclient-live_cfg::path, contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by Vispa.Main.TabController.TabController::allowClose(), SiStripCommissioningOfflineClient::beginRun(), and Vispa.Main.TabController.TabController::checkModificationTimestamp().
|
inlineprotected |
Definition at line 162 of file CommissioningHistograms.h.
References task_.
Referenced by CalibrationHistograms::histoAnalysis().
|
private |
Definition at line 148 of file CommissioningHistograms.h.
Referenced by bei(), CommissioningHistograms(), extractHistograms(), histogram(), remove(), and save().
|
private |
Definition at line 150 of file CommissioningHistograms.h.
Referenced by data().
|
protected |
Definition at line 142 of file CommissioningHistograms.h.
Referenced by ApvTimingHistograms::ApvTimingHistograms(), CalibrationHistograms::CalibrationHistograms(), factory(), FastFedCablingHistograms::FastFedCablingHistograms(), NoiseHistograms::NoiseHistograms(), OptoScanHistograms::OptoScanHistograms(), PedestalsHistograms::PedestalsHistograms(), PedsFullNoiseHistograms::PedsFullNoiseHistograms(), PedsOnlyHistograms::PedsOnlyHistograms(), SamplingHistograms::SamplingHistograms(), and VpspScanHistograms::VpspScanHistograms().
|
private |
Definition at line 152 of file CommissioningHistograms.h.
Referenced by clearHistosMap(), extractHistograms(), histos(), and printHistosMap().
|
private |
Definition at line 154 of file CommissioningHistograms.h.
Referenced by extractHistograms(), and mapping().
|
private |
Definition at line 156 of file CommissioningHistograms.h.
Referenced by pset().
|
private |
Definition at line 146 of file CommissioningHistograms.h.
Referenced by histogram(), and task().