1 import FWCore.ParameterSet.Config
as cms
9 if hasattr(process,
'mix')
and hasattr(process.mix,
'digitizers')
and hasattr(process.mix.digitizers,
'pixel'):
10 if hasattr(process.mix.digitizers.pixel,
'PixelDigitizerAlgorithm'):
11 print(
"# Activating signal shape emulation in IT pixel (planar)")
12 process.mix.digitizers.pixel.PixelDigitizerAlgorithm.ApplyTimewalk =
True 13 if hasattr(process.mix.digitizers.pixel,
'Pixel3DDigitizerAlgorithm'):
14 print(
"# Activating signal shape emulation in IT pixel (3D)")
15 process.mix.digitizers.pixel.Pixel3DDigitizerAlgorithm.ApplyTimewalk =
True 19 if hasattr(process,
"mixData")
and hasattr(process.mixData,
"workers")
and hasattr(process.mixData.workers,
"pixel"):
20 if hasattr(process.mixData.workers.pixel,
'PixelDigitizerAlgorithm'):
21 print(
"# Activating signal shape emulation in IT pixel (planar)")
22 process.mixData.workers.pixel.PixelDigitizerAlgorithm.ApplyTimewalk =
True 23 if hasattr(process.mixData.workers.pixel,
'Pixel3DDigitizerAlgorithm'):
24 print(
"# Activating signal shape emulation in IT pixel (3D)")
25 process.mixData.workers.pixel.Pixel3DDigitizerAlgorithm.ApplyTimewalk =
True def customizeSiPhase2ITSignalShape(process)
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)