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

HeavyIon Reaction Plane MiniAOD #31129

Merged
merged 5 commits into from
Oct 26, 2020
Merged

HeavyIon Reaction Plane MiniAOD #31129

merged 5 commits into from
Oct 26, 2020

Conversation

BetterWang
Copy link
Contributor

@BetterWang BetterWang commented Aug 12, 2020

PR description:

EventPlane/ReactionPlane code update for the MiniAOD format. Also clean up the histograms in DQM.

PR validation:

This PR is tested with runTheMatrix workflow 140.5611 along with the new GT 110X_upgrade2018_realistic_HI_Candidate_2020_08_07_19_30_54.

@mandrenguyen @ssanders50

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

-code-checks

ERROR: Build errors found during clang-tidy run.

gmake: *** [config/SCRAM/GMake/Makefile.coderules:128: code-checks] Error 2
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2

@BetterWang
Copy link
Contributor Author

scram build code-checks works fine for me on lxplus7 CMSSW_11_2_X_2020-08-12-1100.

@slava77
Copy link
Contributor

slava77 commented Aug 12, 2020

code-checks

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

-code-checks

ERROR: Build errors found during clang-tidy run.

gmake: *** [config/SCRAM/GMake/Makefile.coderules:128: code-checks] Error 2
gmake: *** [There are compilation/build errors. Please see the detail log above.] Error 2

@slava77
Copy link
Contributor

slava77 commented Aug 12, 2020

the code-checks issue looks repeatable

the error comes after scram build -k -j 16 code-checks

scram build code-checks works fine for me on lxplus7 CMSSW_11_2_X_2020-08-12-1100.

did you run this test from scratch or just from your development area?
I can guess some incomplete commit

@slava77
Copy link
Contributor

slava77 commented Aug 12, 2020

the error comes after scram build -k -j 16 code-checks

here is a link to the console output in jenkins for the last code-checks
https://cmssdt.cern.ch/jenkins/job/run-pr-code-checks/17728/console

@BetterWang
Copy link
Contributor Author

the error comes after scram build -k -j 16 code-checks

here is a link to the console output in jenkins for the last code-checks
https://cmssdt.cern.ch/jenkins/job/run-pr-code-checks/17728/console

I have clean working directory.
Do you seen anything wrong with this output?

[qwang@lxplus7118 src]$ scram build -k -j 16 code-checks

Local Products Rules ..... started
Local Products Rules ..... done
gmake[1]: Entering directory '/afs/cern.ch/work/q/qwang/cleanroomRun7/CMSSW_11_2_X_2020-08-12-1100'
Local Products Rules ..... started
Local Products Rules ..... done
gmake[2]: Entering directory '/afs/cern.ch/work/q/qwang/cleanroomRun7/CMSSW_11_2_X_2020-08-12-1100'
Local Products Rules ..... started
Local Products Rules ..... done
------- copying files from src/PhysicsTools/PatAlgos/scripts -------
copied patReplaceFast.pl
copied patReplaceGenerator.sh
Entering Package DQM/Physics
copied patReplaceParser.pl
Entering Package PhysicsTools/PatAlgos
Entering Package RecoHI/HiEvtPlaneAlgos
Compile sequence completed for CMSSW CMSSW_11_2_X_2020-08-12-1100
gmake[2]: Leaving directory '/afs/cern.ch/work/q/qwang/cleanroomRun7/CMSSW_11_2_X_2020-08-12-1100'
gmake[2]: Entering directory '/afs/cern.ch/work/q/qwang/cleanroomRun7/CMSSW_11_2_X_2020-08-12-1100'
Local Products Rules ..... started
Local Products Rules ..... done
clang-tidy -export-fixes tmp/slc7_amd64_gcc820/code-checks/DQM/Physics/src/CentralityDQM.cc.yaml -header-filter '/afs/cern.ch/work/q/qwang/cleanroomRun7/CMSSW_11_2_X_2020-08-12-1100/src/.' src/DQM/Physics/src/CentralityDQM.cc
clang-tidy -export-fixes tmp/slc7_amd64_gcc820/code-checks/RecoHI/HiEvtPlaneAlgos/src/EvtPlaneProducer.cc.yaml -header-filter '/afs/cern.ch/work/q/qwang/cleanroomRun7/CMSSW_11_2_X_2020-08-12-1100/src/.
' src/RecoHI/HiEvtPlaneAlgos/src/EvtPlaneProducer.cc
clang-tidy -export-fixes tmp/slc7_amd64_gcc820/code-checks/RecoHI/HiEvtPlaneAlgos/src/HiEvtPlaneFlatProducer.cc.yaml -header-filter '/afs/cern.ch/work/q/qwang/cleanroomRun7/CMSSW_11_2_X_2020-08-12-1100/src/.' src/RecoHI/HiEvtPlaneAlgos/src/HiEvtPlaneFlatProducer.cc
1916 warnings generated.
Suppressed 1916 warnings (1915 in non-user code, 1 with check filters).
Use -header-filter=.
to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
1954 warnings generated.
Suppressed 1954 warnings (1953 in non-user code, 1 with check filters).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
2703 warnings generated.
Suppressed 2703 warnings (2702 in non-user code, 1 with check filters).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
gmake[2]: Leaving directory '/afs/cern.ch/work/q/qwang/cleanroomRun7/CMSSW_11_2_X_2020-08-12-1100'
gmake[2]: Entering directory '/afs/cern.ch/work/q/qwang/cleanroomRun7/CMSSW_11_2_X_2020-08-12-1100'
Local Products Rules ..... started
Local Products Rules ..... done
Changed files: /src/DQM/Physics/src/CentralityDQM.h
/src/DQM/Physics/src/CentralitypADQM.h
/src/DQM/Physics/src/CentralityDQM.cc
/src/PhysicsTools/PatAlgos/python/slimming/slimming_cff.py
/src/PhysicsTools/PatAlgos/python/slimming/MicroEventContent_cff.py
/src/RecoHI/HiEvtPlaneAlgos/interface/LoadEPDB.h
/src/RecoHI/HiEvtPlaneAlgos/interface/HiEvtPlaneFlatten.h
/src/RecoHI/HiEvtPlaneAlgos/interface/HiEvtPlaneList.h
/src/RecoHI/HiEvtPlaneAlgos/interface/EPCuts.h
/src/RecoHI/HiEvtPlaneAlgos/python/HiEvtPlane_cfi.py
/src/RecoHI/HiEvtPlaneAlgos/python/hiEvtPlaneFlat_cfi.py
/src/RecoHI/HiEvtPlaneAlgos/python/RecoHiEvtPlane_EventContent_cff.py
/src/RecoHI/HiEvtPlaneAlgos/BuildFile.xml
/src/RecoHI/HiEvtPlaneAlgos/src/EvtPlaneProducer.cc
/src/RecoHI/HiEvtPlaneAlgos/src/HiEvtPlaneFlatProducer.cc
/src/CondCore/ESSources/plugins/CondDBESSource.h
/src/CondTools/DQM/python/DQMXMLFileEventSetupAnalyzer_cfi.py
/src/CondTools/DQM/src/DQMXMLFileSourceHandler.cc
/src/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py
/src/Configuration/PyReleaseValidation/python/MatrixInjector.py
/src/L1Trigger/L1TTrackMatch/plugins/L1TkMuonProducer.cc
Working on tmp/slc7_amd64_gcc820/code-checks/DQM/Physics/src/CentralityDQM.h.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/DQM/Physics/src/CentralitypADQM.h.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/DQM/Physics/src/CentralityDQM.cc.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/PhysicsTools/PatAlgos/python/slimming/slimming_cff.py.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/PhysicsTools/PatAlgos/python/slimming/MicroEventContent_cff.py.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/RecoHI/HiEvtPlaneAlgos/interface/LoadEPDB.h.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/RecoHI/HiEvtPlaneAlgos/interface/HiEvtPlaneFlatten.h.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/RecoHI/HiEvtPlaneAlgos/interface/HiEvtPlaneList.h.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/RecoHI/HiEvtPlaneAlgos/interface/EPCuts.h.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/RecoHI/HiEvtPlaneAlgos/python/HiEvtPlane_cfi.py.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/RecoHI/HiEvtPlaneAlgos/python/hiEvtPlaneFlat_cfi.py.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/RecoHI/HiEvtPlaneAlgos/python/RecoHiEvtPlane_EventContent_cff.py.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/RecoHI/HiEvtPlaneAlgos/BuildFile.xml.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/RecoHI/HiEvtPlaneAlgos/src/EvtPlaneProducer.cc.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/RecoHI/HiEvtPlaneAlgos/src/HiEvtPlaneFlatProducer.cc.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/CondCore/ESSources/plugins/CondDBESSource.h.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/CondTools/DQM/python/DQMXMLFileEventSetupAnalyzer_cfi.py.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/CondTools/DQM/src/DQMXMLFileSourceHandler.cc.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/Configuration/PyReleaseValidation/python/upgradeWorkflowComponents.py.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/Configuration/PyReleaseValidation/python/MatrixInjector.py.yaml
Working on tmp/slc7_amd64_gcc820/code-checks/L1Trigger/L1TTrackMatch/plugins/L1TkMuonProducer.cc.yaml
clang-apply-replacements tmp/slc7_amd64_gcc820/code-checks
gmake[2]: Leaving directory '/afs/cern.ch/work/q/qwang/cleanroomRun7/CMSSW_11_2_X_2020-08-12-1100'
gmake[1]: Leaving directory '/afs/cern.ch/work/q/qwang/cleanroomRun7/CMSSW_11_2_X_2020-08-12-1100'

@slava77
Copy link
Contributor

slava77 commented Aug 12, 2020

I see that the PR is made against CMSSW_11_2_X_2020-08-12-2300 (base 72bdd0a), it may be easier to wait until a new IB shows up.

In the meantime, I suggest to cleanup the topic branch history so that (as much as possible) only the final files in this PR actually show up.
Specifically, to avoid things like 0ec60c9 with many files (that were added first) be removed.

@BetterWang
Copy link
Contributor Author

Hi @slava77 , should we try again with code-checks, or should I start a clean branch to make another PR?

@slava77
Copy link
Contributor

slava77 commented Aug 13, 2020

code-checks

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-51f178/10189/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 8 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2544092
  • DQMHistoTests: Total failures: 13
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2544057
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -57.111 KiB( 34 files compared)
  • DQMHistoSizes: changed ( 140.53,... ): -19.037 KiB Physics/Centrality
  • Checked 149 log files, 22 edm output root files, 35 DQM output files

@slava77
Copy link
Contributor

slava77 commented Oct 22, 2020

+1

for #31129 cce5752

  • code changes are in line with the PR description and the follow up review: EvtPlaneProducer is adapted to read miniAOD and pp-like inputs
  • jenkins tests pass and comparisons with the baseline show expected changes
    • hiEvtPlane{,Flat} collections show up in the miniAOD workflow
    • small changes are present in the heavyIons scenario workflow 140.53 for 2011 data (which is apparently a result of updates to the track selections)
    • DQM plots for workflow 158.0 (which includes PAT and by virtue of it hiEvtPlane) are now filled for Centrality/EventPlane monitoring, after the producer was added to the miniAOD/PAT step
    • manual check of wf 158.01 shows sensible (non-default) values in all event plane variables saved, as expected

@santocch
Copy link

+1

@slava77
Copy link
Contributor

slava77 commented Oct 26, 2020

@cms-sw/dqm-l2
a DQM signature is needed for this PR.
Please check and comment or sign.
Thank you.

@jfernan2
Copy link
Contributor

+1

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

@qliphy
Copy link
Contributor

qliphy commented Oct 26, 2020

+1

@cmsbuild cmsbuild merged commit 2f1749f into cms-sw:master Oct 26, 2020
@Martin-Grunewald
Copy link
Contributor

Martin-Grunewald commented Oct 27, 2020

This seems to crate a problem in a HIon workflow doing --step=RAW2DIGI,L1Reco,RECO,EI,PAT,VALIDATION,DQM
(TSG validation tests):

----- Begin Fatal Exception 27-Oct-2020 13:54:11 CET-----------------------
An exception of category 'NoRecord' occurred while
   [0] Processing  Event run: 1 lumi: 12 event: 3310 stream: 3
   [1] Running path 'MINIAODSIMoutput_step'
   [2] Prefetching for module PoolOutputModule/'MINIAODSIMoutput'
   [3] Calling method for module HiEvtPlaneFlatProducer/'hiEvtPlaneFlat'
Exception Message:
No "HeavyIonRPRcd" record found in the EventSetup.n
 Please add an ESSource or ESProducer that delivers such a record.
----- End Fatal Exception -------------------------------------------------

More info:
GT used: phase1_2021_realistic_hi
Era used: Run3_pp_on_PbPb

Also affecting relvals 140.5611 159.0 310.0

@mandrenguyen
Copy link
Contributor

@christopheralanwest Regarding the issue spotted by @Martin-Grunewald above, would you please update the GT corresponding to phase1_2021_realistic_hi in the same way as done for phase1_2018_realistic_hi?
That change was introduced here:
https://cms-conddb.cern.ch/cmsDbBrowser/diff/Prod/gts/112X_upgrade2018_realistic_HI_v3/112X_upgrade2018_realistic_HI_v4
Thanks!

@christopheralanwest
Copy link
Contributor

Should the 2021 scenario use the same tag as that used in auto:phase1_2018_realistic_hi or is another tag more appropriate? I'm asking because a different tag HeavyIonRPRcd_EvtPlane_MC_2018_v01_offline is queued in 112X_upgrade2018_realistic_HI_Queue.

@mandrenguyen
Copy link
Contributor

Ah, @BetterWang will have to answer that.

@BetterWang
Copy link
Contributor Author

Hi, I believe we should use the auto tag. HeavyIonRPRcd_EvtPlane_MC_2018_v01_offline was replace because it is a multi-IOV tag.

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.