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

Hit counters for Run-3 shower CSC trigger (HadronicShowerTrigger-2) #33416

Merged
merged 4 commits into from Apr 16, 2021
Merged

Hit counters for Run-3 shower CSC trigger (HadronicShowerTrigger-2) #33416

merged 4 commits into from Apr 16, 2021

Conversation

dildick
Copy link
Contributor

@dildick dildick commented Apr 13, 2021

PR description:

This PR adds the code to count cathode/anode hits and packs the result in a CSCShowerDigi object. Follow-up of #33389. The hit counters are not enabled yet.

PR validation:

Code compiles. The hit counters run parallel with the ordinary ALCT and CLCT finding. Tested with WF 11634.0. There should be no differences.

if this PR is a backport please specify the original PR and why you need to backport that PR:

N/A. We expect the (local trigger, track-finder, uGMT) firmware to be available by Summer 2021. I'll first develop the entire emulator in 11_3_X, then backport if need be.

Before submitting your pull requests, make sure you followed this checklist:

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33416/22062

ERROR: Build errors found during clang-tidy run.

Suppressed 352 warnings (351 in non-user code, 1 with check filters).
--
L1Trigger/CSCTriggerPrimitives/interface/CSCAnodeLCTProcessor.h:40:10: error: 'DataFormats/CSCDigi/interface/CSCShowerDigi.h' file not found [clang-diagnostic-error]
#include "DataFormats/CSCDigi/interface/CSCShowerDigi.h"
         ^
Suppressed 352 warnings (351 in non-user code, 1 with check filters).
--
L1Trigger/CSCTriggerPrimitives/interface/CSCAnodeLCTProcessor.h:40:10: error: 'DataFormats/CSCDigi/interface/CSCShowerDigi.h' file not found [clang-diagnostic-error]
#include "DataFormats/CSCDigi/interface/CSCShowerDigi.h"
         ^
Suppressed 352 warnings (351 in non-user code, 1 with check filters).
--
L1Trigger/CSCTriggerPrimitives/interface/CSCTriggerPrimitivesBuilder.h:30:10: error: 'DataFormats/CSCDigi/interface/CSCShowerDigiCollection.h' file not found [clang-diagnostic-error]
#include "DataFormats/CSCDigi/interface/CSCShowerDigiCollection.h"
         ^
Suppressed 361 warnings (360 in non-user code, 1 with check filters).
--
L1Trigger/CSCTriggerPrimitives/interface/CSCTriggerPrimitivesBuilder.h:30:10: error: 'DataFormats/CSCDigi/interface/CSCShowerDigiCollection.h' file not found [clang-diagnostic-error]
#include "DataFormats/CSCDigi/interface/CSCShowerDigiCollection.h"
         ^
Suppressed 814 warnings (813 in non-user code, 1 with check filters).
--
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

@dildick
Copy link
Contributor Author

dildick commented Apr 13, 2021

I tried rebasing to see if this would remove the clang error.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33416/22063

ERROR: Build errors found during clang-tidy run.

Suppressed 352 warnings (351 in non-user code, 1 with check filters).
--
L1Trigger/CSCTriggerPrimitives/interface/CSCAnodeLCTProcessor.h:40:10: error: 'DataFormats/CSCDigi/interface/CSCShowerDigi.h' file not found [clang-diagnostic-error]
#include "DataFormats/CSCDigi/interface/CSCShowerDigi.h"
         ^
Suppressed 352 warnings (351 in non-user code, 1 with check filters).
--
L1Trigger/CSCTriggerPrimitives/interface/CSCAnodeLCTProcessor.h:40:10: error: 'DataFormats/CSCDigi/interface/CSCShowerDigi.h' file not found [clang-diagnostic-error]
#include "DataFormats/CSCDigi/interface/CSCShowerDigi.h"
         ^
Suppressed 352 warnings (351 in non-user code, 1 with check filters).
--
L1Trigger/CSCTriggerPrimitives/interface/CSCTriggerPrimitivesBuilder.h:30:10: error: 'DataFormats/CSCDigi/interface/CSCShowerDigiCollection.h' file not found [clang-diagnostic-error]
#include "DataFormats/CSCDigi/interface/CSCShowerDigiCollection.h"
         ^
Suppressed 361 warnings (360 in non-user code, 1 with check filters).
--
L1Trigger/CSCTriggerPrimitives/interface/CSCTriggerPrimitivesBuilder.h:30:10: error: 'DataFormats/CSCDigi/interface/CSCShowerDigiCollection.h' file not found [clang-diagnostic-error]
#include "DataFormats/CSCDigi/interface/CSCShowerDigiCollection.h"
         ^
Suppressed 814 warnings (813 in non-user code, 1 with check filters).
--
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

@dildick
Copy link
Contributor Author

dildick commented Apr 13, 2021

Strange, the CSCShowerDigiCollection is present in the 11_3_X branch though.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33416/22090

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @dildick (Sven Dildick) for master.

It involves the following packages:

L1Trigger/CSCTriggerPrimitives

@cmsbuild, @rekovic, @cecilecaillol can you please review it and eventually sign? Thanks.
@valuev, @ptcox, @Martin-Grunewald this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@dildick
Copy link
Contributor Author

dildick commented Apr 14, 2021

@cecilecaillol Could you start the tests, please?

@cecilecaillol
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

-1

Failed Tests: RelVals RelVals-INPUT AddOn
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6c8c48/14237/summary.html
COMMIT: 122a409
CMSSW: CMSSW_11_3_X_2021-04-14-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33416/14237/install.sh to create a dev area with all the needed externals and cmssw changes.

RelVals

----- Begin Fatal Exception 14-Apr-2021 18:34:35 CEST-----------------------
An exception of category 'BadAlloc' occurred while
   [0] Processing  Event run: 301998 lumi: 9 event: 8792128 stream: 0
   [1] Running path 'FEVTDEBUGHLToutput_step'
   [2] Prefetching for module PoolOutputModule/'FEVTDEBUGHLToutput'
   [3] Calling method for module CSCTriggerPrimitivesProducer/'simCscTriggerPrimitiveDigis'
Exception Message:
A std::bad_alloc exception was thrown.
The job has probably exhausted the virtual memory available to the process.
----- End Fatal Exception -------------------------------------------------
  • 136.874136.874_RunEGamma2018C+RunEGamma2018C+HLTDR2_2018+RECODR2_2018reHLT_skimEGamma_Offline_L1TEgDQM+HARVEST2018_L1TEgDQM/step2_RunEGamma2018C+RunEGamma2018C+HLTDR2_2018+RECODR2_2018reHLT_skimEGamma_Offline_L1TEgDQM+HARVEST2018_L1TEgDQM.log
  • 136.731136.731_RunSinglePh2016B+RunSinglePh2016B+HLTDR2_2016+RECODR2_2016reHLT_skimSinglePh_HIPM+HARVESTDR2/step2_RunSinglePh2016B+RunSinglePh2016B+HLTDR2_2016+RECODR2_2016reHLT_skimSinglePh_HIPM+HARVESTDR2.log
Expand to see more relval errors ...

RelVals-INPUT

  • 6.06.0_SingleMuPt1+SingleMuPt1INPUT+DIGI+RECO+HARVEST/step2_SingleMuPt1+SingleMuPt1INPUT+DIGI+RECO+HARVEST.log
  • 12.012.0_ZpMM+ZpMMINPUT+DIGI+RECO+HARVEST/step2_ZpMM+ZpMMINPUT+DIGI+RECO+HARVEST.log
  • 20.020.0_SingleMuPt10+SingleMuPt10INPUT+DIGI+RECO+HARVEST/step2_SingleMuPt10+SingleMuPt10INPUT+DIGI+RECO+HARVEST.log
Expand to see more relval errors ...

AddOn Tests

----- Begin Fatal Exception 14-Apr-2021 18:37:22 CEST-----------------------
An exception of category 'BadAlloc' occurred while
   [0] Processing  Event run: 1 lumi: 1 event: 2 stream: 3
   [1] Running path 'L1Reco_step'
   [2] Prefetching for module L1ExtraParticlesProd/'l1extraParticles'
   [3] Prefetching for module L1MuGlobalMuonTrigger/'simGmtDigis'
   [4] Prefetching for module DTTrackFinder/'simDttfDigis'
   [5] Prefetching for module CSCTFTrackProducer/'simCsctfTrackDigis'
   [6] Calling method for module CSCTriggerPrimitivesProducer/'simCscTriggerPrimitiveDigis'
Exception Message:
A std::bad_alloc exception was thrown.
The job has probably exhausted the virtual memory available to the process.
----- End Fatal Exception -------------------------------------------------
----- Begin Fatal Exception 14-Apr-2021 18:36:34 CEST-----------------------
An exception of category 'BadAlloc' occurred while
   [0] Processing  Event run: 1 lumi: 1 event: 4 stream: 0
   [1] Running path 'L1TAnalyzerEndpath'
   [2] Prefetching for module L1TGlobalSummary/'L1TGlobalSummary'
   [3] Prefetching for module L1TGlobalProducer/'simGtStage2Digis'
   [4] Prefetching for module L1TMuonProducer/'simGmtStage2Digis'
   [5] Prefetching for module L1TMuonOverlapTrackProducer/'simOmtfDigis'
   [6] Calling method for module CSCTriggerPrimitivesProducer/'simCscTriggerPrimitiveDigis'
Exception Message:
A std::bad_alloc exception was thrown.
The job has probably exhausted the virtual memory available to the process.
----- End Fatal Exception -------------------------------------------------
  • fastsim1cmsDriver.py TTbar_13TeV_TuneCUETP8M1_cfi --conditions auto:run2_mc_l1stage1 --fast -n 100 --eventcontent AODSIM,DQM --relval 100000,1000 -s GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,L1,DIGI2RAW,L1Reco,RECO,EI,VALIDATION --customise=HLTrigger/Configuration/CustomConfigs.L1THLT --datatier GEN-SIM-DIGI-RECO,DQMIO --beamspot NominalCollision2015 --era Run2_25ns : FAILED - time: date Wed Apr 14 18:38:39 2021-date Wed Apr 14 18:34:00 2021 s - exit: 35584
Expand to see more addon errors ...

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-33416/22114

@cmsbuild
Copy link
Contributor

Pull request #33416 was updated. @cmsbuild, @rekovic, @cecilecaillol can you please check and sign again.

@cecilecaillol
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-6c8c48/14252/summary.html
COMMIT: a8098ce
CMSSW: CMSSW_11_3_X_2021-04-14-2300/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/33416/14252/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 4 differences found in the comparisons
  • DQMHistoTests: Total files compared: 38
  • DQMHistoTests: Total histograms compared: 2864426
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 1
  • DQMHistoTests: Total successes: 2864397
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: -0.004 KiB( 37 files compared)
  • DQMHistoSizes: changed ( 312.0 ): -0.004 KiB MessageLogger/Warnings
  • Checked 160 log files, 37 edm output root files, 38 DQM output files
  • TriggerResults: no differences found

@cecilecaillol
Copy link
Contributor

+l1

@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)

@dildick
Copy link
Contributor Author

dildick commented Apr 15, 2021

6 failures, 5 from the message logger, 1 from the pixel system.

Screen Shot 2021-04-15 at 6 39 14 AM

@cmsbuild cmsbuild modified the milestones: CMSSW_11_3_X, CMSSW_12_0_X Apr 15, 2021
@dildick
Copy link
Contributor Author

dildick commented Apr 15, 2021

Are there any more comments on this PR?

@dildick
Copy link
Contributor Author

dildick commented Apr 16, 2021

@qliphy can this be signed off?

@qliphy
Copy link
Contributor

qliphy commented Apr 16, 2021

+1

@cmsbuild cmsbuild merged commit ebbf48c into cms-sw:master Apr 16, 2021
@dildick dildick deleted the from-CMSSW_11_3_X_2021-04-12-1100-hit-counter-shower-trigger branch April 16, 2021 15:42
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