Go to the documentation of this file.00001 import FWCore.ParameterSet.Config as cms
00002
00003
00004
00005
00006
00007
00008
00009 def customisePPData(process):
00010
00011
00012
00013 return process
00014
00015
00016
00017 def customisePPMC(process):
00018
00019
00020 return process
00021
00022
00023 def customiseCosmicData(process):
00024
00025 return process
00026
00027
00028 def customiseCosmicMC(process):
00029
00030 return process
00031
00032
00033 def customiseVALSKIM(process):
00034 print "WARNING"
00035 print "this method is outdated, please use RecoTLR.customisePPData"
00036 process= customisePPData(process)
00037 return process
00038
00039
00040 def customiseExpress(process):
00041 process= customisePPData(process)
00042
00043 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00044 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00045
00046 return process
00047
00048
00049 def customisePrompt(process):
00050 process= customisePPData(process)
00051
00052
00053 process.reconstruction_step+=process.lumiProducer
00054 return process
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064 def customiseExpressHI(process):
00065
00066
00067 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00068 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00069
00070 return process
00071
00072
00073 def customisePromptHI(process):
00074
00075
00076 import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00077 process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00078
00079 return process
00080
00081
00082
00083 def planBTracking(process):
00084
00085
00086 process.lowPtTripletStepSeeds.RegionFactoryPSet.RegionPSet.ptMin=0.3
00087
00088
00089 process.pixelLessStepClusters.oldClusterRemovalInfo=cms.InputTag("tobTecStepClusters")
00090 process.pixelLessStepClusters.trajectories= cms.InputTag("tobTecStepTracks")
00091 process.pixelLessStepClusters.overrideTrkQuals=cms.InputTag('tobTecStepSelector','tobTecStep')
00092 process.pixelLessStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 0.7
00093 process.pixelLessStepSeeds.RegionFactoryPSet.RegionPSet.originRadius = 1.5
00094
00095
00096 process.pixelPairStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 0.6
00097
00098
00099 process.tobTecStepClusters.oldClusterRemovalInfo=cms.InputTag("detachedTripletStepClusters")
00100 process.tobTecStepClusters.trajectories= cms.InputTag("detachedTripletStepTracks")
00101 process.tobTecStepClusters.overrideTrkQuals=cms.InputTag('detachedTripletStep')
00102 process.tobTecStepSeeds.RegionFactoryPSet.RegionPSet.originRadius = 5.0
00103
00104
00105 process.detachedTripletStepSeeds.RegionFactoryPSet.RegionPSet.ptMin=0.35
00106
00107
00108 process.iterTracking = cms.Sequence(process.InitialStep*
00109 process.LowPtTripletStep*
00110 process.PixelPairStep*
00111 process.DetachedTripletStep*
00112 process.TobTecStep*
00113 process.PixelLessStep*
00114 process.generalTracks*
00115 process.ConvStep*
00116 process.conversionStepTracks
00117 )
00118
00119
00120
00121 process.newCombinedSeeds.seedCollections=cms.VInputTag(
00122 cms.InputTag('initialStepSeeds'),
00123 cms.InputTag('pixelPairStepSeeds'),
00124
00125 cms.InputTag('pixelLessStepSeeds')
00126 )
00127
00128
00129 process.generalTracks.TrackProducers = (cms.InputTag('initialStepTracks'),
00130 cms.InputTag('lowPtTripletStepTracks'),
00131 cms.InputTag('pixelPairStepTracks'),
00132 cms.InputTag('detachedTripletStepTracks'),
00133 cms.InputTag('pixelLessStepTracks'),
00134 cms.InputTag('tobTecStepTracks'))
00135 process.generalTracks.hasSelector=cms.vint32(1,1,1,1,1,1)
00136 process.generalTracks.selectedTrackQuals = cms.VInputTag(cms.InputTag("initialStepSelector","initialStep"),
00137 cms.InputTag("lowPtTripletStepSelector","lowPtTripletStep"),
00138 cms.InputTag("pixelPairStepSelector","pixelPairStep"),
00139 cms.InputTag("detachedTripletStep"),
00140 cms.InputTag("pixelLessStepSelector","pixelLessStep"),
00141 cms.InputTag("tobTecStepSelector","tobTecStep")
00142 )
00143 process.generalTracks.setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1,2,3,4,5), pQual=cms.bool(True) ) )
00144
00145
00146 if hasattr(process,'dqmoffline_step'):
00147 process.dqmoffline_step.remove(process.TrackMonStep4)
00148
00149
00150 return process