#include <SiStripClassToMonitorCondData.h>
Definition at line 40 of file SiStripClassToMonitorCondData.h.
SiStripClassToMonitorCondData::SiStripClassToMonitorCondData | ( | edm::ParameterSet const & | iConfig | ) | [explicit] |
Definition at line 64 of file SiStripClassToMonitorCondData.cc.
References edm::ParameterSet::getParameter(), monitorApvGains_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, and monitorQuality_.
:conf_(iConfig){ monitorPedestals_ = iConfig.getParameter<bool>("MonitorSiStripPedestal"); monitorNoises_ = iConfig.getParameter<bool>("MonitorSiStripNoise"); monitorQuality_ = iConfig.getParameter<bool>("MonitorSiStripQuality"); monitorApvGains_ = iConfig.getParameter<bool>("MonitorSiStripApvGain"); monitorLorentzAngle_ = iConfig.getParameter<bool>("MonitorSiStripLorentzAngle"); monitorLowThreshold_ = iConfig.getParameter<bool>("MonitorSiStripLowThreshold"); monitorHighThreshold_ = iConfig.getParameter<bool>("MonitorSiStripHighThreshold"); monitorCabling_ = iConfig.getParameter<bool>("MonitorSiStripCabling"); }
SiStripClassToMonitorCondData::~SiStripClassToMonitorCondData | ( | ) |
Definition at line 83 of file SiStripClassToMonitorCondData.cc.
References apvgainsDQM_, cablingDQM_, highthresholdDQM_, lorentzangleDQM_, lowthresholdDQM_, monitorApvGains_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, monitorQuality_, noisesDQM_, pedestalsDQM_, and qualityDQM_.
{ if(monitorPedestals_) { delete pedestalsDQM_;} if(monitorNoises_) { delete noisesDQM_; } if(monitorQuality_) { delete qualityDQM_; } if(monitorApvGains_) { delete apvgainsDQM_; } if(monitorLorentzAngle_) { delete lorentzangleDQM_; } if(monitorLowThreshold_) { delete lowthresholdDQM_ ;} if(monitorHighThreshold_){ delete highthresholdDQM_;} if(monitorCabling_) { delete cablingDQM_;} }
void SiStripClassToMonitorCondData::analyseCondData | ( | const edm::EventSetup & | eSetup | ) |
Definition at line 205 of file SiStripClassToMonitorCondData.cc.
References SiStripBaseCondObjDQM::analysis(), apvgainsDQM_, cablingDQM_, SiStripQualityDQM::fillGrandSummaryMEs(), highthresholdDQM_, lorentzangleDQM_, lowthresholdDQM_, monitorApvGains_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, monitorQuality_, noisesDQM_, pedestalsDQM_, and qualityDQM_.
{ if(monitorPedestals_) { pedestalsDQM_ ->analysis(eSetup);} if(monitorNoises_) { noisesDQM_ ->analysis(eSetup);} if(monitorQuality_) { qualityDQM_ ->analysis(eSetup); qualityDQM_->fillGrandSummaryMEs();}//fillGrand. for SiStripquality if(monitorApvGains_) { apvgainsDQM_ ->analysis(eSetup);} if(monitorLorentzAngle_) { lorentzangleDQM_ ->analysis(eSetup);} if(monitorCabling_) { cablingDQM_ ->analysis(eSetup);} if(monitorLowThreshold_) { lowthresholdDQM_ ->analysis(eSetup);} if(monitorHighThreshold_) { highthresholdDQM_ ->analysis(eSetup);} } // analyze
void SiStripClassToMonitorCondData::beginJob | ( | void | ) |
Definition at line 163 of file SiStripClassToMonitorCondData.cc.
{} //beginJob
void SiStripClassToMonitorCondData::beginRun | ( | edm::EventSetup const & | eSetup | ) |
Definition at line 103 of file SiStripClassToMonitorCondData.cc.
References apvgainsDQM_, cablingDQM_, conf_, edm::ParameterSet::getParameter(), highthresholdDQM_, lorentzangleDQM_, lowthresholdDQM_, monitorApvGains_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, monitorQuality_, noisesDQM_, pedestalsDQM_, and qualityDQM_.
Referenced by SiStripMonitorCondDataOnDemandExample::beginRun(), and SiStripAnalyser::beginRun().
{ if(monitorPedestals_){ pedestalsDQM_ = new SiStripPedestalsDQM(eSetup, conf_.getParameter<edm::ParameterSet>("SiStripPedestalsDQM_PSet"), conf_.getParameter<edm::ParameterSet>("FillConditions_PSet")); } if(monitorNoises_){ noisesDQM_ = new SiStripNoisesDQM(eSetup, conf_.getParameter<edm::ParameterSet>("SiStripNoisesDQM_PSet"), conf_.getParameter<edm::ParameterSet>("FillConditions_PSet")); } if(monitorQuality_){ qualityDQM_ = new SiStripQualityDQM(eSetup, conf_.getParameter<edm::ParameterSet>("SiStripQualityDQM_PSet"), conf_.getParameter<edm::ParameterSet>("FillConditions_PSet")); } if(monitorApvGains_){ apvgainsDQM_ = new SiStripApvGainsDQM(eSetup, conf_.getParameter<edm::ParameterSet>("SiStripApvGainsDQM_PSet"), conf_.getParameter<edm::ParameterSet>("FillConditions_PSet")); } if(monitorLorentzAngle_){ lorentzangleDQM_ = new SiStripLorentzAngleDQM(eSetup, conf_.getParameter<edm::ParameterSet>("SiStripLorentzAngleDQM_PSet"), conf_.getParameter<edm::ParameterSet>("FillConditions_PSet")); } if(monitorLowThreshold_){ lowthresholdDQM_ = new SiStripThresholdDQM(eSetup, conf_.getParameter<edm::ParameterSet>("SiStripLowThresholdDQM_PSet"), conf_.getParameter<edm::ParameterSet>("FillConditions_PSet")); } if(monitorHighThreshold_){ highthresholdDQM_ = new SiStripThresholdDQM(eSetup, conf_.getParameter<edm::ParameterSet>("SiStripHighThresholdDQM_PSet"), conf_.getParameter<edm::ParameterSet>("FillConditions_PSet")); } if(monitorCabling_){ cablingDQM_ = new SiStripCablingDQM(eSetup, conf_.getParameter<edm::ParameterSet>("SiStripCablingDQM_PSet"), conf_.getParameter<edm::ParameterSet>("FillConditions_PSet")); } } // beginRun
void SiStripClassToMonitorCondData::endJob | ( | void | ) |
Definition at line 243 of file SiStripClassToMonitorCondData.cc.
{} //endJob
void SiStripClassToMonitorCondData::endRun | ( | edm::EventSetup const & | eSetup | ) |
Definition at line 224 of file SiStripClassToMonitorCondData.cc.
References conf_, edm::ParameterSet::getParameter(), cppFunctionSkipper::operator, and dumpDBToFile_GT_ttrig_cfg::outputFileName.
Referenced by SiStripMonitorCondDataOnDemandExample::endRun().
{ bool outputMEsInRootFile = conf_.getParameter<bool>("OutputMEsInRootFile"); std::string outputFileName = conf_.getParameter<std::string>("OutputFileName"); DQMStore* dqmStore_=edm::Service<DQMStore>().operator->(); if (outputMEsInRootFile) { dqmStore_->showDirStructure(); dqmStore_->save(outputFileName); } } // endRun
void SiStripClassToMonitorCondData::getLayerMEsOnDemand | ( | edm::EventSetup const & | eSetup, |
std::string | requestedSubDetector, | ||
uint32_t | requestedSide, | ||
uint32_t | requestedLayer | ||
) |
Definition at line 186 of file SiStripClassToMonitorCondData.cc.
References SiStripBaseCondObjDQM::analysisOnDemand(), apvgainsDQM_, cablingDQM_, SiStripQualityDQM::fillGrandSummaryMEs(), highthresholdDQM_, lorentzangleDQM_, lowthresholdDQM_, monitorApvGains_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, monitorQuality_, noisesDQM_, pedestalsDQM_, and qualityDQM_.
Referenced by SiStripAnalyser::analyze().
{ if(monitorPedestals_) { pedestalsDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);} if(monitorNoises_) { noisesDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);} if(monitorQuality_) { qualityDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer); qualityDQM_ ->fillGrandSummaryMEs();} if(monitorApvGains_) { apvgainsDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);} if(monitorLorentzAngle_) { lorentzangleDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);} if(monitorCabling_) { cablingDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);} if(monitorLowThreshold_) { lowthresholdDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);} if(monitorHighThreshold_) { highthresholdDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);} }
void SiStripClassToMonitorCondData::getModMEsOnDemand | ( | edm::EventSetup const & | eSetup, |
uint32_t | requestedDetId | ||
) |
Definition at line 169 of file SiStripClassToMonitorCondData.cc.
References SiStripBaseCondObjDQM::analysisOnDemand(), apvgainsDQM_, cablingDQM_, SiStripQualityDQM::fillGrandSummaryMEs(), highthresholdDQM_, lorentzangleDQM_, lowthresholdDQM_, monitorApvGains_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, monitorQuality_, noisesDQM_, pedestalsDQM_, and qualityDQM_.
Referenced by SiStripAnalyser::analyze().
{ if(monitorPedestals_) { pedestalsDQM_ ->analysisOnDemand(eSetup,requestedDetId);} if(monitorNoises_) { noisesDQM_ ->analysisOnDemand(eSetup,requestedDetId);} if(monitorQuality_) { qualityDQM_ ->analysisOnDemand(eSetup,requestedDetId); qualityDQM_ ->fillGrandSummaryMEs() ;}//fillGrand. for SiStripquality if(monitorApvGains_) { apvgainsDQM_ ->analysisOnDemand(eSetup,requestedDetId);} if(monitorLorentzAngle_) { lorentzangleDQM_ ->analysisOnDemand(eSetup,requestedDetId);} if(monitorCabling_) { cablingDQM_ ->analysisOnDemand(eSetup,requestedDetId);} if(monitorLowThreshold_) { lowthresholdDQM_ ->analysisOnDemand(eSetup,requestedDetId);} if(monitorHighThreshold_) { highthresholdDQM_ ->analysisOnDemand(eSetup,requestedDetId);} }
Definition at line 78 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), and ~SiStripClassToMonitorCondData().
Definition at line 80 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), and ~SiStripClassToMonitorCondData().
Definition at line 60 of file SiStripClassToMonitorCondData.h.
Referenced by beginRun(), and endRun().
bool SiStripClassToMonitorCondData::gainRenormalisation_ [private] |
Definition at line 71 of file SiStripClassToMonitorCondData.h.
Definition at line 82 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), and ~SiStripClassToMonitorCondData().
Definition at line 79 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), and ~SiStripClassToMonitorCondData().
Definition at line 81 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), and ~SiStripClassToMonitorCondData().
bool SiStripClassToMonitorCondData::monitorApvGains_ [private] |
Definition at line 65 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), SiStripClassToMonitorCondData(), and ~SiStripClassToMonitorCondData().
bool SiStripClassToMonitorCondData::monitorCabling_ [private] |
Definition at line 69 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), SiStripClassToMonitorCondData(), and ~SiStripClassToMonitorCondData().
bool SiStripClassToMonitorCondData::monitorHighThreshold_ [private] |
Definition at line 68 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), SiStripClassToMonitorCondData(), and ~SiStripClassToMonitorCondData().
bool SiStripClassToMonitorCondData::monitorLorentzAngle_ [private] |
Definition at line 66 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), SiStripClassToMonitorCondData(), and ~SiStripClassToMonitorCondData().
bool SiStripClassToMonitorCondData::monitorLowThreshold_ [private] |
Definition at line 67 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), SiStripClassToMonitorCondData(), and ~SiStripClassToMonitorCondData().
bool SiStripClassToMonitorCondData::monitorNoises_ [private] |
Definition at line 63 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), SiStripClassToMonitorCondData(), and ~SiStripClassToMonitorCondData().
bool SiStripClassToMonitorCondData::monitorPedestals_ [private] |
Definition at line 62 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), SiStripClassToMonitorCondData(), and ~SiStripClassToMonitorCondData().
bool SiStripClassToMonitorCondData::monitorQuality_ [private] |
Definition at line 64 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), SiStripClassToMonitorCondData(), and ~SiStripClassToMonitorCondData().
Definition at line 76 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), and ~SiStripClassToMonitorCondData().
std::string SiStripClassToMonitorCondData::outPutFileName [private] |
Definition at line 73 of file SiStripClassToMonitorCondData.h.
Definition at line 75 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), and ~SiStripClassToMonitorCondData().
Definition at line 77 of file SiStripClassToMonitorCondData.h.
Referenced by analyseCondData(), beginRun(), getLayerMEsOnDemand(), getModMEsOnDemand(), and ~SiStripClassToMonitorCondData().