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

Move Sequence to Task for RecoLocalCalo config files #27474

Merged
merged 7 commits into from Jul 14, 2019

Conversation

jeongeun
Copy link
Contributor

PR description: Move Sequence to Task for RecoLocalCalo's config files

  1. For a cms.Sequence object that is built from modules or cms.Sequence objects introduce a cms.Task with an equivalent content and make this cms.Sequence object directly from the newly introduced cms.Task. More details about Task objects
  2. Remove cms.Sequence objects from the Reconstruction configuration.
    I replaced the sequence by instantiating it with a task.

PR validation:

Tested in CMSSW_11_0_X_2019-07-07-2300 release.
The PR passes the basic test procedure suggested in the CMSSW PR instructions.

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-27474/10802

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @jeongeun for master.

It involves the following packages:

RecoLocalCalo/Configuration
RecoLocalCalo/HGCalRecProducers
RecoParticleFlow/PFClusterProducer

@perrotta, @cmsbuild, @kpedro88, @slava77 can you please review it and eventually sign? Thanks.
@edjtscott, @vandreev11, @sethzenz, @kpedro88, @felicepantaleo, @cbernet, @mmarionncern, @rovere, @lgray, @cseez, @bachtis, @hatakeyamak, @seemasharmafnal, @pfs this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

HGCalRecHit,
hgcalLayerClusters,
hgcalMultiClusters,
particleFlowRecHitHGCTask,
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder whether one couldn't simply add here particleFlowRecHitHGC from RecoParticleFlow.PFClusterProducer.particleFlowRecHitHGC_cfi, instead of the task which only contains that module.

@lgray @felicepantaleo @rovere : was there a reason for having originally a sequence defined with one single module in RecoParticleFlow/PFClusterProducer/python/particleFlowRecHitHGC_cff.py? (As a corollary: could that cff file be removed now when moving to unscheduled execution?)

Copy link
Contributor

Choose a reason for hiding this comment

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

I cannot comment for the past history, but I see not special reason.
As for the Task, we could bypass it but I'm not sure if there is any added value.

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 10, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/1389/console Started: 2019/07/10 09:53

@@ -26,11 +26,13 @@
#
# sequence CaloLocalReco and CaloGlobalReco
#
calolocalreco = cms.Sequence(ecalLocalRecoSequence+hcalLocalRecoSequence)
calolocalrecoTask = cms.Task(ecalLocalRecoTask,hcalLocalRecoTask)
calolocalreco = cms.Sequence(calolocalrecoTask)
caloglobalreco = cms.Sequence(hcalGlobalRecoSequence)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not also migrating this sequence?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for your every comments.
I kept this sequence that have one module(hbhereco).
In this PR, I modified the sequences that has more than one modules.

In cmssw/RecoLocalCalo/Configuration/python/hcalGlobalReco_cff.py
from RecoLocalCalo.HcalRecProducers.HBHEIsolatedNoiseReflagger_cfi import *
hcalGlobalRecoSequence = cms.Sequence(hbhereco)

Copy link
Contributor

Choose a reason for hiding this comment

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

Indeed, this sequence is never used, it only includes hcalGlobalRecoSequence from RecoLocalCalo/Configuration/python/hcalGlobalReco_cff.py (which in its turn is only used for the globalreco_tracking reconstruction sequence) and it can be misleading here: I would suggest to just remove it

@@ -20,7 +20,8 @@
#
# sequence CaloLocalReco and CaloGlobalReco
#
calolocalreco = cms.Sequence(ecalLocalRecoSequence+hcalLocalRecoSequence)
calolocalrecoTask = cms.Task(ecalLocalRecoTask,hcalLocalRecoTask)
calolocalreco = cms.Sequence(calolocalrecoTask)
caloglobalreco = cms.Sequence(hcalGlobalRecoSequence)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not also migrating this sequence?

Copy link
Contributor

Choose a reason for hiding this comment

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

Indeed, this sequence is never used, it only includes hcalGlobalRecoSequence from RecoLocalCalo/Configuration/python/hcalGlobalReco_cff.py (which in its turn is only used for the globalreco_tracking reconstruction sequence) and it can be misleading here: I would suggest to just remove it

@perrotta
Copy link
Contributor

please abort

@cmsbuild
Copy link
Contributor

Jenkins tests are aborted.

@perrotta
Copy link
Contributor

please test workflow 29093.52

@cmsbuild
Copy link
Contributor

cmsbuild commented Jul 10, 2019

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-run-pr-tests/1390/console Started: 2019/07/10 11:23

@kpedro88
Copy link
Contributor

+upgrade

@civanch
Copy link
Contributor

civanch commented Jul 13, 2019

+1

@perrotta
Copy link
Contributor

For completeness, and for simmetry with the other reconstruction sequences, one could further adapt also Configuration/StandardSequences/python/ReconstructionHeavyIons_cff.py
On the other hand, this PR has now already got all other signatures: let postpone that update for when this PR will be merged

@perrotta
Copy link
Contributor

+1

  • Migration from sequences to Tasks in local reco calo configs implemented as stated in the pr description
  • Jenkins tests pass and show no differences

@cmsbuild
Copy link
Contributor

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, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@fabiocos
Copy link
Contributor

@jeongeun are you going to follow the suggestion of @perrotta in a separate PR?

@perrotta
Copy link
Contributor

@jeongeun are you going to follow the suggestion of @perrotta in a separate PR?

@fabiocos , either she or myself we will, as soon as you are also ok with this PR and it will be merged

@fabiocos
Copy link
Contributor

+1

@perrotta thanks

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.

None yet

8 participants