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
relval update to fix hlt in 2017 wfs #16881
Conversation
A new Pull Request was created by @hengne (Hengne Li) for CMSSW_9_0_X. It involves the following packages: Configuration/PyReleaseValidation @cmsbuild, @srimanob, @davidlange6, @hengne, @fabozzi can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
please test |
The tests are being triggered in jenkins. |
-1 Tested at: 9d0f562 You can see the results of the tests here: I found follow errors while testing this PR Failed tests: RelVals
When I ran the RelVals I found an error in the following worklfows: runTheMatrix-results/10021.0_TenMuE_0_200+TenMuE_0_200_pythia8_2017_GenSimFull+DigiFull_2017+RecoFull_2017+ALCAFull_2017+HARVESTFull_2017/step1_TenMuE_0_200+TenMuE_0_200_pythia8_2017_GenSimFull+DigiFull_2017+RecoFull_2017+ALCAFull_2017+HARVESTFull_2017.log10024.0 step1 runTheMatrix-results/10024.0_TTbar_13+TTbar_13TeV_TuneCUETP8M1_2017_GenSimFull+DigiFull_2017+RecoFull_2017+ALCAFull_2017+HARVESTFull_2017/step1_TTbar_13+TTbar_13TeV_TuneCUETP8M1_2017_GenSimFull+DigiFull_2017+RecoFull_2017+ALCAFull_2017+HARVESTFull_2017.log |
Comparison not run due to runTheMatrix errors (RelVals and Igprof tests were also skipped) |
please test with #16867 |
@@ -87,13 +87,15 @@ | |||
'Geom' : 'DB:Extended', | |||
'GT' : 'auto:phase1_2017_realistic', | |||
'HLTmenu': '@relval2016', | |||
'Custom': 'HLTrigger/Configuration/customizeHLTTrackingForPhaseI2017.customizeHLTPhaseIPixelGeom', |
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.
AFAICT the customize gets now called for each of the workflow steps (not just HLT), but in practice the customize should have no effect on the other steps (in RECO ClusterShapeHitFilterESProducer
PixelShapeFile
already points to the "new" shape file).
Thought to note anyway.
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.
one way is to make it a list or dictionary for each step in 'ScenToRun', but this will make the upgrade framework more complicated..
another is just to make sure the customization function only modify hlt modules, no-touch of the reco, for ClusterShapeHitFilterESProducer it is actually also modified the reco modules, just that as you mentioned it was already changed to phase1 through eras modifiers in reco, thus nothing is really changed. should actually make a selection based on the "hlt" label to only touch the hlt modules as the way this function modifies the other parameter.
but i think the final - best solution is really to use eras modifiers in the hlt menu configuration file...
On Dec 6, 2016, at 6:17 AM, Matti Kortelainen ***@***.***> wrote:
@makortel commented on this pull request.
In Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py:
> @@ -87,13 +87,15 @@
'Geom' : 'DB:Extended',
'GT' : 'auto:phase1_2017_realistic',
'HLTmenu': ***@***.***',
+ 'Custom': 'HLTrigger/Configuration/customizeHLTTrackingForPhaseI2017.customizeHLTPhaseIPixelGeom',
AFAICT the customize gets now called for each of the workflow steps (not just HLT), but in practice the customize should have no effect on the other steps (in RECO ClusterShapeHitFilterESProducer PixelShapeFile already points to the "new" shape file).
Thought to note anyway.
Right - but only because we insisted that the customize be implemented that way during the code review..
as for this request - the customize should just get called within the HLT (which already has such an infrastructure and not here. Apparently the goals have changed since the PR for the customization was made, as at that time it was first an alternative config meant to be cross validated and then made the default...
…
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Adding @mtosi |
it would be anyway best to implement this default in the hlt customization function, instead of being called here. seems to me it is possible to be implemented in the hlt GRun config file. no? |
some thing like, at the end of add:
|
I would have done the same, indeed |
Are you suggesting to create a new HLT_GRunFor2017 that is basically HLT_GRun_cff + 2017 customizer ? In this way, you want to call directly the HLT_GRunFor2017 in 2017 relvals, is it correct? |
please test |
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 |
@davidlange6 if this hlt default implementation with eras in HLTrigger/Configuration still takes time, this PR need to be merged to temporarily make the workflows works (reasonable physics results) for pre2. although it should be applied in only the HLT/DIGI step, but the functionality to split steps for customization functions in the upgrade framework is still not yet implemented. considering this is only a temporary fix for the hlt default, and also considering the customization function will indeed not changing anything else than the hlt modules, seems to me this fix is an economic solution temporarily. I will remove it once the default is implemented with eras in HLTrigger packages. |
the above comments also applies to the 81x PR #16882 |
Hi - @hengne @silviodonato - what is the down side to having a separate menu as @silviodonato suggests? Seems like the robust solution.. |
It needs to be maintained! |
err - yes? we are planning to take data with this menu next year, right? I take it the HLT plan for 2016->17 differs from that of 2015->16. Is there a summary I can use as a guidance for whats to come?
… On Dec 12, 2016, at 4:41 PM, Martin Grunewald ***@***.***> wrote:
It needs to be maintained!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Well, David, obviously no menu we have right now is the one we use in 2017. For what concerns the plan, please see the 1st/2nd page of In the long run the customisation will no longer be needed as it will be part of the I add @fwyzard for more details on the plan... |
ok, so yes, the plan is different than 2015-2016. Thanks. I would suggest putting your customize function into a new “menu” that simply wraps the 2016 one. that is by definition the same maintenance burden as a customize function.
… On Dec 12, 2016, at 5:07 PM, Martin Grunewald ***@***.***> wrote:
Well, David, obviously no menu we have right now is the one we use in 2017.
This whole saga is just to use a current menu with some specific 2017 approximation.
If customisations for cmsDriver are no longer allowed, then lets drop these wflows
or make the matrix more flexible. The solution can not be to duplicate a menu and
then make a small customisation on the copy.
For what concerns the plan, please see the 1st/2nd page of
https://docs.google.com/document/d/1nbaiz_SvnqBs4UTKBZHrTMNYv9aNxU-3rAYu_QaucKo/edit?usp=sharing
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sorry, I do not see the point to add a menu which is the same as some other menu and adds some custom. function. |
you presumably want two different configurations (with and without the proposed customize) to be runnable or no?
… On Dec 12, 2016, at 5:20 PM, Martin Grunewald ***@***.***> wrote:
Sorry, I do not see the point to add a menu which is the same as some other menu and adds some custom. function.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Yes - 2016 wflows with 2016 menus, 2017 wflows with 2016 menus plus custom - for now. |
ok, github keeps dropping me out of the thread, so I'll have to go through it all... in the meantime, are you suggesting to include a new file, e.g.
? The objection I have to this approach is that we try to maintain multiple triggers
And, we should start putting together a menu for Phase 2, with again a similar set of customisations. About Eras: I've been working on it last Friday and during the weekend, but the problem is that the current implementation of Eras is honestly quite crappy. |
Right, so the point is you have two configs you want to use. there are two non-hacky approaches. A new menu (which can be a few lines btw..), or eras. Both can do what you need
… On Dec 12, 2016, at 5:28 PM, Martin Grunewald ***@***.***> wrote:
Yes - 2016 wflows with 2016 menus, 2017 wflows with 2016 menus plus custom - for now.
In the future, 2016 wflows (if still needed) with "fake" menus, and 2017 wflows with 2017 menus.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Except that Eras cannot. |
I guess I missed what they can not do as it would be use case not brought up in the three years since proposed - I’ll go back and find that thread - anyway, that leaves another option that lets the hlt control and maintain hlt configs in its area (which I think we can agree is the most appropriate solution…)
… On Dec 12, 2016, at 5:33 PM, Andrea Bocci ***@***.***> wrote:
Except that Eras cannot.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
if you can tell me how to add a module to a cff file within an era, I'll be happy to use it to era-ify the HLT customisation. |
I guess you mean to add a module to a sequence in an era?
On Dec 12, 2016, at 6:11 PM, Andrea Bocci <notifications@github.com<mailto:notifications@github.com>> wrote:
if you can tell me how to add a module to a cff file within an era, I'll be happy to use it to era-ify the HLT customisation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#16881 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AEzyw21NKZadVWDriBDovS_t-yJ1wqp2ks5rHYBKgaJpZM4LFP-Y>.
|
Actually, I meant how to add a completely new module to the Process. I do also need to add it to a Sequence, but I think that I can implement that replacing the sequence with a modified copy of itself. |
so, it looks like I found a way to do this with Eras, though I might be abusing the mechanism... basically, you can do
to wrap the existing customisation functions inside In #16978 I've simply wrapped the two customise calls. |
with both approaches import FWCore.ParameterSet.Config as cms
from Configuration.StandardSequences.Eras import eras
process = cms.Process( "HLT", eras.Run2_2017 )
process.load( 'HLTrigger.Configuration.HLT_GRun_cff' ) gives the same python configuration as process = cms.Process( "HLT" )
process.load( 'HLTrigger.Configuration.HLT_GRun_cff' )
from HLTrigger.Configuration.customizeHLTTrackingForPhaseI2017 import customizeHLTPhaseIPixelGeom
process = customizeHLTPhaseIPixelGeom(process)
from HLTrigger.Configuration.customizeHLTTrackingForPhaseI2017 import customizeHLTForPFTrackingPhaseI2017
process = customizeHLTForPFTrackingPhaseI2017(process) |
Isn't that then always applied, regardless of which cmsDriver cmdline Era is chosen? |
no, what I meant is that the customisation is applied only if you do
but not if you do
|
Hmm, but where is the check on 2017 era - as opposed to 2016 era? |
The customisations are attached to the # modify the HLT configuration for the Phase I pixel geometry
from HLTrigger.Configuration.customizeHLTTrackingForPhaseI2017 import customizeHLTPhaseIPixelGeom
eras.trackingPhase1.toModify(fragment, customizeHLTPhaseIPixelGeom) etc. |
Hi @hengne -this is now obsolete I think, is that correct? |
relval update to fix hlt in 2017 wfs :
add customization function as the default, to customize the hlt modules using the 2017 pixel geometry
add one fullsim pu workflow ttbarlepton for hlt validation
update gen-sim input string for 2017 workflows