Skip to content

Commit

Permalink
Merge pull request cms-sw#86 from dildick/master
Browse files Browse the repository at this point in the history
chambersWithHits takes 3 arguments
  • Loading branch information
Sven Dildick committed Jan 6, 2014
2 parents 5510234 + f169dac commit 02f7146
Show file tree
Hide file tree
Showing 5 changed files with 165 additions and 46 deletions.
5 changes: 4 additions & 1 deletion SimMuL1/interface/MatchCSCMuL1.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,10 @@ class MatchCSCMuL1
int numberOfLayersWithHitsInChamber( int detId );
std::pair<int,int> wireGroupAndStripInChamber( int detId );

bool hasHitsInStation(int st, unsigned minNHits=4); // st=0 - any, st=1,2,3,4 - ME1-4
// does simtrack has at least 4 simhits in a particular station and ring?
// st=0 - any, st=1,2,3,4 - ME1-4
// ri=0 - any, ri=1,2,3 - MEX/1-MEX/3
bool hasHitsInStation(int st, int ri=0, unsigned minNHits=4);
unsigned nStationsWithHits(bool me1=1, bool me2=1, bool me3=1, bool me4=1, unsigned minNHits=4);

//
Expand Down
Loading

0 comments on commit 02f7146

Please sign in to comment.