Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-12 23:11:51

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoPixelVertexing.PixelLowPtUtilities.clusterShapeTrackFilter_cfi import clusterShapeTrackFilter
0004 from RecoPixelVertexing.PixelLowPtUtilities.trackFitter_cfi import trackFitter
0005 from RecoPixelVertexing.PixelLowPtUtilities.trackCleaner_cfi import trackCleaner
0006 import RecoPixelVertexing.PixelTrackFitting.pixelTracks_cfi as _mod
0007 
0008 ##########################
0009 # The base for all steps
0010 allPixelTracks = _mod.pixelTracks.clone(
0011     passLabel  = '',
0012     # Region
0013     RegionFactoryPSet = cms.PSet(
0014         ComponentName = cms.string('GlobalTrackingRegionWithVerticesProducer'),
0015         RegionPSet = cms.PSet(
0016             precise       = cms.bool(True),
0017             beamSpot      = cms.InputTag("offlineBeamSpot"),
0018             originRadius  = cms.double(0.2),
0019             sigmaZVertex  = cms.double(3.0),
0020             useFixedError = cms.bool(True),
0021             fixedError    = cms.double(0.2),
0022 
0023             useFoundVertices = cms.bool(False),
0024             VertexCollection = cms.InputTag("pixel3Vertices"),
0025             ptMin            = cms.double(0.075),
0026             nSigmaZ          = cms.double(3.0)
0027         )
0028     ),
0029     # Ordered hits
0030     OrderedHitsFactoryPSet = cms.PSet(
0031         ComponentName = cms.string('StandardHitTripletGenerator'),
0032         SeedingLayers = cms.InputTag('PixelLayerTriplets'),
0033         GeneratorPSet = cms.PSet(
0034             ComponentName = cms.string('PixelTripletLowPtGenerator'),
0035             checkClusterShape       = cms.bool(False),
0036             checkMultipleScattering = cms.bool(True),
0037             nSigMultipleScattering  = cms.double(5.0),
0038             maxAngleRatio = cms.double(10.0),
0039             rzTolerance   = cms.double(0.2),
0040             TTRHBuilder   = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
0041             clusterShapeCacheSrc = cms.InputTag("siPixelClusterShapeCache")
0042         )
0043     ),
0044 
0045     # Filter
0046     Filter = "clusterShapeTrackFilter",
0047 
0048     # Cleaner
0049     CleanerPSet = cms.string("trackCleaner"),
0050 
0051     # Fitter
0052     FitterPSet = cms.InputTag("allPixelTracksFitter"),
0053 )
0054 
0055 allPixelTracksFitter = trackFitter.clone(
0056     TTRHBuilder = 'TTRHBuilderWithoutAngle4PixelTriplets'
0057 )
0058 
0059 allPixelTracksTask = cms.Task(
0060     allPixelTracksFitter,
0061     clusterShapeTrackFilter,
0062     allPixelTracks
0063 )
0064 allPixelTracksSequence = cms.Sequence(allPixelTracksTask)