CMS 3D CMS Logo

oldTracking_wtriplets.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
6 
7 ckfTrackCandidates.doSeedingRegionRebuilding = False
8 #ckfTrackCandidates.TrajectoryBuilder.refToPSet_ = 'CkfTrajectoryBuilder'
9 ckfTrackCandidates.TrajectoryBuilderPSet.refToPSet_ = 'GroupedCkfTrajectoryBuilder'
10 #ckfTrackCandidates.SeedProducer = 'newCombinedSeeds'
11 ckfTrackCandidates.useHitsSplitting = False
12 #GroupedCkfTrajectoryBuilder.bestHitOnly = False
13 
15 ctfWithMaterialTracks.Fitter = 'KFFittingSmoother'
16 #ctfWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
17 
19 ###ckfTrackCandidates.SeedProducer = 'globalMixedSeeds'
20 
21 ###oldTracking = cms.Sequence(globalMixedSeeds*globalPixelSeeds*ckfTrackCandidates*ctfWithMaterialTracks)
22 
23 
25 from RecoPixelVertexing.PixelTriplets.quadrupletseedmerging_cff import PixelSeedMergerQuadruplets
26 pixelTriplets = cms.EDProducer("SeedGeneratorFromRegionHitsEDProducer",
27  #include "RecoTracker/PixelStubs/data/SeedComparitorWithPixelStubs.cfi"
28  ClusterCheckPSet = cms.PSet(
29  MaxNumberOfCosmicClusters = cms.uint32( 50000 ),
30  ClusterCollectionLabel = cms.InputTag( "siStripClusters" ),
31  doClusterCheck = cms.bool( False ) #so this isn't used
32  ),
33  OrderedHitsFactoryPSet = cms.PSet(
34  ComponentName = cms.string('StandardHitTripletGenerator'),
35  SeedingLayers = cms.InputTag('PixelLayerTriplets'),
36  GeneratorPSet = cms.PSet(
37  PixelTripletHLTGenerator
38  )
39  ),
40  SeedMergerPSet = cms.PSet(
41  # layer list for the merger, as defined in (or modified from):
42  # RecoPixelVertexing/PixelTriplets/python/quadrupletseedmerging_cff.py
43  layerList = PixelSeedMergerQuadruplets,
44  # merge triplets -> quadruplets if applicable?
45  mergeTriplets = cms.bool( True ),
46  # add remaining (non-merged) triplets to merged output quadruplets?
47  # (results in a "mixed" output)
48  addRemainingTriplets = cms.bool( False ),
49  # the builder
50  ttrhBuilderLabel = cms.string( "PixelTTRHBuilderWithoutAngle" )
51  ),
52  SeedCreatorPSet = cms.PSet(
53  ComponentName = cms.string( "SeedFromConsecutiveHitsCreator" ),
54  propagator = cms.string( "PropagatorWithMaterial" )
55  ),
56  SeedComparitorPSet = cms.PSet(
57  ComponentName = cms.string('none')
58  ),
59  RegionFactoryPSet = cms.PSet(
60  RegionPSetBlock,
61  ComponentName = cms.string('GlobalRegionProducer')
62  ),
63  SeedMomentumForBOFF = cms.double(5.0),
64  TTRHBuilder = cms.string('WithTrackAngle')
65 )
66 ckfTrackCandidates.src = 'pixelTriplets'
67 #ckfTrackCandidates.SeedProducer = 'pixelTriplets'
68 oldTracking_wtriplets = cms.Sequence(PixelLayerTriplets*pixelTriplets*ckfTrackCandidates*ctfWithMaterialTracks)
69 
70 
71 
72 from Configuration.StandardSequences.RawToDigi_cff import siPixelDigis #,SiStripRawToDigis
73 from Configuration.StandardSequences.Reconstruction_cff import trackerlocalreco
74 
75 #print "siPixelDigis",siPixelDigis.label
76 #print "SiStripRawToDigis",SiStripRawToDigis.label
77 #print "trackerlocalreco",trackerlocalreco.label
78 #print "pixelTriplets",pixelTriplets.label
79 #print "oldTracking_wtriplets",oldTracking_wtriplets.label
80 #print "ckfTrackCandidates",ckfTrackCandidates.label
81 #print "ctfWithMaterialTracks",ctfWithMaterialTracks.label
82 
83 fullOldTracking_wtriplets = cms.Path(siPixelDigis #+SiStripRawToDigis
84  +trackerlocalreco
85  # +pixelTriplets
86  +oldTracking_wtriplets)