#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 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 (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::auto_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 |
|
protected |
Definition at line 567 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 259 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 584 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 818 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(), FastFedCablingHistograms::histoAnalysis(), PedestalsHistograms::histoAnalysis(), PedsFullNoiseHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), ApvTimingHistograms::histoAnalysis(), NoiseHistograms::histoAnalysis(), OptoScanHistograms::histoAnalysis(), DaqScopeModeHistograms::histoAnalysis(), SamplingHistograms::histoAnalysis(), CalibrationHistograms::histoAnalysis(), PedestalsHistograms::printAnalyses(), DaqScopeModeHistograms::printAnalyses(), PedsOnlyHistograms::printAnalyses(), PedsFullNoiseHistograms::printAnalyses(), OptoScanHistograms::printAnalyses(), FastFedCablingHistograms::printAnalyses(), VpspScanHistograms::printAnalyses(), NoiseHistograms::printAnalyses(), CalibrationHistograms::printAnalyses(), printAnalyses(), FastFedCablingHistograms::printSummary(), printSummary(), NoiseHistosUsingDb::update(), PedsFullNoiseHistosUsingDb::update(), VpspScanHistosUsingDb::update(), PedsOnlyHistosUsingDb::update(), PedestalsHistosUsingDb::update(), ApvTimingHistosUsingDb::update(), OptoScanHistosUsingDb::update(), DaqScopeModeHistosUsingDb::update(), FastFedCablingHistosUsingDb::update(), and LatencyHistosUsingDb::update().
void CommissioningHistograms::extractHistograms | ( | const std::vector< std::string > & | contents | ) |
Definition at line 326 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 177 of file CommissioningHistograms.h.
References factory_.
Referenced by createSummaryHisto().
|
static |
Retrieves list of histograms in form of strings.
Definition at line 253 of file CommissioningHistograms.cc.
|
virtual |
Reimplemented in FedCablingHistograms, FedTimingHistograms, CalibrationHistograms, SamplingHistograms, ApvTimingHistograms, DaqScopeModeHistograms, FastFedCablingHistograms, NoiseHistograms, OptoScanHistograms, PedestalsHistograms, PedsFullNoiseHistograms, PedsOnlyHistograms, and VpspScanHistograms.
Definition at line 492 of file CommissioningHistograms.cc.
References LogTrace, and sistrip::mlDqmClient_.
Referenced by SiStripCommissioningOfflineClient::beginRun(), and createSummaryHisto().
|
protected |
Definition at line 735 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 178 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 179 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 500 of file CommissioningHistograms.cc.
References data(), LogTrace, and sistrip::mlDqmClient_.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
protected |
Definition at line 545 of file CommissioningHistograms.cc.
References histos_, LogTrace, sistrip::mlDqmClient_, and SiStripFedKey::print().
|
virtual |
Reimplemented in FastFedCablingHistograms.
Definition at line 515 of file CommissioningHistograms.cc.
References data(), LogTrace, and sistrip::mlDqmClient_.
Referenced by SiStripCommissioningOfflineClient::beginRun().
|
inlineprotected |
Definition at line 180 of file CommissioningHistograms.h.
References pset_.
Referenced by ApvTimingHistosUsingDb::ApvTimingHistosUsingDb(), LatencyHistosUsingDb::configure(), FineDelayHistosUsingDb::configure(), DaqScopeModeHistosUsingDb::DaqScopeModeHistosUsingDb(), FastFedCablingHistograms::histoAnalysis(), PedestalsHistograms::histoAnalysis(), ApvTimingHistograms::histoAnalysis(), PedsFullNoiseHistograms::histoAnalysis(), NoiseHistograms::histoAnalysis(), PedsOnlyHistograms::histoAnalysis(), DaqScopeModeHistograms::histoAnalysis(), VpspScanHistograms::histoAnalysis(), OptoScanHistograms::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 624 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(), findQualityFiles::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 682 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 175 of file CommissioningHistograms.h.
References task_.
Referenced by CalibrationHistograms::histoAnalysis().
|
private |
Definition at line 150 of file CommissioningHistograms.h.
Referenced by bei(), CommissioningHistograms(), extractHistograms(), histogram(), remove(), and save().
|
private |
Definition at line 164 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 152 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 168 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 169 of file CommissioningHistograms.h.
Referenced by data().
|
protected |
Definition at line 144 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 162 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 161 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 154 of file CommissioningHistograms.h.
Referenced by clearHistosMap(), extractHistograms(), histos(), and printHistosMap().
|
private |
Definition at line 165 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 166 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 156 of file CommissioningHistograms.h.
Referenced by extractHistograms(), and mapping().
|
private |
Definition at line 160 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 158 of file CommissioningHistograms.h.
Referenced by pset().
|
private |
Definition at line 163 of file CommissioningHistograms.h.
Referenced by data().
|
private |
Definition at line 148 of file CommissioningHistograms.h.
Referenced by histogram(), and task().