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

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

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

Definition at line 45 of file RecoTLR.py.

References customiseCosmicData(), and customiseDataRun2Common().

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

45 
46 def customiseCosmicDataRun2(process):
47  process = customiseCosmicData(process)
48  process = customiseDataRun2Common(process)
49  return process
50 
def customiseDataRun2Common
this is supposed to be added on top of other (Run1) data customs
Definition: RecoTLR.py:31
def customiseCosmicDataRun2
Definition: RecoTLR.py:45
def customiseCosmicData
Definition: RecoTLR.py:23
def RecoTLR.customiseCosmicMC (   process)

Definition at line 52 of file RecoTLR.py.

52 
53 def customiseCosmicMC(process):
54 
55  return process
def customiseCosmicMC
Definition: RecoTLR.py:52
def RecoTLR.customiseDataRun2Common (   process)

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

Definition at line 31 of file RecoTLR.py.

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

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

Definition at line 64 of file RecoTLR.py.

References customisePPData().

Referenced by customiseExpressRun2(), Impl.pp.pp.expressProcessing(), and Impl.pp.pp.visualizationProcessing().

64 
65 def customiseExpress(process):
66  process= customisePPData(process)
67 
69  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
70 
71  return process
def customisePPData
Definition: RecoTLR.py:9
def customiseExpress
Definition: RecoTLR.py:64
def RecoTLR.customiseExpressHI (   process)

Definition at line 99 of file RecoTLR.py.

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

99 
100 def customiseExpressHI(process):
101  #deprecated process= customiseCommonHI(process)
102 
104  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
105 
106  return process
def customiseExpressHI
Definition: RecoTLR.py:99
def RecoTLR.customiseExpressRun2 (   process)

Definition at line 73 of file RecoTLR.py.

References customiseDataRun2Common(), and customiseExpress().

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

73 
74 def customiseExpressRun2(process):
75  process = customiseExpress(process)
76  process = customiseDataRun2Common(process)
77  return process
def customiseDataRun2Common
this is supposed to be added on top of other (Run1) data customs
Definition: RecoTLR.py:31
def customiseExpressRun2
Definition: RecoTLR.py:73
def customiseExpress
Definition: RecoTLR.py:64
def RecoTLR.customisePPData (   process)

Definition at line 9 of file RecoTLR.py.

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

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

Definition at line 17 of file RecoTLR.py.

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

Definition at line 79 of file RecoTLR.py.

References customisePPData().

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

79 
80 def customisePrompt(process):
81  process= customisePPData(process)
82 
83  #add the lumi producer in the prompt reco only configuration
84  process.reconstruction_step+=process.lumiProducer
85  return process
def customisePPData
Definition: RecoTLR.py:9
def customisePrompt
Definition: RecoTLR.py:79
def RecoTLR.customisePromptHI (   process)

Definition at line 108 of file RecoTLR.py.

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

109 def customisePromptHI(process):
110  #deprecated process= customiseCommonHI(process)
111 
113  process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
114 
115  #add the lumi producer in the prompt reco only configuration
116  process.reconstruction_step+=process.lumiProducer
117 
118  return process
def customisePromptHI
Definition: RecoTLR.py:108
def RecoTLR.customisePromptRun2 (   process)

Definition at line 87 of file RecoTLR.py.

References customiseDataRun2Common(), and customisePrompt().

Referenced by Impl.ppRun2.ppRun2.promptReco().

87 
88 def customisePromptRun2(process):
89  process = customisePrompt(process)
90  process = customiseDataRun2Common(process)
91  return process
def customiseDataRun2Common
this is supposed to be added on top of other (Run1) data customs
Definition: RecoTLR.py:31
def customisePromptRun2
Definition: RecoTLR.py:87
def customisePrompt
Definition: RecoTLR.py:79
def RecoTLR.customiseVALSKIM (   process)

Definition at line 57 of file RecoTLR.py.

References customisePPData().

57 
58 def customiseVALSKIM(process):
59  print "WARNING"
60  print "this method is outdated, please use RecoTLR.customisePPData"
61  process= customisePPData(process)
62  return process
def customiseVALSKIM
Definition: RecoTLR.py:57
def customisePPData
Definition: RecoTLR.py:9
def RecoTLR.planBTracking (   process)

Definition at line 121 of file RecoTLR.py.

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