CMS 3D CMS Logo

Functions
customiseStuckTBMSimulation Namespace Reference

Functions

def activateStuckTBMSimulation2018NoPU (process)
 

Function Documentation

def customiseStuckTBMSimulation.activateStuckTBMSimulation2018NoPU (   process)

Definition at line 6 of file customiseStuckTBMSimulation.py.

References edm.print().

7 
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)
11 
12  if not hasattr(process.GlobalTag,'toGet'):
13  process.GlobalTag.toGet=cms.VPSet()
14 
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')
21  )
22  )
23  )
24  return process
25 
26 
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66