DQM Client Diagnostic.
93 LogVerbatim (
"DTDQM|DTMonitorClient|DTNoiseAnalysisTest")
94 <<
"[DTNoiseAnalysisTest]: End of LS transition, performing the DQM client operation";
99 (*plot).second->Reset();
104 (*plot).second->Reset();
111 vector<DTChamber*>::const_iterator ch_it =
muonGeom->chambers().begin();
112 vector<DTChamber*>::const_iterator ch_end =
muonGeom->chambers().end();
114 LogTrace (
"DTDQM|DTMonitorClient|DTNoiseAnalysisTest")
115 <<
"[DTNoiseAnalysisTest]: Fill the summary histos";
117 for (; ch_it != ch_end; ++ch_it) {
124 TH2F * histo_root = histo->
getTH2F();
126 for(
int sl = 1; sl != 4; ++sl) {
128 if(chID.
station() == 4 && sl == 2)
continue;
130 int binYlow = ((sl-1)*4)+1;
132 for(
int layer = 1; layer <= 4; ++layer) {
137 int nWires =
muonGeom->layer(layID)->specificTopology().channels();
138 int firstWire =
muonGeom->layer(layID)->specificTopology().firstChannel();
140 int binY = binYlow+(layer-1);
142 for(
int wire = firstWire; wire != (nWires+firstWire); wire++){
144 double noise = histo_root->GetBinContent(wire, binY);
148 int sector = chID.
sector();
152 }
else if(sector == 14) {
169 LogTrace(
"DTDQM|DTMonitorClient|DTNoiseAnalysisTest")
170 <<
"[DTNoiseAnalysisTest]: fill summaries for synch noise" << endl;
172 for(
int wheel = -2; wheel != 3; ++wheel) {
175 if(histoNoiseSynch != 0) {
176 for(
int sect = 1; sect != 13; ++sect) {
177 TH2F * histo = histoNoiseSynch->
getTH2F();
178 for(
int sta = 1; sta != 5; ++sta) {
179 LogTrace(
"DTDQM|DTMonitorClient|DTNoiseAnalysisTest")
180 <<
" Wheel: " << wheel <<
" sect: " << sect
181 <<
" station: " << sta
182 <<
" rate is: " << histo->GetBinContent(sect, sta)/(float)
nevents << endl;
191 LogWarning(
"DTDQM|DTMonitorClient|DTNoiseAnalysisTest")
std::map< int, MonitorElement * > noisyCellHistos
edm::ESHandle< DTGeometry > muonGeom
std::string getMEName(const DTChamberId &chID)
Get the ME name.
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
MonitorElement * summarySynchNoiseHisto
std::map< int, MonitorElement * > noiseHistos
std::string getSynchNoiseMEName(int wheelId) const
MonitorElement * summaryNoiseHisto
int station() const
Return the station number.
TH2F * getTH2F(void) const
int wheel() const
Return the wheel number.
void Reset(void)
reset ME (ie. contents, errors, etc)