CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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_2023 (process)
 
def customisePostEra_Run3_express_trackingOnly (process)
 
def customisePostEra_Run3_pp_on_PbPb (process)
 
def customisePostEra_Run3_pp_on_PbPb_2023 (process)
 
def customisePostEra_Run3_pp_on_PbPb_approxSiStripClusters (process)
 
def customisePostEra_Run3_pp_on_PbPb_approxSiStripClusters_2023 (process)
 
def customisePostEra_Run3_pp_on_PbPb_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.

Referenced by customiseDataRun2Common_50nsRunsAfter253000(), and customiseRun2CommonHI().

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

◆ _swapOfflineBSwithOnline()

def RecoTLR._swapOfflineBSwithOnline (   process)
private

common utilities

Definition at line 7 of file RecoTLR.py.

Referenced by customiseExpress(), and customiseExpressHI().

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 
def _swapOfflineBSwithOnline(process)
common utilities
Definition: RecoTLR.py:7

◆ customise_HI_PostEra_Run2_2018()

def RecoTLR.customise_HI_PostEra_Run2_2018 (   process)

Definition at line 72 of file RecoTLR.py.

References customisePostEra_Run2_2018().

74  return process
75 
def customise_HI_PostEra_Run2_2018(process)
Definition: RecoTLR.py:72
def customisePostEra_Run2_2018(process)
Definition: RecoTLR.py:57

◆ customiseCommonHI()

def RecoTLR.customiseCommonHI (   process)

Heavy Ions.

keep it in case modification is needed

Definition at line 171 of file RecoTLR.py.

Referenced by customiseExpressHI(), and customisePromptHI().

171 def customiseCommonHI(process):
172  return process
173 
def customiseCommonHI(process)
Heavy Ions.
Definition: RecoTLR.py:171

◆ customiseCosmicData()

def RecoTLR.customiseCosmicData (   process)

Definition at line 139 of file RecoTLR.py.

139 def customiseCosmicData(process):
140  return process
141 
142 
def customiseCosmicData(process)
Definition: RecoTLR.py:139

◆ customiseCosmicMC()

def RecoTLR.customiseCosmicMC (   process)

Definition at line 144 of file RecoTLR.py.

144 def customiseCosmicMC(process):
145  return process
146 
def customiseCosmicMC(process)
Definition: RecoTLR.py:144

◆ 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 195 of file RecoTLR.py.

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

Referenced by customiseDataRun2Common_withStage1().

195 def customiseDataRun2Common(process):
196  from SLHCUpgradeSimulations.Configuration.muonCustoms import unganged_me1a_geometry,customise_csc_LocalReco
197  process = unganged_me1a_geometry(process)
198  process = customise_csc_LocalReco(process)
199 
200  if hasattr(process,'valCscTriggerPrimitiveDigis'):
201  #this is not doing anything at the moment
202  process.valCscTriggerPrimitiveDigis.commonParam.gangedME1a = cms.bool(False)
203  if hasattr(process,'valCsctfTrackDigis'):
204  process.valCsctfTrackDigis.gangedME1a = cms.untracked.bool(False)
205 
206  from SLHCUpgradeSimulations.Configuration.postLS1Customs import customise_Reco,customise_RawToDigi,customise_DQM
207  if hasattr(process,'RawToDigi'):
208  process=customise_RawToDigi(process)
209  if hasattr(process,'reconstruction'):
210  process=customise_Reco(process)
211  if hasattr(process,'dqmoffline_step'):
212  process=customise_DQM(process)
213 
214  return process
215 
216 # add stage1
def customise_Reco(process)
def customise_csc_LocalReco(process)
Definition: muonCustoms.py:208
def customise_DQM(process)
def customise_RawToDigi(process)
def customiseDataRun2Common(process)
ALL FUNCTIONS BELOW ARE GOING TO BE REMOVED IN 81X.
Definition: RecoTLR.py:195
def unganged_me1a_geometry(process)
Definition: muonCustoms.py:5

◆ customiseDataRun2Common_25ns()

def RecoTLR.customiseDataRun2Common_25ns (   process)

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

Definition at line 227 of file RecoTLR.py.

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

227 def customiseDataRun2Common_25ns(process):
228  process = customiseDataRun2Common_withStage1(process)
229 
230  from SLHCUpgradeSimulations.Configuration.postLS1Customs import customise_DQM_25ns
231  if hasattr(process,'dqmoffline_step'):
232  process=customise_DQM_25ns(process)
233  return process
234 
235 # common+50ns. Needed only for runs >= 253000 if taken with 50ns
def customise_DQM_25ns(process)
def customiseDataRun2Common_25ns(process)
common+ "25ns" Use this for data daking starting from runs in 2015C (>= 253256 )
Definition: RecoTLR.py:227
def customiseDataRun2Common_withStage1(process)
Definition: RecoTLR.py:217

◆ customiseDataRun2Common_50nsRunsAfter253000()

def RecoTLR.customiseDataRun2Common_50nsRunsAfter253000 (   process)

Definition at line 236 of file RecoTLR.py.

References _overridesFor50ns(), and customiseDataRun2Common_withStage1().

237  process = customiseDataRun2Common_withStage1(process)
238 
239  process = _overridesFor50ns(process)
240 
241  return process
242 
def _overridesFor50ns(process)
Definition: RecoTLR.py:17
def customiseDataRun2Common_50nsRunsAfter253000(process)
Definition: RecoTLR.py:236
def customiseDataRun2Common_withStage1(process)
Definition: RecoTLR.py:217

◆ customiseDataRun2Common_withStage1()

def RecoTLR.customiseDataRun2Common_withStage1 (   process)

Definition at line 217 of file RecoTLR.py.

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

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

218  process = customiseDataRun2Common(process)
219 
220  from L1Trigger.L1TCommon.customsPostLS1 import customiseL1RecoForStage1
221  process=customiseL1RecoForStage1(process)
222 
223  return process
224 
def customiseDataRun2Common(process)
ALL FUNCTIONS BELOW ARE GOING TO BE REMOVED IN 81X.
Definition: RecoTLR.py:195
def customiseDataRun2Common_withStage1(process)
Definition: RecoTLR.py:217
def customiseL1RecoForStage1(process)

◆ customiseExpress()

def RecoTLR.customiseExpress (   process)

Definition at line 156 of file RecoTLR.py.

References _swapOfflineBSwithOnline(), and customisePPData().

156 def customiseExpress(process):
157  process= customisePPData(process)
158  process = _swapOfflineBSwithOnline(process)
159  return process
160 
def customiseExpress(process)
Definition: RecoTLR.py:156
def customisePPData(process)
Definition: RecoTLR.py:125
def _swapOfflineBSwithOnline(process)
common utilities
Definition: RecoTLR.py:7

◆ customiseExpressHI()

def RecoTLR.customiseExpressHI (   process)

Definition at line 175 of file RecoTLR.py.

References _swapOfflineBSwithOnline(), and customiseCommonHI().

175 def customiseExpressHI(process):
176  process = customiseCommonHI(process)
177  process = _swapOfflineBSwithOnline(process)
178 
179  return process
180 
def customiseExpressHI(process)
Definition: RecoTLR.py:175
def _swapOfflineBSwithOnline(process)
common utilities
Definition: RecoTLR.py:7
def customiseCommonHI(process)
Heavy Ions.
Definition: RecoTLR.py:171

◆ 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 
def customisePostEra_Run2_2016(process)
Definition: RecoTLR.py:31

◆ 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.

References customisePostEra_Run2_2017().

Referenced by customisePostEra_Run2_2018_express_trackingOnly().

39  from Calibration.TkAlCaRecoProducers.PCLHPbeamspot_custom import customise_HPbeamspot as _customise_HPbeamspot
40  _customise_HPbeamspot(process)
41  return process
42 
def customisePostEra_Run2_2017_express_trackingOnly(process)
Definition: RecoTLR.py:37
def customisePostEra_Run2_2017(process)
Definition: RecoTLR.py:34

◆ customisePostEra_Run2_2017_harvesting_trackingOnly()

def RecoTLR.customisePostEra_Run2_2017_harvesting_trackingOnly (   process)

Definition at line 43 of file RecoTLR.py.

Referenced by customisePostEra_Run2_2018_harvesting_trackingOnly().

44  from Calibration.TkAlCaRecoProducers.PCLHPbeamspot_custom import customise_HPbeamspot as _customise_HPbeamspot
45  _customise_HPbeamspot(process)
46  return process
47 
def customisePostEra_Run2_2017_harvesting_trackingOnly(process)
Definition: RecoTLR.py:43

◆ customisePostEra_Run2_2017_pp_on_XeXe()

def RecoTLR.customisePostEra_Run2_2017_pp_on_XeXe (   process)

Definition at line 48 of file RecoTLR.py.

References customisePostEra_Run2_2017().

50  return process
51 
def customisePostEra_Run2_2017_pp_on_XeXe(process)
Definition: RecoTLR.py:48
def customisePostEra_Run2_2017(process)
Definition: RecoTLR.py:34

◆ customisePostEra_Run2_2017_ppRef()

def RecoTLR.customisePostEra_Run2_2017_ppRef (   process)

Definition at line 52 of file RecoTLR.py.

References customisePostEra_Run2_2017().

54  return process
55 
56 # 2018 equivalents
def customisePostEra_Run2_2017_ppRef(process)
Definition: RecoTLR.py:52
def customisePostEra_Run2_2017(process)
Definition: RecoTLR.py:34

◆ customisePostEra_Run2_2018()

def RecoTLR.customisePostEra_Run2_2018 (   process)

Definition at line 57 of file RecoTLR.py.

References customisePostEra_Run2_2017().

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

57 def customisePostEra_Run2_2018(process):
58  #start with a repeat of 2017
60  return process
61 
def customisePostEra_Run2_2017(process)
Definition: RecoTLR.py:34
def customisePostEra_Run2_2018(process)
Definition: RecoTLR.py:57

◆ customisePostEra_Run2_2018_express_trackingOnly()

def RecoTLR.customisePostEra_Run2_2018_express_trackingOnly (   process)

Definition at line 62 of file RecoTLR.py.

References customisePostEra_Run2_2017_express_trackingOnly().

Referenced by customisePostEra_Run2_2018_pp_on_AA_express_trackingOnly(), and customisePostEra_Run3_express_trackingOnly().

63  #start with a repeat of 2017
65  return process
66 
def customisePostEra_Run2_2018_express_trackingOnly(process)
Definition: RecoTLR.py:62
def customisePostEra_Run2_2017_express_trackingOnly(process)
Definition: RecoTLR.py:37

◆ customisePostEra_Run2_2018_harvesting_trackingOnly()

def RecoTLR.customisePostEra_Run2_2018_harvesting_trackingOnly (   process)

Definition at line 67 of file RecoTLR.py.

References customisePostEra_Run2_2017_harvesting_trackingOnly().

68  #start with a repeat of 2017
70  return process
71 
def customisePostEra_Run2_2018_harvesting_trackingOnly(process)
Definition: RecoTLR.py:67
def customisePostEra_Run2_2017_harvesting_trackingOnly(process)
Definition: RecoTLR.py:43

◆ customisePostEra_Run2_2018_pp_on_AA()

def RecoTLR.customisePostEra_Run2_2018_pp_on_AA (   process)

Definition at line 76 of file RecoTLR.py.

References customisePostEra_Run2_2018().

78  return process
79 
def customisePostEra_Run2_2018(process)
Definition: RecoTLR.py:57
def customisePostEra_Run2_2018_pp_on_AA(process)
Definition: RecoTLR.py:76

◆ 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.

References customisePostEra_Run2_2018_express_trackingOnly().

Referenced by customisePostEra_Run3_pp_on_PbPb_express_trackingOnly().

82  from DQM.TrackingMonitorSource.PPonAATrackingOnly_custom import customise_PPonAATrackingOnlyDQM as _customise_PPonAATrackingOnlyDQM
83  _customise_PPonAATrackingOnlyDQM(process)
84  return process
85 
86 # Run3 equivalents
87 
def customisePostEra_Run2_2018_pp_on_AA_express_trackingOnly(process)
Definition: RecoTLR.py:80
def customisePostEra_Run2_2018_express_trackingOnly(process)
Definition: RecoTLR.py:62

◆ 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 
def customisePostEra_Run2_25ns(process)
post-era customizations these are here instead of generating Data-specific eras
Definition: RecoTLR.py:28

◆ customisePostEra_Run3()

def RecoTLR.customisePostEra_Run3 (   process)

Definition at line 88 of file RecoTLR.py.

References customisePostEra_Run2_2018().

Referenced by customisePostEra_Run3_2023(), and customisePostEra_Run3_pp_on_PbPb().

88 def customisePostEra_Run3(process):
89  #start with a repeat of 2018
91  return process
92 
def customisePostEra_Run2_2018(process)
Definition: RecoTLR.py:57
def customisePostEra_Run3(process)
Definition: RecoTLR.py:88

◆ customisePostEra_Run3_2023()

def RecoTLR.customisePostEra_Run3_2023 (   process)

Definition at line 93 of file RecoTLR.py.

References customisePostEra_Run3().

Referenced by customisePostEra_Run3_pp_on_PbPb_2023().

93 def customisePostEra_Run3_2023(process):
94  #start with a repeat of Run3
95  customisePostEra_Run3(process)
96  return process
97 
def customisePostEra_Run3(process)
Definition: RecoTLR.py:88
def customisePostEra_Run3_2023(process)
Definition: RecoTLR.py:93

◆ customisePostEra_Run3_express_trackingOnly()

def RecoTLR.customisePostEra_Run3_express_trackingOnly (   process)

Definition at line 98 of file RecoTLR.py.

References customisePostEra_Run2_2018_express_trackingOnly().

99  #start with a repeat of 2018
101  return process
102 
def customisePostEra_Run3_express_trackingOnly(process)
Definition: RecoTLR.py:98
def customisePostEra_Run2_2018_express_trackingOnly(process)
Definition: RecoTLR.py:62

◆ customisePostEra_Run3_pp_on_PbPb()

def RecoTLR.customisePostEra_Run3_pp_on_PbPb (   process)

Definition at line 108 of file RecoTLR.py.

References customisePostEra_Run3().

Referenced by customisePostEra_Run3_pp_on_PbPb_approxSiStripClusters().

109  customisePostEra_Run3(process)
110  return process
111 
def customisePostEra_Run3_pp_on_PbPb(process)
Definition: RecoTLR.py:108
def customisePostEra_Run3(process)
Definition: RecoTLR.py:88

◆ customisePostEra_Run3_pp_on_PbPb_2023()

def RecoTLR.customisePostEra_Run3_pp_on_PbPb_2023 (   process)

Definition at line 112 of file RecoTLR.py.

References customisePostEra_Run3_2023().

Referenced by customisePostEra_Run3_pp_on_PbPb_approxSiStripClusters_2023().

114  return process
115 
def customisePostEra_Run3_pp_on_PbPb_2023(process)
Definition: RecoTLR.py:112
def customisePostEra_Run3_2023(process)
Definition: RecoTLR.py:93

◆ customisePostEra_Run3_pp_on_PbPb_approxSiStripClusters()

def RecoTLR.customisePostEra_Run3_pp_on_PbPb_approxSiStripClusters (   process)

Definition at line 116 of file RecoTLR.py.

References customisePostEra_Run3_pp_on_PbPb().

118  return process
119 
def customisePostEra_Run3_pp_on_PbPb(process)
Definition: RecoTLR.py:108
def customisePostEra_Run3_pp_on_PbPb_approxSiStripClusters(process)
Definition: RecoTLR.py:116

◆ customisePostEra_Run3_pp_on_PbPb_approxSiStripClusters_2023()

def RecoTLR.customisePostEra_Run3_pp_on_PbPb_approxSiStripClusters_2023 (   process)

Definition at line 120 of file RecoTLR.py.

References customisePostEra_Run3_pp_on_PbPb_2023().

122  return process
123 
def customisePostEra_Run3_pp_on_PbPb_approxSiStripClusters_2023(process)
Definition: RecoTLR.py:120
def customisePostEra_Run3_pp_on_PbPb_2023(process)
Definition: RecoTLR.py:112

◆ customisePostEra_Run3_pp_on_PbPb_express_trackingOnly()

def RecoTLR.customisePostEra_Run3_pp_on_PbPb_express_trackingOnly (   process)

Definition at line 103 of file RecoTLR.py.

References customisePostEra_Run2_2018_pp_on_AA_express_trackingOnly().

104  #start with repeat of 2018
106  return process
107 
def customisePostEra_Run2_2018_pp_on_AA_express_trackingOnly(process)
Definition: RecoTLR.py:80
def customisePostEra_Run3_pp_on_PbPb_express_trackingOnly(process)
Definition: RecoTLR.py:103

◆ customisePPData()

def RecoTLR.customisePPData (   process)

Definition at line 125 of file RecoTLR.py.

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

125 def customisePPData(process):
126  #deprecated process= customiseCommon(process)
127 
129  return process
130 
131 
def customisePPData(process)
Definition: RecoTLR.py:125

◆ customisePPMC()

def RecoTLR.customisePPMC (   process)

Definition at line 133 of file RecoTLR.py.

133 def customisePPMC(process):
134  #deprecated process=customiseCommon(process)
135  #left as a place holder to alter production sequences in case of emergencies
136  return process
137 
def customisePPMC(process)
Definition: RecoTLR.py:133

◆ customisePrompt()

def RecoTLR.customisePrompt (   process)

Definition at line 162 of file RecoTLR.py.

References customisePPData().

162 def customisePrompt(process):
163  process= customisePPData(process)
164 
165  return process
166 
def customisePrompt(process)
Definition: RecoTLR.py:162
def customisePPData(process)
Definition: RecoTLR.py:125

◆ customisePromptHI()

def RecoTLR.customisePromptHI (   process)

Definition at line 182 of file RecoTLR.py.

References customiseCommonHI().

182 def customisePromptHI(process):
183  process = customiseCommonHI(process)
184 
185  return process
186 
def customisePromptHI(process)
Definition: RecoTLR.py:182
def customiseCommonHI(process)
Heavy Ions.
Definition: RecoTLR.py:171

◆ customiseRun2CommonHI()

def RecoTLR.customiseRun2CommonHI (   process)

keep it in case modification is needed

Definition at line 245 of file RecoTLR.py.

References _overridesFor50ns(), and customiseDataRun2Common_withStage1().

245 def customiseRun2CommonHI(process):
246  process = customiseDataRun2Common_withStage1(process)
247 
248  process = _overridesFor50ns(process)
249  # HI Specific additional customizations:
250  # from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForPostLS1_Additional_HI
251  # process = customiseSimL1EmulatorForPostLS1_Additional_HI(process)
252 
253  return process
254 
def _overridesFor50ns(process)
Definition: RecoTLR.py:17
def customiseRun2CommonHI(process)
keep it in case modification is needed
Definition: RecoTLR.py:245
def customiseDataRun2Common_withStage1(process)
Definition: RecoTLR.py:217

◆ customiseVALSKIM()

def RecoTLR.customiseVALSKIM (   process)

Definition at line 148 of file RecoTLR.py.

References customisePPData(), and print().

148 def customiseVALSKIM(process):
149  print("WARNING")
150  print("this method is outdated, please use RecoTLR.customisePPData")
151  process= customisePPData(process)
152  return process
153 
154 
def customiseVALSKIM(process)
Definition: RecoTLR.py:148
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47
def customisePPData(process)
Definition: RecoTLR.py:125