CMS 3D CMS Logo

Functions
RecoTLR Namespace Reference

Functions

def _hcalCustoms25ns (process)
 post-era customizations these are here instead of generating Data-specific eras More...
 
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)
 
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

◆ _hcalCustoms25ns()

def RecoTLR._hcalCustoms25ns (   process)
private

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

Definition at line 22 of file RecoTLR.py.

22 def _hcalCustoms25ns(process):
23  import RecoLocalCalo.HcalRecAlgos.RemoveAddSevLevel as HcalRemoveAddSevLevel
24  HcalRemoveAddSevLevel.AddFlag(process.hcalRecAlgos,"HFDigiTime",8)
25  HcalRemoveAddSevLevel.AddFlag(process.hcalRecAlgos,"HBHEFlatNoise",8)
26  return process
27 

Referenced by customiseDataRun2Common_25ns(), customisePostEra_Run2_2016(), and customisePostEra_Run2_25ns().

◆ _overridesFor50ns()

def RecoTLR._overridesFor50ns (   process)
private

Definition at line 12 of file RecoTLR.py.

12 def _overridesFor50ns(process):
13  process.bunchSpacingProducer.bunchSpacingOverride = cms.uint32(50)
14  process.bunchSpacingProducer.overrideBunchSpacing = cms.bool(True)
15 
16  return process
17 

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  from RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi import onlineBeamSpotProducer
9  process.offlineBeamSpot = onlineBeamSpotProducer.clone()
10  return process
11 

Referenced by customiseExpress(), and customiseExpressHI().

◆ customise_HI_PostEra_Run2_2018()

def RecoTLR.customise_HI_PostEra_Run2_2018 (   process)

Definition at line 77 of file RecoTLR.py.

79  return process
80 

References customisePostEra_Run2_2018().

◆ customiseCommonHI()

def RecoTLR.customiseCommonHI (   process)

Heavy Ions.

keep it in case modification is needed

Definition at line 149 of file RecoTLR.py.

149 def customiseCommonHI(process):
150  return process
151 

Referenced by customiseExpressHI(), and customisePromptHI().

◆ customiseCosmicData()

def RecoTLR.customiseCosmicData (   process)

Definition at line 117 of file RecoTLR.py.

117 def customiseCosmicData(process):
118  return process
119 
120 

◆ customiseCosmicMC()

def RecoTLR.customiseCosmicMC (   process)

Definition at line 122 of file RecoTLR.py.

122 def customiseCosmicMC(process):
123  return process
124 

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

173 def customiseDataRun2Common(process):
174  from SLHCUpgradeSimulations.Configuration.muonCustoms import unganged_me1a_geometry,customise_csc_LocalReco
175  process = unganged_me1a_geometry(process)
176  process = customise_csc_LocalReco(process)
177 
178  if hasattr(process,'valCscTriggerPrimitiveDigis'):
179  #this is not doing anything at the moment
180  process.valCscTriggerPrimitiveDigis.commonParam.gangedME1a = cms.bool(False)
181  if hasattr(process,'valCsctfTrackDigis'):
182  process.valCsctfTrackDigis.gangedME1a = cms.untracked.bool(False)
183 
184  from SLHCUpgradeSimulations.Configuration.postLS1Customs import customise_Reco,customise_RawToDigi,customise_DQM
185  if hasattr(process,'RawToDigi'):
186  process=customise_RawToDigi(process)
187  if hasattr(process,'reconstruction'):
188  process=customise_Reco(process)
189  if hasattr(process,'dqmoffline_step'):
190  process=customise_DQM(process)
191 
192  return process
193 
194 # 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 205 of file RecoTLR.py.

205 def customiseDataRun2Common_25ns(process):
206  process = customiseDataRun2Common_withStage1(process)
207 
208  _hcalCustoms25ns(process)
209 
210  from SLHCUpgradeSimulations.Configuration.postLS1Customs import customise_DQM_25ns
211  if hasattr(process,'dqmoffline_step'):
212  process=customise_DQM_25ns(process)
213  return process
214 
215 # common+50ns. Needed only for runs >= 253000 if taken with 50ns

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

◆ customiseDataRun2Common_50nsRunsAfter253000()

def RecoTLR.customiseDataRun2Common_50nsRunsAfter253000 (   process)

Definition at line 216 of file RecoTLR.py.

217  process = customiseDataRun2Common_withStage1(process)
218 
219  process = _overridesFor50ns(process)
220 
221  return process
222 

References _overridesFor50ns(), and customiseDataRun2Common_withStage1().

◆ customiseDataRun2Common_withStage1()

def RecoTLR.customiseDataRun2Common_withStage1 (   process)

Definition at line 195 of file RecoTLR.py.

196  process = customiseDataRun2Common(process)
197 
198  from L1Trigger.L1TCommon.customsPostLS1 import customiseL1RecoForStage1
199  process=customiseL1RecoForStage1(process)
200 
201  return process
202 

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

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

◆ customiseExpress()

def RecoTLR.customiseExpress (   process)

Definition at line 134 of file RecoTLR.py.

134 def customiseExpress(process):
135  process= customisePPData(process)
136  process = _swapOfflineBSwithOnline(process)
137  return process
138 

References _swapOfflineBSwithOnline(), and customisePPData().

◆ customiseExpressHI()

def RecoTLR.customiseExpressHI (   process)

Definition at line 153 of file RecoTLR.py.

153 def customiseExpressHI(process):
154  process = customiseCommonHI(process)
155  process = _swapOfflineBSwithOnline(process)
156 
157  return process
158 

References _swapOfflineBSwithOnline(), and customiseCommonHI().

◆ customisePostEra_Run2_2016()

def RecoTLR.customisePostEra_Run2_2016 (   process)

Definition at line 32 of file RecoTLR.py.

32 def customisePostEra_Run2_2016(process):
33  _hcalCustoms25ns(process)
34  return process
35 

References _hcalCustoms25ns().

◆ customisePostEra_Run2_2017()

def RecoTLR.customisePostEra_Run2_2017 (   process)

Definition at line 36 of file RecoTLR.py.

36 def customisePostEra_Run2_2017(process):
37  import RecoLocalCalo.HcalRecAlgos.RemoveAddSevLevel as HcalRemoveAddSevLevel
38  HcalRemoveAddSevLevel.AddFlag(process.hcalRecAlgos,"HBHEFlatNoise",8)
39  HcalRemoveAddSevLevel.RemoveFlag(process.hcalRecAlgos,"HFDigiTime")
40  return process
41 

Referenced by customisePostEra_Run2_2017_express_trackingOnly(), customisePostEra_Run2_2017_pp_on_XeXe(), customisePostEra_Run2_2017_ppRef(), and customisePostEra_Run2_2018().

◆ customisePostEra_Run2_2017_express_trackingOnly()

def RecoTLR.customisePostEra_Run2_2017_express_trackingOnly (   process)

Definition at line 42 of file RecoTLR.py.

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

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

49  from Calibration.TkAlCaRecoProducers.PCLHPbeamspot_custom import customise_HPbeamspot as _customise_HPbeamspot
50  _customise_HPbeamspot(process)
51  return process
52 

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

55  return process
56 

References customisePostEra_Run2_2017().

◆ customisePostEra_Run2_2017_ppRef()

def RecoTLR.customisePostEra_Run2_2017_ppRef (   process)

Definition at line 57 of file RecoTLR.py.

59  return process
60 
61 # 2018 equivalents

References customisePostEra_Run2_2017().

◆ customisePostEra_Run2_2018()

def RecoTLR.customisePostEra_Run2_2018 (   process)

Definition at line 62 of file RecoTLR.py.

62 def customisePostEra_Run2_2018(process):
63  #start with a repeat of 2017
65  return process
66 

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

73  #start with a repeat of 2017
75  return process
76 

References customisePostEra_Run2_2017_harvesting_trackingOnly().

◆ customisePostEra_Run2_2018_pp_on_AA()

def RecoTLR.customisePostEra_Run2_2018_pp_on_AA (   process)

Definition at line 81 of file RecoTLR.py.

83  return process
84 

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

87  from DQM.TrackingMonitorSource.PPonAATrackingOnly_custom import customise_PPonAATrackingOnlyDQM as _customise_PPonAATrackingOnlyDQM
88  _customise_PPonAATrackingOnlyDQM(process)
89  return process
90 
91 # 2021 equivalents

References customisePostEra_Run2_2018_express_trackingOnly().

◆ customisePostEra_Run2_25ns()

def RecoTLR.customisePostEra_Run2_25ns (   process)

Definition at line 28 of file RecoTLR.py.

28 def customisePostEra_Run2_25ns(process):
29  _hcalCustoms25ns(process)
30  return process
31 

References _hcalCustoms25ns().

◆ customisePostEra_Run3()

def RecoTLR.customisePostEra_Run3 (   process)

Definition at line 92 of file RecoTLR.py.

92 def customisePostEra_Run3(process):
93  #start with a repeat of 2018
95  return process
96 

References customisePostEra_Run2_2018().

◆ customisePostEra_Run3_express_trackingOnly()

def RecoTLR.customisePostEra_Run3_express_trackingOnly (   process)

Definition at line 97 of file RecoTLR.py.

98  #start with a repeat of 2018
100  return process
101 

References customisePostEra_Run2_2018_express_trackingOnly().

◆ customisePPData()

def RecoTLR.customisePPData (   process)

Definition at line 103 of file RecoTLR.py.

103 def customisePPData(process):
104  #deprecated process= customiseCommon(process)
105 
107  return process
108 
109 

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

◆ customisePPMC()

def RecoTLR.customisePPMC (   process)

Definition at line 111 of file RecoTLR.py.

111 def customisePPMC(process):
112  #deprecated process=customiseCommon(process)
113  #left as a place holder to alter production sequences in case of emergencies
114  return process
115 

◆ customisePrompt()

def RecoTLR.customisePrompt (   process)

Definition at line 140 of file RecoTLR.py.

140 def customisePrompt(process):
141  process= customisePPData(process)
142 
143  return process
144 

References customisePPData().

◆ customisePromptHI()

def RecoTLR.customisePromptHI (   process)

Definition at line 160 of file RecoTLR.py.

160 def customisePromptHI(process):
161  process = customiseCommonHI(process)
162 
163  return process
164 

References customiseCommonHI().

◆ customiseRun2CommonHI()

def RecoTLR.customiseRun2CommonHI (   process)

keep it in case modification is needed

Definition at line 225 of file RecoTLR.py.

225 def customiseRun2CommonHI(process):
226  process = customiseDataRun2Common_withStage1(process)
227 
228  process = _overridesFor50ns(process)
229  # HI Specific additional customizations:
230  # from L1Trigger.L1TCommon.customsPostLS1 import customiseSimL1EmulatorForPostLS1_Additional_HI
231  # process = customiseSimL1EmulatorForPostLS1_Additional_HI(process)
232 
233  return process

References _overridesFor50ns(), and customiseDataRun2Common_withStage1().

◆ customiseVALSKIM()

def RecoTLR.customiseVALSKIM (   process)

Definition at line 126 of file RecoTLR.py.

126 def customiseVALSKIM(process):
127  print("WARNING")
128  print("this method is outdated, please use RecoTLR.customisePPData")
129  process= customisePPData(process)
130  return process
131 
132 

References customisePPData(), and print().

RecoTLR.customisePostEra_Run2_2016
def customisePostEra_Run2_2016(process)
Definition: RecoTLR.py:32
RecoTLR.customiseCommonHI
def customiseCommonHI(process)
Heavy Ions.
Definition: RecoTLR.py:149
RecoTLR.customisePostEra_Run2_2018_pp_on_AA
def customisePostEra_Run2_2018_pp_on_AA(process)
Definition: RecoTLR.py:81
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:126
RecoTLR.customisePostEra_Run2_2018_pp_on_AA_express_trackingOnly
def customisePostEra_Run2_2018_pp_on_AA_express_trackingOnly(process)
Definition: RecoTLR.py:85
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:53
RecoTLR.customisePPMC
def customisePPMC(process)
Definition: RecoTLR.py:111
RecoTLR.customiseCosmicData
def customiseCosmicData(process)
Definition: RecoTLR.py:117
RecoTLR.customisePostEra_Run2_2017_ppRef
def customisePostEra_Run2_2017_ppRef(process)
Definition: RecoTLR.py:57
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:67
RecoTLR._hcalCustoms25ns
def _hcalCustoms25ns(process)
post-era customizations these are here instead of generating Data-specific eras
Definition: RecoTLR.py:22
BeamSpotOnline_cfi
RecoTLR.customiseRun2CommonHI
def customiseRun2CommonHI(process)
keep it in case modification is needed
Definition: RecoTLR.py:225
RecoTLR.customisePostEra_Run3_express_trackingOnly
def customisePostEra_Run3_express_trackingOnly(process)
Definition: RecoTLR.py:97
RecoTLR.customisePostEra_Run2_2018_harvesting_trackingOnly
def customisePostEra_Run2_2018_harvesting_trackingOnly(process)
Definition: RecoTLR.py:72
postLS1Customs.customise_DQM_25ns
def customise_DQM_25ns(process)
Definition: postLS1Customs.py:178
RecoTLR.customiseExpressHI
def customiseExpressHI(process)
Definition: RecoTLR.py:153
RecoTLR.customiseDataRun2Common
def customiseDataRun2Common(process)
ALL FUNCTIONS BELOW ARE GOING TO BE REMOVED IN 81X.
Definition: RecoTLR.py:173
RecoTLR.customisePostEra_Run2_2017_express_trackingOnly
def customisePostEra_Run2_2017_express_trackingOnly(process)
Definition: RecoTLR.py:42
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:205
RecoTLR.customisePromptHI
def customisePromptHI(process)
Definition: RecoTLR.py:160
RecoTLR.customisePostEra_Run2_25ns
def customisePostEra_Run2_25ns(process)
Definition: RecoTLR.py:28
RecoTLR.customisePostEra_Run2_2017
def customisePostEra_Run2_2017(process)
Definition: RecoTLR.py:36
RecoTLR.customiseExpress
def customiseExpress(process)
Definition: RecoTLR.py:134
RecoTLR.customiseCosmicMC
def customiseCosmicMC(process)
Definition: RecoTLR.py:122
RecoTLR.customisePostEra_Run2_2018
def customisePostEra_Run2_2018(process)
Definition: RecoTLR.py:62
RecoTLR.customiseDataRun2Common_withStage1
def customiseDataRun2Common_withStage1(process)
Definition: RecoTLR.py:195
RecoTLR.customisePrompt
def customisePrompt(process)
Definition: RecoTLR.py:140
RecoTLR.customise_HI_PostEra_Run2_2018
def customise_HI_PostEra_Run2_2018(process)
Definition: RecoTLR.py:77
RecoTLR.customisePostEra_Run3
def customisePostEra_Run3(process)
Definition: RecoTLR.py:92
customsPostLS1.customiseL1RecoForStage1
def customiseL1RecoForStage1(process)
Definition: customsPostLS1.py:82
RecoTLR.customiseDataRun2Common_50nsRunsAfter253000
def customiseDataRun2Common_50nsRunsAfter253000(process)
Definition: RecoTLR.py:216
RecoTLR.customisePostEra_Run2_2017_harvesting_trackingOnly
def customisePostEra_Run2_2017_harvesting_trackingOnly(process)
Definition: RecoTLR.py:48
RecoTLR._overridesFor50ns
def _overridesFor50ns(process)
Definition: RecoTLR.py:12
RecoTLR.customisePPData
def customisePPData(process)
Definition: RecoTLR.py:103