L1 Trigger Emulator Phase-2 Upgrade Instructions

This page is intended to document useful information regarding Software for L1 Trigger Phase-2 Upgrade. . This includes:

  • MC Production and EventContent,
  • L1T development of algorithms and of hardware emulation
  • L1T Ntuples development for analysis.

Phase-2 L1T Development and MC Reprocessing

The starting point of the Phase-2 L1 Emulator development are branches `phase2-l1t-integration-CMSSW_X_Y_Z` branches in the `cms-l1t-offline` github respository. All the Phase-2 L1T developments are intended to be built on top of that branch via pull requests. The branches are rebased as the central CMSSW software evolves, new features become available, and the software version increases.

CMSSW_10_6_1_patch2

Development

Tags:
  • l1t-phase2-v2.29.4 PF HPS Tau v2 (different producer from existing PF HPS Tau) loaded two instances +l1pfTauProducerv2PF and +l1pfTauProducerv2Puppi,, but expcluded from sequence due to crashing.
  • l1t-phase2-v2.29.3 Add TkMuonStub for Overlap (+l1TkMuonStubOverlap) in the phase2 sequence.
  • l1t-phase2-v2.29.2 Phase-1 PF Jets: simple update - New calibration set for histogrammed jet finder (#814)"
  • l1t-phase2-v2.29.1 Add customization for TrackTrigger Hybrid prompt and Hybrid displaced.
  • l1t-phase2-v2.29.0 Merge L1T Track Hybrid code. Still running only Tracklet simulation.
  • l1t-phase2-v2.28.0 Optimized KMTF for Phase II - in configuration tighten of chi2 cut (generic cut and vtx cut). (#800)
  • l1t-phase2-v2.27.0 HPS PFTaus -v1 update: (1) fix for 1prong with HoE cut, (2) use BDT to assign WPs ( vLoose, Loose, Medium, Tight). (#806)
  • l1t-phase2-v2.26.1 Phase1 PFJets (l1pfPhase1L1TJetProducer) added to the phsase2 L1T sequence."
  • l1t-phase2-v2.26.0 Phase1 PFJets with PUPPI Candidates - updates (#803)
  • l1t-phase2-v2.25.1 Updated L1PF for the TDR (v0.1) ready for 10_4_X MTD samples: calibrations for HF, HGC egamma ID BDT weights (gamma, pion, neutrino), and JEC. (#805)"
  • l1t-phase2-v2.25.0 NNTauPuppi: Fix bug configuration to use Puppi PF candidates.
  • l1t-phase2-v2.24.2 EMTF++ Sep 2019 update (#802).
  • l1t-phase2-v2.24.1 Backport ME0TriggerPseudoBuilder bug fix ( #801) backported the official CMSSW (#27947).
  • l1t-phase2-v2.24.0 Fixes of GEM-CSC TP (#799) commits backported from official CMSSW: (#27957) updated few LUTs for GE2/1-ME2/1 in the Phase-2 CSC local trigger, and (#27958) fixes a bug in the initialization of the GEMCoPadProcessor.
  • l1t-phase2-v2.23.3 Tau: updates to tracks+EG and tracks-only algorithms. (#795)
  • l1t-phase2-v2.23.2.1 Tau BuildFiles fix compilation.
  • l1t-phase2-v2.23.2 L1HPS PF Taus -v2 - DataFormat and Producer. Added definitions of VertexRef and PFCandidateRef (#792)
  • l1t-phase2-v2.23.1 L1PF for 10_6_X: single particle calibrations and JEC, and fix of MET tails. Use of era to switch bw 104XMC and 106XMC (#793)
  • l1t-phase2-v2.23.0 Add to sequence module L1WP2Electrons - Producer for EGamma with track and isolation in the barrel.
  • l1t-phase2-v2.22.1-CMSSW_10_6_1_patch2 Rebased l1t-phase2-v2.22.0 from CMSSW_10_6_0_pre4 to CMSSW_10_6_1_patch2.

Recipe

  • Phase-2 L1T workflow is adjusted accordingly to be able to handle HGC TP generation on different HGC geometries (i.e. different MC samples, 9_3_7 vs 10_4_0_mtd and later). Introduced new era (Phase2C8_trigger) and recipes to run phase2 L1T SW. See below in "Run tests on pilot samples".
  • WARNING If you want to make Track Trigger Tracks, you cannot use this release to make correct Tracklet track with PhaseIIL1TSpring17 samples due to no longer available Geometry D4. This release is suitable for MC samples produced in PhaseIIL1TFall17 campaign which used CMSSW_9_3_2 and later (9_3_7) where Geometry D5 was available.


cmsrel CMSSW_10_6_1_patch2
cd CMSSW_10_6_1_patch2/src
cmsenv
git cms-init
git remote add cms-l1t-offline git@github.com:cms-l1t-offline/cmssw.git
git fetch cms-l1t-offline phase2-l1t-integration-CMSSW_10_6_1_patch2
git cms-merge-topic -u cms-l1t-offline:l1t-phase2-v2.29.4



git cms-addpkg L1Trigger/L1TCommon

scram b -j 8

Run tests on pilot samples

  • recipe configuration file to run on 10_6_X MC samples (have HGC v10 geometry)

# ####################################################################################
# v9 HGC geometry - Run example  of remaking L1TTracklet, and L1TPhase2 (including new HGC TPs) on 10_6_X  samples 
# ####################################################################################
cmsRun L1Trigger/L1TCommon/test/reprocess_test_10_6_0.py

  • recipe configuration file to run on 10_4_0_mtd5 MC samples (have HGC v9 geometry).

# ####################################################################################
# v9 HGC geometry - Run example  of remaking L1TTracklet, and L1TPhase2 (including new HGC TPs) on 10_4_0_mtd  samples 
# ####################################################################################
cmsRun L1Trigger/L1TCommon/test/reprocess_test_10_4_0_mtd5.py

  • recipe configuration file to Make Menu Trees on 10_4_0_MTD MC samples:

# ################################################################
# example configuration to make Menu Trees
# ################################################################
cmsDriver L1Trigger/L1TCommon/test/rerun_PhaseIITreeProducer.py

  • recipe configuration file to run on 9_3_7 MC samples (have HGC v8 geometry) !!!!! WARNING - IF YOU CARE ABOUT CSC Trigger Primitives DO NOT RUN, TILL PROBLEM WITH CSC TP generation inconsistency fixed.

# ####################################################################################
# v8 HGC geometry - Run example  of remaking L1TTracklet, and L1TPhase2 (including new HGC TPs) on 9_3_7 samples 
# ####################################################################################
cmsRun L1Trigger/L1TCommon/test/reprocess_test_9_3_7.py

CMSSW_10_6_0_pre4

Development

Tags:
  • l1t-phase2-v2.22.1 Add and use customisation for CSC LCT to be Run-2 like.
  • l1t-phase2-v2.22.0 Phase1-type jet producer using Phase2 PF candidates as inputs.
  • l1t-phase2-v2.21.3 EMTF++ Part 3 final version - minor C++ optimizations (#784)
  • l1t-phase2-v2.21.2 Tracklet fix crash with elecetrons (projection fix and clean-up (remove printouts) #777.
  • l1t-phase2-v2.21.1 Phase2L1Tau fixed BuildFiles.
  • l1t-phase2-v2.21.0 Muon OMTF correlator with Bayesian (#778).
  • l1t-phase2-v2.20.1 EMTF++ Part2 - C++ version of the EMTF++ algorithm used for Phase 2 studies (#780).
  • l1t-phase2-v2.20.0 EMTF++ Part1 - lot of changes in handling (collection/selection/conversion) of all TPs for EMTF & EMTF++ (#779)
  • l1t-phase2-v2.19.3 PF: Fix track propagation in Phase2 L1T 10_6_x used in L1TPFTools (#776)
  • l1t-phase2-v2.19.2 Add BsToPhi modules in Phase2 sequence
  • l1t-phase2-v2.19.1 Add NNTau and NNTauPuppi in Phase2 sequence
  • l1t-phase2-v2.19.0 Addition of Bs candidate and corresponding producer (#769)
  • l1t-phase2-v2.18.0 NN Taus from PFCands (#773)
  • l1t-phase2-v2.17.30 Adding basic P2 L1CaloTaus. Minor change to L1CaloJets calibration. Adds an L1CaloJetHTT producer included in the sequence. (#761 rebased)
  • l1t-phase2-v2.17.29 Tracklet - first bitwise emulation producer code. (#766) - not yet included in the sequence.
  • l1t-phase2-v2.17.28 L1 Phase2 EG development (#764) implmentation of features from EG Phase2 talk @ CIEMAT workshop : EG objects with hwQual == 3 ( Brem recovery and cluster merging, Hadron energy cleaning for HGC clusters passing EG ID), Equip electron track matching producer to implement cuts on track quality: # of stubs and chi2.
  • l1t-phase2-v2.17.27 Update HGC TP code to v3.7.2 (#763).
  • l1t-phase2-v2.17.26 Reverted NN Tau.
  • l1t-phase2-v2.17.25-CMSSW_10_6_0_pre4 Upated test config files to run on 93x, 10_4_0_mtd5, and 10_6_X input MC.
  • l1t-phase2-v2.17.24-CMSSW_10_6_0_pre4 Rebase and post-rebase fixes of l1t-phase2-v2.17.24 from 10_5_0_pre3 to 10_6_0_pre4
  • l1t-phase2-v2.17.26.1 L1THGCal almost fully sync with central CMSSW_10_6_0_pre4.

Recipe

  • Phase-2 L1T workflow is adjusted accordingly to be able to handle HGC TP generation on different HGC geometries (i.e. different MC samples, 9_3_7 vs 10_4_0_mtd and later). Introduced new era (Phase2C8_trigger) and recipes to run phase2 L1T SW. See below in "Run tests on pilot samples".
  • WARNING If you want to make Track Trigger Tracks, you cannot use this release to make correct Tracklet track with PhaseIIL1TSpring17 samples due to no longer available Geometry D4. This release is suitable for MC samples produced in PhaseIIL1TFall17 campaign which used CMSSW_9_3_2 and later (9_3_7) where Geometry D5 was available.


cmsrel CMSSW_10_6_0_pre4
cd CMSSW_10_6_0_pre4/src
cmsenv
git cms-init
git remote add cms-l1t-offline git@github.com:cms-l1t-offline/cmssw.git
git fetch cms-l1t-offline phase2-l1t-integration-CMSSW_10_6_0_pre4
git cms-merge-topic -u cms-l1t-offline:l1t-phase2-v2.22.0



git cms-addpkg L1Trigger/L1TCommon

scram b -j 8

Run tests on pilot samples

  • recipe configuration file to run on 9_3_7 MC samples (have HGC v8 geometry) !!!!! WARNING - IF YOU CARE ABOUT CSC Trigger Primitives DO NOT RUN, TILL PROBLEM WITH CSC TP generation inconsistency fixed.

# ####################################################################################
# v8 HGC geometry - Run example  of remaking L1TTracklet, and L1TPhase2 (including new HGC TPs) on 9_3_7 samples 
# ####################################################################################
cmsRun L1Trigger/L1TCommon/test/reprocess_test_9_3_7.py

  • recipe configuration file to run on 10_4_0_mtd5 MC samples (have HGC v9 geometry).

# ####################################################################################
# v9 HGC geometry - Run example  of remaking L1TTracklet, and L1TPhase2 (including new HGC TPs) on 10_4_0_mtd  samples 
# ####################################################################################
cmsRun L1Trigger/L1TCommon/test/reprocess_test_10_4_0_mtd5.py

  • recipe configuration file to run on 10_6_X MC samples (have HGC v10 geometry)

# ####################################################################################
# v9 HGC geometry - Run example  of remaking L1TTracklet, and L1TPhase2 (including new HGC TPs) on 10_6_X  samples 
# ####################################################################################
cmsRun L1Trigger/L1TCommon/test/reprocess_test_10_6_X.py

  • recipe configuration file to Make Menu Trees on 10_4_0_MTD MC samples:

# ################################################################
# example configuration to make Menu Trees
# ################################################################
cmsDriver L1Trigger/L1TCommon/test/rerun_PhaseIITreeProducer.py

CMSSW_10_5_0_pre1

Development

Tags:
  • l1t-phase2-v2.17.24 Small Fix for TwoLayer Track jet code (#758)
  • l1t-phase2-v2.17.23 NN Taus from PFCands (#756)
  • l1t-phase2-v2.17.22 Muon TPS (Barrel): Track Isolation Implementation (trk_pt > 3, dR < 0.5, dZ < 0.2) #751
  • l1t-phase2-v2.17.21 Menu dev105 for Madrid's menu update (#752)
  • l1t-phase2-v2.17.20 Add TkMuonStub EndCap S12 into the sequence.
  • l1t-phase2-v2.17.19 EMTF and OMTF emulators back in sequnece.
  • l1t-phase2-v2.17.18.1 TkMuon configure to use TP-like matching in Barrel and Overlpa, and stay with DynamicWindow in EndCap.
  • l1t-phase2-v2.17.18 TkMuon TP2014-like dEta-dPhi window (#745)
  • l1t-phase2-v2.17.17 Do not re-emulate EMTF and OMTF.
  • l1t-phase2-v2.17.16.1 Adjust module names and add L1TrackerTaus, L1TkEGTaus, L1TkCaloTaus to phase2 trigger sequence.
  • l1t-phase2-v2.17.16 Track-based Phase-2 L1 Tau Algorithms: L1TrackerTaus, L1TkEGTaus, L1TkCaloTaus and new DataFormats (#753).
  • l1t-phase2-v2.17.15.1 Adjust Tags in Menu Ntuple and Tau tests due to name changes in PF v3.2.
  • l1t-phase2-v2.17.15 TkMuStub EndCap with relaxed bx.
  • l1t-phase2-v2.17.14.1 Fix by adding TwoLayerJets and put back L1TkCaloHTMissVtx into the sequence.
  • l1t-phase2-v2.17.14 Updates to L1 Track Jets, MHT and HTT (#744)
  • l1t-phase2-v2.17.13.1 Phase2 trigger sequence simpliyf to use l1CaloJetsSequence.
  • l1t-phase2-v2.17.13 CaloJet Calibrations Update to 10_3_X (#747): PU subtraction in towers, EM fraction calibrations in jets.
  • l1t-phase2-v2.17.12 EG EndCap: new ID retrained for the HGC TP baseline algo implemented in l1t-phase2-v2.17.10
  • l1t-phase2-v2.17.11 L1PF 10_5_X v3.2 - Linearized Puppi algorithm. Collection of PF (Puppi) candidates changes name from l1pfProducer:PF(Puppi) to l1pfCandidates:PF(Puppi). Now only one set of Puppi objects, working for both jets and MET` (#748).
  • l1t-phase2-v2.17.10 v3 of L1PF for 10_5_X (#746): 1) HGCal TP new baseline 3D cluster. 2) PF input Barrel switched to new L1EG emulator (L1EGammaClusterEmuProducer) and use of Calo towers. 3) PF Algo: some tuning of the internals of the algorithm (mainly accounting better for non-linearity in the subtraction of EM clusters).
  • l1t-phase2-v2.17.9.2 PF data files added.
  • l1t-phase2-v2.17.9.1 Clean up PF data file and add description of PFJet and PFMet sequences.
  • l1t-phase2-v2.17.9 First version of L1PF for 10_5_X for testing (#743): 1. update of HGC, 2. support for L1PF using 3D clusters (not used in sequence yet), 3. introduce corrected jets added to sequence.
  • l1t-phase2-v2.17.8 L1Menu PR for 10_5_0_pre1 release (#739).
  • l1t-phase2-v2.17.7.1 CaloJets and CaloTowerCalibrator dded to phase-2 sequence.
  • l1t-phase2-v2.17.7 CaloJets for Phase2 10 5 x (#741): Jets from L1EG + unclustered ECAL + HCAL (Barrel) and HGCal towers and HF (EndCap). Calibrations from 93x.
  • l1t-phase2-v2.17.6 L1EG pT calibrations to align with gen electron pT instead of Stage-2 (Phase-I) (#740).
  • l1t-phase2-v2.17.5 Proper configuration of Phase-2 e/gamma producers and their inclusions in the Phase2 sequence - as was used in the menu so far. (#742).
  • l1t-phase2-v2.17.4 EndCap TkMuStub bug fix - now putting the correct filled product into the event.
  • l1t-phase2-v2.17.3 Use D35 (instead of D28) detector geometry in test file to run on 10_4_0_mtd5 samples (same as in MC production).
  • l1t-phase2-v2.17.2 Fix L1TPFCaloProducer compilation after HGC TP update, removing non-needed function.
  • l1t-phase2-v2.17.1 HGCAL TPG Updates since 10_5_0_pre1 (#737): 1. Save H/E in multiclusters, 2. Better compatibility with V9 detid scheme.
  • l1t-phase2-v2.17.0-CMSSW_10_5_0_pre1 New correlator: L1Tk + MuStub for EndCap (l1TkMuonStubEndCap). -->Rebased from 10_1_7:
  • l1t-phase2-v2.16.47-CMSSW_10_5_0_pre1 Fix and example config to run on re-processed MC 937 files. --> Rebased from 10_1_7.
  • l1t-phase2-v2.16.46-CMSSW_10_5_0_pre1 Fix of Barrel Track+Stub (TPS) algorithm (#736) --> Rebased from 10_1_7.
  • l1t-phase2-v2.16.45-CMSSW_10_5_1_0_pre1-Era Adjust PF configuration to new HGC TP producers. Introduce new Era Phase2C4_trigger and recipe test configs to run on v8 and v9 HGC.
  • l1t-phase2-v2.16.45-CMSSW_10_5_0_pre1 Add stub pt-consistency to TrackTrigger to hold bend chi2. Filled properly by Tracklet.(#735). -->Rebased from 10_1_7.

Recipe

  • In CMSSW_10_5_0_pre1 HGC TP code has gone through a major overhaul. New HGC producers are available. Phase-2 Particle Flow algorithms in L1T sequence are adjusted to take as inputs the new HGC producers.
  • Phase-2 L1T workflow is adjusted accordingly to be able to handle HGC TP generation on different HGC geometries (i.e. different MC samples, 9_3_7 vs 10_4_0_mtd). Introduced new era (Phase2C4_trigger) and recipes to run phase2 L1T SW. See below in "Run tests on pilot samples".
  • WARNING If you want to make Track Trigger Tracks, you cannot use this release to make correct Tracklet track with PhaseIIL1TSpring17 samples due to no longer available Geometry D4. This release is suitable for MC samples produced in PhaseIIL1TFall17 campaign which used CMSSW_9_3_2 and later (9_3_7) where Geometry D5 was available.


cmsrel CMSSW_10_5_0_pre1
cd CMSSW_10_5_0_pre1/src
cmsenv
git cms-init
git remote add cms-l1t-offline git@github.com:cms-l1t-offline/cmssw.git
git fetch cms-l1t-offline phase2-l1t-integration-CMSSW_10_5_0_pre1
git cms-merge-topic -u cms-l1t-offline:l1t-phase2-v2.17.15.1



git cms-addpkg L1Trigger/L1TCommon

scram b -j 8



Run tests on pilot samples

    • recipe configuration files to run on 9_3_7 samples !!!!! WARNING - IF YOU CARE ABOUT CSC Trigger Primitives DO NOT RUN, TILL PROBLEM WITH CSC TP generation inconsistency fixed. L1Trigger/L1TCommon/test/reprocess_test_9_3_7.py

# ####################################################################################
# v8 HGC geometry - Run example  of remaking L1TTracklet, and L1TPhase2 (including new HGC TPs) on 9_3_7 samples 
# ####################################################################################
cmsRun L1Trigger/L1TCommon/test/reprocess_test_9_3_7.py

    • recipe configuration files to run on 10_4_0_mtd5 samples. L1Trigger/L1TCommon/test/reprocess_test_10_4_0_mtd5.py

# ####################################################################################
# v9 HGC geometry - Run example  of remaking L1TTracklet, and L1TPhase2 (including new HGC TPs) on 10_4_0_mtd pilot samples 
# ####################################################################################
cmsRun L1Trigger/L1TCommon/test/reprocess_test_10_4_0_mtd5.py

CMSSW_10_1_7

Development

Tags:
  • l1t-phase2-v2.17.0 New correlator: L1Tk + MuStub for EndCap (l1TkMuonStubEndCap).
  • l1t-phase2-v2.16.47 Fix and example config to run on re-processed MC 937 files.
  • l1t-phase2-v2.16.46 Fix of Barrel Track+Stub (TPS) algorithm #736
  • l1t-phase2-v2.16.45 Add stub pt-consistency to TrackTrigger to hold bend chi2. Filled properly by Tracklet.(#735).
  • l1t-phase2-v2.16.44.1 Revert v2.16.44
  • l1t-phase2-v2.16.44 Fix PF Jet by using PF candidates from tuned producer (same as PF MET.
  • l1t-phase2-v2.16.43 Improved Barrel TkMuStub algorithm with bending angle as presented for annual review (#733).
  • l1t-phase2-v2.16.42 Fix EG photon wp for the collection used by menu (#732).
  • l1t-phase2-v2.16.41 New Barrel EG producer. (#724)
  • l1t-phase2-v2.16.40 Tau isolation with L1 HPS taus v3. (#729)
  • l1t-phase2-v2.16.39 Fix PF Met by using PF candidates from dedicated producer.
  • l1t-phase2-v2.16.38 Relaxed MW in EndCap L1TkMu.
  • l1t-phase2-v2.16.37 L1T phase2 Egamma EE calibration and hwQuality (#728).
  • l1t-phase2-v2.16.36 Muon Barrel L1Tk+Stub in sequence.
  • l1t-phase2-v2.16.35 EBTP in L1T sequence for Phase2 era.
  • l1t-phase2-v2.16.34 Switch input in GMT from Bmtf to (Kalman) KBmtf.
  • l1t-phase2-v2.16.33 Tracker Plus KBMTF Stubs algorithm (#715).
  • l1t-phase2-v2.16.32 Switch from BMTF to K-BMTF as barrel input to L1TkMu.
  • l1t-phase2-v2.16.31 Fix TkGlbMuon eff by using static window cuts.
  • l1t-phase2-v2.16.30 Add L1PF Tau (HPS) to phase2 sequence.
  • l1t-phase2-v2.16.29 Customisation drop HGC TPs from sequence SimL1Emulator.
  • l1t-phase2-v2.16.28 Adjust customisation for TMTT pointing to new directory structure.
  • l1t-phase2-v2.16.27 Run SimMuon Stage2 also when phase2_trigger era.
  • l1t-phase2-v2.16.26 L1TkMuonProducer: make a null ref that can be stored, instead of a transient one (#718).
  • l1t-phase2-v2.16.25 L1PFTau (HPS) first version. Not yet included in the sequence (#719).
  • l1t-phase2-v2.16.24-patch1 Tighten L1TTrack quality to nStub >=4 in configuration fo L1TkMuon and L1TkGlbMuon.
  • l1t-phase2-v2.16.23-patch1 Back-port the fix in CSC TPs from CMSSW which truly fixes problems of duplicate LCT seen by EMTF. Revert silencing of Warning messages introduced in tag l1t-phase2-v2.16.20.
  • l1t-phase2-v2.16.22-patch1 Use HGCal towers in PF (#713).
  • l1t-phase2-v2.16.21 Tk+EMTF correlator with optimized windows.
  • l1t-phase2-v2.16.20 Silence EMTF emulator message in case in finds more then 2 CSC TPs in the same chamber.
  • l1t-phase2-v2.16.19 Menu menuDevTree1017
  • l1t-phase2-v2.16.18 HGCAL v2.7.3_1017.
  • l1t-phase2-v2.16.17 Customisation for Muon aging. Customisation for skimming output, intended for reprocessing.
  • l1t-phase2-v2.16.15 Fix BuildFiles removing obsolete dependences.
  • l1t-phase2-v2.16.14 Merge L1 pf (#688). These are still reco versions and were already added to L1T phase-2 seequence in tag l1t-phase2-v2.16.3.
  • l1t-phase2-v2.16.13 L1TkGlbMuon(L1Tk matched to GMT Muon) new separate DataFormat and Producer in the phase2 trigger sequence.
  • l1t-phase2-v2.16.12 Add removed files when merged into 10_1_7.
  • l1t-phase2-v2.16.11-CMSSW_10_1_7 Cherry-picked v2.16.11 (below) from 10_1_5 to 10_1_7.
  • l1t-phase2-v2.16.10-CMSSW_10_1_7 Merged v2.16.10 (below) based on 10_1_5 into 10_1_7 and compilation fixed.

Recipe

WARNING If you want to make Track Trigger Tracks, you cannot use this release to make correct Tracklet track with PhaseIIL1TSpring17 samples due to no longer available Geometry D4. This release is suitable for MC samples produced in PhaseIIL1TFall17 campaign which used CMSSW_9_3_2 and later (9_3_7) where Geometry D5 was available.


cmsrel CMSSW_10_1_7
cd CMSSW_10_1_7/src
cmsenv
git cms-init
git remote add cms-l1t-offline git@github.com:cms-l1t-offline/cmssw.git
git fetch cms-l1t-offline phase2-l1t-integration-CMSSW_10_1_7
git cms-merge-topic -u cms-l1t-offline:l1t-phase2-v2.16.42

# ######################################
# TMTT tracks - if you want to use them uncomment below
# This will merge the TMTT code in your local working branch
# N.B. These instructions should be updated. Latest TMTT tracks are in branch TMTT_1025, not TMTT_938
# ######################################
# git checkout -b mydevel
# git remote add -t TMTT_938 TMTT https://github.com/CMS-TMTT/cmssw.git
# git fetch TMTT TMTT_938 
# git cms-rebase-topic -o CMSSW_9_3_8 CMS-TMTT:TMTT_938
# git merge --no-ff TMTT_93 mydevel
# 
# ###### cmsRun L1Trigger/TrackFindingTMTT/python/TMTrackProducer_Ultimate_cff.py
# ######################################
# ######################################
# EB TPs - if you want to use private development not yet in CMSSW uncomment bellow
# This will merge the EB TP code of N.M. rebased in 10_1_7 in your local working branch
# ######################################
# git checkout -b mydevel
# git cms-merge-topic -u rekovic:NM_TP_PhaseII_V3_10_1_7
# ######################################



git cms-addpkg L1Trigger/L1TCommon

scram b -j 8



Run tests on pilot samples

PhaseIITDRFall17 pilot test job output for DIGI (GEN-SIM-RAW) root files copied here: /eos/cms/store/group/upgrade/sandhya/SMP-PhaseIIFall17D-0000*.root

For input, you can also use CMSSW_9_3_7 RelVal samples available here.

Below are the instructions on how to re-run some TPs, L1TTrackTrigger(Tracklet) L1T, and L1Ntuplizer. There is a new configuration script to run L1TPhase2 emulators (with tag phase2-l1t-v2.6 only added L1TkJets and L1TkPrimaryVertex), which must be ran after Tracklets.

# ####################################################################################
# Run example  of remaking  L1TTracklet and L1TPhase2 and L1Ntuplizer, using already available TP digis
# customisation flags are used to 
# 1) drop deprecated formats from input (--customise=L1Trigger/Configuration/customiseUtils.DropDepricatedProducts)
# 2) run L1TTrack Tracklet algo (--customise=L1Trigger/Configuration/customiseUtils.L1TrackTriggerTracklet )
# 3) run L1TTrack TMTT algo if TMTT code available ( --customise=L1Trigger/Configuration/customiseUtils.L1TrackTriggerTMTT)
# 4) drop TrackingParticle objects to slim down the ouput file (from 50 to 25 MB) ( --customise=L1Trigger/Configuration/customiseUtils.DropOutputProducts)
# 5) compression level of Ouptut module (speed up significantly from 20 sec to 3 sec) ( --customise_commands "process.FEVTDEBUGHLToutput.compressionLevel = cms.untracked.int32(2)")
# ####################################################################################

cmsDriver.py step2 --python_filename=rerun_test.py --no_exec -s L1 --datatier GEN-SIM-DIGI-RAW -n 1 --era Phase2_trigger --eventcontent FEVTDEBUGHLT --filein /store/relval/CMSSW_9_3_7/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU25ns_93X_upgrade2023_realistic_v5_2023D17PU200-v1/10000/0A52EE7F-1E2D-E811-86EB-0242AC130002.root --conditions 100X_upgrade2023_realistic_v1 --beamspot HLLHC14TeV --geometry Extended2023D17 --fileout file:step2_2ev_rerun-L1_slim.root --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleRAWEMUGEN_MC --customise=L1Trigger/Configuration/customiseUtils.DropDepricatedProducts --customise=L1Trigger/Configuration/customiseUtils.L1TrackTriggerTracklet --customise=L1Trigger/Configuration/customiseUtils.DropOutputProducts --customise_commands "process.FEVTDEBUGHLToutput.compressionLevel = cms.untracked.int32(2)"

# ####################################################################################
# Run example  of remaking  L1TTracklet and L1TPhase2 and L1Ntuplizer, using already available TP digis
# ####################################################################################
cmsRun L1Trigger/L1TCommon/test/rerun_L1TTracklet_L1TPhase2_onMC_L1_FEVTHLTDEBUG.py

# ################################################################
# Run example  of remaking EBTPs, HGCalTPs, L1(Phase1), and L1Ntuplizer
# ################################################################
cmsRun L1Trigger/L1TCommon/test/rerun_EBTP_HGCalTP_L1_onMC_L1_FEVTHLTDEBUG.py

# ################################################################
# Run example  of remaking EBTPs, HGCalTPs, L1, L1TTracklet, and L1Ntuplizer
# ################################################################
cmsRun L1Trigger/L1TCommon/test/rerun_EBTP_HGCalTP_L1_L1TTracklet_onMC_L1_FEVTHLTDEBUG.py

# ################################################################
# Test example for reprocessing  HGCAL TPs, Tracklets, TMTT
# ################################################################


cmsDriver.py repr --processName=REPR --python_filename=reprocess_test.py --no_exec -s L1 --datatier GEN-SIM-DIGI-RAW -n 2 --era Phase2_trigger --eventcontent FEVTDEBUGHLT --filein /store/relval/CMSSW_9_3_7/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU25ns_93X_upgrade2023_realistic_v5_2023D17PU200-v1/10000/0A52EE7F-1E2D-E811-86EB-0242AC130002.root --conditions 100X_upgrade2023_realistic_v1 --beamspot HLLHC14TeV --geometry Extended2023D17 --fileout file:step2_2ev_reprocess_slim.root --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleRAWEMUGEN_MC --customise=L1Trigger/Configuration/customiseUtils.DropDepricatedProducts --customise=L1Trigger/Configuration/customiseUtils.L1TrackTriggerTracklet --customise=L1Trigger/Configuration/customiseUtils.L1TrackTriggerTMTT --customise=L1Trigger/Configuration/customiseUtils.DropOutputProducts --customise_commands "process.FEVTDEBUGHLToutput.compressionLevel = cms.untracked.int32(2)"

# ################################################################
# example configuration to make Menu Trees
# ################################################################
cmsDriver L1Trigger/L1TCommon/test/rerun_PhaseIITreeProducer.py

CMSSW_10_1_5

Development

Tags:
  • l1t-phase2-v2.16.11 L1TrackerJet fix missing assign DeltaZ0Cut value, now from configuration.
  • l1t-phase2-v2.16.10 VertexProducer configure to use Tracklet L1TTTracks.
  • l1t-phase2-v2.16.9.1 Proudcers renaming: L1TkJets->L1TkCaloJets, L1TkHTMissCalo->L1TkCaloHTMiss with option of using SA caloJets, L1TkFastJets->L1TrackerJets, L1TkEtMiss->L1TrackerEtMiss, new L1TrackerHTMiss from TrackerJets. (#699)
  • l1t-phase2-v2.16.9 Merge L1TrackTrigger Tracklet code (v10-0-1) from Skinnari branch.
  • l1t-phase2-v2.16.8 Add L1trigger configuration customiseUtils: DropDepricatedProducts, DropOutputProducts, L1TrackTriggerTracklet, L1TrackTriggerTMTT.
  • l1t-phase2-v2.16.7 VertexFinder correction to files unadvertently included in PR #676. (#694)
  • l1t-phase2-v2.16.6 Add missing Kalmant BMTF Stub producer needed by Kalman BMTF in L1 Emulation sequence phase2_trigger.
  • l1t-phase2-v2.16.5 Move Barrel EGamma producer before L1Tk+Stadalone producers in L1 Emulation sequence phase2_trigger.
  • l1t-phase2-v2.16.4 Add Kalman BMTF in L1 Emulation sequence for phase2_trigger.
  • l1t-phase2-v2.16.3 Add Reco PF Mets and Reco PF Jets in L1 Emulation sequence for phase2_trigger
  • l1t-phase2-v2.16.2 EG CrystalProducer now produces also BXVector<l1t::EGamma>
  • l1t-phase2-v2.16.1 L1Ntuple: add phase2 EcalEB vars to the in CaloTower Tree.
  • l1t-phase2-v2.16-CMSSW_10_1_5 Rebased phase2-v16 from CMSSW_10_1_0_pre3 to 10_1_5.

Recipe

WARNING If you want to make Track Trigger Tracks, you cannot use this release to make correct Tracklet track with PhaseIIL1TSpring17 samples due to no longer available Geometry D4. This release is suitable for MC samples produced in PhaseIIL1TFall17 campaign which used CMSSW_9_3_2 and later (9_3_7) where Geometry D5 was available.


cmsrel CMSSW_10_1_5
cd CMSSW_10_1_5/src
cmsenv
git cms-init
git remote add cms-l1t-offline git@github.com:cms-l1t-offline/cmssw.git
git fetch cms-l1t-offline phase2-l1t-integration-CMSSW_10_1_5
git cms-merge-topic -u cms-l1t-offline:l1t-phase2-v2.16.8
#
# Tracklet Tracks
#
git remote add rekovic git@github.com:rekovic/cmssw.git
git fetch rekovic Tracklet-10_1_0_pre3
git cms-merge-topic -u rekovic:Tracklet-10_1_0_pre3-from-skinnari

git cms-addpkg L1Trigger/L1TCommon

scram b -j 8



Run tests on pilot samples

PhaseIITDRFall17 pilot test job output for DIGI (GEN-SIM-RAW) root files copied here: /eos/cms/store/group/upgrade/sandhya/SMP-PhaseIIFall17D-0000*.root

For input, you can also use CMSSW_9_3_7 RelVal samples available here.

Below are the instructions on how to re-run some TPs, L1TTrackTrigger(Tracklet) L1T, and L1Ntuplizer. There is a new configuration script to run L1TPhase2 emulators (with tag phase2-l1t-v2.6 only added L1TkJets and L1TkPrimaryVertex), which must be ran after Tracklets.

# ####################################################################################
# Run example  of remaking  L1TTracklet and L1TPhase2 and L1Ntuplizer, using already available TP digis
# customisation flags are used to 
# 1) drop deprecated formats from input (--customise=L1Trigger/Configuration/customiseUtils.DropDepricatedProducts)
# 2) run L1TTrack Tracklet algo (--customise=L1Trigger/Configuration/customiseUtils.L1TrackTriggerTracklet )
# 3) run L1TTrack TMTT algo if TMTT code available ( --customise=L1Trigger/Configuration/customiseUtils.L1TrackTriggerTMTT)
# 4) drop TrackingParticle objects to slim down the ouput file (from 50 to 25 MB) ( --customise=L1Trigger/Configuration/customiseUtils.DropOutputProducts)
# 5) compression level of Ouptut module (speed up significantly from 20 sec to 3 sec) ( --customise_commands "process.FEVTDEBUGHLToutput.compressionLevel = cms.untracked.int32(2)")
# ####################################################################################

cmsDriver.py step2 --python_filename=rerun_test.py --no_exec -s L1 --datatier GEN-SIM-DIGI-RAW -n 1 --era Phase2_trigger --eventcontent FEVTDEBUGHLT --filein /store/relval/CMSSW_9_3_7/RelValTTbar_14TeV/GEN-SIM-DIGI-RAW/PU25ns_93X_upgrade2023_realistic_v5_2023D17PU200-v1/10000/0A52EE7F-1E2D-E811-86EB-0242AC130002.root --conditions 100X_upgrade2023_realistic_v1 --beamspot HLLHC14TeV --geometry Extended2023D17 --fileout file:step2_2ev_rerun-L1_slim.root --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleRAWEMUGEN_MC --customise=L1Trigger/Configuration/customiseUtils.DropDepricatedProducts --customise=L1Trigger/Configuration/customiseUtils.L1TrackTriggerTracklet --customise=L1Trigger/Configuration/customiseUtils.DropOutputProducts --customise_commands "process.FEVTDEBUGHLToutput.compressionLevel = cms.untracked.int32(2)"

# ####################################################################################
# Run example  of remaking  L1TTracklet and L1TPhase2 and L1Ntuplizer, using already available TP digis
# ####################################################################################
cmsRun L1Trigger/L1TCommon/test/rerun_L1TTracklet_L1TPhase2_onMC_L1_FEVTHLTDEBUG.py

# ################################################################
# Run example  of remaking EBTPs, HGCalTPs, L1(Phase1), and L1Ntuplizer
# ################################################################
cmsRun L1Trigger/L1TCommon/test/rerun_EBTP_HGCalTP_L1_onMC_L1_FEVTHLTDEBUG.py

# ################################################################
# Run example  of remaking EBTPs, HGCalTPs, L1, L1TTracklet, and L1Ntuplizer
# ################################################################
cmsRun L1Trigger/L1TCommon/test/rerun_EBTP_HGCalTP_L1_L1TTracklet_onMC_L1_FEVTHLTDEBUG.py

CMSSW_10_1_0_pre3

Development

Tags:
  • l1t-phase2-v2.16 L1TkMu fix: fix global L1Mu phi introduced in fix by v2.14, the scale factor must come after the conversion, not before. (#685).
  • l1t-phase2-v2.15.2 Fix L1TkFastJets cfi file by removing default process name for L1PrimaryVertexTag.
  • l1t-phase2-v2.15.1 Add L1TkFastJets to the SimL1Emulator sequence for era phase2_trigger.
  • l1t-phase2-v2.15 L1T TrackJets producer using RecoJets fastjet::antikt_algorithm, with cone 0.4 (#679).
  • l1t-phase2-v2.14.1 Fixed BuildFile in L1Trigger/L1TTrackMatch.
  • l1t-phase2-v2.14 L1TkMu fix: calculate phi of MuonTF candidate and used it (instead of local phi) for matching with track (#683)
  • l1t-phase2-v2.13 Add L1T Vertex DBSCAN to the emulation sequence in case of Phase2_trigger era. Adjust its config in re-processing script to use TTTracksFromTracklet.
  • l1t-phase2-v2.12 Addition of phase-2 L1T Vertex finder EDProducer - DBSCAN algo (#676).
  • l1t-phase2-v2.11 Add all L1TkObj, l1EGammaCrystalsProducer, and l1ParticleFlow in SimL1Emulator sequence for phase2_trigger.
  • l1t-phase2-v2.10 PF@L1 code (v1). Requires L1T Tracks to run it.
  • l1t-phase2-v2.9 L1CaloTrig (EG) fixes: DataFormat to inherit from L1Candidate, new default pyhthon configuration.
  • l1t-phase2-v2.8 Introduce Era Phase2_trigger and use it in fixed reprocessing configuration file.
  • l1t-phase2-v2.7 HGCal: in the templated class HGCalClusterT fix HoverE to properly account for constituents fraction and their Pt.
  • l1t-phase2-v2.6 (a) Introduce Era modifier phase2_trigger, (b) add first phase2 emulators to SimL1Emulator sequence - L1TkJets and L1TkPrimaryVertex, (c) new reprocessing configuration runs L1TTracklet and L1TPhase2.
  • l1t-phase2-v2.5-CMSSW_10_1_0_pre3 Rebased l1t-phase2-932-v1.7 to CMSSW_10_0_0.

Recipe

WARNING If you want to make Track Trigger Tracks, you cannot use this release to make correct Tracklet track with PhaseIIL1TSpring17 samples due to no longer available Geometry D4. This release is suitable for MC samples produced in PhaseIIL1TFall17 campaign which used CMSSW_9_3_2 and later (9_3_7) where Geometry D5 was available.


cmsrel CMSSW_10_1_0_pre3
cd CMSSW_10_1_0_pre3/src
cmsenv
git cms-init
git remote add cms-l1t-offline git@github.com:cms-l1t-offline/cmssw.git
git fetch cms-l1t-offline phase2-l1t-integration-CMSSW_10_1_0_pre3
git cms-merge-topic -u cms-l1t-offline:l1t-phase2-v2.13
#
# Tracklet Tracks
#
git remote add rekovic git@github.com:rekovic/cmssw.git
git fetch rekovic Tracklet-10_1_0_pre3
git cms-merge-topic -u rekovic:Tracklet-10_1_0_pre3-from-skinnari

git cms-addpkg L1Trigger/L1TCommon

scram b -j 8



Run tests on pilot samples

PhaseIITDRFall17 pilot test job output for DIGI (GEN-SIM-RAW) root files copied here: /eos/cms/store/group/upgrade/sandhya/SMP-PhaseIIFall17D-0000*.root

For input, you can also use CMSSW_9_3_7 RelVal samples available here.

Below are the instructions on how to re-run some TPs, L1TTrackTrigger(Tracklet) L1T, and L1Ntuplizer. There is a new configuration script to run L1TPhase2 emulators (with tag phase2-l1t-v2.6 only added L1TkJets and L1TkPrimaryVertex), which must be ran after Tracklets.

# ####################################################################################
# Run example  of remaking  L1TTracklet and L1TPhase2 and L1Ntuplizer, using already available TP digis
# ####################################################################################
cmsRun L1Trigger/L1TCommon/test/rerun_L1TTracklet_L1TPhase2_onMC_L1_FEVTHLTDEBUG.py

# ################################################################
# Run example  of remaking EBTPs, HGCalTPs, L1(Phase1), and L1Ntuplizer
# ################################################################
cmsRun L1Trigger/L1TCommon/test/rerun_EBTP_HGCalTP_L1_onMC_L1_FEVTHLTDEBUG.py

# ################################################################
# Run example  of remaking EBTPs, HGCalTPs, L1, L1TTracklet, and L1Ntuplizer
# ################################################################
cmsRun L1Trigger/L1TCommon/test/rerun_EBTP_HGCalTP_L1_L1TTracklet_onMC_L1_FEVTHLTDEBUG.py

CMSSW_10_0_0

Development

Tags:
  • l1t-phase2-v2.5 Addition of data format Vertex - new package DataFormats/L1TVertex.
  • l1t-phase2-v2.4 Adjust reprocessing configurations to run on CMSSW_9_3_7 RelVal samples.
  • l1t-phase2-v2.3 Updating L1 Track Matched Objects: (a) add access methods in LTkEmParticle, (b) L1TkPrimaryVertex now within namespace l1t, (c) update in L1TkObjectAnalyzer using template methods with TkMuon OFF for the moment.
  • l1t-phase2-v2.2 TrackMuon built from TTTrack + MuonTrackFinder muons, not GMT muons.
  • l1t-phase2-v2.1 Ajust re-processing driver configuration files to CMSSW_10_0_0.
  • l1t-phase2-v2.0 Rebased l1t-phase2-932-v1.7 to CMSSW_10_0_0.

Recipe

WARNING If you want to make Track Trigger Tracks, you cannot use this release to make correct Tracklet track with PhaseIIL1TSpring17 samples due to no longer available Geometry D4.


cmsrel CMSSW_10_0_0
cd CMSSW_10_0_0/src
cmsenv
git cms-init
git remote add cms-l1t-offline git@github.com:cms-l1t-offline/cmssw.git
git fetch cms-l1t-offline phase2-l1t-integration-CMSSW_10_0_0
git cms-merge-topic -u cms-l1t-offline:l1t-phase2-v2.5
#
# Tracklet Tracks
#
git remote add skinnari git@github.com:skinnari/cmssw.git
git fetch skinnari
git cms-merge-topic -u skinnari:Tracklet_10X_10-0-1

git cms-addpkg L1Trigger/L1TCommon

scram b -j 8



Run tests on pilot samples

PhaseIITDRFall17 pilot test job output for DIGI (GEN-SIM-RAW) root files copied here: /eos/cms/store/group/upgrade/sandhya/SMP-PhaseIIFall17D-0000*.root

For input, you can also use CMSSW_9_3_7 RelVal samples available here.

Below are the instructions on how to re-run some TPs, L1T, and L1Ntuplizer:

# ################################################################
# Run example  of remaking EBTPs, HGCalTPs, L1, and L1Ntuplizer
# ################################################################
cmsRun L1Trigger/L1TCommon/test/rerun_EBTP_HGCalTP_L1_onMC_L1_FEVTHLTDEBUG.py

or with TrackTrigger ( TTTracklet ) included in the workflow

# ################################################################
# Run example  of remaking EBTPs, HGCalTPs, L1, L1TTracklet, and L1Ntuplizer
# ################################################################
cmsRun L1Trigger/L1TCommon/test/rerun_EBTP_HGCalTP_L1_L1TTracklet_onMC_L1_FEVTHLTDEBUG.py

CMSSW_9_3_2

Development

Tags:
  • l1t-phase2-932-v1.7 Phase2 L1EG adding calibrated pT to producer (#645).
  • l1t-phase2-932-v1.6 Keep all products in the event when running post-processing python configuration file.
  • l1t-phase2-932-v1.5.1 Remove displaced-muon from SimL1TMuon sequence due to crash.
  • l1t-phase2-932-v1.5 phase 2 l1t muon dataformat + skeleton displaced muon trigger (#625)
  • l1t-phase2-932-v1.4 L1TrkObject fixes: (a) bug fix inL1TkHTMissProducer, (b) Clean-up L1TkJetProducer and turned off non-implemented track-stub pt cut.
  • l1t-phase2-932-v1.3 Updates affecting L1EG Crystal Producer: (a)updates to stored L1EG Working Points: electron98WP, photon80WP, plus new WPs: electron90WP, stage2matchEffWP. Added a TP skimmer to begin to test effect of L1T band width requirements on L1EG Crystal Algo.
  • l1t-phase2-932-v1.2 L1TrkObjects algorithms and DataFormats ported from previous releases.
  • l1t-phase2-932-v1.1 L1EG Crystal Level Algo with updates from #547
  • l1t-phase2-932-v1.0 Fix in L1Ntuple with eras and two test driver configuration files to reprocess and ntuplize.

Recipe

WARNING If you want to make Track Trigger Tracks, you cannot use this release to make correct Tracklet track with PhaseIIL1TSpring17 samples due to no longer available Geometry D4.


cmsrel CMSSW_9_3_2
cd CMSSW_9_3_2/src
cmsenv
git cms-init
git remote add cms-l1t-offline git@github.com:cms-l1t-offline/cmssw.git
git fetch cms-l1t-offline phase2-l1t-inegration-CMSSW_9_3_2
git cms-merge-topic -u cms-l1t-offline:l1t-phase2-932-v1.6
git remote add rekovic git@github.com:rekovic/cmssw.git
git fetch rekovic
git cms-merge-topic -u rekovic:skinnari-Tracklet_93X_resolved_932

git cms-addpkg L1Trigger/L1TCommon

scram b -j 8

WARNING If you want to make Track Trigger Tracks, you cannot use this release to make correct Tracklet track with PhaseIIL1TSpring17 samples due to no longer available Geometry D4.

Run tests on pilot samples of PhaseIITDRFall17 Campaign DIGI output

PhaseIITDRFall17 pilot test job output for DIGI (GEN-SIM-RAW) root files copied here: /eos/cms/store/group/upgrade/sandhya/SMP-PhaseIIFall17D-0000*.root

Below are the instructions on how to re-run some TPs, L1T, TTTracklet, and L1Ntuplizer:

# ################################################################
# Run example  of remaking EBTPs, HGCalTPs, L1, L1TTracklet, and L1Ntuplizer
# ################################################################
cmsRun L1Trigger/L1TCommon/test/rerun_EBTP_HGCalTP_L1_L1TTracklet_onMC_L1_FEVTHLTDEBUG.py

CMSSW_9_2_0

Development

Tags:

  • l1t-phase2-v1.14.1 New reprocessing config file which also includes reprocessing of TTClusters and TTStubs: first drop them from input file. Re-generate TTClusters&Stubs, TTTracklet, HGCalTPs, L1TStage2.
  • l1t-phase2-v1.14 Bug-fix: wider window in configuration for TrackStub, giving higher efficiency at low track pt (2-3 GeV). Additional configuration file to run re-processing, including regenerating TrackClustersStubs.
  • l1t-phase2-v1.13 L1TkObjects various bugs fixed: L1TkMuon to use TTTracksFromTracklet instead of TTTracksFromPixelDigis, L1TkElectron useTwoStubsPT to False, L1TkHTMis use L1JetInputTag instead of L1VertexInputTag etc.. A generic L1TkObject analyzer has been added.
  • l1t-phase2-v1.12 Improved L1T Tracklet Tracking performance - similar to phase2-TP studies, modulo slight degradation due to move from flat to tilted geometry, e.g. worso z0 resolution at intemediate eta.
  • l1t-phase2-v1.11 Updates to L1EG Crystal Level Algo (PR ##547): 1) Updated cuts and WPs to reflect 92X with ECAL TPs. 2) New features allowing tuning of minimum ECAL TP, minimum ECAL TP ET for seed crystal
  • l1t-phase2-v1.10 - in this version of phase2-l1t-integration branch there are improvements in the HGCal TP generation (PR# 18861)
    • bug fix trigger cell calibration and 3D cluster linking,
    • speed up 3x TP generation
    • cluster-level global calibration with EM response ~1.

Recipe


Instructions to set up the local directory and merge l1t-phase2 code:

cmsrel CMSSW_9_2_0
cd CMSSW_9_2_0/src/
cmsenv
git cms-init
git remote add cms-l1t-offline git@github.com:cms-l1t-offline/cmssw.git
git fetch cms-l1t-offline
git cms-merge-topic -u cms-l1t-offline:l1t-phase2-v1.14.1

ReProcessing

We can re-run TP generation and/or L1T emulation on the PhaseIISpring17 MC GEN-SIM-DIGI-RAW samples.

To re-process your favourite PhaseIISpring MC GEN-SIM-DIGI RAW sample, follow the recipe. It includes using an example config file to rerun latest Phase1-Stage2-L1T, regenerate HGCal TPs, and generate L1TrackTrigger (Tracklet)

##############################################################
## run example of rerunning Stage2 L1T, HGCalTP, TrackTrigger(Tracklet)  ##
##############################################################
cmsRun  L1Trigger/L1TCommon/test/reprocess_L1Phase2_MC_L1Ntupliser.py 

If you also want the higher efficiency tracks at low pt, need to re-generate TTClusters and TTStubs, use the following example config file:

##############################################################
## run example of rerunning Stage2 L1T, HGCalTP, TrackTrigger(Tracklet)  ##
##############################################################
L1Trigger/L1TCommon/test/reprocess_L1Phase2_MC_L1Ntupliser_newClustersStubs.py

CMSSW_91X

Development

Recipe


Example with CMSSW_9_1_0_pre2 plus recent developments in HGCal (PR 18419) and TrackTriggerTracklet ( details), uses a provided configuration file: L1Trigger /L1TCommon/test/reprocess_L1Phase2_MC_L1Ntupliser.py, to run HGCalTPs, TrackTrigger, L1TStage2, and L1TNtupliser.

cmsrel CMSSW_9_1_0_pre2
cd CMSSW_9_1_0_pre2/src/
cmsenv
git cms-init
git remote add cms-l1t-offline git@github.com:cms-l1t-offline/cmssw.git
git fetch cms-l1t-offline
git cms-merge-topic -u cms-l1t-offline:phase2-l1t-integration-CMSSW_9_1_0_pre2
git clone https://github.com/cms-data/L1Trigger-L1THGCal.git L1Trigger/L1THGCal/data
cramv1 b -j 8

Make L1Ntuples

##############################################################
## run example of rerunning Stage2 L1T, HGCalTP, TrackTrigger(Tracklet)  ##
##############################################################
cmsRun  L1Trigger/L1TCommon/test/reprocess_L1Phase2_MC_L1Ntupliser.py 

CMSSW_9_0_0_pre6

Development

`phase2-l1t-integration-CMSSW_9_0_0_pre6` is forked from CMSSW_9_0_0_pre6 and improved with the latest developments in EcalEB TPs, HGCalTPs, TTTrackClustersStubs needed for ID studies. The following tags are available with the incremental developments available:

l1t-phase2-v1.0 Era_Phase2C2 based switch L1T configuration to Stage2 (PR_17629) l1t-phase2-v1.1 Add TTTrackAssociatorClusterStubs in L1TrackTrigger sequence (PR_17694) l1t-phase2-v1.2 Porting the TTTrack classes and modification to TTCluster classes (90xPR_16631 or 91xPR_17740) l1t-phase2-v1.3 L1NtupleEMUGEN_MC function and L1NtupleAnalysis backward compatible to 80x l1t-phase2-v1.4 EcalEB TP update the dataformat to be per crystal. (PR_17669)

Recipe

Listed below are instructions for preparing a project area to run in CMSSW_9_0_0_pre6 .

cmsrel CMSSW_9_0_0_pre6
cd CMSSW_9_0_0_pre6/src
cmsenv
git cms-init
git remote add cms-l1t-offline git@github.com:cms-l1t-offline/cmssw.git
git fetch cms-l1t-offline
git cms-merge-topic -u cms-l1t-offline:l1t-phase2-v1.4
git cms-addpkg L1Trigger/L1TCommon

scram b -j 8

In the following EOS directory /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/rekovic/PhaseIIFall16DR82-820_backport_L1TMC_v1.2.2/

there are example output FEVTDEBUGHLT files which would be output of MC Digi step keeping only PU TrackingParticles with pT > 1GeV, 100 events with PU 200 for ZEE and ZMM:

step2_ZEE_PU200_100ev_FEVTDEBUGHLT_customHigherPtTrackParticles.root
step2_ZMM_PU200_100ev_FEVTDEBUGHLT_customHigherPtTrackParticles.root

On these files, which contain all the needed digis needed (HCAL, ECAL, EcalEB, HGCal, DT, CSC, TrackStubsClusters) we can easily re-genearate the TriggerPrimitives and/or L1T. The corresponding files with RERUN steps L1T, TrackClusterStubsAssociator, EcalEB_TPs, HGC_TPs with full event content saved, made with the tag l1t-phase2-v1.3 (i.e. latest improvemetns to HGC_TPs were not available at the time) are available in the same EOS directory:

step2_ZEE_PU200_100ev_FEVTDEBUGHLT_customHigherPtTrackParticles-RERUN_L1T_TTAssociator_EcalEBtp_HGCtp.root
step2_ZMM_PU200_100ev_FEVTDEBUGHLT_customHigherPtTrackParticles-RERUN_L1T_TTAssociator_EcalEBtp_HGCtp.root

CMSSW_9_0_0_pre2

Development

The starting point of the L1 Emulator in Phase-2 era is set to be Phase-1 L1T Stage2. All the Phase-2 L1T developments are intended to be built on top.

Listed below are instructions for preparing a project area to run in CMSSW_9_0_0_pre2 . In this version, the default version of L1T software in case of phase2_common era is the Stage2 (instead of Legacy or Stage1).

cmsrel CMSSW_9_0_0_pre2
cd CMSSW_9_0_0_pre2/src
cmsenv
git cms-init
git remote add cms-l1t-offline git@github.com:cms-l1t-offline/cmssw.git
git fetch cms-l1t-offline
git cms-merge-topic -u cms-l1t-offline:phase2-l1t-integration-CMSSW_9_0_0_pre2
git cms-addpkg L1Trigger/L1TCommon

scram b -j 8

Description of L1 Track Match objects

Detailed description of the L1 Track-matched objects developed in CMSSW_6_2_X_HLHC release can be found [[https://twiki.cern.ch/twiki/bin/view/CMS/TTISummary62X][here]. These object definition and corresponding producers are recently ported in CMSSW_9_2_X. The technical information are listed here.

Note : Codes/configurations described above are integrated in cms-l1t-offline repository under specific branches for CMSSW_92X, CMSSW_93X described above and NOT included yet in official CMSSW releases

  • Objects are defined in the following package
       DataFormats/L1TrackTrigger
  • Producers to create these objects are defined in
       L1Trigger/L1TTTrackMatch/plugin    
  • Configurations include individual produces and a combined one to create all objects at one go. They are stored in
       L1Trigger/L1TTTrackMatch/python   
          L1TkElectronTrackProducer_cfi.py
          L1TkEmParticleProducer_cfi.py 
          L1TkEtMissProducer_cfi.py
          L1TkHTMissProducer_cfi.py
          L1TkJetProducer_cfi.py
          L1TkMuonProducer_cfi.py
          L1TkPrimaryVertexProducer_cfi
          L1TkTauFromCaloProducer_cfi.py
          L1TkTauFromL1TrackProducer_cfi.py
 
          L1TkObjectProducers_cff.py
 

  • A few example anlyzers and corresponding configuration files can be found in

        L1Trigger/L1TTTrackMatch/test   
            PrintL1TkObjects.cc     [generic analyzer to print properties of L1TkObjects ]
            L1TkObjectAnalyzer.cc   [generic analyzer to study efficiency/rate for TkElectron, TkMuon, TkPhoton]

MC Production

PhaseIITDRSpring19 Campaign - 10.6.0 "L1T" TDR samples

Description

The main motivation for this MC production was the simulation of the latest realistic geometry of the HGCal (v10). In this geometry the last two absorbers were dropped compared to the previous simulations. This changed required a new production to assess the performances of PhaseII L1T TPs and L1T Reco algorithms. This production is intended as the final MC production for the L1 TDR. This production is done using 10_6_0 release of CMSSW:

  • GEN step, CMSSW_10_6_0 was used
  • DIGI step, CMSSW_10_6_0_patch2 was used to fix problems in ECAL and HCAL.
In both cases, the updated "V10" HGCAL geometry was employed, as part of MC production workflow D41. Some initial information: https://docs.google.com/document/d/1PZlhRb3kIHJjYV6zfguM5p3PXrUyTHYNTfk5VmFQo8k/edit#

10_6_0 Samples without pileup

DAS query: dataset=/*/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3*/GEN-SIM-DIGI-RAW

/BsToPhiPhi_4K_TuneCP5_14TeV-pythia8/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/DYToMuMuorEleEle_M-20_14TeV_pythia8/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/DisplacedMuons_Pt10to30_Dxy0to3000-pythia8-gun/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/DisplacedMuons_Pt2to10_Dxy0to3000-pythia8-gun/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/DisplacedMuons_Pt30to100_Dxy0to3000-pythia8-gun/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/GluGluHToGG_M125_14TeV_amcatnloFXFX_pythia8/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/HSCPppstau_M_871_TuneCUETP8M1_14TeV_pythia8/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/JPsiToMuMu_Pt0to100-pythia8-gun/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/Mu_FlatPt2to100-pythia8-gun/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/PhotonFlatPt8To150/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/QCD_Pt_0_1000_14TeV_TuneCUETP8M1/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/SingleElectron_PT2to100/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/SinglePion0_FlatPt-8to100/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/SinglePion_PT2to100/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/TTbar_14TeV_TuneCP5_Pythia8/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/WToLNu_14TeV_TuneCP5_pythia8/PhaseIITDRSpring19DR-NoPU_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW

10_6_0 Samples with 200 pileup

DAS query: dataset=/*/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3*/GEN-SIM-DIGI-RAW

/DYToMuMuorEleEle_M-20_14TeV_pythia8/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/DisplacedMuons_Pt10to30_Dxy0to3000-pythia8-gun/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/DisplacedMuons_Pt2to10_Dxy0to3000-pythia8-gun/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/DisplacedMuons_Pt30to100_Dxy0to3000-pythia8-gun/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/JPsiToMuMu_Pt0to100-pythia8-gun/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/Mu_FlatPt2to100-pythia8-gun/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v2/GEN-SIM-DIGI-RAW
/Nu_E10-pythia8-gun/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v3/GEN-SIM-DIGI-RAW
/PhotonFlatPt8To150/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/SingleElectron_PT2to100/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/SinglePion0_FlatPt-8to100/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/SinglePion_PT2to100/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/TTbar_14TeV_TuneCP5_Pythia8/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3_ext1-v3/GEN-SIM-DIGI-RAW
/VBFHToBB_M-125_14TeV_powheg_pythia8_weightfix/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/WToLNu_14TeV_TuneCP5_pythia8/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v1/GEN-SIM-DIGI-RAW
/WpWpJJ_QCD_TuneCP5_14TeV-madgraph-pythia8/PhaseIITDRSpring19DR-PU200_106X_upgrade2023_realistic_v3-v2/GEN-SIM-DIGI-RAW

10_6_0 Samples McM Status

See the status of production of Samples here (courtesy of Giovanni Petrucciani), and a link to das.

PhaseIIFall17 Campaign

Descritipon

This campaign uses CMSSW_9_3_7 release. CMSSW_9_3_2 was primarily designed for MC HGCal TDR production. Compared to CMSSW_9_0_0 and our PhaseIISpring17L1T campaign there are some important improvements in CMSSW relevant to L1T

  • Stub builder fix and new SW (commit dfa57a8d1dbcaabceb05a547fdcfe94a84aea401)
  • New Tracker geometry: very last Tilted Tracker geometry to date (tracker T5)
  • HGCal geometry improvements (v7 -> v8) and the HGCal TPs developments

Back-porting developments into CMSSW_9_3_X were needed to build CMSSW_9_3_7, available as of 19March2018 with following additional features:

  • HGCAL DONE
    • significant TP developments DONE
      • Status: Checked checkboxMERGED 93x PR 22296
      • Layer-by-layer calibration of the clusters
      • Cluster shape variables calculation
      • New 3D clustering algorithm (DBSCAN)
      • Disconnection of half the HGC-EE layers when creating trigger cells
    • recent TP improvements. DONE
      • Status: Checked checkbox MERGED 93x PR 22480 ( requires Externals PR 3815 is MERGED).
      • Implementation of a new 2D clustering algorithm, similar to the previous topological algorithm, but with size constrained
      • Implementation of tower objects in addition to cluster objects
      • Move the cluster energy calibration from 3D clusters to 2D clusters
    • Inclusion of TP producer in the centrally ran sequence SimL1Emulator DONE
      • Status: Checked checkbox MERGED 93x PR 22487.

  • TrackTrigger DONE
    • Improvements in TrackTriggerAssociatorStubsClusters DONE
      • PR 22317 is 93x backport of 21765.
      • Status: Checked checkbox MERGED in 93x on 02.02.2018
    • EventContentFEVTDEBUG with TrackTriggerAssociatorStubsClusters DONE
      • 'keep *_TTClusterAssociatorFromPixelDigis_*_*', 'keep *_TTStubAssociatorFromPixelDigis_*_*'
      • Originally had problems in an unrelated package PhysicsTools/CandUtils (discussed in github issue). Now resolved. Checked checkbox
      • Status: Checked checkbox MERGED 22591 plus fix in PhysicsTools 22588

For more details, see presentation of V.R (slides)

Samples MC Production PhaseIIFall17 (CMSSW_9_3_7)

The list of samples requested and produced is listed in google doc. - under the tab "L1".

Instructions for MC Production CMSSW_9_3_7

L1T Phase2 Upgrade group takes advantage of the improvements in CMSSW_937 and the existing MC HGCAL TDR campaign and its already produced 200M event MinimumBias GEN-SIM sample. The L1T group requests a production of the samples listed in google doc. Priority should be given to the samples in the order:

  • electron gun, Z(ll) - of interest for Pixel-based EGamma algorithm feasibility studies.
  • neutrino gun (500 kevts)
  • rest of the samples

Below are sample commands for various steps of MC production that can be ran with vanilla CMSSW_10_

Relevant parameters:

  • Global Tag = `93X_upgrade2023_realistic_v5`
  • Aging = `1000` - Q: Need to be used in DIGI step to represent ECAL detector at beginning of Phase2

Step 1 GEN-SIM

  • GEN-SIM
cmsDriver.py ZEE_14TeV_TuneCUETP8M1_cfi -n 100 --mc --eventcontent RAWSIM --datatier GEN-SIM --conditions 93X_upgrade2023_realistic_v5 --beamspot HLLHC14TeV --step GEN,SIM --nThreads 8 --geometry Extended2023D17 --era Phase2_timing  --fileout file:step0_100ev.root

Step 2 DIGI

  • DIGI - PU 0
    • to add aging 1000, add --customise=SLHCUpgradeSimulations/Configuration/aging.customise_aging_1000
 cmsDriver.py step1 -n 100 --mc --eventcontent FEVTDEBUGHLT --datatier GEN-SIM-DIGI-RAW --conditions 93X_upgrade2023_realistic_v5 --beamspot HLLHC14TeV --step DIGI:pdigi_valid,L1,L1TrackTrigger,DIGI2RAW,HLT:@fake2 --nThreads 8 --geometry Extended2023D17 --era Phase2_timing  --filein file:step0_100ev.root --fileout file:step2_DIGI_PU0_100ev.root --customise=SLHCUpgradeSimulations/Configuration/aging.customise_aging_1000

  • DIGI - PU 140,200 - EventSize ~25 MB
    • used --customise=SimGeneral/MixingModule/customiseStoredTPConfig.higherPtTP to keep only the TrackingParticles with sufficiently HighPt to keep the event size under control (~26 MB/event for PU 200, down from 44 MB).
    • to add aging 1000, add --customise=SLHCUpgradeSimulations/Configuration/aging.customise_aging_1000
cmsDriver.py step2PU200 -n 10 --mc --eventcontent FEVTDEBUGHLT --customise=SimGeneral/MixingModule/customiseStoredTPConfig.higherPtTP --datatier GEN-SIM-DIGI-RAW --conditions 93X_upgrade2023_realistic_v5 --beamspot HLLHC14TeV --step DIGI:pdigi_valid,L1,L1TrackTrigger,DIGI2RAW,HLT:@fake2 --nThreads 8 --geometry Extended2023D17 --era Phase2_timing  --filein file:step0_100ev.root --fileout file:step2_DIGI_PU200_10ev.root --pileup AVE_200_BX_25ns --pileup_input "dbs:/MinBias_TuneCUETP8M1_14TeV-v1-pythia8/PhaseIITDRFall17GS-93X_upgrade2023_realistic_v2-v1/GEN-SIM" --customise=SLHCUpgradeSimulations/Configuration/aging.customise_aging_1000

Step 2 RECO

  • RECO: Request neutrino gun (500K), electron gun (250K), muon gun (250K), tau gun (250K).

PhaseIISpring17L1T Campaign (PREVIOUS)


For details on what is used in this production campaign see twiki.

The GlobalTag used was `90X_upgrade2023_realistic_v9`. Inidvidual cmsDriver commands were:

  • GEN-SIM:
cmsDriver.py NameOfFragment --mc --eventcontent RAWSIM --datatier GEN-SIM --conditions 90X_upgrade2023_realistic_v9 --beamspot HLLHC14TeV --step GEN,SIM --nThreads 4 --geometry Extended2023D4 --era Phase2C2 _timing --filein file:step-1.root --fileout file:step0.root

  • wmLHE+GEN-SIM:
cmsDriver.py NameOfFragment --mc --eventcontent RAWSIM,LHE --datatier GEN-SIM,LHE --conditions 90X_upgrade2023_realistic_v9 --beamspot HLLHC14TeV --step LHE,GEN,SIM --nThreads 4 --era Phase2C2_timing --filein file:step-1.root --fileout file:step0.root

  • DIGI:
cmsDriver.py step1 --mc --eventcontent FEVTDEBUGHLT --datatier GEN-SIM-DIGI-RAW --conditions 90X_upgrade2023_realistic_v9 --beamspot HLLHC14TeV --step DIGI:pdigi_valid,L1,L1TrackTrigger,DIGI2RAW,HLT:@fake2 --nThreads 4 --geometry Extended2023D4 --era Phase2C2_timing --filein file:step-1.root --fileout file:step0.root

For the status of the samples in this production see the DBS page here.

Instructions for MC Production CMSSW_9_0_0

The list of samples we need is listed in google doc - under the tab "L1" of google doc.

Step 1 GEN-SIM

1) step1: GEN-SIM of all the samples

ORDER: We need GEN-SIM for all listed samples, in the order listed in the google doc, with the exception of 100M MinBias, which can be done last. The 100M MinBias sample will be used in the DIGI step of NeutrinoGun (500K) sample for mixing PU 140 and PU 200, which is not of the highs priority at the moment. Nevertheless, it is crucial for the more precise rate studies, and it needs to be produced.

Step 2 DIGI

2) step2: only DIGI step of the step2 saving FEVTHLTDEBUG, with 3 PU scenarios:

  • 0 PU
  • 140 PU
  • 200 PU

Note: On the signal samples and neutrino gun (50k) to mix 140 PU and 200 PU use the already existing MinBias PhaseIIFall16GS82: /MinBias_TuneCUETP8M1_14TeV-pythia8/PhaseIIFall16GS82-90X_upgrade2023_realistic_v1-v1/GEN-SIM.

ORDER: For all the samples listed. want to produce the "DIGI PU 0" samples first, and then "DIGI PU 140" and "DIGI PU 200"

  • All samples for PU 0, no customisation is used. See example 2).
  • All samples for PU 140 and 200, we use the customisation command `--customise=SimGeneral/MixingModule/customiseStoredTPConfig.higherPtTP' to keep only the TrackingParticles with sufficiently HighPt to keep the event size under control (~28 MB/event for PU 200). See below examples 3) and 4).
  • Three samples (Z->ll, W->lnu, ttbar) for PU 140 and 200 we want to repeat the DIGI for PU 140 and PU 200 with a different customisation option '--customise=SimGeneral/MixingModule/customiseStoredTPConfig.tpInM3P1BXRange' to keep -3 < BX < +1 TrackingParticles (~36 MB/event for PU 200). See below examples 5) and 6).

DIGI step output of EventContent FEVTHLTDEBUG is available here: /afs/cern.ch/user/r/rekovic/public/forL1TPhase2/PhaseSpring17DR900/PhaseII_Spring17_DR900_FEVTHLTDEBUG_EventContent.txt Special note, regarding the Track Trigger, the FEVTHLDEBUG contains TrackStubs, TrackClusters, and not TrackTrigger Primitives as the producer is not available at the moment. TrackTrigger Primitives will be generated in the post production.

Examples MC jobs

Below I list the example jobs we want executed in the order of priority:

1) GEN-SIM: 50k Neutrino gun + all signal samples

#######################################################
# Example job ZEE
#######################################################
cmsDriver.py ZEE_14TeV_TuneCUETP8M1_cfi --conditions 90X_upgrade2023_realistic_v1 -n 1 --era Phase2C2_timing --eventcontent FEVTDEBUG --relval 9000,100 -s GEN,SIM --datatier GEN-SIM --beamspot HLLHC14TeV --geometry Extended2023D4 --fileout file:step1.root

2) DIGI with PU 0: all signal samples

#######################################################
# Example job ZEE
#######################################################
cmsDriver.py step2 -s DIGI:pdigi_valid,L1,L1TrackTrigger,DIGI2RAW,HLT:@fake2 --datatier GEN-SIM-DIGI-RAW -n 1 --eventcontent FEVTDEBUGHLT  --conditions 90X_upgrade2023_realistic_v1 --era Phase2C2_timing --beamspot HLLHC14TeV --geometry Extended2023D4  --filein step1.root --fileout step2.root 

3) DIGI with PU 140: 50k Neutrino-gun + all signal samples

#######################################################
# Example job ZEE - (here use the MinBias PhaseIIFall16GS82 for --pileup_input)
#######################################################
cmsDriver.py step2 -s DIGI:pdigi_valid,L1,L1TrackTrigger,DIGI2RAW,HLT:@fake2 --datatier GEN-SIM-DIGI-RAW -n 1 --eventcontent FEVTDEBUGHLT  --conditions 90X_upgrade2023_realistic_v1 --era Phase2C2_timing --beamspot HLLHC14TeV --geometry Extended2023D4 --pileup AVE_140_BX_25ns --pileup_input root://eoscms//eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/rekovic/HGCAL/8_2_0/step1_MinBias.root --filein step1.root --fileout step2.root --customise=SimGeneral/MixingModule/customiseStoredTPConfig.higherPtTP 

4) DIGI with PU 200: 50k Neutrino-gun + all signal samples

#######################################################
# Example job ZEE - (here use the MinBias PhaseIIFall16GS82 for --pileup_input)
#######################################################
cmsDriver.py step2 -s DIGI:pdigi_valid,L1,L1TrackTrigger,DIGI2RAW,HLT:@fake2 --datatier GEN-SIM-DIGI-RAW -n 1 --eventcontent FEVTDEBUGHLT  --conditions 90X_upgrade2023_realistic_v1 --era Phase2C2_timing --beamspot HLLHC14TeV --geometry Extended2023D4 --pileup AVE_200_BX_25ns --pileup_input root://eoscms//eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/rekovic/HGCAL/8_2_0/step1_MinBias.root --filein step1.root --fileout step2.root --customise=SimGeneral/MixingModule/customiseStoredTPConfig.higherPtTP 

5) DIGI with PU 140 for HLT (only on samples Z->ll, W->lnu, ttbar) - note different cutsomisation

#######################################################
# Example job ZEE - (here use the MinBias PhaseIIFall16GS82 for --pileup_input)
#######################################################
cmsDriver.py step2 -s DIGI:pdigi_valid,L1,L1TrackTrigger,DIGI2RAW,HLT:@fake2 --datatier GEN-SIM-DIGI-RAW -n 1 --eventcontent FEVTDEBUGHLT  --conditions 90X_upgrade2023_realistic_v1 --era Phase2C2_timing --beamspot HLLHC14TeV --geometry Extended2023D4 --pileup AVE_140_BX_25ns --pileup_input root://eoscms//eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/rekovic/HGCAL/8_2_0/step1_MinBias.root --filein step1.root --fileout step2.root --customise=SimGeneral/MixingModule/customiseStoredTPConfig.tpInM3P1BXRange

6) DIGI with PU 200 for HLT (only on samples Z->ll, W->lnu, ttbar) - note different cutsomisation

#######################################################
# Example job ZEE - (here use the MinBias PhaseIIFall16GS82 for --pileup_input)
#######################################################
cmsDriver.py step2 -s DIGI:pdigi_valid,L1,L1TrackTrigger,DIGI2RAW,HLT:@fake2 --datatier GEN-SIM-DIGI-RAW -n 1 --eventcontent FEVTDEBUGHLT  --conditions 90X_upgrade2023_realistic_v1 --era Phase2C2_timing --beamspot HLLHC14TeV --geometry Extended2023D4 --pileup AVE_200_BX_25ns --pileup_input root://eoscms//eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/rekovic/HGCAL/8_2_0/step1_MinBias.root --filein step1.root --fileout step2.root --customise=SimGeneral/MixingModule/customiseStoredTPConfig.tpInM3P1BXRange

PhaseIIFall16 MC Preparation (PREVIOUS)


Used CMSSW_9_0_X_2017-01-27-1100 plus the onging PRs ( 17248, 17297, 17309).

PhaseIIFall16 MC campaign consists of two parts: GS (Gen-Sim) and DR (Digi-Reco). For studies of EventContent for L1T Phase-2 needs, we followed the workflows a-la PhaseIIFall16 MC campaign.

  • First, 100 Z-ee events and 1000 MinBias have ben generated in the Gen-Sim step.
  • Subsequently, 10 Zee have been mixed with 200 random MinBias events to get 10 Zee PU200 events in the Digi step.
  • And finally, the Reco step is ran on the output of the Digi step.

Commands used are listed here:

First make 1000 MinBias events and 100 Zee events with geometry Extended2023D4 and era Phase2C2_timing:

  • Gen-Sim for MinBias
cmsDriver.py MinBias_13TeV_pythia8 --conditions 90X_upgrade2023_realistic_v1 -n 1000 --era Phase2C2_timing --eventcontent FEVTDEBUG --relval 9000,100 -s GEN,SIM --datatier GEN-SIM --beamspot HLLHC14TeV --geometry Extended2023D4 --fileout file:step1_MinBias.root

  • Gen-Sim for ZEE and ZMM
    • ZEE
cmsDriver.py ZEE_14TeV_TuneCUETP8M1_cfi --conditions 90X_upgrade2023_realistic_v1 -n 1 --era Phase2C2_timing --eventcontent FEVTDEBUG --relval 9000,100 -s GEN,SIM --datatier GEN-SIM --beamspot HLLHC14TeV --geometry Extended2023D4 --fileout file:step1_ZEE.root
    • ZMM
cmsDriver.py ZMM_14TeV_TuneCUETP8M1_cfi --conditions 90X_upgrade2023_realistic_v1 -n 1 --era Phase2C2_timing --eventcontent FEVTDEBUG --relval 9000,100 -s GEN,SIM --datatier GEN-SIM --beamspot HLLHC14TeV --geometry Extended2023D4 --fileout file:step1_ZMM.root

  • Digi
cmsDriver.py step2 --python_filename=step2_DIGI_L1_DIGI2RAW_HLT_PU_1ev_EventContent.py --no_exec --pileup_input root://eoscms//eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/rekovic/HGCAL/8_2_0/step1_MinBias.root -s DIGI:pdigi_valid,L1,DIGI2RAW,HLT:@fake --datatier GEN-SIM-DIGI-RAW -n 100 --era Phase2C2 --eventcontent FEVTDEBUGHLT --pileup AVE_200_BX_25ns --filein root://eoscms//eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/rekovic/HGCAL/8_2_0/step1_ZEE_100ev.root --conditions 90X_upgrade2023_realistic_v1 --era Phase2C2_timing --beamspot HLLHC14TeV --geometry Extended2023D4 --fileout file:step2_ZEE_PU200_10ev-PR_EventContent-FEVTDEBUGHLT.root

  • Reco
cmsDriver.py step2 --mc --eventcontent RECOSIM,AODSIM --runUnscheduled --datatier GEN-SIM-RECO,AODSIM --conditions 90X_upgrade2023_realistic_v1 --beamspot HLLHC14TeV --step RAW2DIGI,L1Reco,RECO --nThreads 4 --geometry Extended2023D4 --era Phase2C2_timing --filein file:step2_ZEE_PU200_1ev_EventConten_PR.root --fileout file:step2_ZEE_PU200_10ev-PR_EventContent.root

The eventcontent of FEVTDEBUGHLT + RECOSIM should be sufficient for L1T Phase-2 needs. Among other products,

  • RECOSIM has full Tracker info, Calorimetry RecHits, HGC Digis and SimClusters.
  • FEVTDEBUGHLT has Calorimetry Unsuprressed simDigis, and Muon simDigis and all L1T Stage2 simDigis.

EventContent

Event contents and their sizes in FEVTDEBUGHLT, RECOSIM, and AODSIM are provided in [1], [2], and [3].

For PU200 events, average event size is:

  • 68 MB for FEVTDEBUGHLT
  • 28 MB for RECOSIM
  • 9 MB for AODSIM

If need to run TP generation algorithms, please use output files [4] and [5],[6] made in Digi and Reco steps listed above, which followed the workflows a-la PhaseIIFall16DR8 MC campaign.

Files contain 10 ZEE events with PU 200 of mixed MinBias events, passed though:

  • --step DIGI:pdigi_valid,L1,DIGI2RAW,HLT:@fake (--fileout file [4])
  • --step RAW2DIGI,L1Reco,RECO (--fileout files [5] and [6])

[1] /afs/cern.ch/user/r/rekovic/public/forL1TPhase2/PhaseIIFall16DR82-90X/EventContent/CMSSW_9_0_X_2017-01-27-1100+PR-17248-17297-17309/PhaseIIFall16DR82-90X-PR_EventContnet_FEVTDEBUGHLT.txt

[2] /afs/cern.ch/user/r/rekovic/public/forL1TPhase2/PhaseIIFall16DR82-90X/EventContent/CMSSW_9_0_X_2017-01-27-1100+PR-17248-17297-17309/PhaseIIFall16DR82-90X-PR_EventContnet_RECOSIM.txt

[3] /afs/cern.ch/user/r/rekovic/public/forL1TPhase2/PhaseIIFall16DR82-90X/EventContent/CMSSW_9_0_X_2017-01-27-1100+PR-17248-17297-17309/PhaseIIFall16DR82-90X-PR_EventContnet_AODSIM.txt

[4] /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/rekovic/PhaseIIFall16DR82-90X/step2_ZEE_PU200_10ev-PR_EventContent-FEVTDEBUGHLT.root

[5] /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/rekovic/PhaseIIFall16DR82-90X/step2_ZEE_PU200_10ev-PR_EventContent-RECOSIM.root

[6] /eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/rekovic/PhaseIIFall16DR82-90X/step2_ZEE_PU200_10ev-PR_EventContent-AODSIM.root

Running the DIGI, L1T Emulator and Producing L1 Ntuples

This is a set of instructions on how to run the Stage-2 upgrade version of the L1 Emulator in Phase2 era and to produce L1TNtuples .

cmsDriver.py commands below use GlobalTag --conditions=90X_upgrade2023_realistic_v1.

  • Basic Stage2 L1Ntuple with EMUlated L1T content as for Phase2 Tracker TDR MC Production
    • start with PhaseIIFall16GS82 sample of ZEE and MinBias events privately produced (this can be changed to use
    • DIGI step - mix to get 200 PU,
    • L1T emulation step (Stage2 - determined by era),
    • store L1T (Stage2) information in the L1TNtuple.root via the customisation option :
cmsDriver.py step2 --python_filename=step2_DIGI_L1_PU_1ev_EventContent.py --no_exec --pileup_input root://eoscms//eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/rekovic/HGCAL/8_2_0/step1_MinBias.root -s DIGI:pdigi_valid,L1 --datatier GEN-SIM-DIGI-RAW -n 10 --eventcontent FEVTDEBUGHLT --pileup AVE_200_BX_25ns --filein root://eoscms//eos/cms/store/group/dpg_trigger/comm_trigger/L1Trigger/rekovic/HGCAL/8_2_0/step1_ZEE_100ev.root --conditions 90X_upgrade2023_realistic_v9 --era Phase2C2_timing --beamspot HLLHC14TeV --geometry Extended2023D4 --no_output --customise=L1Trigger/L1TNtuples/customiseL1Ntuple.L1NtupleEMUNoEventTree --customise=L1Trigger/Configuration/customiseUtils.L1TGlobalSimDigisSummary

-- VladimirRekovic - 2017-01-25

Edit | Attach | Watch | Print version | History: r123 < r122 < r121 < r120 < r119 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r123 - 2019-10-10 - VladimirRekovic
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback