-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Question on GSF track to track association for low pt electrons #42110
Comments
A new Issue was created by @ArturAkh Artur Gottmann. @Dr15Jones, @perrotta, @dpiparo, @rappoccio, @makortel, @smuzaffar can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
assign reconstruction @cms-sw/egamma-pog-l2 |
New categories assigned: reconstruction @mandrenguyen,@clacaputo you have been requested to review this Pull request/Issue and eventually sign? Thanks |
tagging developer of low-pT electron reco @bainbrid |
Hi all, More than two months have passed... Is there any progress on this issue? I may create a pull request, since the change outlined above is valid by construction, if looking at the corresponding producers. Cheers, Artur |
Hi @ArturAkh please go ahead if you feel the code is an improvement. |
+reconstruction |
This issue is fully signed and ready to be closed. |
@cmsbuild, please close |
Dear Egamma experts,
During my studies to fix tau embedding
for central CMS production, I've had a closer look into low pt electron reconstruction, in particular into:
https://github.com/cms-sw/cmssw/blob/master/RecoEgamma/EgammaElectronProducers/plugins/LowPtGSFToTrackLinker.cc
This producer performs GSF track to track association by making use of a common track reference. To do that, it checks for the right electron seed index in
preid
vector indexed by electron seeds, and acesses the trackRef of the PreId. I wonder why this indirect access to track references is required, where a much more direct access is possible,using
gref->seedRef().castTo<reco::ElectronSeedRef>()->ctfTrack()
instead of
Introducing the following line:
after LowPtGSFToTrackLinker.cc#L57
results in the following output, when running on an example input file:
So all in all, both accesses to the track reference are equivalent in terms of
id()
andindex()
.Is there something I'm missing about
preid
, like backward-compatibility, or some kind of a corner case?Cheers,
Artur
The text was updated successfully, but these errors were encountered: