Skip to content

Commit

Permalink
EMTF fix small bug in DQM code
Browse files Browse the repository at this point in the history
  • Loading branch information
abrinke1 committed Aug 1, 2017
1 parent f80d2bf commit d3cb819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DQM/L1TMonitor/src/L1TStage2EMTF.cc
Expand Up @@ -465,7 +465,7 @@ void L1TStage2EMTF::analyze(const edm::Event& e, const edm::EventSetup& c) {

int nTracks = TrackCollection->size();

emtfnTracks->Fill(std::min(nTracks, emtfnTracks->getTH2F()->GetNbinsX() - 1));
emtfnTracks->Fill(std::min(nTracks, emtfnTracks->getTH1F()->GetNbinsX() - 1));

for (std::vector<l1t::EMTFTrack>::const_iterator Track = TrackCollection->begin(); Track != TrackCollection->end(); ++Track) {
int endcap = Track->Endcap();
Expand Down

0 comments on commit d3cb819

Please sign in to comment.