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
Update HGCal unit test to run with flat phase 2 tracker #14180
Conversation
A new Pull Request was created by @lgray (Lindsey Gray) for CMSSW_8_1_X. It involves the following packages: Configuration/StandardSequences @cmsbuild, @cvuosalo, @franzoni, @slava77, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are list here #13028 |
@cmsbuild please test |
The tests are being triggered in jenkins. |
@@ -60,7 +60,7 @@ def __init__(self): | |||
# Scenarios further afield. | |||
# Phase2 is everything for the 2023 (2026?) detector that works so far in this release. | |||
# include phase 1 stuff until phase 2 tracking is fully defined.... | |||
self.Phase2 = cms.ModifierChain( self.phase1Pixel, self.trackingPhase1, self.phase2_common, self.phase2_tracker, self.phase2_hgcal, self.phase2_muon ) | |||
self.Phase2 = cms.ModifierChain( self.phase2_common, self.phase2_tracker, self.phase2_hgcal, self.phase2_muon ) |
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.
it's odd that the global era setup should be modified to get a unit test to work.
can this be something less invasive?
Say, add a Phase2_pixelLegacy
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.
@lgray
@davidlange6
Does it make sense to edit here?
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.
I put this there originally because no one had told me how the phase 2 tracker customization worked.
Now that I know how that's handled the phase1 stuff is no longer needed in general, not just for this unit test.
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.
@slava77 Another way to fix this is to decommission this unit test and put HGCal tests into runTheMatrix or the addOn tests.
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.
@lgray
I missed the context of phase1Pixel and trackingPhase1 added (in part also that it was added by you in part for this test to run). Thanks for pointing this out.
I'm not sure what's the best at this point: maybe phase1Pixel is still meaningful, but then trackingPhase1 doesn't make sense. So, removal should be OK.
@boudoul @makortel @ebrondol please confirm that
self.Phase2 = cms.ModifierChain( self.phase2_common, self.phase2_tracker, self.phase2_hgcal, self.phase2_muon )
is what's expected from tracker/tracking perspective
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.
how about
runTheMatrix.py -l 11024
On Apr 26, 2016, at 3:41 PM, Lindsey Gray notifications@github.com wrote:
In Configuration/StandardSequences/python/Eras.py:
@@ -60,7 +60,7 @@ def init(self):
# Scenarios further afield.
# Phase2 is everything for the 2023 (2026?) detector that works so far in this release.
# include phase 1 stuff until phase 2 tracking is fully defined....
self.Phase2 = cms.ModifierChain( self.phase1Pixel, self.trackingPhase1, self.phase2_common, self.phase2_tracker, self.phase2_hgcal, self.phase2_muon )
self.Phase2 = cms.ModifierChain( self.phase2_common, self.phase2_tracker, self.phase2_hgcal, self.phase2_muon )
@slava77 Another way to fix this is to decommission this unit test and put HGCal tests into runTheMatrix or the addOn tests.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
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.
It just tells that I know next to nothing about configuration of phase2_tracker.
Does the phase2TkFlat include the inner pixel tracker or is it just the outer phase2 tracker with the flat PS/2S module layout?
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.
I believe phase2TkFlat and phase2TkTilted include all the customizations necessary for each version of the Phase2 tracker. The Phase1 customizations should not be necessary. @boudoul, can you confirm?
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.
Hi, I can confirm that both cfg contain pixel and OT. The Phase1*.py are sometime useful to run the iterative tracking. I will get rid of them as soon as we will move phase2 to era (as mentioned also in PR#14240).
+1
|
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs (tests are also fine). This pull request will be automatically merged. |
As in title, it works again!