CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IterativeTobTecStep_cff.py
Go to the documentation of this file.
2 
3 # step 5
4 
5 # seeding
6 #from FastSimulation.Tracking.IterativeFifthSeedProducer_cff import *
7 import FastSimulation.Tracking.TrajectorySeedProducer_cfi
8 iterativeTobTecSeeds = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone()
9 iterativeTobTecSeeds.skipSimTrackIdTags = [
10  cms.InputTag("initialStepSimTrackIds"),
11  cms.InputTag("detachedTripletStepSimTrackIds"),
12  cms.InputTag("lowPtTripletStepSimTrackIds"),
13  cms.InputTag("pixelPairStepSimTrackIds"),
14  cms.InputTag("mixedTripletStepSimTrackIds"),
15  cms.InputTag("pixelLessStepSimTrackIds")]
16 iterativeTobTecSeeds.outputSeedCollectionName = 'TobTecLayerPairs'
17 iterativeTobTecSeeds.minRecHits = 4
18 iterativeTobTecSeeds.pTMin = 0.3
19 iterativeTobTecSeeds.maxD0 = 99.
20 iterativeTobTecSeeds.maxZ0 = 99.
21 iterativeTobTecSeeds.numberOfHits = 2
22 iterativeTobTecSeeds.originRadius = 6.0 # was 5.0
23 iterativeTobTecSeeds.originHalfLength = 30.0 # was 10.0
24 iterativeTobTecSeeds.originpTMin = 0.6 # was 0.5
25 iterativeTobTecSeeds.zVertexConstraint = -1.0
26 # skip compatiblity with PV/beamspot
27 iterativeTobTecSeeds.skipPVCompatibility = True
28 iterativeTobTecSeeds.primaryVertex = 'none'
29 
30 #iterativeTobTecSeeds.layerList = ['TOB1+TOB2',
31 # 'TOB1+TEC1_pos', 'TOB1+TEC1_neg',
32 # 'TEC1_pos+TEC2_pos', 'TEC2_pos+TEC3_pos',
33 # 'TEC3_pos+TEC4_pos', 'TEC4_pos+TEC5_pos',
34 # 'TEC5_pos+TEC6_pos', 'TEC6_pos+TEC7_pos',
35 # 'TEC1_neg+TEC2_neg', 'TEC2_neg+TEC3_neg',
36 # 'TEC3_neg+TEC4_neg', 'TEC4_neg+TEC5_neg',
37 # 'TEC5_neg+TEC6_neg', 'TEC6_neg+TEC7_neg']
38 from RecoTracker.IterativeTracking.TobTecStep_cff import tobTecStepSeedLayersPair as _tobTecStepSeedLayersPair
39 iterativeTobTecSeeds.layerList = ['TOB1+TOB2']
40 iterativeTobTecSeeds.layerList.extend(_tobTecStepSeedLayersPair.layerList)
41 
42 # candidate producer
43 from FastSimulation.Tracking.TrackCandidateProducer_cfi import trackCandidateProducer
44 tobTecStepTrackCandidates = trackCandidateProducer.clone(
45  SeedProducer = cms.InputTag("iterativeTobTecSeeds","TobTecLayerPairs"),
46  MinNumberOfCrossedLayers = 3)
47 
48 # track producer
49 from RecoTracker.IterativeTracking.TobTecStep_cff import tobTecStepTracks
50 tobTecStepTracks = tobTecStepTracks.clone(
51  TTRHBuilder = 'WithoutRefit',
52  Fitter = 'KFFittingSmootherFifth',
53  Propagator = 'PropagatorWithMaterial')
54 
55 # simtrack id producer
56 tobTecStepSimTrackIds = cms.EDProducer("SimTrackIdProducer",
57  trackCollection = cms.InputTag("tobTecStepTracks"),
58  HitProducer = cms.InputTag("siTrackerGaussianSmearingRecHits","TrackerGSMatchedRecHits")
59  )
60 
61 
62 
63 # track selection
64 from RecoTracker.IterativeTracking.TobTecStep_cff import tobTecStepSelector
65 tobTecStepSelector.vertices = "firstStepPrimaryVerticesBeforeMixing"
66 
67 # sequence
68 TobTecStep = cms.Sequence(iterativeTobTecSeeds
69  +tobTecStepTrackCandidates
70  +tobTecStepTracks
71  +tobTecStepSelector
72  +tobTecStepSimTrackIds)
73