-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added configurable parameters for nValidHits, nMissIn, nMissMid, maxRelTrkIsoDeltaRp3, relTrkIsoDeltaRSize #5665
Conversation
A new Pull Request was created by @jbrinson for CMSSW_7_3_X. Mydev It involves the following packages: RecoTracker/DeDx @cmsbuild, @nclopezo, @StoyanStoynev, @slava77 can you please review it and eventually sign? Thanks. |
//calculate relative trk isolation only if parameter maxRelTrkIsoDeltaRp3 is different from default value of 99 | ||
if(maxRelTrkIsoDeltaRp3_ >= 0){ | ||
double ptCone = track->pt(); | ||
for(unsigned int j=0; j<trackCollection.size(); j++){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add here if(i==j) continue;
Then you don't need eta and phi comparisons below (except if there are special cases of two tracks same parameters)
RecoTracker/DeDx -- Added configurable parameters for nValidHits, nMissIn, nMissMid, maxRelTrkIsoDeltaRp3, relTrkIsoDeltaRSize
Added configurable parameters for nValidHits, nMissIn, nMissMid, and relTrkIsoDelaRp3