CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
hgcSensorOpParams_cfi Namespace Reference

Functions

def hgcSiSensorCCE
 
def hgcSiSensorIleak
 

Function Documentation

def hgcSensorOpParams_cfi.hgcSiSensorCCE (   sensor,
  version 
)
this method returns different parameterizations of the charge collection efficiency (CCE)
for different sensor types (sensor) and measurement versions (version)
sensor = 120,200,300
version = TDR_{600V,800V}   - TDR based measurements at different voltages
          TTU_{600V,800V}   - Texas Tech based measurements at different voltages
          CERN21_{600V,800V}_{annealing} -  CERN2021 based measurements at different voltages and annealing times
if the pair (sensor,version) is unknown a ValueError exception is raised

Definition at line 36 of file hgcSensorOpParams_cfi.py.

Referenced by hgcalDigitizer_cfi.HGCal_setEndOfLifeNoise_1500(), and hgcalDigitizer_cfi.HGCal_setEndOfLifeNoise_4000().

36 
37 def hgcSiSensorCCE(sensor,version):
38 
39  """
40  this method returns different parameterizations of the charge collection efficiency (CCE)
41  for different sensor types (sensor) and measurement versions (version)
42  sensor = 120,200,300
43  version = TDR_{600V,800V} - TDR based measurements at different voltages
44  TTU_{600V,800V} - Texas Tech based measurements at different voltages
45  CERN21_{600V,800V}_{annealing} - CERN2021 based measurements at different voltages and annealing times
46  if the pair (sensor,version) is unknown a ValueError exception is raised
47  """
48 
49  if version=='TDR_600V':
50  if sensor==120 : return [3.5e+15,10.31,-0.2635]
51  elif sensor==200: return [9e+14,8.99,-0.241]
52  elif sensor==300: return [3e+14,10.16,-0.2823]
53  elif version=='TDR_800V':
54  if sensor==120 : return [3.5e+15,10.39,-0.2638]
55  elif sensor==200: return [1.5e+15,10.41,-0.2779]
56  elif sensor==300: return [5e+14,12.59,-0.3501]
57  elif version=='CERN21_600V_10m':
58  if sensor==120 : return [1.35e+15,9.591,-0.2452]
59  elif sensor==200: return [9e+14,11.95,-0.3186]
60  elif sensor==300: return [5.85e+14,9.701,-0.2668]
61  elif version=='CERN21_600V_30m':
62  if sensor==120 : return [1.35e+15,8.362,-0.2105]
63  elif sensor==200: return [9e+14,15.48,-0.4191 ]
64  elif sensor==300: return [5.85e+14,9.89,-0.2699]
65  elif version=='CERN21_600V_90m':
66  if sensor==120 : return [1.35e+15,7.769,-0.1954]
67  elif sensor==200: return [9e+14,8.983,-0.2354]
68  elif sensor==300: return [5.85e+14,8.79,-0.2377]
69  elif version=='CERN21_600V_120m':
70  if sensor==120 : return [1.35e+15,7.119,-0.1775]
71  elif sensor==200: return [9e+14,8.647,-0.2257 ]
72  elif sensor==300: return [5.85e+14,9.369,-0.2544]
73  elif version=='CERN21_800V_10m':
74  if sensor==120 : return [1.35e+15,8.148,-0.2031]
75  elif sensor==200: return [9e+14,7.32,-0.1833]
76  elif sensor==300: return [5.85e+14,11.45,-0.3131]
77  elif version=='CERN21_800V_30m':
78  if sensor==120 : return [1.35e+15,7.097,-0.1731]
79  elif sensor==200: return [9e+14,13.68,-0.3653]
80  elif sensor==300: return [5.85e+14, 10,-0.269]
81  elif version=='CERN21_800V_90m':
82  if sensor==120 : return [1.35e+15,6.387,-0.155]
83  elif sensor==200: return [9e+14,7.739,-0.198]
84  elif sensor==300: return [5.85e+14,7.701,-0.2023]
85  elif version=='CERN21_800V_120m':
86  if sensor==120 : return [1.35e+15,5.997,-0.1443]
87  elif sensor==200: return [9e+14,7.172,-0.1821]
88  elif sensor==300: return [5.85e+14,7.855,-0.2068]
89 
90  raise ValueError('sensor={} version={} is unknown to retrieve CCE parameterization for HGC Si sensors'.format(sensor,version))
def hgcSensorOpParams_cfi.hgcSiSensorIleak (   version)
this method returns different parameterizations of the leakage current for different versions
TDR_{600V,800V} - TDR based parameterizations for operations at -30C and 600V or 800V
CERN21_{600V,800V}_{annealing} - 2021 CERN-based parameterizations for operations at -30C, 600V or 800V and different annealing times
if version is unknown a ValueError exception is raised

Definition at line 3 of file hgcSensorOpParams_cfi.py.

Referenced by hgcalDigitizer_cfi.HGCal_setEndOfLifeNoise_1500(), and hgcalDigitizer_cfi.HGCal_setEndOfLifeNoise_4000().

3 
4 def hgcSiSensorIleak(version):
5 
6  """
7  this method returns different parameterizations of the leakage current for different versions
8  TDR_{600V,800V} - TDR based parameterizations for operations at -30C and 600V or 800V
9  CERN21_{600V,800V}_{annealing} - 2021 CERN-based parameterizations for operations at -30C, 600V or 800V and different annealing times
10  if version is unknown a ValueError exception is raised
11  """
12 
13  if version=='TDR_600V':
14  return [0.993,-42.668]
15  elif version=='TDR_800V':
16  return [0.996,-42.464]
17  elif version=='CERN21_600V_10m':
18  return [1.0,-42.457]
19  elif version=='CERN21_600V_30m':
20  return [1.0,-42.569]
21  elif version=='CERN21_600V_90m':
22  return [1.0,-42.715]
23  elif version=='CERN21_600V_120m':
24  return [1.0,-42.741]
25  elif version=='CERN21_800V_10m':
26  return [1.0,-42.267]
27  elif version=='CERN21_800V_30m':
28  return [1.0,-42.369]
29  elif version=='CERN21_800V_90m':
30  return [1.0,-42.509]
31  elif version=='CERN21_800V_120m':
32  return [1.0,-42.530]
33 
34  raise ValueError('version={} is unknown to retrieve Ileak parameterization for HGC Si sensors'.format(version))
35