/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
L1Trigger/CSCTriggerPrimitives/python/params/showerParams.py
259 строк
6 KB
Alexander Albert
update mds trigger thresholds with era change tracked
12 ноя 2025, 01:52
12 ноя 2025, 01:52
1ebfab1
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms #Parameterset for the hadronic shower trigger for Run-3 showerPSet = cms.PSet( ## what kind of shower triggers the logic? ## 0: cathode-only (TMB/OTMB) ## 1: anode-only (from ALCT board) ## 2: cathode or anode showers ## loose -> 'loose anode or loose cathode' ## nominal -> 'nominal anode or nominal cathode' ## tight -> 'tight anode or tight cathode' ## 3: cathode and anode showers ## loose -> 'loose anode and loose cathode' ## nominal -> 'nominal anode and nominal cathode' ## tight -> 'tight anode and tight cathode' source = cms.vuint32( # ME1/1 3, # ME1/2 1, # ME1/3 1, # ME2/1 3, # ME2/2 1, # ME3/1 3, # ME3/2 1, # ME4/1 3, # ME4/2 1 ), ## settings for cathode showers (counting CSCComparatorDigi) cathodeShower = cms.PSet( ## {loose, nominal, tight} thresholds for hit counters ## loose ~ 0.75 kHz ## nominal ~ 0.5 kHz ## tight ~ 0.25 kHz ## 10000 means to disable cathode HMT for this chamber type showerThresholds = cms.vuint32( # ME1/1 100, 100, 100, # ME1/2 10000, 10000, 10000, # ME1/3 10000, 10000, 10000, # ME2/1 14, 33, 35, # ME2/2 10000, 10000, 10000, # ME3/1 12, 31, 33, # ME3/2 10000, 10000, 10000, # ME4/1 14, 34, 36, # ME4/2 10000, 10000, 10000 ), showerNumTBins = cms.uint32(3),# 3BX for cathode HMT minLayersCentralTBin = cms.uint32(5), ## peack check feature is not implemented in firmware ## plan to upgrade in future peakCheck = cms.bool(False), ), ## settings for anode showers (counting CSCWireDigi) anodeShower = cms.PSet( ## {loose, nominal, tight} thresholds for hit counters showerThresholds = cms.vuint32( # ME1/1 140, 140, 140, # ME1/2 140, 140, 140, # ME1/3 7, 14, 18, # ME2/1 23, 56, 58, # ME2/2 12, 28, 32, # ME3/1 21, 55, 57, # ME3/2 12, 26, 34, # ME4/1 25, 62, 64, # ME4/2 12, 27, 31 ), showerNumTBins = cms.uint32(1),# 1BX for anode HMT minLayersCentralTBin = cms.uint32(5), ) ) showerPSet_2025_AtoE = cms.PSet( ## what kind of shower triggers the logic? ## 0: cathode-only (TMB/OTMB) ## 1: anode-only (from ALCT board) source = cms.vuint32( # ME1/1 1, # ME1/2 1, # ME1/3 1, # ME2/1 1, # ME2/2 1, # ME3/1 1, # ME3/2 1, # ME4/1 1, # ME4/2 1 ), ## settings for cathode showers (counting CSCComparatorDigi) cathodeShower = cms.PSet( ## 10000 means to disable cathode HMT for this chamber type showerThresholds = cms.vuint32( # ME1/1 10000, 10000, 10000, # ME1/2 10000, 10000, 10000, # ME1/3 10000, 10000, 10000, # ME2/1 10000, 10000, 10000, # ME2/2 10000, 10000, 10000, # ME3/1 10000, 10000, 10000, # ME3/2 10000, 10000, 10000, # ME4/1 10000, 10000, 10000, # ME4/2 10000, 10000, 10000 ), showerNumTBins = cms.uint32(3),# 3BX for cathode HMT minLayersCentralTBin = cms.uint32(5), ## peack check feature is not implemented in firmware ## plan to upgrade in future peakCheck = cms.bool(False), ), ## settings for anode showers (counting CSCWireDigi) anodeShower = cms.PSet( ## {loose, nominal, tight} thresholds for hit counters showerThresholds = cms.vuint32( # ME1/1 1000, 1000, 1000, # ME1/2 1000, 1000, 1000, # ME1/3 7, 14, 18, # ME2/1 24, 76, 84, # ME2/2 12, 34, 37, # ME3/1 22, 67, 77, # ME3/2 12, 21, 21, # ME4/1 26, 80, 92, # ME4/2 12, 23, 23 ), showerNumTBins = cms.uint32(1),# 1BX for anode HMT minLayersCentralTBin = cms.uint32(5), ) ) showerPSet_2025_FtoG = cms.PSet( ## what kind of shower triggers the logic? ## 0: cathode-only (TMB/OTMB) ## 1: anode-only (from ALCT board) source = cms.vuint32( # ME1/1 1, # ME1/2 1, # ME1/3 1, # ME2/1 1, # ME2/2 1, # ME3/1 1, # ME3/2 1, # ME4/1 1, # ME4/2 1 ), ## settings for cathode showers (counting CSCComparatorDigi) cathodeShower = cms.PSet( ## 10000 means to disable cathode HMT for this chamber type showerThresholds = cms.vuint32( # ME1/1 10000, 10000, 10000, # ME1/2 10000, 10000, 10000, # ME1/3 10000, 10000, 10000, # ME2/1 10000, 10000, 10000, # ME2/2 10000, 10000, 10000, # ME3/1 10000, 10000, 10000, # ME3/2 10000, 10000, 10000, # ME4/1 10000, 10000, 10000, # ME4/2 10000, 10000, 10000 ), showerNumTBins = cms.uint32(3),# 3BX for cathode HMT minLayersCentralTBin = cms.uint32(5), ## peack check feature is not implemented in firmware ## plan to upgrade in future peakCheck = cms.bool(False), ), ## settings for anode showers (counting CSCWireDigi) anodeShower = cms.PSet( ## {loose, nominal, tight} thresholds for hit counters showerThresholds = cms.vuint32( # ME1/1 1000, 1000, 1000, # ME1/2 1000, 1000, 1000, # ME1/3 7, 15, 18, # ME2/1 24, 50, 53, # ME2/2 12, 30, 32, # ME3/1 22, 50, 53, # ME3/2 12, 25, 27, # ME4/1 26, 40, 43, # ME4/2 12, 27, 29 ), showerNumTBins = cms.uint32(1),# 1BX for anode HMT minLayersCentralTBin = cms.uint32(5), ) )