CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SiStripClassToMonitorCondData Class Reference

#include <SiStripClassToMonitorCondData.h>

Public Member Functions

void analyseCondData (const edm::EventSetup &)
 
void beginJob ()
 
void beginRun (edm::EventSetup const &eSetup)
 
void endJob ()
 
void endRun (edm::EventSetup const &eSetup)
 
void getLayerMEsOnDemand (edm::EventSetup const &eSetup, std::string requestedSubDetector, uint32_t requestedSide, uint32_t requestedLayer)
 
void getModMEsOnDemand (edm::EventSetup const &eSetup, uint32_t requestedDetId)
 
 SiStripClassToMonitorCondData (edm::ParameterSet const &iConfig)
 
 ~SiStripClassToMonitorCondData ()
 

Private Attributes

SiStripApvGainsDQMapvgainsDQM_
 
SiStripBackPlaneCorrectionDQMbpcorrectionDQM_
 
SiStripCablingDQMcablingDQM_
 
edm::ParameterSet conf_
 
bool gainRenormalisation_
 
SiStripThresholdDQMhighthresholdDQM_
 
SiStripLorentzAngleDQMlorentzangleDQM_
 
SiStripThresholdDQMlowthresholdDQM_
 
bool monitorApvGains_
 
bool monitorBackPlaneCorrection_
 
bool monitorCabling_
 
bool monitorHighThreshold_
 
bool monitorLorentzAngle_
 
bool monitorLowThreshold_
 
bool monitorNoises_
 
bool monitorPedestals_
 
bool monitorQuality_
 
SiStripNoisesDQMnoisesDQM_
 
std::string outPutFileName
 
SiStripPedestalsDQMpedestalsDQM_
 
SiStripQualityDQMqualityDQM_
 

Detailed Description

Definition at line 41 of file SiStripClassToMonitorCondData.h.

Constructor & Destructor Documentation

SiStripClassToMonitorCondData::SiStripClassToMonitorCondData ( edm::ParameterSet const &  iConfig)
explicit

Definition at line 66 of file SiStripClassToMonitorCondData.cc.

References edm::ParameterSet::getParameter(), monitorApvGains_, monitorBackPlaneCorrection_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, and monitorQuality_.

66  :conf_(iConfig){
67 
68  monitorPedestals_ = iConfig.getParameter<bool>("MonitorSiStripPedestal");
69  monitorNoises_ = iConfig.getParameter<bool>("MonitorSiStripNoise");
70  monitorQuality_ = iConfig.getParameter<bool>("MonitorSiStripQuality");
71  monitorApvGains_ = iConfig.getParameter<bool>("MonitorSiStripApvGain");
72  monitorLorentzAngle_ = iConfig.getParameter<bool>("MonitorSiStripLorentzAngle");
73  monitorBackPlaneCorrection_ = iConfig.getParameter<bool>("MonitorSiStripBackPlaneCorrection");
74  monitorLowThreshold_ = iConfig.getParameter<bool>("MonitorSiStripLowThreshold");
75  monitorHighThreshold_ = iConfig.getParameter<bool>("MonitorSiStripHighThreshold");
76  monitorCabling_ = iConfig.getParameter<bool>("MonitorSiStripCabling");
77 
78 }
SiStripClassToMonitorCondData::~SiStripClassToMonitorCondData ( )

Definition at line 86 of file SiStripClassToMonitorCondData.cc.

References apvgainsDQM_, bpcorrectionDQM_, cablingDQM_, highthresholdDQM_, lorentzangleDQM_, lowthresholdDQM_, monitorApvGains_, monitorBackPlaneCorrection_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, monitorQuality_, noisesDQM_, pedestalsDQM_, and qualityDQM_.

86  {
87 
88  if(monitorPedestals_) { delete pedestalsDQM_;}
89  if(monitorNoises_) { delete noisesDQM_; }
90  if(monitorQuality_) { delete qualityDQM_; }
91  if(monitorApvGains_) { delete apvgainsDQM_; }
96  if(monitorCabling_) { delete cablingDQM_;}
97 
98 }
SiStripBackPlaneCorrectionDQM * bpcorrectionDQM_

Member Function Documentation

void SiStripClassToMonitorCondData::analyseCondData ( const edm::EventSetup )

Definition at line 217 of file SiStripClassToMonitorCondData.cc.

References SiStripBaseCondObjDQM::analysis(), apvgainsDQM_, bpcorrectionDQM_, cablingDQM_, SiStripQualityDQM::fillGrandSummaryMEs(), highthresholdDQM_, lorentzangleDQM_, lowthresholdDQM_, monitorApvGains_, monitorBackPlaneCorrection_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, monitorQuality_, noisesDQM_, pedestalsDQM_, and qualityDQM_.

217  {
218 
219  if(monitorPedestals_) { pedestalsDQM_ ->analysis(eSetup);}
220  if(monitorNoises_) { noisesDQM_ ->analysis(eSetup);}
221  if(monitorQuality_) { qualityDQM_ ->analysis(eSetup); qualityDQM_->fillGrandSummaryMEs(eSetup);}//fillGrand. for SiStripquality
222  if(monitorApvGains_) { apvgainsDQM_ ->analysis(eSetup);}
225  if(monitorCabling_) { cablingDQM_ ->analysis(eSetup);}
228 
229 } // analyze
void fillGrandSummaryMEs(const edm::EventSetup &eSetup)
void analysis(const edm::EventSetup &eSetup_)
SiStripBackPlaneCorrectionDQM * bpcorrectionDQM_
void SiStripClassToMonitorCondData::beginJob ( void  )

Definition at line 173 of file SiStripClassToMonitorCondData.cc.

173 {} //beginJob
void SiStripClassToMonitorCondData::beginRun ( edm::EventSetup const &  eSetup)

Definition at line 107 of file SiStripClassToMonitorCondData.cc.

References apvgainsDQM_, bpcorrectionDQM_, cablingDQM_, conf_, edm::ParameterSet::getParameter(), highthresholdDQM_, lorentzangleDQM_, lowthresholdDQM_, monitorApvGains_, monitorBackPlaneCorrection_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, monitorQuality_, noisesDQM_, pedestalsDQM_, and qualityDQM_.

Referenced by SiStripMonitorCondDataOnDemandExample::beginRun(), and SiStripAnalyser::beginRun().

107  {
108 
109  if(monitorPedestals_){
110  pedestalsDQM_ = new SiStripPedestalsDQM(eSetup,
111  conf_.getParameter<edm::ParameterSet>("SiStripPedestalsDQM_PSet"),
112  conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
113  }
114 
115 
116  if(monitorNoises_){
117  noisesDQM_ = new SiStripNoisesDQM(eSetup,
118  conf_.getParameter<edm::ParameterSet>("SiStripNoisesDQM_PSet"),
119  conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
120  }
121 
122 
123  if(monitorQuality_){
124  qualityDQM_ = new SiStripQualityDQM(eSetup,
125  conf_.getParameter<edm::ParameterSet>("SiStripQualityDQM_PSet"),
126  conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
127  }
128 
129 
130  if(monitorApvGains_){
131  apvgainsDQM_ = new SiStripApvGainsDQM(eSetup,
132  conf_.getParameter<edm::ParameterSet>("SiStripApvGainsDQM_PSet"),
133  conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
134  }
135 
138  conf_.getParameter<edm::ParameterSet>("SiStripLorentzAngleDQM_PSet"),
139  conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
140  }
141 
144  conf_.getParameter<edm::ParameterSet>("SiStripBackPlaneCorrectionDQM_PSet"),
145  conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
146  }
147 
150  conf_.getParameter<edm::ParameterSet>("SiStripLowThresholdDQM_PSet"),
151  conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
152  }
153 
156  conf_.getParameter<edm::ParameterSet>("SiStripHighThresholdDQM_PSet"),
157  conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
158  }
159 
160  if(monitorCabling_){
161  cablingDQM_ = new SiStripCablingDQM(eSetup,
162  conf_.getParameter<edm::ParameterSet>("SiStripCablingDQM_PSet"),
163  conf_.getParameter<edm::ParameterSet>("FillConditions_PSet"));
164  }
165 } // beginRun
T getParameter(std::string const &) const
SiStripBackPlaneCorrectionDQM * bpcorrectionDQM_
void SiStripClassToMonitorCondData::endJob ( void  )

Definition at line 256 of file SiStripClassToMonitorCondData.cc.

256 {} //endJob
void SiStripClassToMonitorCondData::endRun ( edm::EventSetup const &  eSetup)

Definition at line 237 of file SiStripClassToMonitorCondData.cc.

References conf_, edm::ParameterSet::getParameter(), Utilities::operator, postProcessorL1Gen_cff::outputFileName, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by SiStripMonitorCondDataOnDemandExample::endRun().

237  {
238 
239  bool outputMEsInRootFile = conf_.getParameter<bool>("OutputMEsInRootFile");
241 
242  DQMStore* dqmStore_=edm::Service<DQMStore>().operator->();
243 
244  if (outputMEsInRootFile) {
245  dqmStore_->showDirStructure();
246  dqmStore_->save(outputFileName);
247  }
248 
249 } // endRun
T getParameter(std::string const &) const
void SiStripClassToMonitorCondData::getLayerMEsOnDemand ( edm::EventSetup const &  eSetup,
std::string  requestedSubDetector,
uint32_t  requestedSide,
uint32_t  requestedLayer 
)

Definition at line 197 of file SiStripClassToMonitorCondData.cc.

References SiStripBaseCondObjDQM::analysisOnDemand(), apvgainsDQM_, bpcorrectionDQM_, cablingDQM_, SiStripQualityDQM::fillGrandSummaryMEs(), highthresholdDQM_, lorentzangleDQM_, lowthresholdDQM_, monitorApvGains_, monitorBackPlaneCorrection_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, monitorQuality_, noisesDQM_, pedestalsDQM_, and qualityDQM_.

199  {
200 
201  if(monitorPedestals_) { pedestalsDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);}
202  if(monitorNoises_) { noisesDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);}
203  if(monitorQuality_) { qualityDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);
204  qualityDQM_ ->fillGrandSummaryMEs(eSetup);}
205  if(monitorApvGains_) { apvgainsDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);}
206  if(monitorLorentzAngle_) { lorentzangleDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);}
207  if(monitorBackPlaneCorrection_) { bpcorrectionDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);}
208  if(monitorCabling_) { cablingDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);}
209  if(monitorLowThreshold_) { lowthresholdDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);}
210  if(monitorHighThreshold_) { highthresholdDQM_ ->analysisOnDemand(eSetup,requestedSubDetector, requestedSide,requestedLayer);}
211 
212 }
void fillGrandSummaryMEs(const edm::EventSetup &eSetup)
void analysisOnDemand(const edm::EventSetup &eSetup_, uint32_t detIdOnDemand)
SiStripBackPlaneCorrectionDQM * bpcorrectionDQM_
void SiStripClassToMonitorCondData::getModMEsOnDemand ( edm::EventSetup const &  eSetup,
uint32_t  requestedDetId 
)

Definition at line 179 of file SiStripClassToMonitorCondData.cc.

References SiStripBaseCondObjDQM::analysisOnDemand(), apvgainsDQM_, bpcorrectionDQM_, cablingDQM_, SiStripQualityDQM::fillGrandSummaryMEs(), highthresholdDQM_, lorentzangleDQM_, lowthresholdDQM_, monitorApvGains_, monitorBackPlaneCorrection_, monitorCabling_, monitorHighThreshold_, monitorLorentzAngle_, monitorLowThreshold_, monitorNoises_, monitorPedestals_, monitorQuality_, noisesDQM_, pedestalsDQM_, and qualityDQM_.

179  {
180 
181  if(monitorPedestals_) { pedestalsDQM_ ->analysisOnDemand(eSetup,requestedDetId);}
182  if(monitorNoises_) { noisesDQM_ ->analysisOnDemand(eSetup,requestedDetId);}
183  if(monitorQuality_) { qualityDQM_ ->analysisOnDemand(eSetup,requestedDetId);
184  qualityDQM_ ->fillGrandSummaryMEs(eSetup) ;}//fillGrand. for SiStripquality
185  if(monitorApvGains_) { apvgainsDQM_ ->analysisOnDemand(eSetup,requestedDetId);}
186  if(monitorLorentzAngle_) { lorentzangleDQM_ ->analysisOnDemand(eSetup,requestedDetId);}
187  if(monitorBackPlaneCorrection_) { bpcorrectionDQM_ ->analysisOnDemand(eSetup,requestedDetId);}
188  if(monitorCabling_) { cablingDQM_ ->analysisOnDemand(eSetup,requestedDetId);}
189  if(monitorLowThreshold_) { lowthresholdDQM_ ->analysisOnDemand(eSetup,requestedDetId);}
190  if(monitorHighThreshold_) { highthresholdDQM_ ->analysisOnDemand(eSetup,requestedDetId);}
191 }
void fillGrandSummaryMEs(const edm::EventSetup &eSetup)
void analysisOnDemand(const edm::EventSetup &eSetup_, uint32_t detIdOnDemand)
SiStripBackPlaneCorrectionDQM * bpcorrectionDQM_

Member Data Documentation

SiStripApvGainsDQM* SiStripClassToMonitorCondData::apvgainsDQM_
private
SiStripBackPlaneCorrectionDQM* SiStripClassToMonitorCondData::bpcorrectionDQM_
private
SiStripCablingDQM* SiStripClassToMonitorCondData::cablingDQM_
private
edm::ParameterSet SiStripClassToMonitorCondData::conf_
private

Definition at line 61 of file SiStripClassToMonitorCondData.h.

Referenced by beginRun(), and endRun().

bool SiStripClassToMonitorCondData::gainRenormalisation_
private

Definition at line 73 of file SiStripClassToMonitorCondData.h.

SiStripThresholdDQM* SiStripClassToMonitorCondData::highthresholdDQM_
private
SiStripLorentzAngleDQM* SiStripClassToMonitorCondData::lorentzangleDQM_
private
SiStripThresholdDQM* SiStripClassToMonitorCondData::lowthresholdDQM_
private
bool SiStripClassToMonitorCondData::monitorApvGains_
private
bool SiStripClassToMonitorCondData::monitorBackPlaneCorrection_
private
bool SiStripClassToMonitorCondData::monitorCabling_
private
bool SiStripClassToMonitorCondData::monitorHighThreshold_
private
bool SiStripClassToMonitorCondData::monitorLorentzAngle_
private
bool SiStripClassToMonitorCondData::monitorLowThreshold_
private
bool SiStripClassToMonitorCondData::monitorNoises_
private
bool SiStripClassToMonitorCondData::monitorPedestals_
private
bool SiStripClassToMonitorCondData::monitorQuality_
private
SiStripNoisesDQM* SiStripClassToMonitorCondData::noisesDQM_
private
std::string SiStripClassToMonitorCondData::outPutFileName
private

Definition at line 75 of file SiStripClassToMonitorCondData.h.

SiStripPedestalsDQM* SiStripClassToMonitorCondData::pedestalsDQM_
private
SiStripQualityDQM* SiStripClassToMonitorCondData::qualityDQM_
private