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

Introducing SimOnGen and GenOnly wfs for 2024 and 2026D110 #45005

Merged
merged 3 commits into from
Jun 12, 2024

Conversation

AdrianoDee
Copy link
Contributor

@AdrianoDee AdrianoDee commented May 21, 2024

This PR proposes the addition of:

  • Sim only step running only the SIM step (to be run on top of GEN);
  • SimOnGen wfs running the SIM step separated from GEN for 2024 and 2026D110 conditions;
  • GenOnly wfs running only the GEN step for 2024 and 2026D110 conditions.

As a bonus the ALCA input for "upgrade" workflows is updated in order to be more general and to take the output of the RECO step rather than being hardcoded to be step3.root.

These are useful for us (PdmV) e.g.:

  1. to run RelVal jobs recycling only the GEN rerunning the SIM. This will help when we have changes in simulation (e.g. changes in Phase2 geometries) than needs to be validated allowing us to reduce the statistical fluctuations recycling the underlying GEN.
  2. to run GEN only wfs (for MinBias, or default samples) without having to act manually on each workflow.

PR Validation

Running, e.g., 15824.0 and 15634.0.

@cmsbuild
Copy link
Contributor

cmsbuild commented May 21, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45005/40287

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

  • Configuration/PyReleaseValidation (pdmv, upgrade)

@srimanob, @cmsbuild, @sunilUIET, @miquork, @AdrianoDee, @subirsarkar can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @makortel, @missirol, @fabiocos, @slomeo this is something you requested to watch as well.
@rappoccio, @sextonkennedy, @antoniovilela you are the release manager for this.

cms-bot commands are listed here

@AdrianoDee
Copy link
Contributor Author

test parameters:

  • workflows=15824.0,15634.0
  • workflow_opts = -w upgrade

@AdrianoDee
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dbc0ba/39443/summary.html
COMMIT: a327e4a
CMSSW: CMSSW_14_1_X_2024-05-20-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/45005/39443/install.sh to create a dev area with all the needed externals and cmssw changes.

  • DAS Queries: The DAS query tests failed, see the summary page for details.

RelVals

----- Begin Fatal Exception 21-May-2024 14:26:00 CEST-----------------------
An exception of category 'ProductNotFound' occurred while
   [0] Processing  Event run: 1 lumi: 1 event: 1 stream: 0
   [1] Running path 'pathALCARECOEcalESAlign'
   [2] Calling method for module TrackSelector/'esSelectedTracks'
Exception Message:
Principal::getByToken: Found zero products matching all criteria
Looking for type: std::vector<reco::Track>
Looking for module label: generalTracks
Looking for productInstanceName: 

   Additional Info:
      [a] If you wish to continue processing events after a ProductNotFound exception,
add "TryToContinue = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration.

----- End Fatal Exception -------------------------------------------------

@AdrianoDee
Copy link
Contributor Author

Note: I've added a note in the description about the needed update to the ALCA input coming from RECO step (hardcoded in master, generalized in this PR).

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45005/40291

@cmsbuild
Copy link
Contributor

Pull request #45005 was updated. @cmsbuild, @subirsarkar, @sunilUIET, @miquork, @AdrianoDee, @srimanob can you please check and sign again.

@AdrianoDee
Copy link
Contributor Author

please test

@AdrianoDee
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 6, 2024

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-45005/40497

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 6, 2024

Pull request #45005 was updated. @sunilUIET, @srimanob, @subirsarkar, @AdrianoDee, @miquork can you please check and sign again.

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 6, 2024

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-dbc0ba/39748/summary.html
COMMIT: 1250f1d
CMSSW: CMSSW_14_1_X_2024-06-05-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/45005/39748/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • You potentially added 1 lines to the logs
  • Reco comparison results: 8 differences found in the comparisons
  • DQMHistoTests: Total files compared: 48
  • DQMHistoTests: Total histograms compared: 3338974
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3338948
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
  • Checked 202 log files, 165 edm output root files, 48 DQM output files
  • TriggerResults: no differences found

@AdrianoDee
Copy link
Contributor Author

+pdmv
(new wfs run as expected)

@srimanob
Copy link
Contributor

srimanob commented Jun 7, 2024

+Upgrade

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 7, 2024

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

@rappoccio
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 10c5256 into cms-sw:master Jun 12, 2024
12 checks passed
@smuzaffar
Copy link
Contributor

@AdrianoDee , workflow 105.0 is failing in IB [a]. May be change in this PR has broken it? Can you lease check

[a] https://cmssdt.cern.ch/SDT/html/cmssdt-ib/#/relVal/CMSSW_14_1/2024-06-12-2300?selectedArchs=el8_amd64_gcc12&selectedFlavors=X&selectedStatus=failed

usage: cmsDriver.py <TYPE> [options].
Example:

cmsDriver.py reco -s RAW2DIGI,RECO --conditions STARTUP_V4::All --eventcontent RECOSIM
cmsDriver.py: error: argument --filein: expected one argument

@smuzaffar
Copy link
Contributor

I have proposed a fix #45214

@@ -3133,6 +3152,21 @@ def condition(self, fragment, stepList, key, hasHarvest):
'Era' : 'Phase2C17I13M9',
'ScenToRun' : ['GenSimHLBeamSpot','DigiTrigger','RecoGlobal', 'HARVESTGlobal', 'ALCAPhase2'],
},
'2026D110GenOnly' : {
'Geom' : 'Extended2026D110',
'Beamspot' : 'HLLHC',
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @AdrianoDee
Just wonder that we will have the right output with this setting of beamspot?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi Phat, I see this message only now. Isn't it just dummy it here? I mean: the BS is defined at SIM step no? Or we have something already at GEN step?

Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @AdrianoDee
Thanks for coming back, I completely forgot about my comment.

process.VtxSmeared is part of process.pgen. So you will get wrong parameters for vertex smearing. Using DBrealisticHLLHC should give you the proper parameter.

Copy link
Contributor

Choose a reason for hiding this comment

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

process.pgen = cms.Sequence(cms.SequencePlaceholder("randomEngineStateProducer")+process.VertexSmearing+process.GenSmeared+process.GeneInfo+process.genJetMET, process.PPSTransportTask)
and
process.VertexSmearing = cms.Sequence(cms.SequencePlaceholder("VtxSmeared"))

Copy link
Contributor

@srimanob srimanob Aug 10, 2024

Choose a reason for hiding this comment

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

Issue comes from typo. It should be BeamSpot, not Beamspot. With typo, it will pick default BS of 'Gen' which is 2017.

Copy link
Contributor

Choose a reason for hiding this comment

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

Fix in #45685

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great thanks!

@AdrianoDee AdrianoDee deleted the genonly_simongen branch July 14, 2024 15:25
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.

5 participants