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

Remove option to run on single GEM pads; Simplify CSC trigger configuration #31460

Closed
wants to merge 7 commits into from
Closed

Remove option to run on single GEM pads; Simplify CSC trigger configuration #31460

wants to merge 7 commits into from

Conversation

dildick
Copy link
Contributor

@dildick dildick commented Sep 14, 2020

PR description:

  • First major part: The GEM-CSC trigger will use clusters in Run-3 (not single GEM pads) which will be sent to the ME1/1 optical trigger motherboards over 9.6 Gb/s optical fibers as explained in DN-20-016. This PR finally removes the option to run on single pads (which was the normal way since CMSSW_6_2_X_SLHC).
  • Second major part of the pull request is a working version of Clean-up CSC trigger configuration for Run-3 and Phase-2 #31401, with the intent of making the CSC trigger configuration easier to understand. All psets for ALCT, CLCT, TMB, MPC and CCLUT are put in python/params rather than directly in cscTriggerPrimitiveDigis_cfi, reducing the main configuration to less than 100 lines. Thus params/ contains
python/params/
* alctParams_cfi
* clctParams_cfi
* tmbParams_cfi
* auxiliaryParams_cfi
* cclutParams_cfi
* __init__.py
  • SLHC was renamed to Phase2 everwhere
  • alctClctOffset_ was made a constant, defined in CSCConstants.h
  • use_run3_patterns_ and use_comparator_codes_ were merged into runCCLUT_ (because we will not run the Run-3 patterns without CCLUT)

PR validation:

Tested with 23234.0. I also ran a validation on this relval /RelValSingleMuFlatPt2To100/CMSSW_11_0_0-110X_mcRun4_realistic_v2_2026D49noPU-v1/GEN-SIM-DIGI-RAW

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

N/A

FYI @tahuang1991

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

1 similar comment
@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31460/18364

  • This PR adds an extra 48KB 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, @benkrikler 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 Sep 14, 2020

A few validation plots (not for publication):

True muon to single pad or single cluster matching efficiency vs |eta|. You can see that clusters are as efficient as single pads.
Eff_GEMPad_eta_GE11
Eff_GEMCluster_eta_GE11
Eff_GEMPad_eta_GE21
Eff_GEMCluster_eta_GE21

@dildick
Copy link
Contributor Author

dildick commented Sep 14, 2020

These are efficiencies to match a true muon to GEM-CSC integrated local triggers vs |eta|. The ME1/1 plot ends at |eta|~2.15, because GE1/1 does not cover the bottom part of ME1/1.

Eff_GEMCSCLCT_ME11
Eff_GEMCSCLCT_ME21.

And true muon to EMTF track matching efficiencies

Eff_EMTF_eta_Pt20_
Eff_EMTF_phi_Pt20_
Eff_EMTF_pt_Pt20_

@dildick
Copy link
Contributor Author

dildick commented Sep 14, 2020

I don't see a drop in ME1/1 or ME2/1 integrated local trigger efficiency or in the EMTF trigger efficiency.

@dildick dildick changed the title Remove option to run on single GEM pads Remove option to run on single GEM pads; Simplify CSC trigger configuration Sep 14, 2020
@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

1 similar comment
@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

@dildick
Copy link
Contributor Author

dildick commented Sep 14, 2020

A few more validation plots (on single muon with PU0) after cleaning up the configuration code. The next few plots compare the 4-layer CLCT reconstruction efficiency for Run-1/2 (still the default in CMSSW) and Run-3 patterns (when runCCLUT set to True).
Eff_CSCCLCT_comparison_ME11
Eff_CSCCLCT_comparison_ME12
Eff_CSCCLCT_comparison_ME13
Eff_CSCCLCT_comparison_ME21
Eff_CSCCLCT_comparison_ME22
Eff_CSCCLCT_comparison_ME31
Eff_CSCCLCT_comparison_ME32
Eff_CSCCLCT_comparison_ME41
Eff_CSCCLCT_comparison_ME42

EMTF track efficiency
Eff_EMTF_phi_Pt20_
Eff_EMTF_pt_Pt20_
Eff_EMTF2_eta_Pt20_

@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

@dildick
Copy link
Contributor Author

dildick commented Sep 25, 2020

There should only be two: (125,125) and (125,126). Somehow they appear 8 times each in the collection.

Screen Shot 2020-09-25 at 12 11 13 AM

Screen Shot 2020-09-25 at 12 10 58 AM

@dildick
Copy link
Contributor Author

dildick commented Sep 25, 2020

Weird, somehow the coincidence pad collection is not being cleared for each event...

Begin processing the 3rd record. Run 1, Event 3, LumiSection 1 on stream 0 at 25-Sep-2020 09:10:45.222 CDT
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 125 bx = 0
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 126 bx = 0
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 125 bx = 0
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 126 bx = 0
Begin processing the 4th record. Run 1, Event 4, LumiSection 1 on stream 0 at 25-Sep-2020 09:10:45.708 CDT
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 125 bx = 0
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 126 bx = 0
Begin processing the 5th record. Run 1, Event 5, LumiSection 1 on stream 0 at 25-Sep-2020 09:10:46.174 CDT
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 125 bx = 0
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 126 bx = 0
Begin processing the 6th record. Run 1, Event 6, LumiSection 1 on stream 0 at 25-Sep-2020 09:10:46.662 CDT
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 125 bx = 0
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 126 bx = 0
Begin processing the 7th record. Run 1, Event 7, LumiSection 1 on stream 0 at 25-Sep-2020 09:10:47.136 CDT
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 125 bx = 0
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 126 bx = 0
Begin processing the 8th record. Run 1, Event 8, LumiSection 1 on stream 0 at 25-Sep-2020 09:10:47.638 CDT
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 125 bx = 0
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 126 bx = 0
Begin processing the 9th record. Run 1, Event 9, LumiSection 1 on stream 0 at 25-Sep-2020 09:10:48.105 CDT
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 125 bx = 0
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 126 bx = 0
Begin processing the 10th record. Run 1, Event 10, LumiSection 1 on stream 0 at 25-Sep-2020 09:10:48.588 CDT
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 125 bx = 0
 Re -1 Ri 1 St 1 La 0 Ch 29 Ro 0  Roll: 1 layer1: GEMPadDigi Pad = 125 bx = 0, layer2: GEMPadDigi Pad = 126 bx = 0
25-Sep-2020 09:10:49 CDT  Closed file file:step2.root

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@dildick
Copy link
Contributor Author

dildick commented Sep 25, 2020

So while the GEM coincidence pad vector in the motherboard was being cleared each event, the vector internal in the GEM processor was only being cleared when there were GEM hits in the event. This is now fixed.

@mrodozov Could you rerun the tests again?

@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

@silviodonato
Copy link
Contributor

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

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

5 participants