#include <SiStripMonitorCondData.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginRun (edm::Run const &run, edm::EventSetup const &eSetup) |
virtual void | endJob () |
virtual void | endRun (edm::Run const &run, edm::EventSetup const &eSetup) |
SiStripMonitorCondData (const edm::ParameterSet &) | |
~SiStripMonitorCondData () | |
Private Attributes | |
SiStripApvGainsDQM * | apvgainsDQM_ |
SiStripCablingDQM * | cablingDQM_ |
edm::ParameterSet | conf_ |
SiStripThresholdDQM * | highthresholdDQM_ |
SiStripLorentzAngleDQM * | lorentzangleDQM_ |
SiStripThresholdDQM * | lowthresholdDQM_ |
bool | monitorApvGains_ |
bool | monitorCabling_ |
bool | monitorHighThreshold_ |
bool | monitorLorentzAngle_ |
bool | monitorLowThreshold_ |
bool | monitorNoises_ |
bool | monitorPedestals_ |
bool | monitorQuality_ |
SiStripNoisesDQM * | noisesDQM_ |
std::string | outPutFileName |
SiStripPedestalsDQM * | pedestalsDQM_ |
SiStripQualityDQM * | qualityDQM_ |
Definition at line 41 of file SiStripMonitorCondData.h.
SiStripMonitorCondData::SiStripMonitorCondData | ( | const edm::ParameterSet & | iConfig | ) | [explicit] |
Definition at line 52 of file SiStripMonitorCondData.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"); monitorLowThreshold_ = iConfig.getParameter<bool>("MonitorSiStripLowThreshold"); monitorHighThreshold_ = iConfig.getParameter<bool>("MonitorSiStripHighThreshold"); monitorQuality_ = iConfig.getParameter<bool>("MonitorSiStripQuality"); monitorApvGains_ = iConfig.getParameter<bool>("MonitorSiStripApvGain"); monitorLorentzAngle_ = iConfig.getParameter<bool>("MonitorSiStripLorentzAngle"); monitorCabling_ = iConfig.getParameter<bool>("MonitorSiStripCabling"); }
SiStripMonitorCondData::~SiStripMonitorCondData | ( | ) |
Definition at line 71 of file SiStripMonitorCondData.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(monitorLowThreshold_) { delete lowthresholdDQM_ ;} if(monitorHighThreshold_){ delete highthresholdDQM_;} if(monitorQuality_) { delete qualityDQM_ ;} if(monitorApvGains_) { delete apvgainsDQM_ ;} if(monitorLorentzAngle_){ delete lorentzangleDQM_;} if(monitorCabling_) { delete cablingDQM_;} }
void SiStripMonitorCondData::analyze | ( | const edm::Event & | iEvent, |
const edm::EventSetup & | eSetup | ||
) | [virtual] |
Implements edm::EDAnalyzer.
Definition at line 158 of file SiStripMonitorCondData.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(monitorLowThreshold_) { lowthresholdDQM_ ->analysis(eSetup);} if(monitorHighThreshold_) { highthresholdDQM_ ->analysis(eSetup);} if(monitorApvGains_) { apvgainsDQM_ ->analysis(eSetup);} if(monitorLorentzAngle_) { lorentzangleDQM_ ->analysis(eSetup);} if(monitorQuality_) { qualityDQM_->analysis(eSetup);qualityDQM_->fillGrandSummaryMEs();}//fillGrand. for SiStripquality if(monitorCabling_) { cablingDQM_ ->analysis(eSetup);} } // analyze
void SiStripMonitorCondData::beginJob | ( | void | ) | [virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 150 of file SiStripMonitorCondData.cc.
{} //beginJob
void SiStripMonitorCondData::beginRun | ( | edm::Run const & | run, |
edm::EventSetup const & | eSetup | ||
) | [virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 90 of file SiStripMonitorCondData.cc.
References apvgainsDQM_, cablingDQM_, conf_, edm::ParameterSet::getParameter(), highthresholdDQM_, lorentzangleDQM_, lowthresholdDQM_, monitorApvGains_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, monitorQuality_, noisesDQM_, pedestalsDQM_, and qualityDQM_.
{ 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(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(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(monitorCabling_){ cablingDQM_ = new SiStripCablingDQM(eSetup, conf_.getParameter<edm::ParameterSet>("SiStripCablingDQM_PSet"), conf_.getParameter<edm::ParameterSet>("FillConditions_PSet")); } } // beginRun
void SiStripMonitorCondData::endJob | ( | void | ) | [virtual] |
void SiStripMonitorCondData::endRun | ( | edm::Run const & | run, |
edm::EventSetup const & | eSetup | ||
) | [virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 176 of file SiStripMonitorCondData.cc.
References apvgainsDQM_, cablingDQM_, conf_, SiStripBaseCondObjDQM::end(), edm::ParameterSet::getParameter(), highthresholdDQM_, lorentzangleDQM_, lowthresholdDQM_, monitorApvGains_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, monitorQuality_, noisesDQM_, cppFunctionSkipper::operator, dumpDBToFile_GT_ttrig_cfg::outputFileName, pedestalsDQM_, and qualityDQM_.
{ if(monitorPedestals_) { pedestalsDQM_ ->end();} if(monitorNoises_) { noisesDQM_ ->end();} if(monitorLowThreshold_) { lowthresholdDQM_ ->end();} if(monitorHighThreshold_) { highthresholdDQM_ ->end();} if(monitorApvGains_) { apvgainsDQM_ ->end();} if(monitorLorentzAngle_) { lorentzangleDQM_ ->end();} if(monitorQuality_) { qualityDQM_ ->end();} if(monitorCabling_) { cablingDQM_ ->end();} 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
Definition at line 76 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), and ~SiStripMonitorCondData().
Definition at line 78 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), and ~SiStripMonitorCondData().
Definition at line 58 of file SiStripMonitorCondData.h.
Referenced by beginRun(), and endRun().
Definition at line 74 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), and ~SiStripMonitorCondData().
Definition at line 77 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), and ~SiStripMonitorCondData().
Definition at line 73 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), and ~SiStripMonitorCondData().
bool SiStripMonitorCondData::monitorApvGains_ [private] |
Definition at line 65 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), SiStripMonitorCondData(), and ~SiStripMonitorCondData().
bool SiStripMonitorCondData::monitorCabling_ [private] |
Definition at line 67 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), SiStripMonitorCondData(), and ~SiStripMonitorCondData().
bool SiStripMonitorCondData::monitorHighThreshold_ [private] |
Definition at line 63 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), SiStripMonitorCondData(), and ~SiStripMonitorCondData().
bool SiStripMonitorCondData::monitorLorentzAngle_ [private] |
Definition at line 66 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), SiStripMonitorCondData(), and ~SiStripMonitorCondData().
bool SiStripMonitorCondData::monitorLowThreshold_ [private] |
Definition at line 62 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), SiStripMonitorCondData(), and ~SiStripMonitorCondData().
bool SiStripMonitorCondData::monitorNoises_ [private] |
Definition at line 61 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), SiStripMonitorCondData(), and ~SiStripMonitorCondData().
bool SiStripMonitorCondData::monitorPedestals_ [private] |
Definition at line 60 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), SiStripMonitorCondData(), and ~SiStripMonitorCondData().
bool SiStripMonitorCondData::monitorQuality_ [private] |
Definition at line 64 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), SiStripMonitorCondData(), and ~SiStripMonitorCondData().
Definition at line 72 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), and ~SiStripMonitorCondData().
std::string SiStripMonitorCondData::outPutFileName [private] |
Definition at line 69 of file SiStripMonitorCondData.h.
Definition at line 71 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), and ~SiStripMonitorCondData().
Definition at line 75 of file SiStripMonitorCondData.h.
Referenced by analyze(), beginRun(), endRun(), and ~SiStripMonitorCondData().