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.
2 from SLHCUpgradeSimulations.Configuration.postLS1Customs import customisePostLS1
3 from SLHCUpgradeSimulations.Configuration.phase2TkCustomsBE import customise as customiseBE
4 from SLHCUpgradeSimulations.Configuration.phase2TkCustomsBE5D import customise as customiseBE5D
5 from SLHCUpgradeSimulations.Configuration.phase2TkCustoms_LB_6PS import customise as customiseLB6PS
6 from SLHCUpgradeSimulations.Configuration.phase2TkCustoms_LB_4LPS_2L2S import customise as customiseLB4LPS_2L2S
7 from SLHCUpgradeSimulations.Configuration.phase2TkCustomsBE import l1EventContent as customise_ev_BE
8 from SLHCUpgradeSimulations.Configuration.phase2TkCustomsBE5D import l1EventContent as customise_ev_BE5D
9 from SLHCUpgradeSimulations.Configuration.phase2TkCustoms_LB_6PS import l1EventContent as customise_ev_LB6PS
10 from SLHCUpgradeSimulations.Configuration.phase2TkCustoms_LB_4LPS_2L2S import l1EventContent as customise_ev_LB4LPS_2L2S
11 from SLHCUpgradeSimulations.Configuration.customise_mixing import customise_NoCrossing
12 from SLHCUpgradeSimulations.Configuration.phase1TkCustoms import customise as customisePhase1Tk
13 from SLHCUpgradeSimulations.Configuration.HCalCustoms import customise_HcalPhase1, customise_HcalPhase0
14 
15 import SLHCUpgradeSimulations.Configuration.aging as aging
16 
17 def cust_phase2_BE5D(process):
18  process=customisePostLS1(process)
19  process=customise_HcalPhase1(process)
20  process=customiseBE5D(process)
21  process=customise_ev_BE5D(process)
22  return process
23 
24 def cust_phase2_BE(process):
25  process=customisePostLS1(process)
26  process=customise_HcalPhase1(process)
27  process=customiseBE(process)
28  process=customise_ev_BE(process)
29  return process
30 
31 def cust_phase2_LB6PS(process):
32  process=customisePostLS1(process)
33  process=customiseLB6PS(process)
34  process=customise_ev_LB6PS(process)
35  return process
36 
38  process=customisePostLS1(process)
39  process=customiseLB4LPS_2L2S(process)
40  process=customise_ev_LB4LPS_2L2S(process)
41  return process
42 
43 def cust_2017(process):
44  process=customisePostLS1(process)
45  process=customisePhase1Tk(process)
46  process=customise_HcalPhase0(process)
47  process=fixRPCConditions(process)
48  return process
49 
50 def cust_2019(process):
51  process=customisePostLS1(process)
52  process=customisePhase1Tk(process)
53  process=customise_HcalPhase1(process)
54  process=fixRPCConditions(process)
55  return process
56 
57 def noCrossing(process):
58  process=customise_NoCrossing(process)
59  return process
60 
61 
62 def fixRPCConditions(process):
63  if not hasattr(process.GlobalTag,'toGet'):
64  process.GlobalTag.toGet=cms.VPSet()
65  process.GlobalTag.toGet.extend( cms.VPSet(
66  cms.PSet(record = cms.string("RPCStripNoisesRcd"),
67  tag = cms.string("RPCStripNoise_upscope_mc_v2"),
68  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_31X_RPC")
69  )
70  )
71  )
72  return process
73 
74 ##### clone aging.py here
75 def agePixel(process,lumi):
76  process=process.agePixel(process,lumi)
77  return process
78 
79 def ageHcal(process,lumi):
80  process=aging.ageHcal(process,lumi)
81  return process
82 
83 def ageEcal(process,lumi):
84  process=aging.ageEcal(process,lumi)
85  return process
86 
87 def customise_aging_100(process):
88  process=aging.customise_aging_100(process)
89  return process
90 
91 def customise_aging_200(process):
92  process=aging.customise_aging_200(process)
93  return process
94 
95 def customise_aging_300(process):
96  process=aging.customise_aging_300(process)
97  return process
98 
99 def customise_aging_400(process):
100  process=aging.customise_aging_400(process)
101  return process
102 
103 def customise_aging_500(process):
104  process=aging.customise_aging_500(process)
105  return process
106 
107 def customise_aging_600(process):
108  process=aging.customise_aging_600(process)
109  return process
110 
111 def customise_aging_700(process):
112  process=aging.customise_aging_700(process)
113  return process
114 
115 
116 def customise_aging_1000(process):
117  process=aging.customise_aging_1000(process)
118  return process
119 
120 def customise_aging_3000(process):
121  process=aging.customise_aging_3000(process)
122  return process
123 
125  process=aging.customise_aging_ecalonly_300(process)
126  return process
127 
129  process=aging.customise_aging_ecalonly_1000(process)
130  return process
131 
133  process=aging.customise_aging_ecalonly_3000(process)
134  return process
135 
137  process=aging.customise_aging_newpixel_1000(process)
138  return process
139 
141  process=aging.customise_aging_newpixel_3000(process)
142  return process
143 
144 def ecal_complete_aging(process):
145  process=aging.ecal_complete_aging(process)
146  return process
147 
148 def turn_off_HE_aging(process):
149  process=aging.turn_off_HE_aging(process)
150  return process
151 
152 def turn_off_HF_aging(process):
153  process=aging.turn_off_HF_aging(process)
154  return process
155 
156 def turn_off_Pixel_aging(process):
157  process=aging.turn_off_Pixel_aging(process)
158  return process
159 
161  process=aging.turn_on_Pixel_aging_1000(process)
162  return process
163 
164 def hf_complete_aging(process):
165  process=aging.hf_complete_aging(process)
166  return process
167 
169  process=aging.ecal_complete_aging_300(process)
170  return process
171 
173  process=aging.ecal_complete_aging_1000(process)
174  return process
175 
177  process=aging.ecal_complete_aging_3000(process)
178  return process
179 
181  if not hasattr(process.GlobalTag,'toGet'):
182  process.GlobalTag.toGet=cms.VPSet()
183  process.GlobalTag.toGet.extend( cms.VPSet(
184  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
185  tag = cms.string("EcalSRSettings_TL150_mc"),
186  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
187  )
188  )
189  )
190  process.GlobalTag.toGet.extend( cms.VPSet(
191  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
192  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
193  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
194  )
195  )
196  )
197  return process
198 
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_TL100_mc"),
205  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
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_COND_34X_ECAL")
213  )
214  )
215  )
216  return process
217 
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_TL200_mc"),
224  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
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_COND_34X_ECAL")
232  )
233  )
234  )
235  return process
236 
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_TL300_mc"),
243  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
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_COND_34X_ECAL")
251  )
252  )
253  )
254  return process
255 
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_TL500_mc"),
262  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
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_COND_34X_ECAL")
270  )
271  )
272  )
273  return process
274 
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_TL1000_mc"),
281  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
282  )
283  )
284  )
285  process.GlobalTag.toGet.extend( cms.VPSet(
286  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
287  tag = cms.string("EcalTPGLutIdMap_beamv5_3GeV_upgrade_mc"),
288  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
289  )
290  )
291  )
292  return process
293 
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_TL3000_mc"),
300  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
301  )
302  )
303  )
304  process.GlobalTag.toGet.extend( cms.VPSet(
305  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
306  tag = cms.string("EcalTPGLutIdMap_beamv5_4GeV_upgrade_mc"),
307  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
308  )
309  )
310  )
311  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 customise_HcalPhase0
Definition: HCalCustoms.py:3
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