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 customisePPData
 
def customisePPMC
 
def customisePrompt
 
def customisePromptHI
 
def customisePromptRun2
 
def customiseVALSKIM
 
def planBTracking
 

Function Documentation

def RecoTLR.customiseCosmicData (   process)

Definition at line 25 of file RecoTLR.py.

Referenced by customiseCosmicDataRun2(), Impl.cosmics.cosmics.expressProcessing(), Impl.cosmics.cosmics.promptReco(), and Impl.cosmics.cosmics.visualizationProcessing().

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().

Referenced by Impl.cosmicsRun2.cosmicsRun2.expressProcessing(), Impl.cosmicsRun2.cosmicsRun2.promptReco(), and Impl.cosmicsRun2.cosmicsRun2.visualizationProcessing().

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  #all the non-CSC stuff is here
47  process=customise_Reco(process)
48  process=customise_RawToDigi(process)
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(), Impl.pp.pp.expressProcessing(), and Impl.pp.pp.visualizationProcessing().

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

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

106 def customiseExpressHI(process):
107  #deprecated process= customiseCommonHI(process)
108 
110  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
111 
112  return process
def customiseExpressHI
Definition: RecoTLR.py:105
def RecoTLR.customiseExpressRun2 (   process)

Definition at line 79 of file RecoTLR.py.

References customiseDataRun2Common(), and customiseExpress().

Referenced by Impl.ppRun2.ppRun2.expressProcessing(), and Impl.ppRun2.ppRun2.visualizationProcessing().

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

References customisePPData().

Referenced by customisePromptRun2(), and Impl.pp.pp.promptReco().

85 
86 def customisePrompt(process):
87  process= customisePPData(process)
88 
89  #add the lumi producer in the prompt reco only configuration
90  process.reconstruction_step+=process.lumiProducer
91  return process
def customisePPData
Definition: RecoTLR.py:11
def customisePrompt
Definition: RecoTLR.py:85
def RecoTLR.customisePromptHI (   process)

Definition at line 114 of file RecoTLR.py.

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

115 def customisePromptHI(process):
116  #deprecated process= customiseCommonHI(process)
117 
119  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
120 
121  return process
def customisePromptHI
Definition: RecoTLR.py:114
def RecoTLR.customisePromptRun2 (   process)

Definition at line 93 of file RecoTLR.py.

References customiseDataRun2Common(), and customisePrompt().

Referenced by Impl.hcalnzsRun2.hcalnzsRun2.promptReco(), and Impl.ppRun2.ppRun2.promptReco().

93 
94 def customisePromptRun2(process):
95  process = customisePrompt(process)
96  process = customiseDataRun2Common(process)
97  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:93
def customisePrompt
Definition: RecoTLR.py:85
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 124 of file RecoTLR.py.

125 def planBTracking(process):
126 
127  # stuff from LowPtTripletStep_cff
128  process.lowPtTripletStepSeeds.RegionFactoryPSet.RegionPSet.ptMin=0.3
129 
130  # stuff from PixelLessStep_cff
131  process.pixelLessStepClusters.oldClusterRemovalInfo=cms.InputTag("tobTecStepClusters")
132  process.pixelLessStepClusters.trajectories= cms.InputTag("tobTecStepTracks")
133  process.pixelLessStepClusters.overrideTrkQuals=cms.InputTag('tobTecStepSelector','tobTecStep')
134  process.pixelLessStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 0.7
135  process.pixelLessStepSeeds.RegionFactoryPSet.RegionPSet.originRadius = 1.5
136 
137  # stuff from PixelPairStep_cff
138  process.pixelPairStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 0.6
139 
140  # stuff from TobTecStep_cff
141  process.tobTecStepClusters.oldClusterRemovalInfo=cms.InputTag("detachedTripletStepClusters")
142  process.tobTecStepClusters.trajectories= cms.InputTag("detachedTripletStepTracks")
143  process.tobTecStepClusters.overrideTrkQuals=cms.InputTag('detachedTripletStep')
144  process.tobTecStepSeeds.RegionFactoryPSet.RegionPSet.originRadius = 5.0
145 
146  # stuff from DetachedTripletStep_cff
147  process.detachedTripletStepSeeds.RegionFactoryPSet.RegionPSet.ptMin=0.35
148 
149  # stuff from iterativeTk_cff
150  process.iterTracking = cms.Sequence(process.InitialStep*
151  process.LowPtTripletStep*
152  process.PixelPairStep*
153  process.DetachedTripletStep*
154  process.TobTecStep*
155  process.PixelLessStep*
156  process.generalTracks*
157  process.ConvStep*
158  process.conversionStepTracks
159  )
160 
161 
162  # stuff from RecoTracker_cff
163  process.newCombinedSeeds.seedCollections=cms.VInputTag(
164  cms.InputTag('initialStepSeeds'),
165  cms.InputTag('pixelPairStepSeeds'),
166  # cms.InputTag('mixedTripletStepSeeds'),
167  cms.InputTag('pixelLessStepSeeds')
168  )
169 
170  # stuff from Kevin's fragment
171  process.generalTracks.TrackProducers = (cms.InputTag('initialStepTracks'),
172  cms.InputTag('lowPtTripletStepTracks'),
173  cms.InputTag('pixelPairStepTracks'),
174  cms.InputTag('detachedTripletStepTracks'),
175  cms.InputTag('pixelLessStepTracks'),
176  cms.InputTag('tobTecStepTracks'))
177  process.generalTracks.hasSelector=cms.vint32(1,1,1,1,1,1)
178  process.generalTracks.selectedTrackQuals = cms.VInputTag(cms.InputTag("initialStepSelector","initialStep"),
179  cms.InputTag("lowPtTripletStepSelector","lowPtTripletStep"),
180  cms.InputTag("pixelPairStepSelector","pixelPairStep"),
181  cms.InputTag("detachedTripletStep"),
182  cms.InputTag("pixelLessStepSelector","pixelLessStep"),
183  cms.InputTag("tobTecStepSelector","tobTecStep")
184  )
185  process.generalTracks.setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1,2,3,4,5), pQual=cms.bool(True) ) )
186 
187 
188  if hasattr(process,'dqmoffline_step'):
189  process.dqmoffline_step.remove(process.TrackMonStep4)
190  #process.dqmoffline_step.remove(process.TrackMonStep5)
191 
192  return process
def planBTracking
Definition: RecoTLR.py:124