CMS 3D CMS Logo

Functions

RecoTLR Namespace Reference

Functions

def customiseCosmicData
def customiseCosmicMC
def customiseExpress
def customiseExpressHI
def customisePPData
def customisePPMC
def customisePrompt
def customisePromptHI
def customiseVALSKIM
def planBTracking

Function Documentation

def RecoTLR::customiseCosmicData (   process)

Definition at line 23 of file RecoTLR.py.

00024                                 :
00025 
00026     return process

def RecoTLR::customiseCosmicMC (   process)

Definition at line 28 of file RecoTLR.py.

00029                               :
00030     
00031     return process
        
def RecoTLR::customiseExpress (   process)

Definition at line 40 of file RecoTLR.py.

00041                              :
00042     process= customisePPData(process)
00043 
00044     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00045     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00046     
00047     return process

def RecoTLR::customiseExpressHI (   process)

Definition at line 64 of file RecoTLR.py.

00065                                :
00066     #deprecated process= customiseCommonHI(process)
00067 
00068     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00069     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00070     
00071     return process

def RecoTLR::customisePPData (   process)

Definition at line 9 of file RecoTLR.py.

00010                             :
00011     #deprecated process= customiseCommon(process)
00012     ##all customisation for data are now deprecated to Reconstruction_Data_cff
00013     #left as a place holder to alter production sequences in case of emergencies
00014     return process
00015 

def RecoTLR::customisePPMC (   process)

Definition at line 17 of file RecoTLR.py.

00018                           :
00019     #deprecated process=customiseCommon(process)
00020     #left as a place holder to alter production sequences in case of emergencies    
00021     return process

def RecoTLR::customisePrompt (   process)

Definition at line 49 of file RecoTLR.py.

00050                             :
00051     process= customisePPData(process)
00052 
00053     #add the lumi producer in the prompt reco only configuration
00054     process.reconstruction_step+=process.lumiProducer
00055     return process

def RecoTLR::customisePromptHI (   process)

Definition at line 73 of file RecoTLR.py.

00074                               :
00075     #deprecated process= customiseCommonHI(process)
00076 
00077     import RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi
00078     process.offlineBeamSpot = RecoVertex.BeamSpotProducer.BeamSpotOnline_cfi.onlineBeamSpotProducer.clone()
00079     
00080     return process

def RecoTLR::customiseVALSKIM (   process)

Definition at line 33 of file RecoTLR.py.

00034                              :
00035     print "WARNING"
00036     print "this method is outdated, please use RecoTLR.customisePPData"
00037     process= customisePPData(process)
00038     return process
                
def RecoTLR::planBTracking (   process)

Definition at line 83 of file RecoTLR.py.

00084                           :
00085 
00086     # stuff from LowPtTripletStep_cff
00087     process.lowPtTripletStepSeeds.RegionFactoryPSet.RegionPSet.ptMin=0.3
00088 
00089     # stuff from PixelLessStep_cff
00090     process.pixelLessStepClusters.oldClusterRemovalInfo=cms.InputTag("tobTecStepClusters")
00091     process.pixelLessStepClusters.trajectories= cms.InputTag("tobTecStepTracks")
00092     process.pixelLessStepClusters.overrideTrkQuals=cms.InputTag('tobTecStepSelector','tobTecStep')
00093     process.pixelLessStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 0.7
00094     process.pixelLessStepSeeds.RegionFactoryPSet.RegionPSet.originRadius = 1.5
00095 
00096     # stuff from PixelPairStep_cff
00097     process.pixelPairStepSeeds.RegionFactoryPSet.RegionPSet.ptMin = 0.6
00098 
00099     # stuff from TobTecStep_cff
00100     process.tobTecStepClusters.oldClusterRemovalInfo=cms.InputTag("detachedTripletStepClusters")
00101     process.tobTecStepClusters.trajectories= cms.InputTag("detachedTripletStepTracks")
00102     process.tobTecStepClusters.overrideTrkQuals=cms.InputTag('detachedTripletStep')
00103     process.tobTecStepSeeds.RegionFactoryPSet.RegionPSet.originRadius = 5.0
00104 
00105     # stuff from DetachedTripletStep_cff
00106     process.detachedTripletStepSeeds.RegionFactoryPSet.RegionPSet.ptMin=0.35
00107 
00108     # stuff from iterativeTk_cff
00109     process.iterTracking = cms.Sequence(process.InitialStep*
00110                                         process.LowPtTripletStep*
00111                                         process.PixelPairStep*
00112                                         process.DetachedTripletStep*
00113                                         process.TobTecStep*
00114                                         process.PixelLessStep*
00115                                         process.generalTracks*
00116                                         process.ConvStep*
00117                                         process.conversionStepTracks
00118                                         )
00119     
00120     
00121     # stuff from RecoTracker_cff
00122     process.newCombinedSeeds.seedCollections=cms.VInputTag(
00123         cms.InputTag('initialStepSeeds'),
00124         cms.InputTag('pixelPairStepSeeds'),
00125     #    cms.InputTag('mixedTripletStepSeeds'),
00126         cms.InputTag('pixelLessStepSeeds')
00127         )
00128 
00129     # stuff from Kevin's fragment
00130     process.generalTracks.TrackProducers = (cms.InputTag('initialStepTracks'),
00131                                             cms.InputTag('lowPtTripletStepTracks'),
00132                                             cms.InputTag('pixelPairStepTracks'),
00133                                             cms.InputTag('detachedTripletStepTracks'),
00134                                             cms.InputTag('pixelLessStepTracks'),
00135                                             cms.InputTag('tobTecStepTracks'))
00136     process.generalTracks.hasSelector=cms.vint32(1,1,1,1,1,1)
00137     process.generalTracks.selectedTrackQuals = cms.VInputTag(cms.InputTag("initialStepSelector","initialStep"),
00138                                                              cms.InputTag("lowPtTripletStepSelector","lowPtTripletStep"),
00139                                                              cms.InputTag("pixelPairStepSelector","pixelPairStep"),
00140                                                              cms.InputTag("detachedTripletStep"),
00141                                                              cms.InputTag("pixelLessStepSelector","pixelLessStep"),
00142                                                              cms.InputTag("tobTecStepSelector","tobTecStep")
00143                                                              )
00144     process.generalTracks.setsToMerge = cms.VPSet( cms.PSet( tLists=cms.vint32(0,1,2,3,4,5), pQual=cms.bool(True) ) )
00145 
00146 
00147     if hasattr(process,'dqmoffline_step'):
00148         process.dqmoffline_step.remove(process.TrackMonStep4)
00149         #process.dqmoffline_step.remove(process.TrackMonStep5)
00150         
00151     return process