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
Support hitless seeds in GroupedCkfTrajectory #20556
Support hitless seeds in GroupedCkfTrajectory #20556
Conversation
The code-checks are being triggered in jenkins. |
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/PR-20556/762 Code check has found code style and quality issues which could be resolved by applying a patch in https://cmssdt.cern.ch/SDT/code-checks/PR-20556/762/git-diff.patch You can run |
The code-checks are being triggered in jenkins. |
+code-checks |
A new Pull Request was created by @folguera (Santiago Folgueras) for master. It involves the following packages: RecoTracker/CkfPattern @perrotta, @cmsbuild, @slava77 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@folguera , this PR has already conflicts to be solved: please fix them |
The code-checks are being triggered in jenkins. |
+code-checks |
+1 The following merge commits were also included on top of IB + this PR after doing git cms-merge-topic: |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
@folguera : just in order to understand how this works now, in line How can it work? It does work, indeed: then I imagine that such a direction is not needed. Could you please point me to where the code deals with those missing directions? |
Hi @perrotta, I can investigate how this is dealt with, but I don't know the details about this. I just simply changed that line that was also used by the older CkfTrajectoryBuilder and that we were using for the muon HLT reconstruction. In our case the temp trajectory has no measurement (hitless) but a direction of propagation, so I'm not sure that you don't have the direction in any case. Am I making sense? |
@perotta, what makes you thinking that traj.direction() has no meaning when traj.empty()? |
Ok, that direction is indeed just an enum, which keeps its meaning even if traj.empty(), see DataFormats/TrajectorySeed/interface/PropagationDirection.h: this is basically the answer to my question |
You write: "Change is transparent to any user of the GroupedCkfTrajectory". This means that currently all user never end up with traj.empty(), otherwise there should be some different behaviour for them. |
@perotta, Essentially this re-establishes the behaviour prior to Run2 btw there are no "user" of GroupedCkfTrajectory, only TRK-POG |
(Slowly trying to understand how this code works... thank you @VinInn) Well, currently in case of a hitless seed the method returns an uninitialized StateAndLayers(), which does not obviously imply to me that there will be a crash: does it? If it does not crash, then it is not true that "Change is transparent to any user of the GroupedCkfTrajectory", unless there is some parameter or part of the code that prevents it. Then, simplifying, my question is still: it never happened that some hitless seed entered that method AND the code did not crash? IOW: it is true that "Change is transparent to any user of the GroupedCkfTrajectory"? |
On 21 Sep, 2017, at 3:49 PM, perrotta ***@***.***> wrote:
(Slowly trying to understand how this code works... thank you @VinInn)
Well, currently in case of a hitless seed the method returns an uninitialized StateAndLayers(), which does not obviously imply to me that there will be a crash: does it?
well it will fill the output of
"CkfPattern: empty traj. Skipping."
and we never been reported such a case
If it does not crash, then it is not true that "Change is transparent to any user of the GroupedCkfTrajectory", unless there is some parameter or part of the code that prevents it.
Then, simplifying, my question is still: it never happened that some hitless seed entered that method AND the code did not crash? IOW: it is true that "Change is transparent to any user of the GroupedCkfTrajectory"?
Are you pretending a first principle proof?
Just be happy that you do not see any regression.
TRK-POG is happy
|
+1
|
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar (and backports should be raised in the release meeting by the corresponding L2) |
are these changes thought to be part of a non-reproducibility problem in dqm? |
PixelPhase1 sim w/o any effect on reco? |
It seems that way - sigh - would be great not to have that problem as we've beaten down other non-reproducibility and nan issues affecting the comparisons |
+1 |
Enable hitless seed compatibility to the GroupedCkfTrajectory so it can be used in the muon HLT reconstruction. Change is transparent to any user of the GroupedCkfTrajectory.
Removed unused function in BaseCkfTrajectoryBuilder. Will need back port to 92X.