Skip to content

Commit

Permalink
Merge pull request cms-sw#47 from dtp2-tpg-am/otherBranch
Browse files Browse the repository at this point in the history
Solved recorrelation bug
  • Loading branch information
jaimeleonh authored Jul 5, 2019
2 parents 4c73455 + b95483a commit 99d90be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions L1Trigger/DTPhase2Trigger/src/MuonPathAssociator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -299,12 +299,12 @@ void MuonPathAssociator::correlateMPaths(edm::Handle<DTDigiCollection> dtdigis,

//SL3-SL1
for (auto SL3metaPrimitive = SL3metaPrimitives.begin(); SL3metaPrimitive != SL3metaPrimitives.end(); ++SL3metaPrimitive){
for (auto SL1metaPrimitive = SL1metaPrimitives.begin(); SL1metaPrimitive != SL1metaPrimitives.end(); ++SL1metaPrimitive){
/*for (auto SL1metaPrimitive = SL1metaPrimitives.begin(); SL1metaPrimitive != SL1metaPrimitives.end(); ++SL1metaPrimitive){
if(fabs(SL1metaPrimitive->t0-SL3metaPrimitive->t0) < dT0_correlate_TP){//time match
//this comb was already filled up in the previous loop now we just want to know if there was at least one match
at_least_one_correlation=true;
}
}
} */

if(at_least_one_correlation==false){//no correlation was found, trying with pairs of two digis in the other SL

Expand Down

0 comments on commit 99d90be

Please sign in to comment.