Skip to content
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

CA - Last hit quadruplet chi2 filter #17083

Merged

Conversation

felicepantaleo
Copy link
Contributor

Adding the possibility to have a filter on the last hit of a quadruplet, like in quadruplets by propagation.
If two quadruplets have the first three hits in common and the fourth hits are on the same layer, pick the one with the lower chi2.

This has the effect of reducing the fake and duplicate rate within the same iteration: e.g. https://fpantale.web.cern.ch/fpantale/offline_tuning/lastLayerChi2FilterPR/plots_initialStepPreSplitting.html

blue Quadruplets by propagation
red CA in the release
black CA with filter turned on (this PR)

@VinInn @rovere @makortel

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @felicepantaleo (Felice Pantaleo) for CMSSW_9_0_X.

It involves the following packages:

RecoPixelVertexing/PixelTriplets

@cmsbuild, @cvuosalo, @slava77, @davidlange6 can you please review it and eventually sign? Thanks.
@makortel, @GiacomoSguazzoni, @dgulhan, @rovere, @VinInn this is something you requested to watch as well.
@slava77, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

@felicepantaleo
Copy link
Contributor Author

@mtosi @JanFSchulte
This may be interesting for you as well.

@VinInn
Copy link
Contributor

VinInn commented Dec 20, 2016

@cmsbuild , please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 20, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/17131/console Started: 2016/12/20 20:00

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

isTheSameTriplet = (quadId != 0) && (foundQuadruplets[quadId][0]->getCellId() == previousCellIds[0]) && (foundQuadruplets[quadId][1]->getCellId() == previousCellIds[1]);
isTheSameFourthLayer = (quadId != 0) && (fourthLayerId == previousfourthLayerId) && (subDetId == previousSubDetId) && (sideId == previousSideId);

previousCellIds = {{foundQuadruplets[quadId][0]->getCellId(), foundQuadruplets[quadId][1]->getCellId()}};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some reduction of copy-paste, especially inplace multi-operator calls would be useful

@slava77
Copy link
Contributor

slava77 commented Dec 21, 2016

+1

for #17083 9cb181c

  • code changes are in line with description; the new feature is not enabled by default
  • jenkins tests pass and comparisons show no differences (CA is not in the RECO step yet, so, no effect is expected anyways)

Based on the supplied MTV plots, the effect is pretty clear at the seeding level.
For tracks the effect is marginal.

wf10224ttfromfp_seed_effandfake_pt

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_9_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar

@mtosi
Copy link
Contributor

mtosi commented Dec 21, 2016

why don't we want to have the OnlyOneLastHitPerLayerFilter set to True as default ?
@felicepantaleo @rovere @VinInn @makortel @JanFSchulte

@felicepantaleo
Copy link
Contributor Author

@mtosi it's false if you don't specify that you want to use it in the configuration.
The "philosophical reason" for that is that it goes against the concept of the CA.

@makortel
Copy link
Contributor

@mtosi Setting it optional now was my request for mostly to be cautious (even if in general I'm in favour of it).

The PR adding workflows for CA in offline (#16911) indicated a problem in b tagging that we are currently investigating. I'd prefer to not change the offline-default CA parameters until the origin of the problem is fully understood (or it is demonstrated that the change cures the problem).

I mainly feel that in addition to Felice's tests the feature would benefit from some further studies (for both offline and HLT) before switching it on. Integrating the feature as default-off allows Felice/us to integrate it now without affecting anything. OTOH, if HLT prefers to switch it on by default, that's fine for me (as long as it is only for HLT for now).

@mtosi
Copy link
Contributor

mtosi commented Dec 21, 2016 via email

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 5954421 into cms-sw:CMSSW_9_0_X Dec 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants