1 import FWCore.ParameterSet.Config
as cms
8 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers')
and hasattr(process.mix.digitizers,
'pixel'):
9 print(
"activating Pixel Stuck TBM Simulation")
10 process.mix.digitizers.pixel.KillBadFEDChannels = cms.bool(
True)
12 if not hasattr(process.GlobalTag,
'toGet'):
13 process.GlobalTag.toGet=cms.VPSet()
15 process.GlobalTag.toGet.extend(cms.VPSet(cms.PSet(record = cms.string(
'SiPixelStatusScenarioProbabilityRcd'),
16 tag = cms.string(
'SiPixelQualityProbabilities_2018_noPU_v0_mc'),
17 connect = cms.string(
'frontier://FrontierPrep/CMS_CONDITIONS')),
18 cms.PSet(record = cms.string(
'SiPixelStatusScenariosRcd'),
19 tag = cms.string(
'SiPixelFEDChannelContainer_StuckTBM_2018_v0_fixed_mc'),
20 connect = cms.string(
'frontier://FrontierPrep/CMS_CONDITIONS')
def activateStuckTBMSimulation2018NoPU(process)
S & print(S &os, JobReport::InputFile const &f)