File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,7 @@ struct matchingMFT {
6969 Configurable<float > maxMatchingChi2MCHMFT{" maxMatchingChi2MCHMFT" , 1e+10 , " max. chi2 for MCH-MFT matching" };
7070 Configurable<float > maxChi2SA{" maxChi2SA" , 1e+6 , " max. chi2 for standalone muon" };
7171 Configurable<float > maxChi2GL{" maxChi2GL" , 1e+6 , " max. chi2 for global muon" };
72+ Configurable<int > minNclustersMFT{" minNclustersMFT" , 5 , " min nclusters MFT" };
7273 Configurable<bool > refitGlobalMuon{" refitGlobalMuon" , true , " flag to refit global muon" };
7374 Configurable<bool > requireTrueAssociation{" requireTrueAssociation" , false , " flag to require true mc collision association" };
7475
@@ -236,6 +237,10 @@ struct matchingMFT {
236237 return ;
237238 }
238239
240+ if (mfttrack.nClusters () < minNclustersMFT) {
241+ return ;
242+ }
243+
239244 if (std::abs (mcParticle_MCHMID.pdgCode ()) != 13 ) { // select true muon
240245 return ;
241246 }
You can’t perform that action at this time.
0 commit comments