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

LowPtElectrons: convert Seed BDTs from XML to ROOT file format #22

Merged

Conversation

bainbrid
Copy link
Contributor

This PR converts the formats (from XML to ROOT) of two files containing the weights of two BDT models used by the low pT electron seeding step in the reconstruction chain.

The effect is to reduce the file size by a factor two for both files, and to reduce the memory consumption and CPU time when parsing the weights files.

This was done in response to the issues raised here: cms-sw/cmssw#34707

A similar change was made previously, but on the weights file for the BDT model used by the low pT electron ID module (as opposed to the seeding step, as above), which solved the issues raised here: cms-sw/cmssw#28780

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @bainbrid for branch master.

@perrotta, @smuzaffar, @iarspider, @mrodozov, @cmsbuild, @slava77, @jpata can you please review it and eventually sign? Thanks.
@Sam-Harper, @jainshilpi, @lgray, @sobhatta, @afiqaize, @varuns23, @ram1123 this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.
cms-bot commands are listed here

@bainbrid
Copy link
Contributor Author

This PR is used by cms-sw/cmssw#34908

@slava77
Copy link

slava77 commented Aug 19, 2021

+reconstruction

for cmsdist this should be merged together with cms-sw/cmssw#34908

@perrotta
Copy link

  • This has to be merged together with #34908: @smuzaffar (just to learn how to deal with it in the future) how do we manage to synchronize the merging of the PR in cms-data and in cmssw? I think I should wait for a "+1" from externals, once tests finish: then we'll merge the two PRs at the same time, so that they end up in the same IB?
  • By the way, this cms-data PR was already succesfully tested together with #34908, while now it reports about an error from a addOn test: let see what is it...

@smuzaffar
Copy link
Contributor

+externals
@perrotta , once cms-data external PR is ready (means already successfully tested directly via cms-data PR or indirectly via cmssw PR) then we merge it and bot automatically tags the cms-data changes and creates a cmsdist PR. If you want then you can restart a fresh test to test cmsdist cmssw PRs otheriwse normally it is ok to just merge the cmsdist and cmssw PRs.

Because of +reco comment bot started the test here and as it was ran without cmssw PR that is why there are failures. I would suggest to ignore these errors and goahead with the merge. Testing it via cmssw was good enough.

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@perrotta
Copy link

+1

  • To go together with #34908

@perrotta
Copy link

merge

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals RelVals-INPUT AddOn
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-b45164/17891/summary.html
COMMIT: 8e4d325
CMSSW: CMSSW_12_1_X_2021-08-19-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals

----- Begin Fatal Exception 19-Aug-2021 16:28:17 CEST-----------------------
An exception of category 'FileInPathError' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=LowPtGsfElectronSeedProducer label='lowPtGsfElectronSeedsTmp'
Exception Message:
edm::FileInPath unable to find file RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Autumn18_LowPtElectrons_unbiased.xml.gz anywhere in the search path.
The search path is defined by: CMSSW_SEARCH_PATH
${CMSSW_SEARCH_PATH} is: /cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/poison:/cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/src:/cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/external/slc7_amd64_gcc900/data:/cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw-patch/CMSSW_12_1_X_2021-08-19-1100/poison:/cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw-patch/CMSSW_12_1_X_2021-08-19-1100/src
Current directory is: /data/cmsbld/jenkins/workspace/ib-run-pr-relvals/runTheMatrix-results/135.4_ZEE_13+ZEEFS_13+HARVESTUP15FS+MINIAODMCUP15FS
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 19-Aug-2021 16:28:17 CEST-----------------------
An exception of category 'FileInPathError' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=LowPtGsfElectronSeedProducer label='lowPtGsfElectronSeedsTmp'
Exception Message:
edm::FileInPath unable to find file RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Autumn18_LowPtElectrons_unbiased.xml.gz anywhere in the search path.
The search path is defined by: CMSSW_SEARCH_PATH
${CMSSW_SEARCH_PATH} is: /cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/poison:/cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/src:/cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/external/slc7_amd64_gcc900/data:/cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw-patch/CMSSW_12_1_X_2021-08-19-1100/poison:/cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw-patch/CMSSW_12_1_X_2021-08-19-1100/src
Current directory is: /data/cmsbld/jenkins/workspace/ib-run-pr-relvals/runTheMatrix-results/5.1_TTbar+TTbarFS+HARVESTFS
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 19-Aug-2021 16:30:01 CEST-----------------------
An exception of category 'FileInPathError' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=LowPtGsfElectronSeedProducer label='lowPtGsfElectronSeeds'
Exception Message:
edm::FileInPath unable to find file RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Autumn18_LowPtElectrons_unbiased.xml.gz anywhere in the search path.
The search path is defined by: CMSSW_SEARCH_PATH
${CMSSW_SEARCH_PATH} is: /cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/poison:/cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/src:/cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/external/slc7_amd64_gcc900/data:/cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw-patch/CMSSW_12_1_X_2021-08-19-1100/poison:/cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw-patch/CMSSW_12_1_X_2021-08-19-1100/src
Current directory is: /data/cmsbld/jenkins/workspace/ib-run-pr-relvals/runTheMatrix-results/140.56_RunHI2018+RunHI2018+RECOHID18+HARVESTDHI18
----- End Fatal Exception -------------------------------------------------
Expand to see more relval errors ...

RelVals-INPUT

  • 4.64.6_MinimumBias2010A+MinimumBias2010A+RECOSKIMALCA+HARVESTDR1/step2_MinimumBias2010A+MinimumBias2010A+RECOSKIMALCA+HARVESTDR1.log
  • 140.54140.54_RunPA2013+RunPA2013+RECO_PPbData+HARVEST_PPbData/step2_RunPA2013+RunPA2013+RECO_PPbData+HARVEST_PPbData.log
  • 140.56140.56_RunHI2018+RunHI2018+RECOHID18+HARVESTDHI18/step2_RunHI2018+RunHI2018+RECOHID18+HARVESTDHI18.log
Expand to see more relval errors ...

AddOn Tests

----- Begin Fatal Exception 19-Aug-2021 16:27:55 CEST-----------------------
An exception of category 'FileInPathError' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=LowPtGsfElectronSeedProducer label='lowPtGsfElectronSeedsTmp'
Exception Message:
edm::FileInPath unable to find file RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Autumn18_LowPtElectrons_unbiased.xml.gz anywhere in the search path.
The search path is defined by: CMSSW_SEARCH_PATH
${CMSSW_SEARCH_PATH} is: /cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/poison:/cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/src:/cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/external/slc7_amd64_gcc900/data:/cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw-patch/CMSSW_12_1_X_2021-08-19-1100/poison:/cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw-patch/CMSSW_12_1_X_2021-08-19-1100/src
Current directory is: /data/cmsbld/jenkins/workspace/ib-run-pr-addon/addOnTests/fastsim
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 19-Aug-2021 16:27:55 CEST-----------------------
An exception of category 'FileInPathError' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=LowPtGsfElectronSeedProducer label='lowPtGsfElectronSeedsTmp'
Exception Message:
edm::FileInPath unable to find file RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Autumn18_LowPtElectrons_unbiased.xml.gz anywhere in the search path.
The search path is defined by: CMSSW_SEARCH_PATH
${CMSSW_SEARCH_PATH} is: /cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/poison:/cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/src:/cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/external/slc7_amd64_gcc900/data:/cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw-patch/CMSSW_12_1_X_2021-08-19-1100/poison:/cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw-patch/CMSSW_12_1_X_2021-08-19-1100/src
Current directory is: /data/cmsbld/jenkins/workspace/ib-run-pr-addon/addOnTests/fastsim1
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 19-Aug-2021 16:27:57 CEST-----------------------
An exception of category 'FileInPathError' occurred while
   [0] Constructing the EventProcessor
   [1] Constructing module: class=LowPtGsfElectronSeedProducer label='lowPtGsfElectronSeedsTmp'
Exception Message:
edm::FileInPath unable to find file RecoEgamma/ElectronIdentification/data/LowPtElectrons/RunII_Autumn18_LowPtElectrons_unbiased.xml.gz anywhere in the search path.
The search path is defined by: CMSSW_SEARCH_PATH
${CMSSW_SEARCH_PATH} is: /cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/poison:/cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/src:/cvmfs/cms-ci.cern.ch/week0/cms-data/RecoEgamma-ElectronIdentification/22/17891/CMSSW_12_1_X_2021-08-19-1100/external/slc7_amd64_gcc900/data:/cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw-patch/CMSSW_12_1_X_2021-08-19-1100/poison:/cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc900/cms/cmssw-patch/CMSSW_12_1_X_2021-08-19-1100/src
Current directory is: /data/cmsbld/jenkins/workspace/ib-run-pr-addon/addOnTests/fastsim2
----- End Fatal Exception -------------------------------------------------
Expand to see more addon errors ...

@bainbrid
Copy link
Contributor Author

Is this #22 (comment) something I need to worry about? Presumably so?

Why is it only showing up now?

@mrodozov
Copy link
Contributor

mrodozov commented Aug 19, 2021

because the test has been started, and when the pr was merged the test wasn't stopped. and also because it ran without the corresponding cmssw PR

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

6 participants