Skip to content

Commit

Permalink
TP_minPt and binning fix (cms-sw#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
vegajustin26 authored and tomalin committed Jun 10, 2022
1 parent 1418e19 commit 4a4122c
Show file tree
Hide file tree
Showing 2 changed files with 199 additions and 145 deletions.
11 changes: 5 additions & 6 deletions L1Trigger/TrackFindingTracklet/test/L1TrackNtupleMaker_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
############################################################

GEOMETRY = "D76"
# Set L1 tracking algorithm:
# 'HYBRID' (baseline, 4par fit) or 'HYBRID_DISPLACED' (extended, 5par fit).
# Set L1 tracking algorithm:
# 'HYBRID' (baseline, 4par fit) or 'HYBRID_DISPLACED' (extended, 5par fit).
# 'HYBRID_NEWKF' (baseline, 4par fit, with bit-accurate KF emulation),
# 'HYBRID_REDUCED' to use the "Summer Chain" configuration with reduced inputs.
# (Or legacy algos 'TMTT' or 'TRACKLET').
Expand Down Expand Up @@ -64,7 +64,7 @@
#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"]
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":
# Read data from card files (defines getCMSdataFromCards()):
Expand Down Expand Up @@ -173,7 +173,7 @@
L1TRK_LABEL = "Level1TTTracks"
L1TRUTH_NAME = "TTTrackAssociatorFromPixelDigisReduced"

# LEGACY ALGORITHM (EXPERTS ONLY): TRACKLET
# LEGACY ALGORITHM (EXPERTS ONLY): TRACKLET
elif (L1TRKALGO == 'TRACKLET'):
print("\n WARNING: This is not the baseline algorithm! Prefer HYBRID or HYBRID_DISPLACED!")
print("\n To run the Tracklet-only algorithm, ensure you have commented out 'CXXFLAGS=-DUSEHYBRID' in BuildFile.xml & recompiled! \n")
Expand Down Expand Up @@ -224,7 +224,7 @@
L1Tk_minNStub = cms.int32(4), # L1 tracks with >= 4 stubs
TP_minNStub = cms.int32(4), # require TP to have >= X number of stubs associated with it
TP_minNStubLayer = cms.int32(4), # require TP to have stubs in >= X layers/disks
TP_minPt = cms.double(2.0), # only save TPs with pt > X GeV
TP_minPt = cms.double(1.9), # only save TPs with pt > X GeV
TP_maxEta = cms.double(2.5), # only save TPs with |eta| < X
TP_maxZ0 = cms.double(30.0), # only save TPs with |z0| < X cm
L1TrackInputTag = cms.InputTag(L1TRK_NAME, L1TRK_LABEL), # TTTrack input
Expand Down Expand Up @@ -277,4 +277,3 @@

process.pd = cms.EndPath(process.writeDataset)
process.schedule.append(process.pd)

Loading

0 comments on commit 4a4122c

Please sign in to comment.