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