CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Functions
customizeForPhase2TrackerSignalShape Namespace Reference

Functions

def customizeSiPhase2ITSignalShape (process)
 

Function Documentation

◆ customizeSiPhase2ITSignalShape()

def customizeForPhase2TrackerSignalShape.customizeSiPhase2ITSignalShape (   process)

Definition at line 7 of file customizeForPhase2TrackerSignalShape.py.

References print().

8 
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
16 
17 
18 
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
26 
27  return process
28 
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47