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

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