Skip to content

CMSTrackingPOG/cms_trk_hlt_phase2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMS HLT@Phase2 Tracking Confgurations

This repository contains the instructions to run

The old configs and workflows used for the Upgrade DAQ and HLT TDR in 2022 are under the tdr_master branch. In this branch we "restart" the setup in a more sensible way.

To setup your cmssw to have the ingredients to run the upgrade hlt tracking configs start with

scram p -n cmssw CMSSW_13_2_0_pre2
cd cmssw/src
cmsenv
git cms-merge-topic cms-hlt-upgrade-trk:phase2_hlt_tracking_132
scram b -j 4

Apply the following changes to HLTrigger/Configuration/python/customizePhase2HLTTracking.py

This is needed to run the customization to include Patatrack pixel tracks, these changes should be soon included in cms-hlt-upgrade-trk:phase2_hlt_tracking_132

line 179

-    from RecoPixelVertexing.PixelTriplets.caHitNtupletCUDAPhase2_cfi import caHitNtupletCUDAPhase2 as _pixelTracksCUDAPhase2
+    from RecoTracker.PixelSeeding.caHitNtupletCUDAPhase2_cfi import caHitNtupletCUDAPhase2 as _pixelTracksCUDAPhase2

line 188

-    from RecoPixelVertexing.PixelTrackFitting.pixelTrackSoAFromCUDAPhase2_cfi import pixelTrackSoAFromCUDAPhase2 as _pixelTracksSoAPhase2
+    from RecoTracker.PixelTrackFitting.pixelTrackSoAFromCUDAPhase2_cfi import pixelTrackSoAFromCUDAPhase2 as _pixelTracksSoAPhase2

line 201

-    from RecoPixelVertexing.PixelTrackFitting.pixelTrackProducerFromSoAPhase2_cfi import pixelTrackProducerFromSoAPhase2 as _pixelTrackProducerFromSoAPhase2
+    from RecoTracker.PixelTrackFitting.pixelTrackProducerFromSoAPhase2_cfi import pixelTrackProducerFromSoAPhase2 as _pixelTrackProducerFromSoAPhase2

At the moment this has been tested with 13_2_0_pre2


Baseline Tracking Configuration

To run the baseline tracking configuration you can derive it from the simplified HLT menu in the release (since 12_3_X) and customizing it to run only tracking + tracking validation:

cmsDriver.py Phase2 -s HLT:75e33 \
    --processName=HLTX \
     --conditions 131X_mcRun4_realistic_v5  \
     --geometry Extended2026D95 \
     --era Phase2C17I13M9 \
     --eventcontent FEVTDEBUGHLT \
     --filein=/store/mc/Phase2Spring23DIGIRECOMiniAOD/TT_TuneCP5_14TeV-powheg-pythia8/GEN-SIM-DIGI-RAW-MINIAOD/PU200_Trk1GeV_131X_mcRun4_realistic_v5-v1/30000/01607282-0427-4687-a122-ef0a41220590.root \
     -n 10 \
     --nThreads 10 \
     --customise HLTrigger/Configuration/customizePhase2HLTTracking.customisePhase2HLTForTrackingOnly,HLTrigger/Configuration/customizePhase2HLTTracking.addTrackingValidation

Note that:

  • if you want to run the whole menu skip the customisePhase2HLTForTrackingOnly customizer; [not working at the moment]
  • if you don't want to run the validation skip addTrackingValidation customizer.

If you want to explore all the modules used run:

edmConfigDump Phase2_HLT.py > HLT_75e33_cfg.py

Once it runs, if you have run the validation with addTrackingValidation, you may run the harvesting with

harvestTrackValidationPlots.py Phase2HLT_DQM.root -o plots.root

and the plotter with

makeTrackValidationPlots.py plots.root 

Patatrack Single Iteration (WIP)

At the moment only a single iteration approach has been implemented in which the all the pixel tracks (including triplets) are produced and used as input for the initialStep tracks while the highPtTriplet step is dropped. To run it use

cmsDriver.py Phase2_Patatrack -s HLT:75e33 \
    --processName=HLTX \
     --conditions 131X_mcRun4_realistic_v5 \
     --geometry Extended2026D95 \
     --era Phase2C17I13M9 \
     --eventcontent FEVTDEBUGHLT \
     --filein=/store/mc/Phase2Spring23DIGIRECOMiniAOD/TT_TuneCP5_14TeV-powheg-pythia8/GEN-SIM-DIGI-RAW-MINIAOD/PU200_Trk1GeV_131X_mcRun4_realistic_v5-v1/30000/01607282-0427-4687-a122-ef0a41220590.root \
     -n 10 \
     --nThreads 10 \
     --customise HLTrigger/Configuration/customizePhase2HLTTracking.customisePhase2HLTForTrackingOnly,HLTrigger/Configuration/customizePhase2HLTTracking.customisePhase2HLTForPatatrack,HLTrigger/Configuration/customizePhase2HLTTracking.addTrackingValidation

About

Tracking Configurations for HLT Phase 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 96.6%
  • Python 1.9%
  • C 1.2%
  • Makefile 0.3%