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

New stub window tune #40326

Closed
wants to merge 41 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
3a634da
Find best MC match (#174)
bryates Jun 22, 2022
295a73e
Add possibility to invent seeding stubs coordinates before DR (#170)
sarafiorendi Jun 24, 2022
a2849c8
MC/MP LUTs (#176)
bryates Aug 15, 2022
c7c8339
MP best match (#180)
bryates Aug 15, 2022
6392209
fix for stubs with identical position but different bends. (#183)
tschuh Sep 7, 2022
bff95fe
Move module loop to setup (#175)
Jingyan95 Sep 22, 2022
9e89897
Update FitTrack.cc
tomalin Oct 4, 2022
a9a4fff
Added option to print digi format (#187)
tomalin Oct 13, 2022
e0a6507
Atownse2 calc bend cuts (#178)
atownse2 Oct 26, 2022
8b7574d
kf bug fixes, f/w sync. (#188)
tschuh Oct 28, 2022
ed50147
MP disk projection LUT (#185)
bryates Nov 2, 2022
4dc5a44
Produce combined module MemPrint & LUT files for reduced project (#189)
tomalin Nov 9, 2022
03725db
tiny fix of start_of_orbit_bit. (#190)
tschuh Nov 9, 2022
1c6d529
Duplicate Removal with overlapping rinv bins (#181)
dally96 Nov 16, 2022
92a351d
readd data files as not yet in CMSSW release
tomalin Nov 24, 2022
df5c08c
Create github_CI.yml
tomalin Nov 24, 2022
1d3d30d
Readd git CI code after branching from latest CMSSW relese
tomalin Nov 24, 2022
4e419b2
bug fixes
tomalin Nov 24, 2022
df5259d
dummy
tomalin Nov 24, 2022
0247263
tweak
tomalin Nov 24, 2022
9ab7a5e
Make DR easier to understand
tomalin Nov 24, 2022
f586b57
update to python3
tomalin Nov 24, 2022
22adf04
tweak
tomalin Nov 24, 2022
6eaa835
tweak
tomalin Nov 24, 2022
7f6ff0b
tweak
tomalin Nov 24, 2022
d3ffc47
tweak
tomalin Nov 24, 2022
dfd926a
Switch to D88 geometry
tomalin Nov 24, 2022
acaaf7f
updated to geometry D88
tomalin Nov 25, 2022
0efcd66
migrate to D77 geom
tomalin Nov 25, 2022
2edacd7
Switch to D88 geometry
tomalin Nov 25, 2022
4318615
Update to new label names
tomalin Nov 25, 2022
635fc7a
Update to new label names
tomalin Nov 25, 2022
59605f5
Switch to D88 geometry
tomalin Nov 25, 2022
56e10e6
Allow use of D76 MC
tomalin Nov 25, 2022
f459d9d
tweak
tomalin Nov 25, 2022
8b1aaf9
Create README.md
tomalin Dec 11, 2022
7c495ca
Update README.md
tomalin Dec 11, 2022
b5b8d49
Update README.md
tomalin Dec 11, 2022
203375e
Update README.md
tomalin Dec 11, 2022
812ea40
DUMMY COMMIT BEFORE PR
tomalin Dec 15, 2022
49d4d8f
New Stub window tune is added as default
rgoldouz Dec 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
80 changes: 80 additions & 0 deletions .github/workflows/github_CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
#####################################################################
# This triggers git Continuous Integration tests when a PR to #
# any branch is made. Or if a code-commit is made to any #
# test branch (temporarily) specified below. #
# #
# The tests themselves are delegated to a gitlab CI runner #
# controlled by the .gitlab-ci.yml file at #
# https://gitlab.cern.ch/cms-l1tk/cmssw_CI . #
# N.B. .gitlab-ci.yml must be update if the CMSSW version changes. #
# #
# Communication between the github & gitlab CIs is done via scripts #
# at https://github.com/cms-L1TK/gitlab-mirror-and-ci-action #
#####################################################################

name: PR validation with GitLab CI

on: # Controls when the action will run.
workflow_dispatch:
push: # Please specify your branch down here if you want CI to run for each push to it.
branches: [L1TK-dev-12_6_0_pre5]
# branches: [myBranchUnderTest]
pull_request: # Run CI if someone makes a PR to any branch
# branches: [L1TK-dev-12_6_0_pre5] # Optionally only run CI if PR is to this branch.

env:
mirror_repo: "https://gitlab.cern.ch/cms-l1tk/cmssw_CI" # gitlab mirror
current_branch: "unitialized"

jobs:
trigger_gitlab_CI: # https://github.com/marketplace/actions/mirror-to-gitlab-and-run-gitlab-ci
name: trigger_gitlab_CI
runs-on: ubuntu-latest
steps:

- name: DebugPrint
run: |
echo "github.ref = ${{ github.ref }}"
env

- name: Redefine branch on pull_request
if: github.event_name == 'pull_request'
run: |
# Sets env. variable $current_branch
echo "current_branch=$(echo ${{ github.head_ref }})" >> $GITHUB_ENV

- name: Redefine branch on push
if: github.event_name == 'push'
run: |
# Sets env. variable $current_branch
echo "current_branch=$(echo ${{ github.ref }} | sed -E 's|refs/[a-zA-Z]+/||')" >> $GITHUB_ENV

- name: Print generic gitlab CI location
run: |
echo "In general, gitlab CI jobs run in https://gitlab.cern.ch/cms-l1tk/cmssw_CI/-/jobs"

- name: Trigger gitlab CI run
# Communicate between gitlab & github, and trigger gitlab CI run.
# (Forked from https://github.com/SvanBoxel/gitlab-mirror-and-ci-action).
uses: cms-L1TK/gitlab-mirror-and-ci-action@master
env:
GITLAB_HOSTNAME: "gitlab.cern.ch"
GITLAB_USERNAME: "cms-l1tk"
GITLAB_PASSWORD: ${{ secrets.GITLAB_L1TK_CMSSW_CI_TOKEN }} # Generate token here: https://gitlab.cern.ch/cms-l1tk/cmssw_CI/-/settings/access_tokens and add it to GitHub secrets https://github.com/cms-L1TK/cmssw/settings/secrets/actions
GITLAB_PROJECT_ID: "124851" # ID visible at https://gitlab.cern.ch/cms-l1tk/cmssw_CI
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://help.github.com/en/articles/virtual-environments-for-github-actions#github_token-secret
MIRROR_REPO: ${{ env.mirror_repo }} # gitlab mirror.
IS_CMSSW: "true" # Is repo CMSSW or something else (e.g. HLS)?
CHECKOUT_BRANCH: ${{ env.current_branch }} # Needed so push to gitlab can work
REMOVE_BRANCH: "true" # Refreshes branch on mirror, which triggers CI run there.
REBASE_MASTER: "false" # If true would rebase to "master", which isn't used in cms-L1TK.
RETURN_FILE: "pipeline_url.txt" # Output file with gitlab pipeline url

- name: print summary
if: always()
run: |
echo ""
echo "==========================================================="
echo "DETAILED OUTPUT FROM CMSSW COMPILATION & RUN AVAILABLE "
echo "AT FOLLOWING GITLAB CI URL:"
cat pipeline_url.txt
19 changes: 6 additions & 13 deletions L1Trigger/TrackFindingTMTT/test/tmtt_tf_analysis_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,12 @@

process = cms.Process("Demo")

GEOMETRY = "D76"
GEOMETRY = "D88"

if GEOMETRY == "D49":
if GEOMETRY == "D88":
print("using geometry " + GEOMETRY + " (tilted)")
process.load('Configuration.Geometry.GeometryExtended2026D49Reco_cff')
process.load('Configuration.Geometry.GeometryExtended2026D49_cff')
elif GEOMETRY == "D76":
print("using geometry " + GEOMETRY + " (tilted)")
process.load('Configuration.Geometry.GeometryExtended2026D76Reco_cff')
process.load('Configuration.Geometry.GeometryExtended2026D76_cff')
process.load('Configuration.Geometry.GeometryExtended2026D88Reco_cff')
process.load('Configuration.Geometry.GeometryExtended2026D88_cff')
else:
print("this is not a valid geometry!!!")

Expand All @@ -42,10 +38,7 @@
#from MCsamples.Scripts.getCMSdata_cfi import *
#from MCsamples.Scripts.getCMSlocaldata_cfi import *

if GEOMETRY == "D49":
inputMC = ["/store/relval/CMSSW_11_3_0_pre3/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_113X_mcRun4_realistic_v3_2026D49PU200_rsb-v1/00000/00260a30-734a-4a3a-a4b0-f836ce5502c6.root"]

elif GEOMETRY == "D76":
if GEOMETRY == "D88":
# Read data from card files (defines getCMSdataFromCards()):
#from MCsamples.RelVal_1130_D76.PU200_TTbar_14TeV_cfi import *
#inputMC = getCMSdataFromCards()
Expand All @@ -59,7 +52,7 @@
#inputMC=getCMSdata(dataName)

# Or read specified .root file:
inputMC = ["/store/relval/CMSSW_11_3_0_pre6/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_113X_mcRun4_realistic_v6_2026D76PU200-v1/00000/00026541-6200-4eed-b6f8-d3a1fd720e9c.root"]
inputMC = ["/store/relval/CMSSW_12_6_0_pre4/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU_125X_mcRun4_realistic_v2_2026D88PU200-v1/2590000/00b3d04b-4c7b-4506-8d82-9538fb21ee19.root"]

else:
print("this is not a valid geometry!!!")
Expand Down
19 changes: 19 additions & 0 deletions L1Trigger/TrackFindingTracklet/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
To run L1 tracking & create TTree of tracking performance:

cmsRun L1TrackNtupleMaker_cfg.py

By setting variable L1TRKALGO inside this script, you can change the
L1 tracking algo used.

For the baseline HYBRID algo, which runs Tracklet pattern reco followed
by KF track fit, TrackFindingTracklet/interface/Settings.h configures the pattern reco, (although some
parameters there are overridden by l1tTTTracksFromTrackletEmulation_cfi.py).
The KF fit is configued by the constructor of TrackFindingTMTT/src/Settings.cc.

The ROOT macros L1TrackNtuplePlot.C & L1TrackQualityPlot.C make tracking
performance & BDT track quality performance plots from the TTree.
Both can be run via makeHists.csh .

The optional "NewKF" track fit, (which is not yet baseline, as no duplicate
track removal is compatible with it), is configured via
TrackTrigger/python/ProducerSetup_cfi.py, (which also configures the DTC).
54 changes: 54 additions & 0 deletions L1Trigger/TrackFindingTracklet/data/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# L1Trigger-TrackFindingTracklet

This repository contains various data files that are needed to run the L1 tracking.

*** WIRING ***

These contain the detailed wiring of the various modules for the "hourglass" phi sector definition,
for either the baseline tracking (wires_hourglass.dat) or the extended tracking that includes displaced
(triplet) seeding (wires_hourglassExtended.dat)

wires_hourglass.dat

wires_hourglassExtended.dat

*** PROCESSING MODULES ***

These contain the detailed list of processing modules used for the baseline or extended tracking (e.g. VMRouter, TrackletEngine, TrackletCalculator, ...)

processingmodules_hourglass.dat

processingmodules_hourglassExtended.dat

*** MEMORY MODULES ***

These similarly contain the detailed memory modules (e.g. InputLink, AllStubs, FullMatch, TrackletParameters, ...)

memorymodules_hourglass.dat

memorymodules_hourglassExtended.dat

*** LUTs FOR EXTENDED TRACKING ***

These contain LUTs needed for the extended tracking (that allows specifically reconstructing displaced trajectories). Lines in files correspond to different indices, based on phi coordinate and bend of stubs (for the TrackletEngineDisplaced (table_TED) these are the two stubs considered as candidate stub pair, while for the Triplet Engine (table_TRE) it is one of the stubs from the initial stub pair plus third stub forming candidate triplet). These are created through training on muon gun samples.

table_TED/ => tables for TrackletEngineDisplaced.

table_TRE/ => tables for TripletEngine.

*** CHI2 FIT ***

This contains track derivatives used for the chi2-based track fitting.

fitpattern.txt

*** MODULES & CABLING ***

This contains information about the modules and the links that they are associated with from the DTC.

modules_T5v3_27SP_nonant_tracklet.dat

calcNumDTCLinks.txt

dtclinklayerdisk.dat

Loading