CMS 3D CMS Logo

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

Functions

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 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 customiseVALSKIM
 

Function Documentation

def RecoTLR.customiseCosmicData (   process)

Definition at line 24 of file RecoTLR.py.

Referenced by customiseCosmicDataRun2().

24 
25 def customiseCosmicData(process):
26 
27  return process
28 
29 
def customiseCosmicData
Definition: RecoTLR.py:24
def RecoTLR.customiseCosmicDataRun2 (   process)

Definition at line 88 of file RecoTLR.py.

References customiseCosmicData(), and customiseDataRun2Common_25ns().

88 
89 def customiseCosmicDataRun2(process):
90  process = customiseCosmicData(process)
91  process = customiseDataRun2Common_25ns(process)
92  return process
93 
def customiseCosmicDataRun2
Definition: RecoTLR.py:88
def customiseCosmicData
Definition: RecoTLR.py:24
def customiseDataRun2Common_25ns
common+ "25ns" Use this for data daking starting from runs in 2015C (>= 253256 )
Definition: RecoTLR.py:60
def RecoTLR.customiseCosmicMC (   process)

Definition at line 95 of file RecoTLR.py.

95 
96 def customiseCosmicMC(process):
97 
98  return process
def customiseCosmicMC
Definition: RecoTLR.py:95
def RecoTLR.customiseDataRun2Common (   process)

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

Definition at line 32 of file RecoTLR.py.

References HCalCustoms.customise_DQM(), HCalCustoms.customise_RawToDigi(), and HCalCustoms.customise_Reco().

Referenced by customiseDataRun2Common_25ns(), and customiseDataRun2Common_50nsRunsAfter253000().

32 
33 def customiseDataRun2Common(process):
34  if hasattr(process,'CSCGeometryESModule'):
35  process.CSCGeometryESModule.useGangedStripsInME1a = cms.bool(False)
36  if hasattr(process,'CSCIndexerESProducer'):
37  process.CSCIndexerESProducer.AlgoName=cms.string("CSCIndexerPostls1")
38  if hasattr(process,'CSCChannelMapperESProducer'):
39  process.CSCChannelMapperESProducer.AlgoName=cms.string("CSCChannelMapperPostls1")
40  if hasattr(process,'csc2DRecHits'):
41  process.csc2DRecHits.readBadChannels = cms.bool(False)
42  process.csc2DRecHits.CSCUseGasGainCorrections = cms.bool(False)
43  if hasattr(process,'valCscTriggerPrimitiveDigis'):
44  #this is not doing anything at the moment
45  process.valCscTriggerPrimitiveDigis.commonParam.gangedME1a = cms.untracked.bool(False)
46  if hasattr(process,'valCsctfTrackDigis'):
47  process.valCsctfTrackDigis.gangedME1a = cms.untracked.bool(False)
48 
49  from SLHCUpgradeSimulations.Configuration.postLS1Customs import customise_Reco,customise_RawToDigi,customise_DQM
50  if hasattr(process,'RawToDigi'):
51  process=customise_RawToDigi(process)
52  if hasattr(process,'reconstruction'):
53  process=customise_Reco(process)
54  if hasattr(process,'dqmoffline_step'):
55  process=customise_DQM(process)
56 
57  return process
def customiseDataRun2Common
this is supposed to be added on top of other (Run1) data customs
Definition: RecoTLR.py:32
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 60 of file RecoTLR.py.

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

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

60 
61 def customiseDataRun2Common_25ns(process):
62  process = customiseDataRun2Common(process)
63 
64  from L1Trigger.L1TCommon.customsPostLS1 import customiseL1RecoForStage1
65  process=customiseL1RecoForStage1(process)
66 
67  from SLHCUpgradeSimulations.Configuration.postLS1Customs import customise_DQM_25ns
68  if hasattr(process,'dqmoffline_step'):
69  process=customise_DQM_25ns(process)
70  return process
71 
# common+50ns. Needed only for runs >= 253000 if taken with 50ns
def customiseDataRun2Common
this is supposed to be added on top of other (Run1) data customs
Definition: RecoTLR.py:32
def customiseDataRun2Common_25ns
common+ "25ns" Use this for data daking starting from runs in 2015C (>= 253256 )
Definition: RecoTLR.py:60
def customiseL1RecoForStage1
def RecoTLR.customiseDataRun2Common_50nsRunsAfter253000 (   process)

Definition at line 72 of file RecoTLR.py.

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

Referenced by customiseExpressRun2_50ns(), and customisePromptRun2_50ns().

72 
74  process = customiseDataRun2Common(process)
75 
76  from L1Trigger.L1TCommon.customsPostLS1 import customiseL1RecoForStage1
77  process=customiseL1RecoForStage1(process)
78 
79  if hasattr(process,'particleFlowClusterECAL'):
80  process.particleFlowClusterECAL.energyCorrector.autoDetectBunchSpacing = False
81  process.particleFlowClusterECAL.energyCorrector.bunchSpacing = cms.int32(50)
82  if hasattr(process,'ecalMultiFitUncalibRecHit'):
83  process.ecalMultiFitUncalibRecHit.algoPSet.useLumiInfoRunHeader = False
84  process.ecalMultiFitUncalibRecHit.algoPSet.bunchSpacing = cms.int32(50)
85 
86  return process
def customiseDataRun2Common
this is supposed to be added on top of other (Run1) data customs
Definition: RecoTLR.py:32
def customiseDataRun2Common_50nsRunsAfter253000
Definition: RecoTLR.py:72
def customiseL1RecoForStage1
def RecoTLR.customiseExpress (   process)

Definition at line 107 of file RecoTLR.py.

References customisePPData().

Referenced by customiseExpressRun2(), and customiseExpressRun2_50ns().

108 def customiseExpress(process):
109  process= customisePPData(process)
110 
111  from RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi import onlineBeamSpotProducer
112  process.offlineBeamSpot = onlineBeamSpotProducer.clone()
113 
114  return process
def customisePPData
Definition: RecoTLR.py:10
def customiseExpress
Definition: RecoTLR.py:107
def RecoTLR.customiseExpressHI (   process)

Definition at line 168 of file RecoTLR.py.

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

169 def customiseExpressHI(process):
170  #deprecated process= customiseCommonHI(process)
171 
172  from RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi import onlineBeamSpotProducer
173  process.offlineBeamSpot = onlineBeamSpotProducer.clone()
174 
175  return process
def customiseExpressHI
Definition: RecoTLR.py:168
def RecoTLR.customiseExpressRun2 (   process)

Definition at line 116 of file RecoTLR.py.

References customiseDataRun2Common_25ns(), and customiseExpress().

Referenced by customiseExpressRun2B0T().

117 def customiseExpressRun2(process):
118  process = customiseExpress(process)
119  process = customiseDataRun2Common_25ns(process)
120  return process
def customiseExpressRun2
Definition: RecoTLR.py:116
def customiseDataRun2Common_25ns
common+ "25ns" Use this for data daking starting from runs in 2015C (>= 253256 )
Definition: RecoTLR.py:60
def customiseExpress
Definition: RecoTLR.py:107
def RecoTLR.customiseExpressRun2_50ns (   process)

Definition at line 121 of file RecoTLR.py.

References customiseDataRun2Common_50nsRunsAfter253000(), and customiseExpress().

122 def customiseExpressRun2_50ns(process):
123  process = customiseExpress(process)
125  return process
def customiseDataRun2Common_50nsRunsAfter253000
Definition: RecoTLR.py:72
def customiseExpressRun2_50ns
Definition: RecoTLR.py:121
def customiseExpress
Definition: RecoTLR.py:107
def RecoTLR.customiseExpressRun2B0T (   process)

Definition at line 126 of file RecoTLR.py.

References customiseExpressRun2().

127 def customiseExpressRun2B0T(process):
128  process=customiseForRunI(process)
129  process=customiseExpressRun2(process)
130  return process
def customiseExpressRun2
Definition: RecoTLR.py:116
def customiseExpressRun2B0T
Definition: RecoTLR.py:126
def RecoTLR.customisePPData (   process)

Definition at line 10 of file RecoTLR.py.

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

10 
11 def customisePPData(process):
12  #deprecated process= customiseCommon(process)
13  ##all customisation for data are now deprecated to Reconstruction_Data_cff
14  #left as a place holder to alter production sequences in case of emergencies
15  return process
16 
def customisePPData
Definition: RecoTLR.py:10
def RecoTLR.customisePPMC (   process)

Definition at line 18 of file RecoTLR.py.

18 
19 def customisePPMC(process):
20  #deprecated process=customiseCommon(process)
21  #left as a place holder to alter production sequences in case of emergencies
22  return process
def customisePPMC
Definition: RecoTLR.py:18
def RecoTLR.customisePrompt (   process)

Definition at line 132 of file RecoTLR.py.

References customisePPData().

Referenced by customisePromptRun2(), and customisePromptRun2_50ns().

133 def customisePrompt(process):
134  process= customisePPData(process)
135 
136  #add the lumi producer in the prompt reco only configuration
137  if not hasattr(process,'lumiProducer'):
138  #unscheduled..
139  from RecoLuminosity.LumiProducer.lumiProducer_cff import lumiProducer,LumiDBService
140  process.lumiProducer=lumiProducer
141  process.reconstruction_step+=process.lumiProducer
142 
143  return process
def customisePPData
Definition: RecoTLR.py:10
def customisePrompt
Definition: RecoTLR.py:132
def RecoTLR.customisePromptHI (   process)

Definition at line 177 of file RecoTLR.py.

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

178 def customisePromptHI(process):
179  #deprecated process= customiseCommonHI(process)
180 
181  from RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi import onlineBeamSpotProducer
182  process.offlineBeamSpot = onlineBeamSpotProducer.clone()
183 
184  #add the lumi producer in the prompt reco only configuration
185  if not hasattr(process,'lumiProducer'):
186  #unscheduled..
187  from RecoLuminosity.LumiProducer.lumiProducer_cff import lumiProducer,LumiDBService
188  process.lumiProducer=lumiProducer
189  process.reconstruction_step+=process.lumiProducer
190 
191 
192  return process
def customisePromptHI
Definition: RecoTLR.py:177
def RecoTLR.customisePromptRun2 (   process)

Definition at line 145 of file RecoTLR.py.

References customiseDataRun2Common_25ns(), and customisePrompt().

Referenced by customisePromptRun2B0T().

146 def customisePromptRun2(process):
147  process = customisePrompt(process)
148  process = customiseDataRun2Common_25ns(process)
149  return process
def customisePromptRun2
Definition: RecoTLR.py:145
def customisePrompt
Definition: RecoTLR.py:132
def customiseDataRun2Common_25ns
common+ "25ns" Use this for data daking starting from runs in 2015C (>= 253256 )
Definition: RecoTLR.py:60
def RecoTLR.customisePromptRun2_50ns (   process)

Definition at line 150 of file RecoTLR.py.

References customiseDataRun2Common_50nsRunsAfter253000(), and customisePrompt().

151 def customisePromptRun2_50ns(process):
152  process = customisePrompt(process)
154  return process
def customiseDataRun2Common_50nsRunsAfter253000
Definition: RecoTLR.py:72
def customisePromptRun2_50ns
Definition: RecoTLR.py:150
def customisePrompt
Definition: RecoTLR.py:132
def RecoTLR.customisePromptRun2B0T (   process)

Definition at line 155 of file RecoTLR.py.

References customisePromptRun2().

156 def customisePromptRun2B0T(process):
157  process=customiseForRunI(process)
158  process=customisePromptRun2(process)
159  return process
160 
def customisePromptRun2
Definition: RecoTLR.py:145
def customisePromptRun2B0T
Definition: RecoTLR.py:155
def RecoTLR.customiseVALSKIM (   process)

Definition at line 100 of file RecoTLR.py.

References customisePPData().

101 def customiseVALSKIM(process):
102  print "WARNING"
103  print "this method is outdated, please use RecoTLR.customisePPData"
104  process= customisePPData(process)
105  return process
def customiseVALSKIM
Definition: RecoTLR.py:100
def customisePPData
Definition: RecoTLR.py:10