Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

L1TStage2uGT DQM Update: aligned with 80X #14739

Merged
merged 1 commit into from Jun 9, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions DQM/L1TMonitor/src/L1TStage2uGT.cc
Expand Up @@ -136,8 +136,8 @@ void L1TStage2uGT::analyze(const edm::Event& evt, const edm::EventSetup& evtSetu
// Get uGT algo bit statistics
else {
//algoBits_->Fill(-1.); // fill underflow to normalize // FIXME: needed?
for (int ibx=uGtAlgs->getFirstBX(); ibx <= uGtAlgs->getLastBX(); ++ibx) {
for (auto itr = uGtAlgs->begin(ibx); itr != uGtAlgs->end(ibx); ++itr) { // FIXME: redundant loop over 1-dim vector?
for (int ibx = uGtAlgs->getFirstBX(); ibx <= uGtAlgs->getLastBX(); ++ibx) {
for (auto itr = uGtAlgs->begin(ibx); itr != uGtAlgs->end(ibx); ++itr) { // FIXME: redundant loop?

// Fills prescale factor set histogram
prescaleFactorSet_->Fill(lumi, itr->getPreScColumn());
Expand All @@ -163,7 +163,7 @@ void L1TStage2uGT::analyze(const edm::Event& evt, const edm::EventSetup& evtSetu
if(itr->getAlgoDecisionInterm(algoBit)) {
algoBits_after_prescaler_->Fill(algoBit);
algoBits_after_prescaler_lumi_->Fill(lumi, algoBit);
algoBits_after_prescaler_bx_inEvt_->Fill(ibx, algoBit); // FIXME: or itr->getbxInEventNr()/getbxNr()?
algoBits_after_prescaler_bx_inEvt_->Fill(ibx, algoBit);
algoBits_after_prescaler_bx_global_->Fill(bx + ibx, algoBit);

for(int algoBit2 = 0; algoBit2 < numAlgs; ++algoBit2) {
Expand All @@ -177,7 +177,7 @@ void L1TStage2uGT::analyze(const edm::Event& evt, const edm::EventSetup& evtSetu
if(itr->getAlgoDecisionFinal(algoBit)) {
algoBits_after_mask_->Fill(algoBit);
algoBits_after_mask_lumi_->Fill(lumi, algoBit);
algoBits_after_mask_bx_inEvt_->Fill(ibx, algoBit); // FIXME: or itr->getbxInEventNr()/getbxNr()?
algoBits_after_mask_bx_inEvt_->Fill(ibx, algoBit);
algoBits_after_mask_bx_global_->Fill(bx + ibx, algoBit);

for(int algoBit2 = 0; algoBit2 < numAlgs; ++algoBit2) {
Expand Down