CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
7 from SLHCUpgradeSimulations.Configuration.gemCustoms import customise2019 as customise_gem2019
8 from SLHCUpgradeSimulations.Configuration.gemCustoms import customise2023 as customise_gem2023
9 from SLHCUpgradeSimulations.Configuration.me0Customs import customise as customise_me0
10 from SLHCUpgradeSimulations.Configuration.rpcCustoms import customise as customise_rpc
11 from SLHCUpgradeSimulations.Configuration.fixMissingUpgradeGTPayloads import fixRPCConditions
12 
13 import SLHCUpgradeSimulations.Configuration.aging as aging
14 
15 def cust_2017(process):
16  process=customisePostLS1(process)
17  process=customisePhase1Tk(process)
18  #process=customise_HcalPhase0(process)
19  return process
20 
21 def cust_2019(process):
22  process=customisePostLS1(process)
23  process=customisePhase1Tk(process)
24  process=customise_HcalPhase1(process)
25  return process
26 
27 def cust_2019WithGem(process):
28  process=cust_2019(process)
29  process=customise_gem2019(process)
30  return process
31 
32 def cust_2023MuonOnly(process):
33  process=customise_gem2023(process)
34  process=customise_rpc(process)
35  process=fixRPCConditions(process)
36  return process
37 
38 def noCrossing(process):
39  process=customise_NoCrossing(process)
40  return process
41 
42 ##### clone aging.py here
43 def agePixel(process,lumi):
44  process=process.agePixel(process,lumi)
45  return process
46 
47 def ageHcal(process,lumi):
48  process=aging.ageHcal(process,lumi)
49  return process
50 
51 def ageEcal(process,lumi):
52  process=aging.ageEcal(process,lumi)
53  return process
54 
55 def customise_aging_100(process):
56  process=aging.customise_aging_100(process)
57  return process
58 
59 def customise_aging_200(process):
60  process=aging.customise_aging_200(process)
61  return process
62 
63 def customise_aging_300(process):
64  process=aging.customise_aging_300(process)
65  return process
66 
67 def customise_aging_400(process):
68  process=aging.customise_aging_400(process)
69  return process
70 
71 def customise_aging_500(process):
72  process=aging.customise_aging_500(process)
73  return process
74 
75 def customise_aging_600(process):
76  process=aging.customise_aging_600(process)
77  return process
78 
79 def customise_aging_700(process):
80  process=aging.customise_aging_700(process)
81  return process
82 
83 
84 def customise_aging_1000(process):
85  process=aging.customise_aging_1000(process)
86  return process
87 
88 def customise_aging_3000(process):
89  process=aging.customise_aging_3000(process)
90  return process
91 
93  process=aging.customise_aging_ecalonly_300(process)
94  return process
95 
98  return process
99 
101  process=aging.customise_aging_ecalonly_3000(process)
102  return process
103 
105  process=aging.customise_aging_newpixel_1000(process)
106  return process
107 
109  process=aging.customise_aging_newpixel_3000(process)
110  return process
111 
112 def ecal_complete_aging(process):
113  process=aging.ecal_complete_aging(process)
114  return process
115 
116 def turn_off_HE_aging(process):
117  process=aging.turn_off_HE_aging(process)
118  return process
119 
120 def turn_off_HF_aging(process):
121  process=aging.turn_off_HF_aging(process)
122  return process
123 
124 def turn_off_Pixel_aging(process):
125  process=aging.turn_off_Pixel_aging(process)
126  return process
127 
129  process=aging.turn_on_Pixel_aging_1000(process)
130  return process
131 
132 def hf_complete_aging(process):
133  process=aging.hf_complete_aging(process)
134  return process
135 
137  process=aging.ecal_complete_aging_300(process)
138  return process
139 
141  process=aging.ecal_complete_aging_1000(process)
142  return process
143 
145  process=aging.ecal_complete_aging_3000(process)
146  return process
147 
149  if not hasattr(process.GlobalTag,'toGet'):
150  process.GlobalTag.toGet=cms.VPSet()
151  process.GlobalTag.toGet.extend( cms.VPSet(
152  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
153  tag = cms.string("EcalSRSettings_TL150_mc"),
154  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
155  )
156  )
157  )
158  process.GlobalTag.toGet.extend( cms.VPSet(
159  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
160  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
161  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
162  )
163  )
164  )
165  return process
166 
168  if not hasattr(process.GlobalTag,'toGet'):
169  process.GlobalTag.toGet=cms.VPSet()
170  process.GlobalTag.toGet.extend( cms.VPSet(
171  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
172  tag = cms.string("EcalSRSettings_TL100_mc"),
173  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
174  )
175  )
176  )
177  process.GlobalTag.toGet.extend( cms.VPSet(
178  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
179  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
180  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
181  )
182  )
183  )
184  return process
185 
187  if not hasattr(process.GlobalTag,'toGet'):
188  process.GlobalTag.toGet=cms.VPSet()
189  process.GlobalTag.toGet.extend( cms.VPSet(
190  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
191  tag = cms.string("EcalSRSettings_TL200_mc"),
192  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
193  )
194  )
195  )
196  process.GlobalTag.toGet.extend( cms.VPSet(
197  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
198  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
199  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
200  )
201  )
202  )
203  return process
204 
206  if not hasattr(process.GlobalTag,'toGet'):
207  process.GlobalTag.toGet=cms.VPSet()
208  process.GlobalTag.toGet.extend( cms.VPSet(
209  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
210  tag = cms.string("EcalSRSettings_TL300_mc"),
211  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
212  )
213  )
214  )
215  process.GlobalTag.toGet.extend( cms.VPSet(
216  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
217  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
218  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
219  )
220  )
221  )
222  return process
223 
225  if not hasattr(process.GlobalTag,'toGet'):
226  process.GlobalTag.toGet=cms.VPSet()
227  process.GlobalTag.toGet.extend( cms.VPSet(
228  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
229  tag = cms.string("EcalSRSettings_TL500_mc"),
230  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
231  )
232  )
233  )
234  process.GlobalTag.toGet.extend( cms.VPSet(
235  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
236  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
237  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
238  )
239  )
240  )
241  return process
242 
244  if not hasattr(process.GlobalTag,'toGet'):
245  process.GlobalTag.toGet=cms.VPSet()
246  process.GlobalTag.toGet.extend( cms.VPSet(
247  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
248  tag = cms.string("EcalSRSettings_TL1000_mc"),
249  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
250  )
251  )
252  )
253  process.GlobalTag.toGet.extend( cms.VPSet(
254  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
255  tag = cms.string("EcalTPGLutIdMap_beamv5_3GeV_upgrade_mc"),
256  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
257  )
258  )
259  )
260  return process
261 
263  if not hasattr(process.GlobalTag,'toGet'):
264  process.GlobalTag.toGet=cms.VPSet()
265  process.GlobalTag.toGet.extend( cms.VPSet(
266  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
267  tag = cms.string("EcalSRSettings_TL3000_mc"),
268  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
269  )
270  )
271  )
272  process.GlobalTag.toGet.extend( cms.VPSet(
273  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
274  tag = cms.string("EcalTPGLutIdMap_beamv5_4GeV_upgrade_mc"),
275  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
276  )
277  )
278  )
279  return process
def customise_aging_3000
Definition: aging.py:110
def customise_aging_ecalonly_3000
def customise_aging_400
Definition: aging.py:75
def turn_off_HE_aging
Definition: aging.py:160
def customise_aging_newpixel_1000
Definition: aging.py:132
def turn_off_HF_aging
Definition: aging.py:167
def customise_aging_100
Definition: aging.py:54
def hf_complete_aging
Definition: aging.py:146
def customise_aging_200
Definition: aging.py:61
def agePixel
clone aging.py here
def ecal_complete_aging_1000
Definition: aging.py:225
def turn_off_Pixel_aging
Definition: aging.py:176
def ecal_complete_aging_3000
Definition: aging.py:259
def ageHcal
Definition: aging.py:18
def customise_HcalPhase1
Definition: HCalCustoms.py:37
def ecal_complete_aging_300
Definition: aging.py:191
def customise_aging_300
Definition: aging.py:68
def customise_aging_newpixel_3000
Definition: aging.py:138
def customise_aging_600
Definition: aging.py:89
def customise_aging_ecalonly_300
def customise_aging_ecalonly_3000
Definition: aging.py:127
def customise_aging_newpixel_3000
def customise_aging_ecalonly_1000
Definition: aging.py:122
def customise_aging_newpixel_1000
def turn_on_Pixel_aging_1000
Definition: aging.py:183
def customise_aging_500
Definition: aging.py:82
def customise_aging_ecalonly_300
Definition: aging.py:117
def ecal_complete_aging
Definition: aging.py:153
def ageEcal
Definition: aging.py:42
def customise_aging_1000
Definition: aging.py:103
def customise_aging_ecalonly_1000
def customise_aging_700
Definition: aging.py:96