CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
GEMDQMStatusDigi Class Reference
Inheritance diagram for GEMDQMStatusDigi:

Public Member Functions

 GEMDQMStatusDigi (const edm::ParameterSet &cfg)
 
 ~GEMDQMStatusDigi () override
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 

Protected Member Functions

void analyze (edm::Event const &e, edm::EventSetup const &eSetup) override
 
void beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup) override
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
void endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &eSetup) override
 
void endRun (edm::Run const &run, edm::EventSetup const &eSetup) override
 

Private Member Functions

int AMCBinN (uint16_t BID_)
 
int GEBBinN (uint16_t BID_)
 

Private Attributes

int cBit_ = 9
 
MonitorElementChamT2D_
 
MonitorElementChamT_
 
int eBit_ = 13
 
MonitorElementGDcount2D_
 
MonitorElementGDcount_
 
MonitorElementGEMDAV2D_
 
MonitorElementGEMDAV_
 
MonitorElementh1B1010All_
 
MonitorElementh1B1100All_
 
MonitorElementh1B1110All_
 
MonitorElementh1CRCAll_
 
MonitorElementh1FlagAll_
 
MonitorElementh1GEBError_
 
MonitorElementh1GEBWarning_
 
MonitorElementh1InputID_
 
MonitorElementh1Vwh_
 
MonitorElementh1Vwt_
 
MonitorElementh2B1010All_
 
MonitorElementh2B1100All_
 
MonitorElementh2B1110All_
 
MonitorElementh2CRCAll_
 
MonitorElementh2FlagAll_
 
MonitorElementh2GEBError_
 
MonitorElementh2GEBWarning_
 
MonitorElementh2InputID_
 
MonitorElementh2Vwh_
 
MonitorElementh2Vwt_
 
std::unordered_map< uint16_t, int > mlAMCID_
 
std::unordered_map< uint16_t, int > mlGEBID_
 
int nVfat_ = 24
 
MonitorElementOOSG2D_
 
MonitorElementOOSG_
 
edm::EDGetToken tagAMC_
 
edm::EDGetToken tagGEB_
 
edm::EDGetToken tagVFAT_
 
MonitorElementTstate2D_
 
MonitorElementTstate_
 

Detailed Description

Definition at line 23 of file GEMDQMStatusDigi.cc.

Constructor & Destructor Documentation

GEMDQMStatusDigi::GEMDQMStatusDigi ( const edm::ParameterSet cfg)

Definition at line 97 of file GEMDQMStatusDigi.cc.

References edm::ParameterSet::getParameter(), tagAMC_, tagGEB_, and tagVFAT_.

98 {
99 
100  tagVFAT_ = consumes<GEMVfatStatusDigiCollection>(cfg.getParameter<edm::InputTag>("VFATInputLabel"));
101  tagGEB_ = consumes<GEMGEBStatusDigiCollection>(cfg.getParameter<edm::InputTag>("GEBInputLabel"));
102  tagAMC_ = consumes<GEMAMCStatusDigiCollection>(cfg.getParameter<edm::InputTag>("AMCInputLabel"));
103 
104 }
T getParameter(std::string const &) const
edm::EDGetToken tagVFAT_
edm::EDGetToken tagGEB_
edm::EDGetToken tagAMC_
GEMDQMStatusDigi::~GEMDQMStatusDigi ( )
inlineoverride

Definition at line 27 of file GEMDQMStatusDigi.cc.

References analyze(), bookHistograms(), MillePedeFileConverter_cfg::e, and fillDescriptions().

27 {};

Member Function Documentation

int GEMDQMStatusDigi::AMCBinN ( uint16_t  BID_)
private

Definition at line 115 of file GEMDQMStatusDigi.cc.

References ChamT2D_, GDcount2D_, GEMDAV2D_, MonitorElement::getTH2F(), createfilelist::int, mlAMCID_, OOSG2D_, and Tstate2D_.

Referenced by analyze().

115  {
116 
117  if(mlAMCID_.find(BID_) == mlAMCID_.end()){
118  int addIdx = mlAMCID_.size();
119  mlAMCID_[BID_] = addIdx;
120 
121  int nNumAMC = (int)mlAMCID_.size();
122  string strLabel = "BID: "+to_string(BID_);
123  const char* tmpLabel = strLabel.data();
124  ( (TH2F *)GEMDAV2D_->getTH2F() )->SetBins(24, 0, 24, nNumAMC, 0, nNumAMC);
125  ( (TH2F *)GEMDAV2D_->getTH2F() )->GetYaxis()->SetBinLabel(nNumAMC,tmpLabel);
126 
127  ( (TH2F *)Tstate2D_->getTH2F() )->SetBins(15, 0, 15, nNumAMC, 0, nNumAMC);
128  ( (TH2F *)Tstate2D_->getTH2F() )->GetYaxis()->SetBinLabel(nNumAMC,tmpLabel);
129 
130  ( (TH2F *)GDcount2D_->getTH2F() )->SetBins(32, 0, 32, nNumAMC, 0, nNumAMC);
131  ( (TH2F *)GDcount2D_->getTH2F() )->GetYaxis()->SetBinLabel(nNumAMC,tmpLabel);
132 
133  ( (TH2F *)ChamT2D_->getTH2F() )->SetBins(24, 0, 24, nNumAMC, 0, nNumAMC);
134  ( (TH2F *)ChamT2D_->getTH2F() )->GetYaxis()->SetBinLabel(nNumAMC,tmpLabel);
135 
136  ( (TH2F *)OOSG2D_->getTH2F() )->SetBins(1, 0, 1, nNumAMC, 0, nNumAMC);
137  ( (TH2F *)OOSG2D_->getTH2F() )->GetYaxis()->SetBinLabel(nNumAMC,tmpLabel);
138  }
139 
140  return mlAMCID_[BID_];
141 }
MonitorElement * GEMDAV2D_
std::unordered_map< uint16_t, int > mlAMCID_
TH2F * getTH2F() const
MonitorElement * Tstate2D_
MonitorElement * ChamT2D_
MonitorElement * OOSG2D_
MonitorElement * GDcount2D_
void GEMDQMStatusDigi::analyze ( edm::Event const &  e,
edm::EventSetup const &  eSetup 
)
overrideprotected

Definition at line 239 of file GEMDQMStatusDigi.cc.

References AMCBinN(), MuonDigiCollection< IndexType, DigiType >::begin(), stringResolutionProvider_cfi::bin, cBit_, ChamT2D_, ChamT_, DEFINE_FWK_MODULE, eBit_, MuonDigiCollection< IndexType, DigiType >::end(), MonitorElement::Fill(), GDcount2D_, GDcount_, GEBBinN(), GEMDAV2D_, GEMDAV_, h1B1010All_, h1B1100All_, h1B1110All_, h1CRCAll_, h1FlagAll_, h1GEBError_, h1GEBWarning_, h1InputID_, h1Vwh_, h1Vwt_, h2B1010All_, h2B1100All_, h2B1110All_, h2CRCAll_, h2FlagAll_, h2GEBError_, h2GEBWarning_, h2InputID_, h2Vwh_, h2Vwt_, nVfat_, OOSG2D_, OOSG_, tagAMC_, tagGEB_, tagVFAT_, Tstate2D_, Tstate_, and globals_cff::x1.

Referenced by ~GEMDQMStatusDigi().

240 {
244  event.getByToken( this->tagVFAT_, gemVFAT);
245  event.getByToken( this->tagGEB_, gemGEB);
246  event.getByToken( this->tagAMC_, gemAMC);
247 
248  for (GEMVfatStatusDigiCollection::DigiRangeIterator vfatIt = gemVFAT->begin(); vfatIt != gemVFAT->end(); ++vfatIt){
249  const GEMVfatStatusDigiCollection::Range& range = (*vfatIt).second;
250  uint16_t tmpID = (*vfatIt).first;
251  int nIdx = GEBBinN(tmpID);
252  for ( auto vfatError = range.first; vfatError != range.second; ++vfatError ) {
253 
254  h1B1010All_->Fill(vfatError->getB1010());
255  h1B1100All_->Fill(vfatError->getB1100());
256  h1B1110All_->Fill(vfatError->getB1110());
257  h1FlagAll_->Fill(vfatError->getFlag());
258  h1CRCAll_->Fill(vfatError->getCrc());
259 
260  h2B1010All_->Fill(vfatError->getB1010(), nIdx);
261  h2B1100All_->Fill(vfatError->getB1100(), nIdx);
262  h2B1110All_->Fill(vfatError->getB1110(), nIdx);
263  h2FlagAll_->Fill(vfatError->getFlag(), nIdx);
264  h2CRCAll_->Fill(vfatError->getCrc(), nIdx);
265  }
266  }
267 
268  for (GEMGEBStatusDigiCollection::DigiRangeIterator gebIt = gemGEB->begin(); gebIt != gemGEB->end(); ++gebIt){
269  const GEMGEBStatusDigiCollection::Range& range = (*gebIt).second;
270  for ( auto GEBStatus = range.first; GEBStatus != range.second; ++GEBStatus ) {
271  uint16_t tmpID = (*gebIt).first;
272  h1InputID_->Fill(tmpID);
273  h1Vwh_->Fill(GEBStatus->getVwh());
274  h1Vwt_->Fill(GEBStatus->getVwt());
275 
276  int nIdx = GEBBinN(tmpID);
277  h2InputID_->Fill(tmpID, nIdx);
278  h2Vwh_->Fill(GEBStatus->getVwh(), nIdx);
279  h2Vwt_->Fill(GEBStatus->getVwt(), nIdx);
280 
281  for ( int bin = 0 ; bin < cBit_ ; bin++ ) {
282  if ( ( ( GEBStatus->getErrorC() >> bin ) & 0x1 ) != 0 ) {
284  h2GEBWarning_->Fill(bin, nIdx);
285  }
286  }
287  for ( int bin = cBit_ ; bin < eBit_ ; bin++ ) {
288  if ( ( ( GEBStatus->getErrorC() >> bin ) & 0x1 ) != 0 ) {
289  h1GEBError_->Fill(bin - 9);
290  h2GEBError_->Fill(bin - 9, nIdx);
291  }
292  }
293 
294  if ( ( GEBStatus->getInFu() & 0x1 ) != 0 ) {
295  h1GEBError_->Fill(9);
296  h2GEBError_->Fill(9, nIdx);
297  }
298  if ( ( GEBStatus->getStuckd() & 0x1 ) != 0 ) {
299  h1GEBWarning_->Fill(9);
300  h2GEBWarning_->Fill(9, nIdx);
301  }
302  }
303  }
304 
305  for (GEMAMCStatusDigiCollection::DigiRangeIterator amcIt = gemAMC->begin(); amcIt != gemAMC->end(); ++amcIt){
306  const GEMAMCStatusDigiCollection::Range& range = (*amcIt).second;
307  for ( auto amc = range.first; amc != range.second; ++amc ) {
308  uint16_t tmpID = (*amcIt).first;
309  int nIdxAMC = AMCBinN(tmpID);
310  uint8_t binFired = 0;
311  for (int bin = 0; bin < nVfat_; bin++){
312  binFired = ((amc->GEMDAV() >> bin) & 0x1);
313  if (binFired) {GEMDAV_->Fill(bin); GEMDAV2D_->Fill(bin, nIdxAMC);}
314  binFired = ((amc->ChamT() >> bin) & 0x1);
315  if (binFired) {ChamT_->Fill(bin); ChamT2D_->Fill(bin, nIdxAMC);}
316  }
317 
318  Tstate_->Fill(amc->Tstate());
319  GDcount_->Fill(amc->GDcount());
320  OOSG_->Fill(amc->OOSG());
321 
322  Tstate2D_->Fill(amc->Tstate(), nIdxAMC);
323  GDcount2D_->Fill(amc->GDcount(), nIdxAMC);
324  OOSG2D_->Fill(amc->OOSG(), nIdxAMC);
325  }
326  }
327 }
MonitorElement * GEMDAV2D_
MonitorElement * Tstate_
MonitorElement * h1B1110All_
MonitorElement * OOSG_
MonitorElement * GEMDAV_
edm::EDGetToken tagVFAT_
MonitorElement * ChamT_
MonitorElement * h2GEBError_
MonitorElement * h1Vwh_
void Fill(long long x)
int AMCBinN(uint16_t BID_)
MonitorElement * h1GEBWarning_
MonitorElement * GDcount_
MonitorElement * h2InputID_
MonitorElement * h2CRCAll_
MonitorElement * h2B1110All_
MonitorElement * h2B1100All_
MonitorElement * h1CRCAll_
int GEBBinN(uint16_t BID_)
MonitorElement * h2Vwt_
MonitorElement * h2Vwh_
bin
set the eta bin as selection string.
MonitorElement * h1FlagAll_
MonitorElement * h1InputID_
MonitorElement * Tstate2D_
MonitorElement * h2B1010All_
MonitorElement * h2FlagAll_
MonitorElement * ChamT2D_
MonitorElement * h2GEBWarning_
MonitorElement * OOSG2D_
MonitorElement * h1GEBError_
MonitorElement * h1Vwt_
std::pair< const_iterator, const_iterator > Range
edm::EDGetToken tagGEB_
MonitorElement * h1B1100All_
Definition: AMCSpec.h:8
MonitorElement * GDcount2D_
DigiRangeIterator end() const
edm::EDGetToken tagAMC_
DigiRangeIterator begin() const
MonitorElement * h1B1010All_
void GEMDQMStatusDigi::beginLuminosityBlock ( edm::LuminosityBlock const &  lumi,
edm::EventSetup const &  eSetup 
)
inlineoverrideprotected

Definition at line 33 of file GEMDQMStatusDigi.cc.

33 {};
void GEMDQMStatusDigi::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  ,
edm::EventSetup const &  iSetup 
)
overrideprotected

Definition at line 188 of file GEMDQMStatusDigi.cc.

References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::cd(), ChamT2D_, ChamT_, GDcount2D_, GDcount_, GEMDAV2D_, GEMDAV_, MonitorElement::getTH1F(), MonitorElement::getTH2F(), h1B1010All_, h1B1100All_, h1B1110All_, h1CRCAll_, h1FlagAll_, h1GEBError_, h1GEBWarning_, h1InputID_, h1Vwh_, h1Vwt_, h2B1010All_, h2B1100All_, h2B1110All_, h2CRCAll_, h2FlagAll_, h2GEBError_, h2GEBWarning_, h2InputID_, h2Vwh_, h2Vwt_, mps_fire::i, OOSG2D_, OOSG_, DQMStore::IBooker::setCurrentFolder(), Tstate2D_, and Tstate_.

Referenced by ~GEMDQMStatusDigi().

189 {
190 
191  ibooker.cd();
192  ibooker.setCurrentFolder("GEM/StatusDigi");
193 
194  h1B1010All_ = ibooker.book1D("vfatErrors_all_b1010", "Control Bit 1010", 15, 0x0 , 0xf);
195  h1B1100All_ = ibooker.book1D("vfatErrors_all_b1100", "Control Bit 1100", 15, 0x0 , 0xf);
196  h1B1110All_ = ibooker.book1D("vfatErrors_all_b1110", "Control Bit 1110", 15, 0x0 , 0xf);
197  h2B1010All_ = ibooker.book2D("vfatErrors_all_b1010_PerGEB", "Control Bit 1010", 15, 0x0 , 0xf, 1, 0, 1);
198  h2B1100All_ = ibooker.book2D("vfatErrors_all_b1100_PerGEB", "Control Bit 1100", 15, 0x0 , 0xf, 1, 0, 1);
199  h2B1110All_ = ibooker.book2D("vfatErrors_all_b1110_PerGEB", "Control Bit 1110", 15, 0x0 , 0xf, 1, 0, 1);
200 
201  h1FlagAll_ = ibooker.book1D("vfatErrors_all_flag", "Control Flags", 15, 0x0 , 0xf);
202  h1CRCAll_ = ibooker.book1D("vfatErrors_all_CRC", "CRC Mismatches", 0xffff, -32768, 32768);
203  h2FlagAll_ = ibooker.book2D("vfatErrors_all_flag_PerGEB", "Control Flags", 15, 0x0 , 0xf, 1, 0, 1);
204  h2CRCAll_ = ibooker.book2D("vfatErrors_all_CRC_PerGEB", "CRC Mismatches", 0xffff, -32768, 32768, 1, 0, 1);
205 
206  h1InputID_ = ibooker.book1D("GEB_InputID", "GEB GLIB input ID", 31, 0x0 , 0b11111);
207  h1Vwh_ = ibooker.book1D("VFAT_Vwh", "VFAT word count", 4095, 0x0 , 0xfff);
208  h1Vwt_ = ibooker.book1D("VFAT_Vwt", "VFAT word count", 4095, 0x0 , 0xfff);
209  h2InputID_ = ibooker.book2D("GEB_InputID_PerGEB", "GEB GLIB input ID", 31, 0x0 , 0b11111, 1, 0, 1);
210  h2Vwh_ = ibooker.book2D("VFAT_Vwh_PerGEB", "VFAT word count", 4095, 0x0 , 0xfff, 1, 0, 1);
211  h2Vwt_ = ibooker.book2D("VFAT_Vwt_PerGEB", "VFAT word count", 4095, 0x0 , 0xfff, 1, 0, 1);
212 
213  h1GEBError_ = ibooker.book1D("GEB_Errors", "GEB Critical Errors", 5, 0, 5);
214  h2GEBError_ = ibooker.book2D("GEB_Errors_PerGEB", "GEB Critical Errors", 5, 0, 5, 1, 0, 1);
215  TH1F *histErr1D = h1GEBError_->getTH1F();
216  TH2F *histErr2D = h2GEBError_->getTH2F();
217  const char *error_flags[5] = {"Event Size Overflow", "L1AFIFO Full", "InFIFO Full", "Evt FIFO Full","InFIFO Underflow"};
218  for (int i = 1; i< histErr1D->GetNbinsX()+1; i++) {histErr1D->GetXaxis()->SetBinLabel(i, error_flags[i-1]); histErr2D->GetXaxis()->SetBinLabel(i, error_flags[i-1]);}
219  h1GEBWarning_ = ibooker.book1D("GEB_Warnings", "GEB Warnings", 10, 0, 10);
220  h2GEBWarning_ = ibooker.book2D("GEB_Warnings_PerGEB", "GEB Warnings", 10, 0, 10, 1, 0, 1);
221  TH1F *histWar1D = h1GEBWarning_->getTH1F();
222  TH2F *histWar2D = h2GEBWarning_->getTH2F();
223  const char *warning_flags[10] = {"BX AMC-OH Mismatch", "BX AMC-VFAT Mismatch", "OOS AMC OH", "OOS AMC VFAT","No VFAT Marker","Event Size Warn", "L1AFIFO Near Full", "InFIFO Near Full", "EvtFIFO Near Full", "Stuck Data"};
224  for (int i = 1; i<histWar1D->GetNbinsX()+1; i++) {histWar1D->GetXaxis()->SetBinLabel(i, warning_flags[i-1]); histWar2D->GetXaxis()->SetBinLabel(i, warning_flags[i-1]);}
225 
226  GEMDAV_ = ibooker.book1D("GEMDAV", "GEM DAV list", 24, 0, 24);
227  Tstate_ = ibooker.book1D("Tstate", "TTS state", 15, 0, 15);
228  GDcount_ = ibooker.book1D("GDcount", "GEM DAV count", 32, 0, 32);
229  ChamT_ = ibooker.book1D("ChamT", "Chamber Timeout", 24, 0, 24);
230  OOSG_ = ibooker.book1D("OOSG", "OOS GLIB", 1, 0, 1);
231 
232  GEMDAV2D_ = ibooker.book2D("GEMDAV_PerAMC", "GEM DAV list", 24, 0, 24, 1, 0, 1);
233  Tstate2D_ = ibooker.book2D("Tstate_PerAMC", "TTS state", 15, 0, 15, 1, 0, 1);
234  GDcount2D_ = ibooker.book2D("GDcount_PerAMC", "GEM DAV count", 32, 0, 32, 1, 0, 1);
235  ChamT2D_ = ibooker.book2D("ChamT_PerAMC", "Chamber Timeout", 24, 0, 24, 1, 0, 1);
236  OOSG2D_ = ibooker.book2D("OOSG_PerAMC", "OOS GLIB", 1, 0, 1, 1, 0, 1);
237 }
MonitorElement * GEMDAV2D_
MonitorElement * Tstate_
MonitorElement * h1B1110All_
MonitorElement * OOSG_
MonitorElement * GEMDAV_
TH1F * getTH1F() const
MonitorElement * ChamT_
MonitorElement * h2GEBError_
MonitorElement * h1Vwh_
MonitorElement * h1GEBWarning_
MonitorElement * GDcount_
MonitorElement * h2InputID_
MonitorElement * h2CRCAll_
MonitorElement * book1D(Args &&...args)
Definition: DQMStore.h:118
MonitorElement * h2B1110All_
MonitorElement * h2B1100All_
MonitorElement * h1CRCAll_
TH2F * getTH2F() const
MonitorElement * h2Vwt_
MonitorElement * h2Vwh_
MonitorElement * h1FlagAll_
MonitorElement * h1InputID_
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:274
MonitorElement * Tstate2D_
MonitorElement * book2D(Args &&...args)
Definition: DQMStore.h:136
MonitorElement * h2B1010All_
MonitorElement * h2FlagAll_
MonitorElement * ChamT2D_
MonitorElement * h2GEBWarning_
MonitorElement * OOSG2D_
MonitorElement * h1GEBError_
MonitorElement * h1Vwt_
MonitorElement * h1B1100All_
MonitorElement * GDcount2D_
MonitorElement * h1B1010All_
void GEMDQMStatusDigi::endLuminosityBlock ( edm::LuminosityBlock const &  lumi,
edm::EventSetup const &  eSetup 
)
inlineoverrideprotected

Definition at line 34 of file GEMDQMStatusDigi.cc.

34 {};
void GEMDQMStatusDigi::endRun ( edm::Run const &  run,
edm::EventSetup const &  eSetup 
)
inlineoverrideprotected

Definition at line 35 of file GEMDQMStatusDigi.cc.

35 {};
void GEMDQMStatusDigi::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 106 of file GEMDQMStatusDigi.cc.

References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::add().

Referenced by ~GEMDQMStatusDigi().

107 {
109  desc.add<edm::InputTag>("VFATInputLabel", edm::InputTag("muonGEMDigis", "vfatStatus"));
110  desc.add<edm::InputTag>("GEBInputLabel", edm::InputTag("muonGEMDigis", "GEBStatus"));
111  desc.add<edm::InputTag>("AMCInputLabel", edm::InputTag("muonGEMDigis", "AMCStatus"));
112  descriptions.add("GEMDQMStatusDigi", desc);
113 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
int GEMDQMStatusDigi::GEBBinN ( uint16_t  BID_)
private

Definition at line 143 of file GEMDQMStatusDigi.cc.

References MonitorElement::getTH2F(), h2B1010All_, h2B1100All_, h2B1110All_, h2CRCAll_, h2FlagAll_, h2GEBError_, h2GEBWarning_, h2InputID_, h2Vwh_, h2Vwt_, createfilelist::int, and mlGEBID_.

Referenced by analyze().

143  {
144  if(mlGEBID_.find(BID_) == mlGEBID_.end()){
145  int addIdx = mlGEBID_.size();
146  mlGEBID_[BID_] = addIdx;
147 
148  int nNumGEB = (int)mlGEBID_.size();
149  string strLabel = "BID: "+to_string(BID_);
150  const char* tmpLabel = strLabel.data();
151  ( (TH2F *)h2B1010All_->getTH2F() )->SetBins(15, 0x0 , 0xf, nNumGEB, 0, nNumGEB);
152  ( (TH2F *)h2B1010All_->getTH2F() )->GetYaxis()->SetBinLabel(nNumGEB,tmpLabel);
153 
154  ( (TH2F *)h2B1100All_->getTH2F() )->SetBins(15, 0x0 , 0xf, nNumGEB, 0, nNumGEB);
155  ( (TH2F *)h2B1100All_->getTH2F() )->GetYaxis()->SetBinLabel(nNumGEB,tmpLabel);
156 
157  ( (TH2F *)h2B1110All_->getTH2F() )->SetBins(15, 0x0 , 0xf, nNumGEB, 0, nNumGEB);
158  ( (TH2F *)h2B1110All_->getTH2F() )->GetYaxis()->SetBinLabel(nNumGEB,tmpLabel);
159 
160  ( (TH2F *)h2FlagAll_->getTH2F() )->SetBins(15, 0x0 , 0xf, nNumGEB, 0, nNumGEB);
161  ( (TH2F *)h2FlagAll_->getTH2F() )->GetYaxis()->SetBinLabel(nNumGEB,tmpLabel);
162 
163  ( (TH2F *)h2CRCAll_->getTH2F() )->SetBins(0xffff, -32768, 32768, nNumGEB, 0, nNumGEB);
164  ( (TH2F *)h2CRCAll_->getTH2F() )->GetYaxis()->SetBinLabel(nNumGEB,tmpLabel);
165 
166  ( (TH2F *)h2InputID_->getTH2F() )->SetBins(31, 0x0 , 0b11111, nNumGEB, 0, nNumGEB);
167  ( (TH2F *)h2InputID_->getTH2F() )->GetYaxis()->SetBinLabel(nNumGEB,tmpLabel);
168 
169  ( (TH2F *)h2Vwh_->getTH2F() )->SetBins(4095, 0x0 , 0xfff, nNumGEB, 0, nNumGEB);
170  ( (TH2F *)h2Vwh_->getTH2F() )->GetYaxis()->SetBinLabel(nNumGEB,tmpLabel);
171 
172  ( (TH2F *)h2Vwt_->getTH2F() )->SetBins(4095, 0x0 , 0xfff, nNumGEB, 0, nNumGEB);
173  ( (TH2F *)h2Vwt_->getTH2F() )->GetYaxis()->SetBinLabel(nNumGEB,tmpLabel);
174 
175  ( (TH2F *)h2GEBError_->getTH2F() )->SetBins(5, 0, 5, nNumGEB, 0, nNumGEB);
176  ( (TH2F *)h2GEBError_->getTH2F() )->GetYaxis()->SetBinLabel(nNumGEB,tmpLabel);
177 
178  ( (TH2F *)h2GEBWarning_->getTH2F() )->SetBins(10, 0, 10, nNumGEB, 0, nNumGEB);
179  ( (TH2F *)h2GEBWarning_->getTH2F() )->GetYaxis()->SetBinLabel(nNumGEB,tmpLabel);
180 
181  }
182  return mlGEBID_[BID_];
183 }
MonitorElement * h2GEBError_
MonitorElement * h2InputID_
MonitorElement * h2CRCAll_
MonitorElement * h2B1110All_
MonitorElement * h2B1100All_
TH2F * getTH2F() const
MonitorElement * h2Vwt_
MonitorElement * h2Vwh_
std::unordered_map< uint16_t, int > mlGEBID_
MonitorElement * h2B1010All_
MonitorElement * h2FlagAll_
MonitorElement * h2GEBWarning_

Member Data Documentation

int GEMDQMStatusDigi::cBit_ = 9
private

Definition at line 39 of file GEMDQMStatusDigi.cc.

Referenced by analyze().

MonitorElement* GEMDQMStatusDigi::ChamT2D_
private

Definition at line 85 of file GEMDQMStatusDigi.cc.

Referenced by AMCBinN(), analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::ChamT_
private

Definition at line 79 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and bookHistograms().

int GEMDQMStatusDigi::eBit_ = 13
private

Definition at line 40 of file GEMDQMStatusDigi.cc.

Referenced by analyze().

MonitorElement* GEMDQMStatusDigi::GDcount2D_
private

Definition at line 84 of file GEMDQMStatusDigi.cc.

Referenced by AMCBinN(), analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::GDcount_
private

Definition at line 78 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::GEMDAV2D_
private

Definition at line 82 of file GEMDQMStatusDigi.cc.

Referenced by AMCBinN(), analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::GEMDAV_
private

Definition at line 76 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::h1B1010All_
private

Definition at line 48 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::h1B1100All_
private

Definition at line 49 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::h1B1110All_
private

Definition at line 50 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::h1CRCAll_
private

Definition at line 53 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::h1FlagAll_
private

Definition at line 52 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::h1GEBError_
private

Definition at line 59 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::h1GEBWarning_
private

Definition at line 60 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::h1InputID_
private

Definition at line 55 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::h1Vwh_
private

Definition at line 56 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::h1Vwt_
private

Definition at line 57 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::h2B1010All_
private

Definition at line 62 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), bookHistograms(), and GEBBinN().

MonitorElement* GEMDQMStatusDigi::h2B1100All_
private

Definition at line 63 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), bookHistograms(), and GEBBinN().

MonitorElement* GEMDQMStatusDigi::h2B1110All_
private

Definition at line 64 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), bookHistograms(), and GEBBinN().

MonitorElement* GEMDQMStatusDigi::h2CRCAll_
private

Definition at line 67 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), bookHistograms(), and GEBBinN().

MonitorElement* GEMDQMStatusDigi::h2FlagAll_
private

Definition at line 66 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), bookHistograms(), and GEBBinN().

MonitorElement* GEMDQMStatusDigi::h2GEBError_
private

Definition at line 73 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), bookHistograms(), and GEBBinN().

MonitorElement* GEMDQMStatusDigi::h2GEBWarning_
private

Definition at line 74 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), bookHistograms(), and GEBBinN().

MonitorElement* GEMDQMStatusDigi::h2InputID_
private

Definition at line 69 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), bookHistograms(), and GEBBinN().

MonitorElement* GEMDQMStatusDigi::h2Vwh_
private

Definition at line 70 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), bookHistograms(), and GEBBinN().

MonitorElement* GEMDQMStatusDigi::h2Vwt_
private

Definition at line 71 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), bookHistograms(), and GEBBinN().

std::unordered_map<uint16_t, int> GEMDQMStatusDigi::mlAMCID_
private

Definition at line 88 of file GEMDQMStatusDigi.cc.

Referenced by AMCBinN().

std::unordered_map<uint16_t, int> GEMDQMStatusDigi::mlGEBID_
private

Definition at line 89 of file GEMDQMStatusDigi.cc.

Referenced by GEBBinN().

int GEMDQMStatusDigi::nVfat_ = 24
private

Definition at line 38 of file GEMDQMStatusDigi.cc.

Referenced by analyze().

MonitorElement* GEMDQMStatusDigi::OOSG2D_
private

Definition at line 86 of file GEMDQMStatusDigi.cc.

Referenced by AMCBinN(), analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::OOSG_
private

Definition at line 80 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and bookHistograms().

edm::EDGetToken GEMDQMStatusDigi::tagAMC_
private

Definition at line 43 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and GEMDQMStatusDigi().

edm::EDGetToken GEMDQMStatusDigi::tagGEB_
private

Definition at line 42 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and GEMDQMStatusDigi().

edm::EDGetToken GEMDQMStatusDigi::tagVFAT_
private

Definition at line 41 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and GEMDQMStatusDigi().

MonitorElement* GEMDQMStatusDigi::Tstate2D_
private

Definition at line 83 of file GEMDQMStatusDigi.cc.

Referenced by AMCBinN(), analyze(), and bookHistograms().

MonitorElement* GEMDQMStatusDigi::Tstate_
private

Definition at line 77 of file GEMDQMStatusDigi.cc.

Referenced by analyze(), and bookHistograms().