/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
RecoLocalTracker/SiPixelClusterizer/python/SiPixelClusterizer_cfi.py
53 строки
2 KB
Chris Winter
New Tau Embedding process modifiers (#6)
12 сен 2025, 18:30
Не верифицирован
12 сен 2025, 18:30
164e69d
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms from RecoLocalTracker.SiPixelClusterizer.SiPixelClusterizerDefault_cfi import SiPixelClusterizerDefault as _SiPixelClusterizerDefault siPixelClusters = _SiPixelClusterizerDefault.clone() # phase1 pixel from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel phase1Pixel.toModify(siPixelClusters, VCaltoElectronGain = 47, # L2-4: 47 +- 4.7 VCaltoElectronGain_L1 = 50, # L1: 49.6 +- 2.6 VCaltoElectronOffset = -60, # L2-4: -60 +- 130 VCaltoElectronOffset_L1 = -670, # L1: -670 +- 220 ChannelThreshold = 10, SeedThreshold = 1000, ClusterThreshold = 4000, ClusterThreshold_L1 = 2000 ) # Run3, changes in the gain calibration scheme from Configuration.Eras.Modifier_run3_common_cff import run3_common run3_common.toModify(siPixelClusters, VCaltoElectronGain = 1, # all gains=1, pedestals=0 VCaltoElectronGain_L1 = 1, VCaltoElectronOffset = 0, VCaltoElectronOffset_L1 = 0, ClusterThreshold_L1 = 4000 ) # lowered L1 cluster charge threshold to cope with reduced charge collection efficiency in the sensor caused by radiation damage from Configuration.Eras.Modifier_run3_SiPixel_2025_cff import run3_SiPixel_2025 run3_SiPixel_2025.toModify(siPixelClusters, ClusterThreshold_L1 = 2000 ) # Need these until phase2 pixel templates are used from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker from SimTracker.SiPhase2Digitizer.phase2TrackerDigitizer_cfi import PixelDigitizerAlgorithmCommon phase2_tracker.toModify(siPixelClusters, # FIXME src = 'simSiPixelDigis:Pixel', DropDuplicates = False, # do not drop duplicates for phase-2 until the digitizer can handle them consistently payloadType = 'None', # do not run gain calibration MissCalibrate = False, Phase2Calibration = True, Phase2ReadoutMode = PixelDigitizerAlgorithmCommon.Phase2ReadoutMode.value(), # Flag to decide Readout Mode : linear TDR (-1), dual slope with slope parameters (+1,+2,+3,+4 ...) with threshold subtraction Phase2DigiBaseline = PixelDigitizerAlgorithmCommon.ThresholdInElectrons_Barrel.value(), #Same for barrel and endcap Phase2KinkADC = 8, ElectronPerADCGain = PixelDigitizerAlgorithmCommon.ElectronPerAdc.value() ) from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2 (premix_stage2 & phase2_tracker).toModify(siPixelClusters, src = "mixData:Pixel" )