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 customiseExpress
 
def customiseExpressHI
 
def customiseExpressRun2
 
def customiseExpressRun2B0T
 
def customisePPData
 
def customisePPMC
 
def customisePrompt
 
def customisePromptHI
 
def customisePromptRun2
 
def customisePromptRun2B0T
 
def customiseVALSKIM
 
def planBTracking
 

Function Documentation

def RecoTLR.customiseCosmicData (   process)

Definition at line 25 of file RecoTLR.py.

Referenced by customiseCosmicDataRun2().

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

Definition at line 51 of file RecoTLR.py.

References customiseCosmicData(), and customiseDataRun2Common().

51 
52 def customiseCosmicDataRun2(process):
53  process = customiseCosmicData(process)
54  process = customiseDataRun2Common(process)
55  return process
56 
def customiseDataRun2Common
this is supposed to be added on top of other (Run1) data customs
Definition: RecoTLR.py:33
def customiseCosmicDataRun2
Definition: RecoTLR.py:51
def customiseCosmicData
Definition: RecoTLR.py:25
def RecoTLR.customiseCosmicMC (   process)

Definition at line 58 of file RecoTLR.py.

58 
59 def customiseCosmicMC(process):
60 
61  return process
def customiseCosmicMC
Definition: RecoTLR.py:58
def RecoTLR.customiseDataRun2Common (   process)

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

Definition at line 33 of file RecoTLR.py.

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

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

33 
34 def customiseDataRun2Common(process):
35  process.CSCGeometryESModule.useGangedStripsInME1a = cms.bool(False)
36  process.CSCIndexerESProducer.AlgoName=cms.string("CSCIndexerPostls1")
37  process.CSCChannelMapperESProducer.AlgoName=cms.string("CSCChannelMapperPostls1")
38  process.csc2DRecHits.readBadChannels = cms.bool(False)
39  process.csc2DRecHits.CSCUseGasGainCorrections = cms.bool(False)
40  if hasattr(process,'valCscTriggerPrimitiveDigis'):
41  #this is not doing anything at the moment
42  process.valCscTriggerPrimitiveDigis.commonParam.gangedME1a = cms.untracked.bool(False)
43  if hasattr(process,'valCsctfTrackDigis'):
44  process.valCsctfTrackDigis.gangedME1a = cms.untracked.bool(False)
45 
46  process=customise_Reco(process)
47  process=customise_RawToDigi(process)
48 
49  return process
def customiseDataRun2Common
this is supposed to be added on top of other (Run1) data customs
Definition: RecoTLR.py:33
def customise_RawToDigi
Definition: HCalCustoms.py:105
def customise_Reco
Definition: HCalCustoms.py:138
def RecoTLR.customiseExpress (   process)

Definition at line 70 of file RecoTLR.py.

References customisePPData().

Referenced by customiseExpressRun2().

70 
71 def customiseExpress(process):
72  process= customisePPData(process)
73 
75  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
76 
77  return process
def customisePPData
Definition: RecoTLR.py:11
def customiseExpress
Definition: RecoTLR.py:70
def RecoTLR.customiseExpressHI (   process)

Definition at line 121 of file RecoTLR.py.

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

122 def customiseExpressHI(process):
123  #deprecated process= customiseCommonHI(process)
124 
126  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
127 
128  return process
def customiseExpressHI
Definition: RecoTLR.py:121
def RecoTLR.customiseExpressRun2 (   process)

Definition at line 79 of file RecoTLR.py.

References customiseDataRun2Common(), and customiseExpress().

Referenced by customiseExpressRun2B0T().

79 
80 def customiseExpressRun2(process):
81  process = customiseExpress(process)
82  process = customiseDataRun2Common(process)
83  return process
def customiseDataRun2Common
this is supposed to be added on top of other (Run1) data customs
Definition: RecoTLR.py:33
def customiseExpressRun2
Definition: RecoTLR.py:79
def customiseExpress
Definition: RecoTLR.py:70
def RecoTLR.customiseExpressRun2B0T (   process)

Definition at line 84 of file RecoTLR.py.

References customiseExpressRun2().

84 
85 def customiseExpressRun2B0T(process):
86  process=customiseForRunI(process)
87  process=customiseExpressRun2(process)
88  return process
def customiseExpressRun2
Definition: RecoTLR.py:79
def customiseExpressRun2B0T
Definition: RecoTLR.py:84
def RecoTLR.customisePPData (   process)

Definition at line 11 of file RecoTLR.py.

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

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

Definition at line 19 of file RecoTLR.py.

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

Definition at line 90 of file RecoTLR.py.

References customisePPData().

Referenced by customisePromptRun2().

90 
91 def customisePrompt(process):
92  process= customisePPData(process)
93 
94  #add the lumi producer in the prompt reco only configuration
95  if not hasattr(process,'lumiProducer'):
96  #unscheduled..
98  process.lumiProducer=lumiProducer
99  process.reconstruction_step+=process.lumiProducer
100 
101  return process
def customisePPData
Definition: RecoTLR.py:11
def customisePrompt
Definition: RecoTLR.py:90
def RecoTLR.customisePromptHI (   process)

Definition at line 130 of file RecoTLR.py.

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

131 def customisePromptHI(process):
132  #deprecated process= customiseCommonHI(process)
133 
135  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
136 
137  #add the lumi producer in the prompt reco only configuration
138  if not hasattr(process,'lumiProducer'):
139  #unscheduled..
141  process.lumiProducer=lumiProducer
142  process.reconstruction_step+=process.lumiProducer
143 
144 
145  return process
def customisePromptHI
Definition: RecoTLR.py:130
def RecoTLR.customisePromptRun2 (   process)

Definition at line 103 of file RecoTLR.py.

References customiseDataRun2Common(), and customisePrompt().

Referenced by customisePromptRun2B0T().

104 def customisePromptRun2(process):
105  process = customisePrompt(process)
106  process = customiseDataRun2Common(process)
107  return process
def customiseDataRun2Common
this is supposed to be added on top of other (Run1) data customs
Definition: RecoTLR.py:33
def customisePromptRun2
Definition: RecoTLR.py:103
def customisePrompt
Definition: RecoTLR.py:90
def RecoTLR.customisePromptRun2B0T (   process)

Definition at line 108 of file RecoTLR.py.

References customisePromptRun2().

109 def customisePromptRun2B0T(process):
110  process=customiseForRunI(process)
111  process=customisePromptRun2(process)
112  return process
113 
def customisePromptRun2
Definition: RecoTLR.py:103
def customisePromptRun2B0T
Definition: RecoTLR.py:108
def RecoTLR.customiseVALSKIM (   process)

Definition at line 63 of file RecoTLR.py.

References customisePPData().

63 
64 def customiseVALSKIM(process):
65  print "WARNING"
66  print "this method is outdated, please use RecoTLR.customisePPData"
67  process= customisePPData(process)
68  return process
def customiseVALSKIM
Definition: RecoTLR.py:63
def customisePPData
Definition: RecoTLR.py:11
def RecoTLR.planBTracking (   process)

Definition at line 148 of file RecoTLR.py.

149 def planBTracking(process):
150 
151  # stuff from LowPtTripletStep_cff
152  process.lowPtTripletStepSeeds.RegionFactoryPSet.RegionPSet.ptMin=0.3
153 
154  # stuff from PixelLessStep_cff
155  process.pixelLessStepClusters.oldClusterRemovalInfo=cms.InputTag("tobTecStepClusters")
156  process.pixelLessStepClusters.trajectories= cms.InputTag("tobTecStepTracks")
157  process.pixelLessStepClusters.overrideTrkQuals=cms.InputTag('tobTecStepSelector','tobTecStep')
158  process.pixelLessStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 0.7
159  process.pixelLessStepSeeds.RegionFactoryPSet.RegionPSet.originRadius = 1.5
160 
161  # stuff from PixelPairStep_cff
162  process.pixelPairStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 0.6
163 
164  # stuff from TobTecStep_cff
165  process.tobTecStepClusters.oldClusterRemovalInfo=cms.InputTag("detachedTripletStepClusters")
166  process.tobTecStepClusters.trajectories= cms.InputTag("detachedTripletStepTracks")
167  process.tobTecStepClusters.overrideTrkQuals=cms.InputTag('detachedTripletStep')
168  process.tobTecStepSeeds.RegionFactoryPSet.RegionPSet.originRadius = 5.0
169 
170  # stuff from DetachedTripletStep_cff
171  process.detachedTripletStepSeeds.RegionFactoryPSet.RegionPSet.ptMin=0.35
172 
173  # stuff from iterativeTk_cff
174  process.iterTracking = cms.Sequence(process.InitialStep*
175  process.LowPtTripletStep*
176  process.PixelPairStep*
177  process.DetachedTripletStep*
178  process.TobTecStep*
179  process.PixelLessStep*
180  process.generalTracks*
181  process.ConvStep*
182  process.conversionStepTracks
183  )
184 
185 
186  # stuff from RecoTracker_cff
187  process.newCombinedSeeds.seedCollections=cms.VInputTag(
188  cms.InputTag('initialStepSeeds'),
189  cms.InputTag('pixelPairStepSeeds'),
190  # cms.InputTag('mixedTripletStepSeeds'),
191  cms.InputTag('pixelLessStepSeeds')
192  )
193 
194  # stuff from Kevin's fragment
195  process.generalTracks.TrackProducers = (cms.InputTag('initialStepTracks'),
196  cms.InputTag('lowPtTripletStepTracks'),
197  cms.InputTag('pixelPairStepTracks'),
198  cms.InputTag('detachedTripletStepTracks'),
199  cms.InputTag('pixelLessStepTracks'),
200  cms.InputTag('tobTecStepTracks'))
201  process.generalTracks.hasSelector=cms.vint32(1,1,1,1,1,1)
202  process.generalTracks.selectedTrackQuals = cms.VInputTag(cms.InputTag("initialStepSelector","initialStep"),
203  cms.InputTag("lowPtTripletStepSelector","lowPtTripletStep"),
204  cms.InputTag("pixelPairStepSelector","pixelPairStep"),
205  cms.InputTag("detachedTripletStep"),
206  cms.InputTag("pixelLessStepSelector","pixelLessStep"),
207  cms.InputTag("tobTecStepSelector","tobTecStep")
208  )
209  process.generalTracks.setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1,2,3,4,5), pQual=cms.bool(True) ) )
210 
211 
212  if hasattr(process,'dqmoffline_step'):
213  process.dqmoffline_step.remove(process.TrackMonStep4)
214  #process.dqmoffline_step.remove(process.TrackMonStep5)
215 
216  return process
def planBTracking
Definition: RecoTLR.py:148