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 ##### clone aging.py here
29 def agePixel(process,lumi):
30  process=process.agePixel(process,lumi)
31  return process
32 
33 def ageHcal(process,lumi):
34  process=aging.ageHcal(process,lumi)
35  return process
36 
37 def ageEcal(process,lumi):
38  process=aging.ageEcal(process,lumi)
39  return process
40 
41 def customise_aging_100(process):
42  process=aging.customise_aging_100(process)
43  return process
44 
45 def customise_aging_200(process):
46  process=aging.customise_aging_200(process)
47  return process
48 
49 def customise_aging_300(process):
50  process=aging.customise_aging_300(process)
51  return process
52 
53 def customise_aging_400(process):
54  process=aging.customise_aging_400(process)
55  return process
56 
57 def customise_aging_500(process):
58  process=aging.customise_aging_500(process)
59  return process
60 
61 def customise_aging_600(process):
62  process=aging.customise_aging_600(process)
63  return process
64 
65 def customise_aging_700(process):
66  process=aging.customise_aging_700(process)
67  return process
68 
69 
70 def customise_aging_1000(process):
71  process=aging.customise_aging_1000(process)
72  return process
73 
74 def customise_aging_3000(process):
75  process=aging.customise_aging_3000(process)
76  return process
77 
79  process=aging.customise_aging_ecalonly_300(process)
80  return process
81 
84  return process
85 
88  return process
89 
92  return process
93 
96  return process
97 
98 def ecal_complete_aging(process):
99  process=aging.ecal_complete_aging(process)
100  return process
101 
102 def turn_off_HE_aging(process):
103  process=aging.turn_off_HE_aging(process)
104  return process
105 
106 def turn_off_HF_aging(process):
107  process=aging.turn_off_HF_aging(process)
108  return process
109 
110 def turn_off_Pixel_aging(process):
111  process=aging.turn_off_Pixel_aging(process)
112  return process
113 
115  process=aging.turn_on_Pixel_aging_1000(process)
116  return process
117 
118 def hf_complete_aging(process):
119  process=aging.hf_complete_aging(process)
120  return process
121 
123  process=aging.ecal_complete_aging_300(process)
124  return process
125 
127  process=aging.ecal_complete_aging_1000(process)
128  return process
129 
131  process=aging.ecal_complete_aging_3000(process)
132  return process
133 
135  if not hasattr(process.GlobalTag,'toGet'):
136  process.GlobalTag.toGet=cms.VPSet()
137  process.GlobalTag.toGet.extend( cms.VPSet(
138  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
139  tag = cms.string("EcalSRSettings_TL150_mc"),
140  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
141  )
142  )
143  )
144  process.GlobalTag.toGet.extend( cms.VPSet(
145  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
146  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
147  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
148  )
149  )
150  )
151  return process
152 
154  if not hasattr(process.GlobalTag,'toGet'):
155  process.GlobalTag.toGet=cms.VPSet()
156  process.GlobalTag.toGet.extend( cms.VPSet(
157  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
158  tag = cms.string("EcalSRSettings_TL100_mc"),
159  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
160  )
161  )
162  )
163  process.GlobalTag.toGet.extend( cms.VPSet(
164  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
165  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
166  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
167  )
168  )
169  )
170  return process
171 
173  if not hasattr(process.GlobalTag,'toGet'):
174  process.GlobalTag.toGet=cms.VPSet()
175  process.GlobalTag.toGet.extend( cms.VPSet(
176  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
177  tag = cms.string("EcalSRSettings_TL200_mc"),
178  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
179  )
180  )
181  )
182  process.GlobalTag.toGet.extend( cms.VPSet(
183  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
184  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
185  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
186  )
187  )
188  )
189  return process
190 
192  if not hasattr(process.GlobalTag,'toGet'):
193  process.GlobalTag.toGet=cms.VPSet()
194  process.GlobalTag.toGet.extend( cms.VPSet(
195  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
196  tag = cms.string("EcalSRSettings_TL300_mc"),
197  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
198  )
199  )
200  )
201  process.GlobalTag.toGet.extend( cms.VPSet(
202  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
203  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
204  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
205  )
206  )
207  )
208  return process
209 
211  if not hasattr(process.GlobalTag,'toGet'):
212  process.GlobalTag.toGet=cms.VPSet()
213  process.GlobalTag.toGet.extend( cms.VPSet(
214  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
215  tag = cms.string("EcalSRSettings_TL500_mc"),
216  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
217  )
218  )
219  )
220  process.GlobalTag.toGet.extend( cms.VPSet(
221  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
222  tag = cms.string("EcalTPGLutIdMap_beamv5_upgrade_mc"),
223  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
224  )
225  )
226  )
227  return process
228 
230  if not hasattr(process.GlobalTag,'toGet'):
231  process.GlobalTag.toGet=cms.VPSet()
232  process.GlobalTag.toGet.extend( cms.VPSet(
233  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
234  tag = cms.string("EcalSRSettings_TL1000_mc"),
235  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
236  )
237  )
238  )
239  process.GlobalTag.toGet.extend( cms.VPSet(
240  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
241  tag = cms.string("EcalTPGLutIdMap_beamv5_3GeV_upgrade_mc"),
242  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
243  )
244  )
245  )
246  return process
247 
249  if not hasattr(process.GlobalTag,'toGet'):
250  process.GlobalTag.toGet=cms.VPSet()
251  process.GlobalTag.toGet.extend( cms.VPSet(
252  cms.PSet(record = cms.string("EcalSRSettingsRcd"),
253  tag = cms.string("EcalSRSettings_TL3000_mc"),
254  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
255  )
256  )
257  )
258  process.GlobalTag.toGet.extend( cms.VPSet(
259  cms.PSet(record = cms.string("EcalTPGLutIdMapRcd"),
260  tag = cms.string("EcalTPGLutIdMap_beamv5_4GeV_upgrade_mc"),
261  connect = cms.untracked.string("frontier://FrontierProd/CMS_COND_34X_ECAL")
262  )
263  )
264  )
265  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