CMS 3D CMS Logo

Functions
RecoTLR Namespace Reference

Functions

def _overridesFor50ns (process)
 
def _swapOfflineBSwithOnline (process)
 common utilities More...
 
def customise_HI_PostEra_Run2_2018 (process)
 
def customiseCommonHI (process)
 Heavy Ions. More...
 
def customiseCosmicData (process)
 
def customiseCosmicMC (process)
 
def customiseDataRun2Common (process)
 ALL FUNCTIONS BELOW ARE GOING TO BE REMOVED IN 81X. More...
 
def customiseDataRun2Common_25ns (process)
 common+ "25ns" Use this for data daking starting from runs in 2015C (>= 253256 ) More...
 
def customiseDataRun2Common_50nsRunsAfter253000 (process)
 
def customiseDataRun2Common_withStage1 (process)
 
def customiseExpress (process)
 
def customiseExpressHI (process)
 
def customisePostEra_Run2_2016 (process)
 
def customisePostEra_Run2_2017 (process)
 
def customisePostEra_Run2_2017_express_trackingOnly (process)
 
def customisePostEra_Run2_2017_harvesting_trackingOnly (process)
 
def customisePostEra_Run2_2017_pp_on_XeXe (process)
 
def customisePostEra_Run2_2017_ppRef (process)
 
def customisePostEra_Run2_2018 (process)
 
def customisePostEra_Run2_2018_express_trackingOnly (process)
 
def customisePostEra_Run2_2018_harvesting_trackingOnly (process)
 
def customisePostEra_Run2_2018_pp_on_AA (process)
 
def customisePostEra_Run2_2018_pp_on_AA_express_trackingOnly (process)
 
def customisePostEra_Run2_25ns (process)
 post-era customizations these are here instead of generating Data-specific eras More...
 
def customisePostEra_Run3 (process)
 
def customisePostEra_Run3_express_trackingOnly (process)
 
def customisePPData (process)
 
def customisePPMC (process)
 
def customisePrompt (process)
 
def customisePromptHI (process)
 
def customiseRun2CommonHI (process)
 keep it in case modification is needed More...
 
def customiseVALSKIM (process)
 

Function Documentation

◆ _overridesFor50ns()

def RecoTLR._overridesFor50ns (   process)
private

Definition at line 17 of file RecoTLR.py.

17 def _overridesFor50ns(process):
18  process.bunchSpacingProducer.bunchSpacingOverride = cms.uint32(50)
19  process.bunchSpacingProducer.overrideBunchSpacing = cms.bool(True)
20 
21  return process
22 

Referenced by customiseDataRun2Common_50nsRunsAfter253000(), and customiseRun2CommonHI().

◆ _swapOfflineBSwithOnline()

def RecoTLR._swapOfflineBSwithOnline (   process)
private

common utilities

Definition at line 7 of file RecoTLR.py.

7 def _swapOfflineBSwithOnline(process):
8  import RecoVertex.BeamSpotProducer.onlineBeamSpotESProducer_cfi as _mod
9  process.BeamSpotESProducer = _mod.onlineBeamSpotESProducer.clone(
10  timeThreshold = 999999 # for express allow >48h old payloads for replays. DO NOT CHANGE
11  )
12 
13  from RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi import onlineBeamSpotProducer
14  process.offlineBeamSpot = onlineBeamSpotProducer.clone()
15  return process
16 

Referenced by customiseExpress(), and customiseExpressHI().

◆ customise_HI_PostEra_Run2_2018()

def RecoTLR.customise_HI_PostEra_Run2_2018 (   process)

Definition at line 72 of file RecoTLR.py.

74  return process
75 

References customisePostEra_Run2_2018().

◆ customiseCommonHI()

def RecoTLR.customiseCommonHI (   process)

Heavy Ions.

keep it in case modification is needed

Definition at line 145 of file RecoTLR.py.

145 def customiseCommonHI(process):
146  return process
147 

Referenced by customiseExpressHI(), and customisePromptHI().

◆ customiseCosmicData()

def RecoTLR.customiseCosmicData (   process)

Definition at line 113 of file RecoTLR.py.

113 def customiseCosmicData(process):
114  return process
115 
116 

◆ customiseCosmicMC()

def RecoTLR.customiseCosmicMC (   process)

Definition at line 118 of file RecoTLR.py.

118 def customiseCosmicMC(process):
119  return process
120 

◆ customiseDataRun2Common()

def RecoTLR.customiseDataRun2Common (   process)

ALL FUNCTIONS BELOW ARE GOING TO BE REMOVED IN 81X.

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

Definition at line 169 of file RecoTLR.py.

169 def customiseDataRun2Common(process):
170  from SLHCUpgradeSimulations.Configuration.muonCustoms import unganged_me1a_geometry,customise_csc_LocalReco
171  process = unganged_me1a_geometry(process)
172  process = customise_csc_LocalReco(process)
173 
174  if hasattr(process,'valCscTriggerPrimitiveDigis'):
175  #this is not doing anything at the moment
176  process.valCscTriggerPrimitiveDigis.commonParam.gangedME1a = cms.bool(False)
177  if hasattr(process,'valCsctfTrackDigis'):
178  process.valCsctfTrackDigis.gangedME1a = cms.untracked.bool(False)
179 
180  from SLHCUpgradeSimulations.Configuration.postLS1Customs import customise_Reco,customise_RawToDigi,customise_DQM
181  if hasattr(process,'RawToDigi'):
182  process=customise_RawToDigi(process)
183  if hasattr(process,'reconstruction'):
184  process=customise_Reco(process)
185  if hasattr(process,'dqmoffline_step'):
186  process=customise_DQM(process)
187 
188  return process
189 
190 # add stage1

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

Referenced by customiseDataRun2Common_withStage1().

◆ customiseDataRun2Common_25ns()

def RecoTLR.customiseDataRun2Common_25ns (   process)

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

Definition at line 201 of file RecoTLR.py.

201 def customiseDataRun2Common_25ns(process):
202  process = customiseDataRun2Common_withStage1(process)
203 
204  from SLHCUpgradeSimulations.Configuration.postLS1Customs import customise_DQM_25ns
205  if hasattr(process,'dqmoffline_step'):
206  process=customise_DQM_25ns(process)
207  return process
208 
209 # common+50ns. Needed only for runs >= 253000 if taken with 50ns

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

◆ customiseDataRun2Common_50nsRunsAfter253000()

def RecoTLR.customiseDataRun2Common_50nsRunsAfter253000 (   process)

Definition at line 210 of file RecoTLR.py.

211  process = customiseDataRun2Common_withStage1(process)
212 
213  process = _overridesFor50ns(process)
214 
215  return process
216 

References _overridesFor50ns(), and customiseDataRun2Common_withStage1().

◆ customiseDataRun2Common_withStage1()

def RecoTLR.customiseDataRun2Common_withStage1 (   process)

Definition at line 191 of file RecoTLR.py.

192  process = customiseDataRun2Common(process)
193 
194  from L1Trigger.L1TCommon.customsPostLS1 import customiseL1RecoForStage1
195  process=customiseL1RecoForStage1(process)
196 
197  return process
198 

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

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

◆ customiseExpress()

def RecoTLR.customiseExpress (   process)

Definition at line 130 of file RecoTLR.py.

130 def customiseExpress(process):
131  process= customisePPData(process)
132  process = _swapOfflineBSwithOnline(process)
133  return process
134 

References _swapOfflineBSwithOnline(), and customisePPData().

◆ customiseExpressHI()

def RecoTLR.customiseExpressHI (   process)

Definition at line 149 of file RecoTLR.py.

149 def customiseExpressHI(process):
150  process = customiseCommonHI(process)
151  process = _swapOfflineBSwithOnline(process)
152 
153  return process
154 

References _swapOfflineBSwithOnline(), and customiseCommonHI().

◆ customisePostEra_Run2_2016()

def RecoTLR.customisePostEra_Run2_2016 (   process)

Definition at line 31 of file RecoTLR.py.

31 def customisePostEra_Run2_2016(process):
32  return process
33 

◆ customisePostEra_Run2_2017()

def RecoTLR.customisePostEra_Run2_2017 (   process)

◆ customisePostEra_Run2_2017_express_trackingOnly()

def RecoTLR.customisePostEra_Run2_2017_express_trackingOnly (   process)

Definition at line 37 of file RecoTLR.py.

39  from Calibration.TkAlCaRecoProducers.PCLHPbeamspot_custom import customise_HPbeamspot as _customise_HPbeamspot
40  _customise_HPbeamspot(process)
41  return process
42 

References customisePostEra_Run2_2017().

Referenced by customisePostEra_Run2_2018_express_trackingOnly().

◆ customisePostEra_Run2_2017_harvesting_trackingOnly()

def RecoTLR.customisePostEra_Run2_2017_harvesting_trackingOnly (   process)

Definition at line 43 of file RecoTLR.py.

44  from Calibration.TkAlCaRecoProducers.PCLHPbeamspot_custom import customise_HPbeamspot as _customise_HPbeamspot
45  _customise_HPbeamspot(process)
46  return process
47 

Referenced by customisePostEra_Run2_2018_harvesting_trackingOnly().

◆ customisePostEra_Run2_2017_pp_on_XeXe()

def RecoTLR.customisePostEra_Run2_2017_pp_on_XeXe (   process)

Definition at line 48 of file RecoTLR.py.

50  return process
51 

References customisePostEra_Run2_2017().

◆ customisePostEra_Run2_2017_ppRef()

def RecoTLR.customisePostEra_Run2_2017_ppRef (   process)

Definition at line 52 of file RecoTLR.py.

54  return process
55 
56 # 2018 equivalents

References customisePostEra_Run2_2017().

◆ customisePostEra_Run2_2018()

def RecoTLR.customisePostEra_Run2_2018 (   process)

Definition at line 57 of file RecoTLR.py.

57 def customisePostEra_Run2_2018(process):
58  #start with a repeat of 2017
60  return process
61 

References customisePostEra_Run2_2017().

Referenced by customise_HI_PostEra_Run2_2018(), customisePostEra_Run2_2018_pp_on_AA(), and customisePostEra_Run3().

◆ customisePostEra_Run2_2018_express_trackingOnly()

def RecoTLR.customisePostEra_Run2_2018_express_trackingOnly (   process)

◆ customisePostEra_Run2_2018_harvesting_trackingOnly()

def RecoTLR.customisePostEra_Run2_2018_harvesting_trackingOnly (   process)

Definition at line 67 of file RecoTLR.py.

68  #start with a repeat of 2017
70  return process
71 

References customisePostEra_Run2_2017_harvesting_trackingOnly().

◆ customisePostEra_Run2_2018_pp_on_AA()

def RecoTLR.customisePostEra_Run2_2018_pp_on_AA (   process)

Definition at line 76 of file RecoTLR.py.

78  return process
79 

References customisePostEra_Run2_2018().

◆ customisePostEra_Run2_2018_pp_on_AA_express_trackingOnly()

def RecoTLR.customisePostEra_Run2_2018_pp_on_AA_express_trackingOnly (   process)

Definition at line 80 of file RecoTLR.py.

82  from DQM.TrackingMonitorSource.PPonAATrackingOnly_custom import customise_PPonAATrackingOnlyDQM as _customise_PPonAATrackingOnlyDQM
83  _customise_PPonAATrackingOnlyDQM(process)
84  return process
85 
86 # Run3 equivalents
87 

References customisePostEra_Run2_2018_express_trackingOnly().

◆ customisePostEra_Run2_25ns()

def RecoTLR.customisePostEra_Run2_25ns (   process)

post-era customizations these are here instead of generating Data-specific eras

Definition at line 28 of file RecoTLR.py.

28 def customisePostEra_Run2_25ns(process):
29  return process
30 

◆ customisePostEra_Run3()

def RecoTLR.customisePostEra_Run3 (   process)

Definition at line 88 of file RecoTLR.py.

88 def customisePostEra_Run3(process):
89  #start with a repeat of 2018
91  return process
92 

References customisePostEra_Run2_2018().

◆ customisePostEra_Run3_express_trackingOnly()

def RecoTLR.customisePostEra_Run3_express_trackingOnly (   process)

Definition at line 93 of file RecoTLR.py.

94  #start with a repeat of 2018
96  return process
97 

References customisePostEra_Run2_2018_express_trackingOnly().

◆ customisePPData()

def RecoTLR.customisePPData (   process)

Definition at line 99 of file RecoTLR.py.

99 def customisePPData(process):
100  #deprecated process= customiseCommon(process)
101 
103  return process
104 
105 

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

◆ customisePPMC()

def RecoTLR.customisePPMC (   process)

Definition at line 107 of file RecoTLR.py.

107 def customisePPMC(process):
108  #deprecated process=customiseCommon(process)
109  #left as a place holder to alter production sequences in case of emergencies
110  return process
111 

◆ customisePrompt()

def RecoTLR.customisePrompt (   process)

Definition at line 136 of file RecoTLR.py.

136 def customisePrompt(process):
137  process= customisePPData(process)
138 
139  return process
140 

References customisePPData().

◆ customisePromptHI()

def RecoTLR.customisePromptHI (   process)

Definition at line 156 of file RecoTLR.py.

156 def customisePromptHI(process):
157  process = customiseCommonHI(process)
158 
159  return process
160 

References customiseCommonHI().

◆ customiseRun2CommonHI()

def RecoTLR.customiseRun2CommonHI (   process)

keep it in case modification is needed

Definition at line 219 of file RecoTLR.py.

219 def customiseRun2CommonHI(process):
220  process = customiseDataRun2Common_withStage1(process)
221 
222  process = _overridesFor50ns(process)
223  # HI Specific additional customizations:
224  # from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForPostLS1_Additional_HI
225  # process = customiseSimL1EmulatorForPostLS1_Additional_HI(process)
226 
227  return process

References _overridesFor50ns(), and customiseDataRun2Common_withStage1().

◆ customiseVALSKIM()

def RecoTLR.customiseVALSKIM (   process)

Definition at line 122 of file RecoTLR.py.

122 def customiseVALSKIM(process):
123  print("WARNING")
124  print("this method is outdated, please use RecoTLR.customisePPData")
125  process= customisePPData(process)
126  return process
127 
128 

References customisePPData(), and print().

RecoTLR.customisePostEra_Run2_2016
def customisePostEra_Run2_2016(process)
Definition: RecoTLR.py:31
RecoTLR.customiseCommonHI
def customiseCommonHI(process)
Heavy Ions.
Definition: RecoTLR.py:145
RecoTLR.customisePostEra_Run2_2018_pp_on_AA
def customisePostEra_Run2_2018_pp_on_AA(process)
Definition: RecoTLR.py:76
postLS1Customs.customise_Reco
def customise_Reco(process)
Definition: postLS1Customs.py:786
postLS1Customs.customise_RawToDigi
def customise_RawToDigi(process)
Definition: postLS1Customs.py:772
muonCustoms.unganged_me1a_geometry
def unganged_me1a_geometry(process)
Definition: muonCustoms.py:5
RecoTLR._swapOfflineBSwithOnline
def _swapOfflineBSwithOnline(process)
common utilities
Definition: RecoTLR.py:7
RecoTLR.customiseVALSKIM
def customiseVALSKIM(process)
Definition: RecoTLR.py:122
RecoTLR.customisePostEra_Run2_2018_pp_on_AA_express_trackingOnly
def customisePostEra_Run2_2018_pp_on_AA_express_trackingOnly(process)
Definition: RecoTLR.py:80
muonCustoms.customise_csc_LocalReco
def customise_csc_LocalReco(process)
Definition: muonCustoms.py:208
RecoTLR.customisePostEra_Run2_2017_pp_on_XeXe
def customisePostEra_Run2_2017_pp_on_XeXe(process)
Definition: RecoTLR.py:48
RecoTLR.customisePPMC
def customisePPMC(process)
Definition: RecoTLR.py:107
RecoTLR.customiseCosmicData
def customiseCosmicData(process)
Definition: RecoTLR.py:113
RecoTLR.customisePostEra_Run2_2017_ppRef
def customisePostEra_Run2_2017_ppRef(process)
Definition: RecoTLR.py:52
postLS1Customs.customise_DQM
def customise_DQM(process)
Definition: postLS1Customs.py:168
RecoTLR.customisePostEra_Run2_2018_express_trackingOnly
def customisePostEra_Run2_2018_express_trackingOnly(process)
Definition: RecoTLR.py:62
BeamSpotOnline_cfi
RecoTLR.customiseRun2CommonHI
def customiseRun2CommonHI(process)
keep it in case modification is needed
Definition: RecoTLR.py:219
RecoTLR.customisePostEra_Run3_express_trackingOnly
def customisePostEra_Run3_express_trackingOnly(process)
Definition: RecoTLR.py:93
RecoTLR.customisePostEra_Run2_2018_harvesting_trackingOnly
def customisePostEra_Run2_2018_harvesting_trackingOnly(process)
Definition: RecoTLR.py:67
postLS1Customs.customise_DQM_25ns
def customise_DQM_25ns(process)
Definition: postLS1Customs.py:178
RecoTLR.customiseExpressHI
def customiseExpressHI(process)
Definition: RecoTLR.py:149
RecoTLR.customiseDataRun2Common
def customiseDataRun2Common(process)
ALL FUNCTIONS BELOW ARE GOING TO BE REMOVED IN 81X.
Definition: RecoTLR.py:169
RecoTLR.customisePostEra_Run2_2017_express_trackingOnly
def customisePostEra_Run2_2017_express_trackingOnly(process)
Definition: RecoTLR.py:37
print
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:46
RecoTLR.customiseDataRun2Common_25ns
def customiseDataRun2Common_25ns(process)
common+ "25ns" Use this for data daking starting from runs in 2015C (>= 253256 )
Definition: RecoTLR.py:201
RecoTLR.customisePromptHI
def customisePromptHI(process)
Definition: RecoTLR.py:156
RecoTLR.customisePostEra_Run2_25ns
def customisePostEra_Run2_25ns(process)
post-era customizations these are here instead of generating Data-specific eras
Definition: RecoTLR.py:28
RecoTLR.customisePostEra_Run2_2017
def customisePostEra_Run2_2017(process)
Definition: RecoTLR.py:34
RecoTLR.customiseExpress
def customiseExpress(process)
Definition: RecoTLR.py:130
RecoTLR.customiseCosmicMC
def customiseCosmicMC(process)
Definition: RecoTLR.py:118
RecoTLR.customisePostEra_Run2_2018
def customisePostEra_Run2_2018(process)
Definition: RecoTLR.py:57
RecoTLR.customiseDataRun2Common_withStage1
def customiseDataRun2Common_withStage1(process)
Definition: RecoTLR.py:191
RecoTLR.customisePrompt
def customisePrompt(process)
Definition: RecoTLR.py:136
RecoTLR.customise_HI_PostEra_Run2_2018
def customise_HI_PostEra_Run2_2018(process)
Definition: RecoTLR.py:72
RecoTLR.customisePostEra_Run3
def customisePostEra_Run3(process)
Definition: RecoTLR.py:88
customsPostLS1.customiseL1RecoForStage1
def customiseL1RecoForStage1(process)
Definition: customsPostLS1.py:82
RecoTLR.customiseDataRun2Common_50nsRunsAfter253000
def customiseDataRun2Common_50nsRunsAfter253000(process)
Definition: RecoTLR.py:210
RecoTLR.customisePostEra_Run2_2017_harvesting_trackingOnly
def customisePostEra_Run2_2017_harvesting_trackingOnly(process)
Definition: RecoTLR.py:43
RecoTLR._overridesFor50ns
def _overridesFor50ns(process)
Definition: RecoTLR.py:17
RecoTLR.customisePPData
def customisePPData(process)
Definition: RecoTLR.py:99