-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Restructure and comment the tau embedding method #48408
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
base: master
Are you sure you want to change the base?
Restructure and comment the tau embedding method #48408
Conversation
…cmsDriver HLT step
cms-bot internal usage |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-48408/45306
|
A new Pull Request was created by @winterchristian for master. It involves the following packages:
@antoniovilela, @civanch, @cmsbuild, @davidlange6, @fabiocos, @kpedro88, @mandrenguyen, @mdhildreth, @rappoccio can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@@ -0,0 +1,167 @@ | |||
#!/bin/bash |
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.
is there a reason this is in the docs folder rather than the test folder?
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.
I will add it to the test folder once I have prepared a 2024 RAW file with events that are not filtered out and that can then be used as input. I thought it is still a good idea to provide a script to execute the tau embedding code.
TauAnalysis/MCEmbeddingTools/plugins/MuMuForEmbeddingSelector.cc
Outdated
Show resolved
Hide resolved
TauAnalysis/MCEmbeddingTools/test/run_2016postVFPUL_workflow_tests.sh
Outdated
Show resolved
Hide resolved
@smuzaffar will RAW files used as input for unit tests in |
please test |
-1 Failed Tests: UnitTests RelVals-INPUT Unit TestsI found 1 errors in the following unit tests: ---> test test-das-selected-lumis had ERRORS RelVals-INPUT
Expand to see more relval errors ...Comparison SummarySummary:
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-48408/45387
|
Pull request #48408 was updated. @AdrianoDee, @Moanwar, @antoniovilela, @civanch, @cmsbuild, @davidlange6, @DickyChant, @fabiocos, @kpedro88, @mandrenguyen, @mdhildreth, @miquork, @rappoccio, @srimanob, @subirsarkar can you please check and sign again. |
I forgot to adapt the release validation tests, sorry. I updated them in cee48c2, and they should now work (at least they work locally). Please run the tests again. |
please test |
+1 Size: This PR adds an extra 116KB to repository Comparison SummarySummary:
|
PR description:
This PR restructures and cleans the tau embedding method (
TauAnalysis/MCEmbeddingTools
) so that it is possible to produce RUN 3 tau embedding samples with CMS submission workflows.One goal was to remove the need of
--customise
or--customise_commands
in the tau embeddingcmsDriver.py
commands.This was possible due to modifiers and the possibility to add python config fragments to some
cmsDriver.py
steps.Only the
HLT
step required additional modification of thecmsDriver.py
config builder.The other goal of this PR is to have more understandable, better commented code and therefore sustainable code.
Tau embedding
cmsDriver.py
commandsWith the changes introduced in this PR, tau embedding samples can be produced using the following
cmsDriver.py
commands.Selection
cmsDriver.py \ --step RAW2DIGI,L1Reco,RECO,PAT,FILTER:TauAnalysis/MCEmbeddingTools/Selection_FILTER_cff.makePatMuonsZmumuSelection \ --processName SELECT \ --data \ --scenario pp \ --conditions auto:run3_data \ --era Run3_2024 \ --eventcontent TauEmbeddingSelection \ --datatier RAWRECO \ --filein "root://cmsdcache-kit-disk.gridka.de:1094//store/data/Run2024C/Muon0/RAW/v1/000/380/115/00000/00979445-916c-42e2-8038-428d7bd4f176.root" \ --fileout ...
LHE and Cleaning
Simulation Gen
Simulation HLT
Simulation Reco
Merging
cmsDriver.py \ --step USER:TauAnalysis/MCEmbeddingTools/Merging_USER_cff.merge_step,PAT \ --processName MERGE \ --data \ --scenario pp \ --conditions auto:run3_data \ --era Run3_2024 \ --eventcontent TauEmbeddingMerge \ --datatier USER \ --inputCommands 'keep *_*_*_*' \ --filein ... \ --fileout ...
NanoAOD
PR validation:
I had to disable the tests, as I first have to get RAW samples from tape to create a small set of samples I can use. The test
.root
files right now are only useable for the old structure.I will deliver tests in the next pull request.
UPDATE
I reactivated the unit tests as I realized I can use the RAW samples from the release validation tests.
Both, the unit tests as the release validation tests worked locally.