CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
RecoTLR Namespace Reference

Functions

def _addLumiProducer
 
def _overridesFor50ns
 
def _swapOfflineBSwithOnline
 common utilities More...
 
def customiseCommonHI
 Heavy Ions. More...
 
def customiseCosmicData
 
def customiseCosmicDataRun2
 
def customiseCosmicMC
 
def customiseDataRun2Common
 this is supposed to be added on top of other (Run1) data customs More...
 
def customiseDataRun2Common_25ns
 common+ "25ns" Use this for data daking starting from runs in 2015C (>= 253256 ) More...
 
def customiseDataRun2Common_50nsRunsAfter253000
 
def customiseDataRun2Common_withStage1
 
def customiseExpress
 
def customiseExpressHI
 
def customiseExpressRun2
 
def customiseExpressRun2_50ns
 
def customiseExpressRun2B0T
 
def customisePPData
 
def customisePPMC
 
def customisePrompt
 
def customisePromptHI
 
def customisePromptRun2
 
def customisePromptRun2_50ns
 
def customisePromptRun2B0T
 
def customiseRun2CommonHI
 keep it in case modification is needed More...
 
def customiseRun2ExpressHI
 
def customiseRun2PromptHI
 
def customiseVALSKIM
 

Function Documentation

def RecoTLR._addLumiProducer (   process)
private

Definition at line 13 of file RecoTLR.py.

Referenced by customisePrompt(), customisePromptHI(), and customiseRun2PromptHI().

13 
14 def _addLumiProducer(process):
15  if not hasattr(process,'lumiProducer'):
16  #unscheduled..
17  from RecoLuminosity.LumiProducer.lumiProducer_cff import lumiProducer,LumiDBService
18  process.lumiProducer=lumiProducer
19  #if it's scheduled
20  if hasattr(process, 'reconstruction_step'):
21  process.reconstruction_step+=process.lumiProducer
22 
23  return process
def _addLumiProducer
Definition: RecoTLR.py:13
def RecoTLR._overridesFor50ns (   process)
private

Definition at line 24 of file RecoTLR.py.

Referenced by customiseDataRun2Common_50nsRunsAfter253000(), and customiseRun2CommonHI().

24 
25 def _overridesFor50ns(process):
26  process.bunchSpacingProducer.bunchSpacingOverride = cms.uint32(50)
27  process.bunchSpacingProducer.overrideBunchSpacing = cms.bool(True)
28 
29  return process
30 
31 #gone with the fact that there is no difference between production and development sequence
32 #def customiseCommon(process):
33 # return (process)
34 
def _overridesFor50ns
Definition: RecoTLR.py:24
def RecoTLR._swapOfflineBSwithOnline (   process)
private

common utilities

Definition at line 8 of file RecoTLR.py.

Referenced by customiseExpress(), customiseExpressHI(), customisePromptHI(), customiseRun2ExpressHI(), and customiseRun2PromptHI().

8 
9 def _swapOfflineBSwithOnline(process):
10  from RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi import onlineBeamSpotProducer
11  process.offlineBeamSpot = onlineBeamSpotProducer.clone()
12  return process
def _swapOfflineBSwithOnline
common utilities
Definition: RecoTLR.py:8
def RecoTLR.customiseCommonHI (   process)

Heavy Ions.

keep it in case modification is needed

Definition at line 176 of file RecoTLR.py.

Referenced by customiseExpressHI(), and customisePromptHI().

177 def customiseCommonHI(process):
178  return process
def customiseCommonHI
Heavy Ions.
Definition: RecoTLR.py:176
def RecoTLR.customiseCosmicData (   process)

Definition at line 50 of file RecoTLR.py.

Referenced by customiseCosmicDataRun2().

50 
51 def customiseCosmicData(process):
52 
53  return process
54 
55 
def customiseCosmicData
Definition: RecoTLR.py:50
def RecoTLR.customiseCosmicDataRun2 (   process)

Definition at line 106 of file RecoTLR.py.

References customiseCosmicData(), and customiseDataRun2Common_25ns().

107 def customiseCosmicDataRun2(process):
108  process = customiseCosmicData(process)
109  process = customiseDataRun2Common_25ns(process)
110  return process
111 
def customiseCosmicDataRun2
Definition: RecoTLR.py:106
def customiseCosmicData
Definition: RecoTLR.py:50
def customiseDataRun2Common_25ns
common+ "25ns" Use this for data daking starting from runs in 2015C (>= 253256 )
Definition: RecoTLR.py:90
def RecoTLR.customiseCosmicMC (   process)

Definition at line 113 of file RecoTLR.py.

114 def customiseCosmicMC(process):
115 
116  return process
def customiseCosmicMC
Definition: RecoTLR.py:113
def RecoTLR.customiseDataRun2Common (   process)

this is supposed to be added on top of other (Run1) data customs

Definition at line 58 of file RecoTLR.py.

References muonCustoms.customise_csc_LocalReco(), HCalCustoms.customise_DQM(), HCalCustoms.customise_RawToDigi(), HCalCustoms.customise_Reco(), and muonCustoms.unganged_me1a_geometry().

Referenced by customiseDataRun2Common_withStage1().

58 
59 def customiseDataRun2Common(process):
60  from SLHCUpgradeSimulations.Configuration.muonCustoms import unganged_me1a_geometry,customise_csc_LocalReco
61  process = unganged_me1a_geometry(process)
62  process = customise_csc_LocalReco(process)
63 
64  if hasattr(process,'valCscTriggerPrimitiveDigis'):
65  #this is not doing anything at the moment
66  process.valCscTriggerPrimitiveDigis.commonParam.gangedME1a = cms.bool(False)
67  if hasattr(process,'valCsctfTrackDigis'):
68  process.valCsctfTrackDigis.gangedME1a = cms.untracked.bool(False)
69 
70  from SLHCUpgradeSimulations.Configuration.postLS1Customs import customise_Reco,customise_RawToDigi,customise_DQM
71  if hasattr(process,'RawToDigi'):
72  process=customise_RawToDigi(process)
73  if hasattr(process,'reconstruction'):
74  process=customise_Reco(process)
75  if hasattr(process,'dqmoffline_step'):
76  process=customise_DQM(process)
77 
78  return process
79 
# add stage1
def customiseDataRun2Common
this is supposed to be added on top of other (Run1) data customs
Definition: RecoTLR.py:58
def unganged_me1a_geometry
Definition: muonCustoms.py:4
def customise_csc_LocalReco
Definition: muonCustoms.py:207
def customise_DQM
process.load("RecoLocalCalo.HcalRecProducers.HcalSimpleReconstructor_ho_cfi")
Definition: HCalCustoms.py:218
def customise_RawToDigi
Definition: HCalCustoms.py:105
def customise_Reco
Definition: HCalCustoms.py:138
def RecoTLR.customiseDataRun2Common_25ns (   process)

common+ "25ns" Use this for data daking starting from runs in 2015C (>= 253256 )

Definition at line 90 of file RecoTLR.py.

References postLS1Customs.customise_DQM_25ns(), and customiseDataRun2Common_withStage1().

Referenced by customiseCosmicDataRun2(), customiseExpressRun2(), and customisePromptRun2().

90 
91 def customiseDataRun2Common_25ns(process):
92  process = customiseDataRun2Common_withStage1(process)
93 
94  from SLHCUpgradeSimulations.Configuration.postLS1Customs import customise_DQM_25ns
95  if hasattr(process,'dqmoffline_step'):
96  process=customise_DQM_25ns(process)
97  return process
98 
# common+50ns. Needed only for runs >= 253000 if taken with 50ns
def customiseDataRun2Common_25ns
common+ "25ns" Use this for data daking starting from runs in 2015C (>= 253256 )
Definition: RecoTLR.py:90
def customiseDataRun2Common_withStage1
Definition: RecoTLR.py:80
def RecoTLR.customiseDataRun2Common_50nsRunsAfter253000 (   process)

Definition at line 99 of file RecoTLR.py.

References _overridesFor50ns(), and customiseDataRun2Common_withStage1().

Referenced by customiseExpressRun2_50ns(), and customisePromptRun2_50ns().

99 
101  process = customiseDataRun2Common_withStage1(process)
102 
103  process = _overridesFor50ns(process)
104  return process
def _overridesFor50ns
Definition: RecoTLR.py:24
def customiseDataRun2Common_50nsRunsAfter253000
Definition: RecoTLR.py:99
def customiseDataRun2Common_withStage1
Definition: RecoTLR.py:80
def RecoTLR.customiseDataRun2Common_withStage1 (   process)

Definition at line 80 of file RecoTLR.py.

References customiseDataRun2Common(), and customsPostLS1.customiseL1RecoForStage1().

Referenced by customiseDataRun2Common_25ns(), customiseDataRun2Common_50nsRunsAfter253000(), and customiseRun2CommonHI().

80 
82  process = customiseDataRun2Common(process)
83 
84  from L1Trigger.L1TCommon.customsPostLS1 import customiseL1RecoForStage1
85  process=customiseL1RecoForStage1(process)
86 
87  return process
def customiseDataRun2Common
this is supposed to be added on top of other (Run1) data customs
Definition: RecoTLR.py:58
def customiseDataRun2Common_withStage1
Definition: RecoTLR.py:80
def customiseL1RecoForStage1
def RecoTLR.customiseExpress (   process)

Definition at line 126 of file RecoTLR.py.

References _swapOfflineBSwithOnline(), and customisePPData().

Referenced by customiseExpressRun2(), and customiseExpressRun2_50ns().

127 def customiseExpress(process):
128  process= customisePPData(process)
129  process = _swapOfflineBSwithOnline(process)
130 
131  return process
def _swapOfflineBSwithOnline
common utilities
Definition: RecoTLR.py:8
def customisePPData
Definition: RecoTLR.py:36
def customiseExpress
Definition: RecoTLR.py:126
def RecoTLR.customiseExpressHI (   process)

Definition at line 180 of file RecoTLR.py.

References _swapOfflineBSwithOnline(), and customiseCommonHI().

Referenced by Impl.HeavyIons.HeavyIons.expressProcessing().

181 def customiseExpressHI(process):
182  process = customiseCommonHI(process)
183  process = _swapOfflineBSwithOnline(process)
184 
185  return process
def customiseCommonHI
Heavy Ions.
Definition: RecoTLR.py:176
def _swapOfflineBSwithOnline
common utilities
Definition: RecoTLR.py:8
def customiseExpressHI
Definition: RecoTLR.py:180
def RecoTLR.customiseExpressRun2 (   process)

Definition at line 133 of file RecoTLR.py.

References customiseDataRun2Common_25ns(), and customiseExpress().

Referenced by customiseExpressRun2B0T().

134 def customiseExpressRun2(process):
135  process = customiseExpress(process)
136  process = customiseDataRun2Common_25ns(process)
137  return process
def customiseExpressRun2
Definition: RecoTLR.py:133
def customiseDataRun2Common_25ns
common+ "25ns" Use this for data daking starting from runs in 2015C (>= 253256 )
Definition: RecoTLR.py:90
def customiseExpress
Definition: RecoTLR.py:126
def RecoTLR.customiseExpressRun2_50ns (   process)

Definition at line 138 of file RecoTLR.py.

References customiseDataRun2Common_50nsRunsAfter253000(), and customiseExpress().

139 def customiseExpressRun2_50ns(process):
140  process = customiseExpress(process)
142  return process
def customiseDataRun2Common_50nsRunsAfter253000
Definition: RecoTLR.py:99
def customiseExpressRun2_50ns
Definition: RecoTLR.py:138
def customiseExpress
Definition: RecoTLR.py:126
def RecoTLR.customiseExpressRun2B0T (   process)

Definition at line 143 of file RecoTLR.py.

References customiseExpressRun2().

144 def customiseExpressRun2B0T(process):
145  process=customiseForRunI(process)
146  process=customiseExpressRun2(process)
147  return process
def customiseExpressRun2
Definition: RecoTLR.py:133
def customiseExpressRun2B0T
Definition: RecoTLR.py:143
def RecoTLR.customisePPData (   process)

Definition at line 36 of file RecoTLR.py.

Referenced by customiseExpress(), customisePrompt(), and customiseVALSKIM().

36 
37 def customisePPData(process):
38  #deprecated process= customiseCommon(process)
39  ##all customisation for data are now deprecated to Reconstruction_Data_cff
40  #left as a place holder to alter production sequences in case of emergencies
41  return process
42 
def customisePPData
Definition: RecoTLR.py:36
def RecoTLR.customisePPMC (   process)

Definition at line 44 of file RecoTLR.py.

44 
45 def customisePPMC(process):
46  #deprecated process=customiseCommon(process)
47  #left as a place holder to alter production sequences in case of emergencies
48  return process
def customisePPMC
Definition: RecoTLR.py:44
def RecoTLR.customisePrompt (   process)

Definition at line 149 of file RecoTLR.py.

References _addLumiProducer(), and customisePPData().

Referenced by customisePromptRun2(), and customisePromptRun2_50ns().

150 def customisePrompt(process):
151  process= customisePPData(process)
152  process = _addLumiProducer(process)
153 
154  return process
def _addLumiProducer
Definition: RecoTLR.py:13
def customisePPData
Definition: RecoTLR.py:36
def customisePrompt
Definition: RecoTLR.py:149
def RecoTLR.customisePromptHI (   process)

Definition at line 187 of file RecoTLR.py.

References _addLumiProducer(), _swapOfflineBSwithOnline(), and customiseCommonHI().

Referenced by Impl.HeavyIons.HeavyIons.promptReco().

188 def customisePromptHI(process):
189  process = customiseCommonHI(process)
190  process = _swapOfflineBSwithOnline(process)
191 
192  process = _addLumiProducer(process)
193 
194  return process
def customisePromptHI
Definition: RecoTLR.py:187
def _addLumiProducer
Definition: RecoTLR.py:13
def customiseCommonHI
Heavy Ions.
Definition: RecoTLR.py:176
def _swapOfflineBSwithOnline
common utilities
Definition: RecoTLR.py:8
def RecoTLR.customisePromptRun2 (   process)

Definition at line 156 of file RecoTLR.py.

References customiseDataRun2Common_25ns(), and customisePrompt().

Referenced by customisePromptRun2B0T().

157 def customisePromptRun2(process):
158  process = customisePrompt(process)
159  process = customiseDataRun2Common_25ns(process)
160  return process
def customisePromptRun2
Definition: RecoTLR.py:156
def customisePrompt
Definition: RecoTLR.py:149
def customiseDataRun2Common_25ns
common+ "25ns" Use this for data daking starting from runs in 2015C (>= 253256 )
Definition: RecoTLR.py:90
def RecoTLR.customisePromptRun2_50ns (   process)

Definition at line 161 of file RecoTLR.py.

References customiseDataRun2Common_50nsRunsAfter253000(), and customisePrompt().

162 def customisePromptRun2_50ns(process):
163  process = customisePrompt(process)
165  return process
def customiseDataRun2Common_50nsRunsAfter253000
Definition: RecoTLR.py:99
def customisePromptRun2_50ns
Definition: RecoTLR.py:161
def customisePrompt
Definition: RecoTLR.py:149
def RecoTLR.customisePromptRun2B0T (   process)

Definition at line 166 of file RecoTLR.py.

References customisePromptRun2().

167 def customisePromptRun2B0T(process):
168  process=customiseForRunI(process)
169  process=customisePromptRun2(process)
170  return process
171 
def customisePromptRun2
Definition: RecoTLR.py:156
def customisePromptRun2B0T
Definition: RecoTLR.py:166
def RecoTLR.customiseRun2CommonHI (   process)

keep it in case modification is needed

Definition at line 197 of file RecoTLR.py.

References _overridesFor50ns(), and customiseDataRun2Common_withStage1().

Referenced by customiseRun2ExpressHI(), and customiseRun2PromptHI().

198 def customiseRun2CommonHI(process):
199  process = customiseDataRun2Common_withStage1(process)
200 
201  process = _overridesFor50ns(process)
202  # HI Specific additional customizations:
203  # from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForPostLS1_Additional_HI
204  # process = customiseSimL1EmulatorForPostLS1_Additional_HI(process)
205 
206  return process
def _overridesFor50ns
Definition: RecoTLR.py:24
def customiseRun2CommonHI
keep it in case modification is needed
Definition: RecoTLR.py:197
def customiseDataRun2Common_withStage1
Definition: RecoTLR.py:80
def RecoTLR.customiseRun2ExpressHI (   process)

Definition at line 208 of file RecoTLR.py.

References _swapOfflineBSwithOnline(), and customiseRun2CommonHI().

209 def customiseRun2ExpressHI(process):
210  process = customiseRun2CommonHI(process)
211  process = _swapOfflineBSwithOnline(process)
212 
213  return process
def _swapOfflineBSwithOnline
common utilities
Definition: RecoTLR.py:8
def customiseRun2ExpressHI
Definition: RecoTLR.py:208
def customiseRun2CommonHI
keep it in case modification is needed
Definition: RecoTLR.py:197
def RecoTLR.customiseRun2PromptHI (   process)

Definition at line 215 of file RecoTLR.py.

References _addLumiProducer(), _swapOfflineBSwithOnline(), and customiseRun2CommonHI().

216 def customiseRun2PromptHI(process):
217  process = customiseRun2CommonHI(process)
218  process = _swapOfflineBSwithOnline(process)
219 
220  process = _addLumiProducer(process)
221 
222  return process
def _addLumiProducer
Definition: RecoTLR.py:13
def _swapOfflineBSwithOnline
common utilities
Definition: RecoTLR.py:8
def customiseRun2CommonHI
keep it in case modification is needed
Definition: RecoTLR.py:197
def customiseRun2PromptHI
Definition: RecoTLR.py:215
def RecoTLR.customiseVALSKIM (   process)

Definition at line 118 of file RecoTLR.py.

References customisePPData().

119 def customiseVALSKIM(process):
120  print "WARNING"
121  print "this method is outdated, please use RecoTLR.customisePPData"
122  process= customisePPData(process)
123  return process
124 
def customiseVALSKIM
Definition: RecoTLR.py:118
def customisePPData
Definition: RecoTLR.py:36