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

Disable hcalLaserEventFilter occupancy filter #23597

Merged
merged 2 commits into from Jun 20, 2018

Conversation

jkunkle
Copy link

@jkunkle jkunkle commented Jun 15, 2018

We found that the occupancy filter in the hcalLaserEventFilter is erroneously removing good events. We think that increasing the threshold to 8000 would be sufficient, but we also simply disable it in favor of the LaserMon filter. We use the eras to ensure that the settings are only updated for 2018 data.

@deguio @mariadalfonso

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

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

It involves the following packages:

RecoMET/METFilters

@perrotta, @monttj, @cmsbuild, @slava77, @gpetruc, @arizzi can you please review it and eventually sign? Thanks.
@TaiSakuma, @gouskos, @ahinzmann, @mmarionncern, @jdamgov, @jdolen, @nhanvtran, @gkasieczka, @schoef, @mariadalfonso, @seemasharmafnal 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

@jkunkle
Copy link
Author

jkunkle commented Jun 15, 2018

To test one can run these steps

cmsrel CMSSW_10_2_X_2018-06-14-1100 # or a reasonably new release
cd CMSSW_10_2_X_2018-06-14-1100/src/
cmsenv
git cms-merge-topic 23597
cp -r /afs/cern.ch/user/j/jkunkle//public/HcalLaserCodeTest2/* .
scram b -j8
cmsDriver.py step1 --conditions 101X_dataRun2_Prompt_v9 -s RAW2DIGI,RECO --data --era Run2_2018 --eventcontent RECO,AOD --datatier RECO,AOD --filein root://eoscms.cern.ch//eos/cms/store/data/Run2018A/JetHT/RAW/v1/000/316/995/00000/FAEDC5AE-6F62-E811-AB45-02163E01A095.root  -n 100   --customise Configuration/DataProcessing/RecoTLR.customisePostEra_Run2_2018
cmsDriver.py step2 --filein file:step1_RAW2DIGI_RECO.root  --data --eventcontent MINIAOD --runUnscheduled --datatier MINIAOD --conditions 101X_dataRun2_Prompt_v9  --step PAT   --era Run2_2018 -n 100
cmsRun config_test.py

At the end you should see an output like

N events that Pass METFilter and Pass Charge cut = 100 -- GOOD!
N events that Fail METFilter and Fail Charge cut = 0 -- BAD!
N events that Pass METFilter and Fail Charge cut = 0 -- GOOD!
N events that Fail METFilter and Pass Charge cut = 0 -- GOOD!

This is the expected output since the laser was not firing. If instead one comments out the changes here and reruns

cmsDriver.py step2 --filein file:step1_RAW2DIGI_RECO.root  --data --eventcontent MINIAOD --runUnscheduled --datatier MINIAOD --conditions 101X_dataRun2_Prompt_v9  --step PAT   --era Run2_2018 -n 100
cmsRun config_test.py

You see a different output with most events failing the MET filter

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 15, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/28713/console Started: 2018/06/15 16:44

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 2902004
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2901813
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 128 log files, 14 edm output root files, 31 DQM output files


from Configuration.Eras.Modifier_run2_HCAL_2018_cff import run2_HCAL_2018
run2_HCAL_2018.toModify( hcalLaserEventFilter,
vetoByHBHEOccupancy = cms.bool( False),
Copy link
Contributor

Choose a reason for hiding this comment

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

Please drop type specification: types were already defined, and removing it here may help catching possible mistypes

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Pull request #23597 was updated. @perrotta, @monttj, @cmsbuild, @slava77, @gpetruc, @arizzi can you please check and sign again.

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Jun 20, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/28782/console Started: 2018/06/20 13:44

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

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

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 2 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 2902133
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2901941
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 128 log files, 14 edm output root files, 31 DQM output files

@perrotta
Copy link
Contributor

+1

  • One MET filter is disabled, as it was found to remove too many events (its threshold was already adjusted in previous updates of that filter, now they decide to disable it at all while waiting for further studies to decide an optimal one)
  • No effect is visible in the limited stat of the jenkins tests (no laser firing in the tested samples)

@fabiocos
Copy link
Contributor

+1

@fabiocos
Copy link
Contributor

merge

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

4 participants