CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
SiPixelSimParameters_cfi Namespace Reference

Functions

def _modifyPixelDigitizerForPhase1Pixel
 
def _modifyPixelDigitizerForPhase1PixelWithPileup
 
def _modifyPixelDigitizerForRun2Bunchspacing25
 
def _modifyPixelDigitizerForRun2Bunchspacing50
 

Variables

tuple modifySimGeneralMixingModuleSiPixelSimParametersForPhase1WithPileup_ = eras.phase1Pixel.makeProcessModifier( _modifyPixelDigitizerForPhase1PixelWithPileup )
 
tuple SiPixelSimBlock
 

Function Documentation

def SiPixelSimParameters_cfi._modifyPixelDigitizerForPhase1Pixel (   digitizer)
private
Function that modifies the pixel digitiser for the Phase 1 pixel detector.

First argument is the pixelDigitizer object.

Definition at line 37 of file SiPixelSimParameters_cfi.py.

37 
38 def _modifyPixelDigitizerForPhase1Pixel( digitizer ) :
39  """
40  Function that modifies the pixel digitiser for the Phase 1 pixel detector.
41 
42  First argument is the pixelDigitizer object.
43  """
44  digitizer.MissCalibrate = False
45  digitizer.LorentzAngle_DB = False
46  digitizer.killModules = False
47  digitizer.useDB = False
48  digitizer.DeadModules_DB = False
49  digitizer.NumPixelBarrel = cms.int32(4)
50  digitizer.NumPixelEndcap = cms.int32(3)
51  digitizer.ThresholdInElectrons_FPix = cms.double(2000.0)
52  digitizer.ThresholdInElectrons_BPix = cms.double(2000.0)
53  digitizer.ThresholdInElectrons_BPix_L1 = cms.double(2000.0)
54  digitizer.thePixelColEfficiency_BPix1 = cms.double(0.999)
55  digitizer.thePixelColEfficiency_BPix2 = cms.double(0.999)
56  digitizer.thePixelColEfficiency_BPix3 = cms.double(0.999)
57  digitizer.thePixelColEfficiency_BPix4 = cms.double(0.999)
58  digitizer.thePixelEfficiency_BPix1 = cms.double(0.999)
59  digitizer.thePixelEfficiency_BPix2 = cms.double(0.999)
60  digitizer.thePixelEfficiency_BPix3 = cms.double(0.999)
61  digitizer.thePixelEfficiency_BPix4 = cms.double(0.999)
62  digitizer.thePixelChipEfficiency_BPix1 = cms.double(0.999)
63  digitizer.thePixelChipEfficiency_BPix2 = cms.double(0.999)
64  digitizer.thePixelChipEfficiency_BPix3 = cms.double(0.999)
65  digitizer.thePixelChipEfficiency_BPix4 = cms.double(0.999)
66  digitizer.thePixelColEfficiency_FPix1 = cms.double(0.999)
67  digitizer.thePixelColEfficiency_FPix2 = cms.double(0.999)
68  digitizer.thePixelColEfficiency_FPix3 = cms.double(0.999)
69  digitizer.thePixelEfficiency_FPix1 = cms.double(0.999)
70  digitizer.thePixelEfficiency_FPix2 = cms.double(0.999)
71  digitizer.thePixelEfficiency_FPix3 = cms.double(0.999)
72  digitizer.thePixelChipEfficiency_FPix1 = cms.double(0.999)
73  digitizer.thePixelChipEfficiency_FPix2 = cms.double(0.999)
74  digitizer.thePixelChipEfficiency_FPix3 = cms.double(0.999)
75  # something broken in the configs above - turn off for now
76  digitizer.AddPixelInefficiency = cms.bool(False)
def SiPixelSimParameters_cfi._modifyPixelDigitizerForPhase1PixelWithPileup (   processObject)
private
Function that checks if there is pileup being used then modifies the
pixel digitiser for the Phase 1 pixel detector accordingly.

First argument is the "process" object. This function can only be applied
with a <era>.makeProcessModifier() command, since it can only be applied
at the end because the number of pileup interactions is not known yet.

Definition at line 77 of file SiPixelSimParameters_cfi.py.

77 
79  """
80  Function that checks if there is pileup being used then modifies the
81  pixel digitiser for the Phase 1 pixel detector accordingly.
82 
83  First argument is the "process" object. This function can only be applied
84  with a <era>.makeProcessModifier() command, since it can only be applied
85  at the end because the number of pileup interactions is not known yet.
86  """
87  if hasattr(processObject,'mix'):
88  n=0
89  if hasattr(processObject.mix,'input'):
90  n=processObject.mix.input.nbPileupEvents.averageNumber.value()
91  if n>0:
92  processObject.mix.digitizers.pixel.thePixelColEfficiency_BPix1 = cms.double(1.0-(0.0238*n/50.0))
93  processObject.mix.digitizers.pixel.thePixelColEfficiency_BPix2 = cms.double(1.0-(0.0046*n/50.0))
94  processObject.mix.digitizers.pixel.thePixelColEfficiency_BPix3 = cms.double(1.0-(0.0018*n/50.0))
95  processObject.mix.digitizers.pixel.thePixelColEfficiency_BPix4 = cms.double(1.0-(0.0008*n/50.0))
96  processObject.mix.digitizers.pixel.thePixelColEfficiency_FPix1 = cms.double(1.0-(0.0018*n/50.0))
97  processObject.mix.digitizers.pixel.thePixelColEfficiency_FPix2 = cms.double(1.0-(0.0018*n/50.0))
98  processObject.mix.digitizers.pixel.thePixelColEfficiency_FPix3 = cms.double(1.0-(0.0018*n/50.0))
99 
def SiPixelSimParameters_cfi._modifyPixelDigitizerForRun2Bunchspacing25 (   digitizer)
private
Function that modifies the pixel digitiser for Run 2 with 25ns bunchspacing.
First argument is the pixelDigitizer object.

Definition at line 8 of file SiPixelSimParameters_cfi.py.

8 
10  """
11  Function that modifies the pixel digitiser for Run 2 with 25ns bunchspacing.
12  First argument is the pixelDigitizer object.
13  """
14  # DynamicInefficency - 13TeV - 25ns case
15  digitizer.theInstLumiScaleFactor = cms.double(364)
16  digitizer.theLadderEfficiency_BPix1 = cms.vdouble( [1]*20 ) # this syntax makes an array with 20 copies of "1"
17  digitizer.theLadderEfficiency_BPix2 = cms.vdouble( [1]*32 )
18  digitizer.theLadderEfficiency_BPix3 = cms.vdouble( [1]*44 )
19  digitizer.theModuleEfficiency_BPix1 = cms.vdouble( 1, 1, 1, 1, )
20  digitizer.theModuleEfficiency_BPix2 = cms.vdouble( 1, 1, 1, 1, )
21  digitizer.theModuleEfficiency_BPix3 = cms.vdouble( 1, 1, 1, 1 )
22  digitizer.thePUEfficiency_BPix1 = cms.vdouble( 1.00023, -3.18350e-06, 5.08503e-10, -6.79785e-14 )
23  digitizer.thePUEfficiency_BPix2 = cms.vdouble( 9.99974e-01, -8.91313e-07, 5.29196e-12, -2.28725e-15 )
24  digitizer.thePUEfficiency_BPix3 = cms.vdouble( 1.00005, -6.59249e-07, 2.75277e-11, -1.62683e-15 )
def SiPixelSimParameters_cfi._modifyPixelDigitizerForRun2Bunchspacing50 (   digitizer)
private
Function that modifies the pixel digitiser for Run 2 with 50ns bunchspacing.

First argument is the pixelDigitizer object.

Definition at line 25 of file SiPixelSimParameters_cfi.py.

25 
27  """
28  Function that modifies the pixel digitiser for Run 2 with 50ns bunchspacing.
29 
30  First argument is the pixelDigitizer object.
31  """
32  # DynamicInefficency - 13TeV - 50ns case
33  digitizer.theInstLumiScaleFactor = cms.double(246.4)
34  digitizer.theLadderEfficiency_BPix1 = cms.vdouble( [0.979259,0.976677]*10 ) # This syntax makes a 20 element array of alternating numbers
35  digitizer.theLadderEfficiency_BPix2 = cms.vdouble( [0.994321,0.993944]*16 )
36  digitizer.theLadderEfficiency_BPix3 = cms.vdouble( [0.996787,0.996945]*22 )

Variable Documentation

tuple SiPixelSimParameters_cfi.modifySimGeneralMixingModuleSiPixelSimParametersForPhase1WithPileup_ = eras.phase1Pixel.makeProcessModifier( _modifyPixelDigitizerForPhase1PixelWithPileup )

Definition at line 228 of file SiPixelSimParameters_cfi.py.

tuple SiPixelSimParameters_cfi.SiPixelSimBlock

Definition at line 100 of file SiPixelSimParameters_cfi.py.