Skip to content

Commit

Permalink
Merge pull request #91 from aysent/master
Browse files Browse the repository at this point in the history
set parameters to chambersWithHits
  • Loading branch information
aysent committed Jan 7, 2014
2 parents 0469d05 + 775295b commit 933159e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SimMuL1/plugins/GEMCSCTriggerEfficiency.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1837,7 +1837,7 @@ GEMCSCTriggerEfficiency::analyze(const edm::Event& iEvent, const edm::EventSetup
h_phi_me1_after_alct_okAlct->Fill(stphi);

std::vector<int> chIDs = match->chambersWithALCTs();
std::vector<int> chWHIDs = match->chambersWithHits();
std::vector<int> chWHIDs = match->chambersWithHits(0,0,minNHitsChamber_);
for (size_t ch = 0; ch < chIDs.size(); ch++)
{
if (std::find(chWHIDs.begin(),chWHIDs.end(),chIDs[ch])==chWHIDs.end()) continue;
Expand Down Expand Up @@ -1976,7 +1976,7 @@ GEMCSCTriggerEfficiency::analyze(const edm::Event& iEvent, const edm::EventSetup
// This is important

std::vector<int> chIDs = match->chambersWithALCTs();
std::vector<int> chWHIDs = match->chambersWithHits();
std::vector<int> chWHIDs = match->chambersWithHits(0,0,minNHitsChamber_);
for (size_t ch = 0; ch < chIDs.size(); ch++)
{
if (std::find(chWHIDs.begin(),chWHIDs.end(),chIDs[ch])==chWHIDs.end()) continue;
Expand Down Expand Up @@ -2112,7 +2112,7 @@ GEMCSCTriggerEfficiency::analyze(const edm::Event& iEvent, const edm::EventSetup
h_phi_me1_after_lct_okAlctClct->Fill(stphi);

std::vector<int> chIDs = match->chambersWithLCTs();
std::vector<int> chWHIDs = match->chambersWithHits();
std::vector<int> chWHIDs = match->chambersWithHits(0,0,minNHitsChamber_);
for (size_t ch = 0; ch < chIDs.size(); ch++)
{
if (std::find(chWHIDs.begin(),chWHIDs.end(),chIDs[ch])==chWHIDs.end()) continue;
Expand Down

0 comments on commit 933159e

Please sign in to comment.