CMS 3D CMS Logo

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

Functions

def ageEcal
 
def ageHcal
 
def agePixel
 clone aging.py here More...
 
def cust_2017
 
def cust_2019
 
def cust_2019WithGem
 
def cust_2023HGCal
 
def cust_2023HGCal_common
 
def cust_2023HGCalMuon
 
def cust_2023MuonOnly
 
def customise_aging_100
 
def customise_aging_1000
 
def customise_aging_200
 
def customise_aging_300
 
def customise_aging_3000
 
def customise_aging_400
 
def customise_aging_500
 
def customise_aging_600
 
def customise_aging_700
 
def customise_aging_ecalonly_1000
 
def customise_aging_ecalonly_300
 
def customise_aging_ecalonly_3000
 
def customise_aging_newpixel_1000
 
def customise_aging_newpixel_3000
 
def ecal_complete_aging
 
def ecal_complete_aging_1000
 
def ecal_complete_aging_300
 
def ecal_complete_aging_3000
 
def fixEcalConditions_100
 
def fixEcalConditions_1000
 
def fixEcalConditions_150
 
def fixEcalConditions_200
 
def fixEcalConditions_300
 
def fixEcalConditions_3000
 
def fixEcalConditions_500
 
def hf_complete_aging
 
def noCrossing
 
def turn_off_HE_aging
 
def turn_off_HF_aging
 
def turn_off_Pixel_aging
 
def turn_on_Pixel_aging_1000
 

Function Documentation

def combinedCustoms.ageEcal (   process,
  lumi 
)

Definition at line 101 of file combinedCustoms.py.

References aging.ageEcal().

102 def ageEcal(process,lumi):
103  process=aging.ageEcal(process,lumi)
104  return process
def ageEcal
Definition: aging.py:42
def combinedCustoms.ageHcal (   process,
  lumi 
)

Definition at line 97 of file combinedCustoms.py.

References aging.ageHcal().

97 
98 def ageHcal(process,lumi):
99  process=aging.ageHcal(process,lumi)
100  return process
def ageHcal
Definition: aging.py:18
def combinedCustoms.agePixel (   process,
  lumi 
)

clone aging.py here

Definition at line 93 of file combinedCustoms.py.

93 
94 def agePixel(process,lumi):
95  process=process.agePixel(process,lumi)
96  return process
def agePixel
clone aging.py here
def combinedCustoms.cust_2017 (   process)

Definition at line 17 of file combinedCustoms.py.

References postLS1Customs.customisePostLS1().

17 
18 def cust_2017(process):
19  # To allow simulatenous use of customisation and era while the era migration is in progress
20  if not eras.run2_common.isChosen():
21  process=customisePostLS1(process,displayDeprecationWarning=False)
22  process=customisePhase1Tk(process)
23  #process=customise_HcalPhase0(process)
24  return process
def combinedCustoms.cust_2019 (   process)

Definition at line 25 of file combinedCustoms.py.

References HCalCustoms.customise_HcalPhase1(), and postLS1Customs.customisePostLS1().

Referenced by cust_2019WithGem().

25 
26 def cust_2019(process):
27  process=customisePostLS1(process,displayDeprecationWarning=False)
28  process=customisePhase1Tk(process)
29  process=customise_HcalPhase1(process)
30  return process
def customise_HcalPhase1
Definition: HCalCustoms.py:24
def combinedCustoms.cust_2019WithGem (   process)

Definition at line 31 of file combinedCustoms.py.

References cust_2019().

31 
32 def cust_2019WithGem(process):
33  process=cust_2019(process)
34  process=customise_gem2019(process)
35  return process
def combinedCustoms.cust_2023HGCal (   process)

Definition at line 83 of file combinedCustoms.py.

References cust_2023HGCal_common().

83 
84 def cust_2023HGCal(process):
85  process = cust_2023HGCal_common(process)
86  return process
def combinedCustoms.cust_2023HGCal_common (   process)

Definition at line 46 of file combinedCustoms.py.

References HCalCustoms.customise_HcalPhase1(), and fixMissingUpgradeGTPayloads.fixRPCConditions().

Referenced by cust_2023HGCal(), and cust_2023HGCalMuon().

46 
47 def cust_2023HGCal_common(process):
48  process = customise_rpc(process)
49  process = fixRPCConditions(process)
50  process = customise_HcalPhase1(process)
51  process = customisePhase1Tk(process)
52  if hasattr(process,'L1simulation_step'):
53  process.simEcalTriggerPrimitiveDigis.BarrelOnly = cms.bool(True)
54  if hasattr(process,'digitisation_step'):
55  if hasattr(process.mix.digitizers,'ecal'):
56  process.mix.digitizers.ecal.doEE = cms.bool(False)
57  process.mix.digitizers.ecal.doES = cms.bool(False)
58  process.load('SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi')
59  process.mix.digitizers.hgceeDigitizer=process.hgceeDigitizer
60  process.mix.digitizers.hgchebackDigitizer=process.hgchebackDigitizer
61  process.mix.digitizers.hgchefrontDigitizer=process.hgchefrontDigitizer
62  # update the HCAL Endcap for BH geom.
63  newFactors = cms.vdouble(
64  210.55, 197.93, 186.12, 189.64, 189.63,
65  189.96, 190.03, 190.11, 190.18, 190.25,
66  190.32, 190.40, 190.47, 190.54, 190.61,
67  190.69, 190.83, 190.94, 190.94, 190.94,
68  190.94, 190.94, 190.94, 190.94, 190.94,
69  190.94, 190.94, 190.94, 190.94, 190.94,
70  190.94, 190.94, 190.94, 190.94, 190.94,
71  190.94, 190.94, 190.94, 190.94, 190.94)
72  process.mix.digitizers.hcal.he.samplingFactors = newFactors
73  process.mix.digitizers.hcal.he.photoelectronsToAnalog = cms.vdouble([10.]*len(newFactors))
74  # Also need to tell the MixingModule to make the correct collections available from
75  # the pileup, even if not creating CrossingFrames.
76  process.mix.mixObjects.mixCH.input.append( cms.InputTag("g4SimHits",process.hgceeDigitizer.hitCollection.value()) )
77  process.mix.mixObjects.mixCH.input.append( cms.InputTag("g4SimHits",process.hgchebackDigitizer.hitCollection.value()) )
78  process.mix.mixObjects.mixCH.input.append( cms.InputTag("g4SimHits",process.hgchefrontDigitizer.hitCollection.value()) )
79  process.mix.mixObjects.mixCH.subdets.append( process.hgceeDigitizer.hitCollection.value() )
80  process.mix.mixObjects.mixCH.subdets.append( process.hgchebackDigitizer.hitCollection.value() )
81  process.mix.mixObjects.mixCH.subdets.append( process.hgchefrontDigitizer.hitCollection.value() )
82  return process
def customise_HcalPhase1
Definition: HCalCustoms.py:24
def combinedCustoms.cust_2023HGCalMuon (   process)

Definition at line 87 of file combinedCustoms.py.

References cust_2023HGCal_common().

87 
88 def cust_2023HGCalMuon(process):
89  process = customise_me0(process)
90  process = cust_2023HGCal_common(process)
91  return process
def combinedCustoms.cust_2023MuonOnly (   process)

Definition at line 36 of file combinedCustoms.py.

References fixMissingUpgradeGTPayloads.fixRPCConditions().

36 
37 def cust_2023MuonOnly(process):
38  process=customise_gem2023(process)
39  process=customise_rpc(process)
40  process=fixRPCConditions(process)
41  return process
def combinedCustoms.customise_aging_100 (   process)

Definition at line 105 of file combinedCustoms.py.

References aging.customise_aging_100().

106 def customise_aging_100(process):
107  process=aging.customise_aging_100(process)
108  return process
def customise_aging_100
Definition: aging.py:54
def combinedCustoms.customise_aging_1000 (   process)

Definition at line 134 of file combinedCustoms.py.

References aging.customise_aging_1000().

135 def customise_aging_1000(process):
136  process=aging.customise_aging_1000(process)
137  return process
def customise_aging_1000
Definition: aging.py:103
def combinedCustoms.customise_aging_200 (   process)

Definition at line 109 of file combinedCustoms.py.

References aging.customise_aging_200().

110 def customise_aging_200(process):
111  process=aging.customise_aging_200(process)
112  return process
def customise_aging_200
Definition: aging.py:61
def combinedCustoms.customise_aging_300 (   process)

Definition at line 113 of file combinedCustoms.py.

References aging.customise_aging_300().

114 def customise_aging_300(process):
115  process=aging.customise_aging_300(process)
116  return process
def customise_aging_300
Definition: aging.py:68
def combinedCustoms.customise_aging_3000 (   process)

Definition at line 138 of file combinedCustoms.py.

References aging.customise_aging_3000().

139 def customise_aging_3000(process):
140  process=aging.customise_aging_3000(process)
141  return process
def customise_aging_3000
Definition: aging.py:110
def combinedCustoms.customise_aging_400 (   process)

Definition at line 117 of file combinedCustoms.py.

References aging.customise_aging_400().

118 def customise_aging_400(process):
119  process=aging.customise_aging_400(process)
120  return process
def customise_aging_400
Definition: aging.py:75
def combinedCustoms.customise_aging_500 (   process)

Definition at line 121 of file combinedCustoms.py.

References aging.customise_aging_500().

122 def customise_aging_500(process):
123  process=aging.customise_aging_500(process)
124  return process
def customise_aging_500
Definition: aging.py:82
def combinedCustoms.customise_aging_600 (   process)

Definition at line 125 of file combinedCustoms.py.

References aging.customise_aging_600().

126 def customise_aging_600(process):
127  process=aging.customise_aging_600(process)
128  return process
def customise_aging_600
Definition: aging.py:89
def combinedCustoms.customise_aging_700 (   process)

Definition at line 129 of file combinedCustoms.py.

References aging.customise_aging_700().

130 def customise_aging_700(process):
131  process=aging.customise_aging_700(process)
132  return process
133 
def customise_aging_700
Definition: aging.py:96
def combinedCustoms.customise_aging_ecalonly_1000 (   process)

Definition at line 146 of file combinedCustoms.py.

References aging.customise_aging_ecalonly_1000().

147 def customise_aging_ecalonly_1000(process):
148  process=aging.customise_aging_ecalonly_1000(process)
149  return process
def customise_aging_ecalonly_1000
Definition: aging.py:122
def customise_aging_ecalonly_1000
def combinedCustoms.customise_aging_ecalonly_300 (   process)

Definition at line 142 of file combinedCustoms.py.

References aging.customise_aging_ecalonly_300().

143 def customise_aging_ecalonly_300(process):
144  process=aging.customise_aging_ecalonly_300(process)
145  return process
def customise_aging_ecalonly_300
def customise_aging_ecalonly_300
Definition: aging.py:117
def combinedCustoms.customise_aging_ecalonly_3000 (   process)

Definition at line 150 of file combinedCustoms.py.

References aging.customise_aging_ecalonly_3000().

151 def customise_aging_ecalonly_3000(process):
152  process=aging.customise_aging_ecalonly_3000(process)
153  return process
def customise_aging_ecalonly_3000
def customise_aging_ecalonly_3000
Definition: aging.py:127
def combinedCustoms.customise_aging_newpixel_1000 (   process)

Definition at line 154 of file combinedCustoms.py.

References aging.customise_aging_newpixel_1000().

155 def customise_aging_newpixel_1000(process):
156  process=aging.customise_aging_newpixel_1000(process)
157  return process
def customise_aging_newpixel_1000
Definition: aging.py:132
def customise_aging_newpixel_1000
def combinedCustoms.customise_aging_newpixel_3000 (   process)

Definition at line 158 of file combinedCustoms.py.

References aging.customise_aging_newpixel_3000().

159 def customise_aging_newpixel_3000(process):
160  process=aging.customise_aging_newpixel_3000(process)
161  return process
def customise_aging_newpixel_3000
Definition: aging.py:138
def customise_aging_newpixel_3000
def combinedCustoms.ecal_complete_aging (   process)

Definition at line 162 of file combinedCustoms.py.

References aging.ecal_complete_aging().

163 def ecal_complete_aging(process):
164  process=aging.ecal_complete_aging(process)
165  return process
def ecal_complete_aging
Definition: aging.py:153
def combinedCustoms.ecal_complete_aging_1000 (   process)

Definition at line 190 of file combinedCustoms.py.

References aging.ecal_complete_aging_1000().

191 def ecal_complete_aging_1000(process):
192  process=aging.ecal_complete_aging_1000(process)
193  return process
def ecal_complete_aging_1000
Definition: aging.py:225
def combinedCustoms.ecal_complete_aging_300 (   process)

Definition at line 186 of file combinedCustoms.py.

References aging.ecal_complete_aging_300().

187 def ecal_complete_aging_300(process):
188  process=aging.ecal_complete_aging_300(process)
189  return process
def ecal_complete_aging_300
Definition: aging.py:191
def combinedCustoms.ecal_complete_aging_3000 (   process)

Definition at line 194 of file combinedCustoms.py.

References aging.ecal_complete_aging_3000().

195 def ecal_complete_aging_3000(process):
196  process=aging.ecal_complete_aging_3000(process)
197  return process
def ecal_complete_aging_3000
Definition: aging.py:259
def combinedCustoms.fixEcalConditions_100 (   process)

Definition at line 217 of file combinedCustoms.py.

218 def fixEcalConditions_100(process):
219  if not hasattr(process.GlobalTag,'toGet'):
220  process.GlobalTag.toGet=cms.VPSet()
221  process.GlobalTag.toGet.extend( cms.VPSet(
222  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
223  tag = cms.string("EcalSRSettings_TL100_mc"),
224  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
225  )
226  )
227  )
228  process.GlobalTag.toGet.extend( cms.VPSet(
229  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
230  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
231  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
232  )
233  )
234  )
235  return process
def combinedCustoms.fixEcalConditions_1000 (   process)

Definition at line 293 of file combinedCustoms.py.

294 def fixEcalConditions_1000(process):
295  if not hasattr(process.GlobalTag,'toGet'):
296  process.GlobalTag.toGet=cms.VPSet()
297  process.GlobalTag.toGet.extend( cms.VPSet(
298  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
299  tag = cms.string("EcalSRSettings_TL1000_mc"),
300  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
301  )
302  )
303  )
304  process.GlobalTag.toGet.extend( cms.VPSet(
305  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
306  tag = cms.string("EcalTPGLutIdMap_beamv5_3GeV_upgrade_mc"),
307  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
308  )
309  )
310  )
311  return process
def combinedCustoms.fixEcalConditions_150 (   process)

Definition at line 198 of file combinedCustoms.py.

199 def fixEcalConditions_150(process):
200  if not hasattr(process.GlobalTag,'toGet'):
201  process.GlobalTag.toGet=cms.VPSet()
202  process.GlobalTag.toGet.extend( cms.VPSet(
203  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
204  tag = cms.string("EcalSRSettings_TL150_mc"),
205  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
206  )
207  )
208  )
209  process.GlobalTag.toGet.extend( cms.VPSet(
210  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
211  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
212  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
213  )
214  )
215  )
216  return process
def combinedCustoms.fixEcalConditions_200 (   process)

Definition at line 236 of file combinedCustoms.py.

237 def fixEcalConditions_200(process):
238  if not hasattr(process.GlobalTag,'toGet'):
239  process.GlobalTag.toGet=cms.VPSet()
240  process.GlobalTag.toGet.extend( cms.VPSet(
241  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
242  tag = cms.string("EcalSRSettings_TL200_mc"),
243  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
244  )
245  )
246  )
247  process.GlobalTag.toGet.extend( cms.VPSet(
248  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
249  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
250  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
251  )
252  )
253  )
254  return process
def combinedCustoms.fixEcalConditions_300 (   process)

Definition at line 255 of file combinedCustoms.py.

256 def fixEcalConditions_300(process):
257  if not hasattr(process.GlobalTag,'toGet'):
258  process.GlobalTag.toGet=cms.VPSet()
259  process.GlobalTag.toGet.extend( cms.VPSet(
260  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
261  tag = cms.string("EcalSRSettings_TL300_mc"),
262  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
263  )
264  )
265  )
266  process.GlobalTag.toGet.extend( cms.VPSet(
267  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
268  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
269  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
270  )
271  )
272  )
273  return process
def combinedCustoms.fixEcalConditions_3000 (   process)

Definition at line 312 of file combinedCustoms.py.

313 def fixEcalConditions_3000(process):
314  if not hasattr(process.GlobalTag,'toGet'):
315  process.GlobalTag.toGet=cms.VPSet()
316  process.GlobalTag.toGet.extend( cms.VPSet(
317  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
318  tag = cms.string("EcalSRSettings_TL3000_mc"),
319  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
320  )
321  )
322  )
323  process.GlobalTag.toGet.extend( cms.VPSet(
324  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
325  tag = cms.string("EcalTPGLutIdMap_beamv5_4GeV_upgrade_mc"),
326  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
327  )
328  )
329  )
330  return process
def combinedCustoms.fixEcalConditions_500 (   process)

Definition at line 274 of file combinedCustoms.py.

275 def fixEcalConditions_500(process):
276  if not hasattr(process.GlobalTag,'toGet'):
277  process.GlobalTag.toGet=cms.VPSet()
278  process.GlobalTag.toGet.extend( cms.VPSet(
279  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
280  tag = cms.string("EcalSRSettings_TL500_mc"),
281  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
282  )
283  )
284  )
285  process.GlobalTag.toGet.extend( cms.VPSet(
286  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
287  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
288  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
289  )
290  )
291  )
292  return process
def combinedCustoms.hf_complete_aging (   process)

Definition at line 182 of file combinedCustoms.py.

References aging.hf_complete_aging().

183 def hf_complete_aging(process):
184  process=aging.hf_complete_aging(process)
185  return process
def hf_complete_aging
Definition: aging.py:146
def combinedCustoms.noCrossing (   process)

Definition at line 42 of file combinedCustoms.py.

References customise_mixing.customise_NoCrossing().

42 
43 def noCrossing(process):
44  process=customise_NoCrossing(process)
45  return process
def combinedCustoms.turn_off_HE_aging (   process)

Definition at line 166 of file combinedCustoms.py.

References aging.turn_off_HE_aging().

167 def turn_off_HE_aging(process):
168  process=aging.turn_off_HE_aging(process)
169  return process
def turn_off_HE_aging
Definition: aging.py:160
def combinedCustoms.turn_off_HF_aging (   process)

Definition at line 170 of file combinedCustoms.py.

References aging.turn_off_HF_aging().

171 def turn_off_HF_aging(process):
172  process=aging.turn_off_HF_aging(process)
173  return process
def turn_off_HF_aging
Definition: aging.py:167
def combinedCustoms.turn_off_Pixel_aging (   process)

Definition at line 174 of file combinedCustoms.py.

References aging.turn_off_Pixel_aging().

175 def turn_off_Pixel_aging(process):
176  process=aging.turn_off_Pixel_aging(process)
177  return process
def turn_off_Pixel_aging
Definition: aging.py:176
def combinedCustoms.turn_on_Pixel_aging_1000 (   process)

Definition at line 178 of file combinedCustoms.py.

References aging.turn_on_Pixel_aging_1000().

179 def turn_on_Pixel_aging_1000(process):
180  process=aging.turn_on_Pixel_aging_1000(process)
181  return process
def turn_on_Pixel_aging_1000
Definition: aging.py:183