#include <CommissioningHistograms.h>
Classes | |
class | Histo |
Public Types | |
typedef std::map< uint32_t, CommissioningAnalysis * > | Analyses |
typedef Analyses::iterator | Analysis |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef SummaryPlotFactory< CommissioningAnalysis * > | Factory |
typedef std::map< uint32_t, uint32_t > | FedToFecMap |
typedef std::vector< Histo * > | Histos |
typedef std::map< uint32_t, Histos > | HistosMap |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Public Member Functions | |
CommissioningHistograms () | |
CommissioningHistograms (const edm::ParameterSet &pset, DQMStore *const, const sistrip::RunType &) | |
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 23 of file CommissioningHistograms.h.
typedef std::map<uint32_t, CommissioningAnalysis*> CommissioningHistograms::Analyses |
Definition at line 56 of file CommissioningHistograms.h.
typedef Analyses::iterator CommissioningHistograms::Analysis |
Definition at line 58 of file CommissioningHistograms.h.
Definition at line 27 of file CommissioningHistograms.h.
Definition at line 60 of file CommissioningHistograms.h.
typedef std::map<uint32_t, uint32_t> CommissioningHistograms::FedToFecMap |
Definition at line 66 of file CommissioningHistograms.h.
typedef std::vector<Histo*> CommissioningHistograms::Histos |
Definition at line 62 of file CommissioningHistograms.h.
typedef std::map<uint32_t, Histos> CommissioningHistograms::HistosMap |
Definition at line 64 of file CommissioningHistograms.h.
Definition at line 26 of file CommissioningHistograms.h.
CommissioningHistograms::CommissioningHistograms | ( | const edm::ParameterSet & | pset, |
DQMStore * const | bei, | ||
const sistrip::RunType & | task | ||
) |
Definition at line 16 of file CommissioningHistograms.cc.
References bei_, clearHistosMap(), LogTrace, and sistrip::mlDqmClient_.
CommissioningHistograms::CommissioningHistograms | ( | ) |
Definition at line 60 of file CommissioningHistograms.cc.
References LogTrace, and sistrip::mlDqmClient_.
|
virtual |
Definition at line 75 of file CommissioningHistograms.cc.
References clearHistosMap(), LogTrace, and sistrip::mlDqmClient_.
|
inlineprotected |
Definition at line 159 of file CommissioningHistograms.h.
References bei_.
Referenced by copyCustomInformation(), runNumber(), runType(), SamplingHistograms::SamplingHistograms(), and CalibrationHistograms::save().
|
protected |
Definition at line 541 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 37 of file CommissioningHistograms.h.
Referenced by SiStripCommissioningOfflineDbClient::createHistos(), and SiStripCommissioningOfflineClient::createHistos().
|
static |
Extracts custom information from list of MonitorElements.
Definition at line 234 of file CommissioningHistograms.cc.
References bei(), dqm::implementation::IBooker::bookInt(), relmon_rootfiles_spy::contents, sistrip::dir_, HcalObjRepresent::Fill(), dqm::implementation::IGetter::get(), dqm::implementation::IGetter::getContents(), MonitorElementData::INT, sistrip::mlDqmClient_, castor_dqm_sourceclient_file_cfg::path, dqm::implementation::DQMStore::setCurrentFolder(), pickleFileParser::slash, AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.
Referenced by SiStripCommissioningOfflineClient::beginRun().
void CommissioningHistograms::createCollations | ( | const std::vector< std::string > & | ) |
|
virtual |
Reimplemented in FedCablingHistograms, and FedTimingHistograms.
Definition at line 559 of file CommissioningHistograms.cc.
References data(), DeadROC_duringRun::dir, relativeConstraints::empty, factory(), sistrip::FED_ADC_RANGE, SummaryPlotFactory< CommissioningAnalysis * >::fill(), sistrip::HISTO_1D, histoAnalysis(), histogram(), SummaryPlotFactory< CommissioningAnalysis * >::init(), LogTrace, sistrip::mlDqmClient_, LaserDQM_cfi::mon, edmLumisInFiles::summary, sistrip::UNKNOWN_VIEW, SiStripEnumsAndStrings::view(), and fw3dlego::xbins.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
protected |
Definition at line 718 of file CommissioningHistograms.cc.
References conversion_template_cfg::anal, SiStripFecKey::ccuAddr(), SiStripFecKey::ccuChan(), ccuVector_, data_, dataWithMask_, dataWithMaskCached_, fecMaskVector_, SiStripFecKey::fecRing(), SiStripFecKey::fecSlot(), SiStripFedKey::fedId(), fedMaskVector_, mps_fire::i, i2cChanVector_, SiStripFecKey::lldChan(), lldChanVector_, mask_, and ringVector_.
Referenced by FastFedCablingHistosUsingDb::addDcuDetIds(), CommissioningHistosUsingDb::addDcuDetIds(), FineDelayHistosUsingDb::computeDelays(), FastFedCablingHistosUsingDb::connections(), CommissioningHistosUsingDb::createAnalyses(), createSummaryHisto(), DaqScopeModeHistograms::histoAnalysis(), PedestalsHistograms::histoAnalysis(), CalibrationHistograms::histoAnalysis(), PedsFullNoiseHistograms::histoAnalysis(), FastFedCablingHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), NoiseHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), ApvTimingHistograms::histoAnalysis(), OptoScanHistograms::histoAnalysis(), SamplingHistograms::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(), PedsOnlyHistosUsingDb::update(), PedsFullNoiseHistosUsingDb::update(), OptoScanHistosUsingDb::update(), VpspScanHistosUsingDb::update(), PedestalsHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), NoiseHistosUsingDb::update(), FastFedCablingHistosUsingDb::update(), LatencyHistosUsingDb::update(), and CalibrationHistosUsingDb::update().
void CommissioningHistograms::extractHistograms | ( | const std::vector< std::string > & | contents | ) |
Definition at line 297 of file CommissioningHistograms.cc.
References sistrip::APV, bei_, sistrip::collate_, relmon_rootfiles_spy::contents, sistrip::CONTROL_VIEW, sistrip::DETECTOR_VIEW, sistrip::dir_, dqm::implementation::IGetter::get(), dqm::implementation::IGetter::getContents(), timingPdfMaker::histo, histos_, sistrip::invalid32_, sistrip::invalid_, crabWrapper::key, SiStripKey::key(), SiStripFecKey::lldChan(), LogTrace, mapping_, sistrip::mlDqmClient_, castor_dqm_sourceclient_file_cfg::path, sistrip::READOUT_VIEW, edm::second(), pickleFileParser::slash, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, runGCPTkAlMap::title, sistrip::UNDEFINED_GRAN, sistrip::undefinedView_, sistrip::UNKNOWN_GRAN, and SiStripEnumsAndStrings::view().
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
inlineprotected |
Definition at line 160 of file CommissioningHistograms.h.
References factory_.
Referenced by createSummaryHisto().
|
virtual |
Reimplemented in FedCablingHistograms, FedTimingHistograms, SamplingHistograms, ApvTimingHistograms, CalibrationHistograms, DaqScopeModeHistograms, FastFedCablingHistograms, NoiseHistograms, OptoScanHistograms, PedestalsHistograms, PedsFullNoiseHistograms, PedsOnlyHistograms, and VpspScanHistograms.
Definition at line 459 of file CommissioningHistograms.cc.
References LogTrace, and sistrip::mlDqmClient_.
Referenced by SiStripCommissioningOfflineClient::beginRun(), and createSummaryHisto().
|
protected |
Definition at line 656 of file CommissioningHistograms.cc.
References bei_, dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookProfile(), sistrip::collate_, sistrip::dir_, createBeamHaloJobs::directory, ExtractTObject< T >::extract(), sistrip::FED_ADC_RANGE, dqm::implementation::IGetter::get(), LaserClient_cfi::high, sistrip::HISTO_1D, sistrip::HISTO_2D_SCATTER, sistrip::HISTO_2D_SUM, LogTrace, hlt_dqm_clientPB-live_cfg::me, sistrip::mlDqmClient_, LaserDQM_cfi::mon, Skims_PA_cff::name, SummaryGenerator::name(), SiStripEnumsAndStrings::presentation(), sistrip::PROFILE_1D, alignCSCRings::pwd, dqm::implementation::DQMStore::pwd(), dqm::implementation::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, edmLumisInFiles::summary, task_, sistrip::valid_, and fw3dlego::xbins.
Referenced by FedTimingHistograms::createSummaryHisto(), FedCablingHistograms::createSummaryHisto(), and createSummaryHisto().
|
inlineprotected |
Definition at line 161 of file CommissioningHistograms.h.
References histos_.
Referenced by ApvTimingHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), CalibrationHistograms::histoAnalysis(), FastFedCablingHistograms::histoAnalysis(), PedestalsHistograms::histoAnalysis(), PedsFullNoiseHistograms::histoAnalysis(), OptoScanHistograms::histoAnalysis(), NoiseHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), DaqScopeModeHistograms::histoAnalysis(), SamplingHistograms::histoAnalysis(), and FedCablingHistograms::histoAnalysis().
|
inlineprotected |
Definition at line 162 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 466 of file CommissioningHistograms.cc.
References data(), LogTrace, sistrip::mlDqmClient_, and contentValuesCheck::ss.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
protected |
Definition at line 519 of file CommissioningHistograms.cc.
References histos_, LogTrace, sistrip::mlDqmClient_, SiStripFedKey::print(), and contentValuesCheck::ss.
|
virtual |
Reimplemented in FastFedCablingHistograms.
Definition at line 484 of file CommissioningHistograms.cc.
References data(), LogTrace, and sistrip::mlDqmClient_.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
inlineprotected |
Definition at line 163 of file CommissioningHistograms.h.
References pset_.
Referenced by ApvTimingHistosUsingDb::ApvTimingHistosUsingDb(), CalibrationHistograms::CalibrationHistograms(), CalibrationHistosUsingDb::CalibrationHistosUsingDb(), LatencyHistosUsingDb::configure(), FineDelayHistosUsingDb::configure(), DaqScopeModeHistosUsingDb::DaqScopeModeHistosUsingDb(), ApvTimingHistograms::histoAnalysis(), OptoScanHistograms::histoAnalysis(), CalibrationHistograms::histoAnalysis(), DaqScopeModeHistograms::histoAnalysis(), PedestalsHistograms::histoAnalysis(), FastFedCablingHistograms::histoAnalysis(), PedsFullNoiseHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), NoiseHistograms::histoAnalysis(), SamplingHistograms::histoAnalysis(), FedCablingHistograms::histoAnalysis(), OptoScanHistosUsingDb::OptoScanHistosUsingDb(), PedestalsHistosUsingDb::PedestalsHistosUsingDb(), PedsFullNoiseHistosUsingDb::PedsFullNoiseHistosUsingDb(), and VpspScanHistosUsingDb::VpspScanHistosUsingDb().
void CommissioningHistograms::remove | ( | std::string | pattern = "" | ) |
Definition at line 605 of file CommissioningHistograms.cc.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
static |
Definition at line 94 of file CommissioningHistograms.cc.
References bei(), dqm::implementation::IBooker::bookString(), sistrip::collate_, relmon_rootfiles_spy::contents, TauDecayModes::dec, sistrip::dir_, dqm::implementation::IGetter::get(), dqm::implementation::IGetter::getContents(), LogTrace, sistrip::mlDqmClient_, castor_dqm_sourceclient_file_cfg::path, writedatasetfile::run, sistrip::runNumber_, dqm::implementation::DQMStore::setCurrentFolder(), pickleFileParser::slash, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
static |
Extract run type string from "added contents".
Definition at line 161 of file CommissioningHistograms.cc.
References bei(), dqm::implementation::IBooker::bookString(), sistrip::collate_, relmon_rootfiles_spy::contents, sistrip::dir_, dqm::implementation::IGetter::get(), dqm::implementation::IGetter::getContents(), LogTrace, sistrip::mlDqmClient_, castor_dqm_sourceclient_file_cfg::path, SiStripEnumsAndStrings::runType(), dqm::implementation::DQMStore::setCurrentFolder(), pickleFileParser::slash, AlCaHLTBitMon_QueryRunRegistry::string, sistrip::taskId_, runGCPTkAlMap::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 611 of file CommissioningHistograms.cc.
References bei_, sistrip::collate_, DeadROC_duringRun::dir, sistrip::dqmClientFileName_, LogTrace, sistrip::mlDqmClient_, FrameHeaderEvents_cfi::partitionName, castor_dqm_sourceclient_file_cfg::path, contentValuesCheck::run_number, dqm::implementation::DQMStore::save(), contentValuesCheck::ss, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
inlineprotected |
Definition at line 158 of file CommissioningHistograms.h.
References task_.
Referenced by CalibrationHistograms::CalibrationHistograms(), CalibrationHistosUsingDb::create(), CalibrationHistograms::histoAnalysis(), CalibrationHistosUsingDb::update(), and CalibrationHistosUsingDb::uploadConfigurations().
|
private |
Definition at line 134 of file CommissioningHistograms.h.
Referenced by bei(), CommissioningHistograms(), extractHistograms(), histogram(), and save().
|
private |
Definition at line 148 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 136 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 152 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 153 of file CommissioningHistograms.h.
Referenced by data().
|
protected |
Definition at line 129 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 146 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 145 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 138 of file CommissioningHistograms.h.
Referenced by clearHistosMap(), extractHistograms(), histos(), and printHistosMap().
|
private |
Definition at line 149 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 150 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 140 of file CommissioningHistograms.h.
Referenced by extractHistograms(), and mapping().
|
private |
Definition at line 144 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 142 of file CommissioningHistograms.h.
Referenced by pset().
|
private |
Definition at line 147 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 132 of file CommissioningHistograms.h.
Referenced by histogram(), and task().