CMS 3D CMS Logo

combinedCustoms.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from SLHCUpgradeSimulations.Configuration.postLS1Customs import customisePostLS1
3 from SLHCUpgradeSimulations.Configuration.customise_mixing import customise_NoCrossing
4 from SLHCUpgradeSimulations.Configuration.phase1TkCustoms import customise as customisePhase1Tk
5 from SLHCUpgradeSimulations.Configuration.HCalCustoms import customise_HcalPhase1, customise_HcalPhase0
6 from SLHCUpgradeSimulations.Configuration.fixMissingUpgradeGTPayloads import fixRPCConditions
7 
8 import SLHCUpgradeSimulations.Configuration.aging as aging
9 
10 def cust_2019(process):
11  process=customisePostLS1(process,displayDeprecationWarning=False)
12  process=customisePhase1Tk(process)
13  process=customise_HcalPhase1(process)
14  return process
15 
16 def cust_2023MuonOnly(process):
17  process=fixRPCConditions(process)
18  return process
19 
20 def noCrossing(process):
21  process=customise_NoCrossing(process)
22  return process
23 
24 def cust_2023HGCal_common(process):
25  return process
26 
27 def cust_2023HGCal(process):
28  process = cust_2023HGCal_common(process)
29  return process
30 
31 def cust_2023HGCalMuon(process):
32  process = cust_2023HGCal_common(process)
33  return process
34 
35 ##### clone aging.py here
36 def agePixel(process,lumi):
37  process=process.agePixel(process,lumi)
38  return process
39 
40 def ageHcal(process,lumi):
41  process=aging.ageHcal(process,lumi)
42  return process
43 
44 def ageEcal(process,lumi):
45  process=aging.ageEcal(process,lumi)
46  return process
47 
48 def customise_aging_100(process):
49  process=aging.customise_aging_100(process)
50  return process
51 
52 def customise_aging_200(process):
53  process=aging.customise_aging_200(process)
54  return process
55 
56 def customise_aging_300(process):
57  process=aging.customise_aging_300(process)
58  return process
59 
60 def customise_aging_400(process):
61  process=aging.customise_aging_400(process)
62  return process
63 
64 def customise_aging_500(process):
65  process=aging.customise_aging_500(process)
66  return process
67 
68 def customise_aging_600(process):
69  process=aging.customise_aging_600(process)
70  return process
71 
72 def customise_aging_700(process):
73  process=aging.customise_aging_700(process)
74  return process
75 
76 
77 def customise_aging_1000(process):
78  process=aging.customise_aging_1000(process)
79  return process
80 
81 def customise_aging_3000(process):
82  process=aging.customise_aging_3000(process)
83  return process
84 
86  process=aging.customise_aging_ecalonly_300(process)
87  return process
88 
91  return process
92 
95  return process
96 
99  return process
100 
102  process=aging.customise_aging_newpixel_3000(process)
103  return process
104 
105 def ecal_complete_aging(process):
106  process=aging.ecal_complete_aging(process)
107  return process
108 
109 def turn_off_HE_aging(process):
110  process=aging.turn_off_HE_aging(process)
111  return process
112 
113 def turn_off_HF_aging(process):
114  process=aging.turn_off_HF_aging(process)
115  return process
116 
117 def turn_off_Pixel_aging(process):
118  process=aging.turn_off_Pixel_aging(process)
119  return process
120 
122  process=aging.turn_on_Pixel_aging_1000(process)
123  return process
124 
125 def hf_complete_aging(process):
126  process=aging.hf_complete_aging(process)
127  return process
128 
130  process=aging.ecal_complete_aging_300(process)
131  return process
132 
134  process=aging.ecal_complete_aging_1000(process)
135  return process
136 
138  process=aging.ecal_complete_aging_3000(process)
139  return process
140 
142  if not hasattr(process.GlobalTag,'toGet'):
143  process.GlobalTag.toGet=cms.VPSet()
144  process.GlobalTag.toGet.extend( cms.VPSet(
145  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
146  tag = cms.string("EcalSRSettings_TL150_mc"),
147  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
148  )
149  )
150  )
151  process.GlobalTag.toGet.extend( cms.VPSet(
152  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
153  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
154  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
155  )
156  )
157  )
158  return process
159 
161  if not hasattr(process.GlobalTag,'toGet'):
162  process.GlobalTag.toGet=cms.VPSet()
163  process.GlobalTag.toGet.extend( cms.VPSet(
164  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
165  tag = cms.string("EcalSRSettings_TL100_mc"),
166  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
167  )
168  )
169  )
170  process.GlobalTag.toGet.extend( cms.VPSet(
171  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
172  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
173  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
174  )
175  )
176  )
177  return process
178 
180  if not hasattr(process.GlobalTag,'toGet'):
181  process.GlobalTag.toGet=cms.VPSet()
182  process.GlobalTag.toGet.extend( cms.VPSet(
183  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
184  tag = cms.string("EcalSRSettings_TL200_mc"),
185  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
186  )
187  )
188  )
189  process.GlobalTag.toGet.extend( cms.VPSet(
190  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
191  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
192  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
193  )
194  )
195  )
196  return process
197 
199  if not hasattr(process.GlobalTag,'toGet'):
200  process.GlobalTag.toGet=cms.VPSet()
201  process.GlobalTag.toGet.extend( cms.VPSet(
202  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
203  tag = cms.string("EcalSRSettings_TL300_mc"),
204  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
205  )
206  )
207  )
208  process.GlobalTag.toGet.extend( cms.VPSet(
209  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
210  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
211  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
212  )
213  )
214  )
215  return process
216 
218  if not hasattr(process.GlobalTag,'toGet'):
219  process.GlobalTag.toGet=cms.VPSet()
220  process.GlobalTag.toGet.extend( cms.VPSet(
221  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
222  tag = cms.string("EcalSRSettings_TL500_mc"),
223  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
224  )
225  )
226  )
227  process.GlobalTag.toGet.extend( cms.VPSet(
228  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
229  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
230  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
231  )
232  )
233  )
234  return process
235 
237  if not hasattr(process.GlobalTag,'toGet'):
238  process.GlobalTag.toGet=cms.VPSet()
239  process.GlobalTag.toGet.extend( cms.VPSet(
240  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
241  tag = cms.string("EcalSRSettings_TL1000_mc"),
242  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
243  )
244  )
245  )
246  process.GlobalTag.toGet.extend( cms.VPSet(
247  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
248  tag = cms.string("EcalTPGLutIdMap_beamv5_3GeV_upgrade_mc"),
249  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
250  )
251  )
252  )
253  return process
254 
256  if not hasattr(process.GlobalTag,'toGet'):
257  process.GlobalTag.toGet=cms.VPSet()
258  process.GlobalTag.toGet.extend( cms.VPSet(
259  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
260  tag = cms.string("EcalSRSettings_TL3000_mc"),
261  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
262  )
263  )
264  )
265  process.GlobalTag.toGet.extend( cms.VPSet(
266  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
267  tag = cms.string("EcalTPGLutIdMap_beamv5_4GeV_upgrade_mc"),
268  connect = cms.untracked.string("frontier://FrontierProd/CMS_CONDITIONS")
269  )
270  )
271  )
272  return process
def noCrossing(process)
def hf_complete_aging(process)
def ecal_complete_aging_300(process)
Definition: aging.py:191
def customise_aging_3000(process)
def turn_off_Pixel_aging(process)
def customise_aging_newpixel_1000(process)
Definition: aging.py:132
def customise_aging_newpixel_3000(process)
def turn_off_HE_aging(process)
Definition: aging.py:160
def cust_2023HGCalMuon(process)
def customise_aging_100(process)
Definition: aging.py:54
def turn_on_Pixel_aging_1000(process)
def customise_aging_600(process)
Definition: aging.py:89
def cust_2019(process)
def cust_2023MuonOnly(process)
def turn_off_Pixel_aging(process)
Definition: aging.py:176
def fixEcalConditions_1000(process)
def ageEcal(process, lumi)
def customise_aging_ecalonly_300(process)
def customise_aging_300(process)
def turn_off_HF_aging(process)
Definition: aging.py:167
def customise_aging_1000(process)
def cust_2023HGCal_common(process)
def turn_on_Pixel_aging_1000(process)
Definition: aging.py:183
def customise_aging_200(process)
Definition: aging.py:61
def customisePostLS1(process, displayDeprecationWarning=True)
def fixEcalConditions_150(process)
def customise_NoCrossing(process)
def turn_off_HF_aging(process)
def ecal_complete_aging(process)
def turn_off_HE_aging(process)
def ageHcal(process, lumi)
def customise_aging_600(process)
def ageHcal(process, lumi)
Definition: aging.py:18
def customise_aging_ecalonly_300(process)
Definition: aging.py:117
def cust_2023HGCal(process)
def customise_aging_ecalonly_3000(process)
Definition: aging.py:127
def ecal_complete_aging_300(process)
def ecal_complete_aging_1000(process)
def fixEcalConditions_200(process)
def customise_aging_ecalonly_3000(process)
def fixEcalConditions_3000(process)
def fixEcalConditions_300(process)
def customise_aging_1000(process)
Definition: aging.py:103
def customise_aging_newpixel_1000(process)
def customise_aging_ecalonly_1000(process)
Definition: aging.py:122
def ecal_complete_aging_1000(process)
Definition: aging.py:225
def customise_aging_700(process)
Definition: aging.py:96
def customise_aging_300(process)
Definition: aging.py:68
def customise_aging_700(process)
def customise_aging_200(process)
def customise_aging_400(process)
Definition: aging.py:75
def fixEcalConditions_500(process)
def ecal_complete_aging(process)
Definition: aging.py:153
def ecal_complete_aging_3000(process)
Definition: aging.py:259
def customise_aging_500(process)
def ecal_complete_aging_3000(process)
def hf_complete_aging(process)
Definition: aging.py:146
def customise_aging_500(process)
Definition: aging.py:82
def agePixel(process, lumi)
clone aging.py here
def customise_aging_ecalonly_1000(process)
def fixEcalConditions_100(process)
def customise_HcalPhase1(process)
Definition: HCalCustoms.py:140
def ageEcal(process, lumi)
Definition: aging.py:42
def customise_aging_100(process)
def customise_aging_3000(process)
Definition: aging.py:110
def customise_aging_400(process)
def customise_aging_newpixel_3000(process)
Definition: aging.py:138