Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62323
b: refs/heads/l1tmuon-upgrade-dev
c: 8acc136
h: refs/heads/l1tmuon-upgrade-dev
i:
  62321: f94e866
  62319: 0558075
  • Loading branch information
Andrew Michael Kubik committed Mar 19, 2009
1 parent dc0b75f commit 55cf25e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/l1tmuon-upgrade-dev: f51d8bb880d2bce9db4594de0620d458fc1daa10
refs/heads/l1tmuon-upgrade-dev: 8acc1361efe65bad5e04bea1c16478484ced5c7c
9 changes: 7 additions & 2 deletions trunk/RecoLocalMuon/CSCValidation/src/CSCValidation.cc
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,13 @@ bool CSCValidation::filterEvents(edm::Handle<CSCRecHit2DCollection> recHits){
}
}

if (nRecHits < 0) return false;
if (nHitChambers > 10 && nHitChambers > 0) return false;
// fill some histograms
histos->fill1DHist(nHitChambers,"hNHitChambers","Number of Hit Chambers per Event",21,-0.5,20.5,"MessyEvents");
histos->fill1DHist(nMessyChambers,"hNMessyChambers","Number of Messy Chambers (nhits > 24) per Event",11,-0.5,10.5,"MessyEvents");


if (nRecHits < 0) return false; // dummy for now
if (nHitChambers > 12) return false;
if (nMessyChambers > 0) return false;
return true;

Expand Down

0 comments on commit 55cf25e

Please sign in to comment.