CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IterativePixelLessStep_cff.py
Go to the documentation of this file.
2 
3 # step 4
4 
5 # seeding
6 #from FastSimulation.Tracking.IterativeFourthSeedProducer_cff import *
7 import FastSimulation.Tracking.TrajectorySeedProducer_cfi
8 iterativePixelLessSeeds = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone()
9 iterativePixelLessSeeds.skipSimTrackIdTags = [
10  cms.InputTag("initialStepSimTrackIds"),
11  cms.InputTag("detachedTripletStepSimTrackIds"),
12  cms.InputTag("lowPtTripletStepSimTrackIds"),
13  cms.InputTag("pixelPairStepSimTrackIds"),
14  cms.InputTag("mixedTripletStepSimTrackIds")]
15 iterativePixelLessSeeds.outputSeedCollectionName = 'PixelLessPairs'
16 iterativePixelLessSeeds.minRecHits = 3
17 iterativePixelLessSeeds.pTMin = 0.3
18 iterativePixelLessSeeds.maxD0 = 99.
19 iterativePixelLessSeeds.maxZ0 = 99.
20 iterativePixelLessSeeds.numberOfHits = 3
21 iterativePixelLessSeeds.originRadius = 1.0
22 iterativePixelLessSeeds.originHalfLength = 12.0
23 iterativePixelLessSeeds.originpTMin = 0.4 # was 0.6
24 iterativePixelLessSeeds.zVertexConstraint = -1.0
25 # skip compatiblity with PV/beamspot
26 iterativePixelLessSeeds.skipPVCompatibility = True
27 iterativePixelLessSeeds.primaryVertex = 'none'
28 
29 #iterativePixelLessSeeds.layerList = ['TIB1+TIB2',
30 # 'TIB1+TID1_pos','TIB1+TID1_neg',
31 # 'TID3_pos+TEC1_pos','TID3_neg+TEC1_neg',
32 # 'TID1_pos+TID2_pos','TID2_pos+TID3_pos',
33 # 'TEC1_pos+TEC2_pos','TEC2_pos+TEC3_pos','TEC3_pos+TEC4_pos','TEC3_pos+TEC5_pos','TEC4_pos+TEC5_pos',
34 # 'TID1_neg+TID2_neg','TID2_neg+TID3_neg',
35 # 'TEC1_neg+TEC2_neg','TEC2_neg+TEC3_neg','TEC3_neg+TEC4_neg','TEC3_neg+TEC5_neg','TEC4_neg+TEC5_neg']
36 
37 from RecoTracker.IterativeTracking.PixelLessStep_cff import pixelLessStepSeedLayers as _pixelLessStepSeedLayers
38 iterativePixelLessSeeds.layerList = _pixelLessStepSeedLayers.layerList
39 
40 # candidate producer
41 from FastSimulation.Tracking.TrackCandidateProducer_cfi import trackCandidateProducer
42 pixelLessStepTrackCandidates = trackCandidateProducer.clone(
43  SeedProducer = cms.InputTag("iterativePixelPairSeeds","PixelPair"),
44  MinNumberOfCrossedLayers = 6 # ?
45 )
46 
47 # track producer
48 from RecoTracker.IterativeTracking.PixelLessStep_cff import pixelLessStepTracks
49 pixelLessStepTracks = pixelLessStepTracks.clone(
50  TTRHBuilder = 'WithoutRefit',
51  Fitter = 'KFFittingSmootherFourth',
52  Propagator = 'PropagatorWithMaterial'
53 )
54 
55 # simtrack id producer
56 pixelLessStepSimTrackIds = cms.EDProducer("SimTrackIdProducer",
57  trackCollection = cms.InputTag("pixelLessStepTracks"),
58  HitProducer = cms.InputTag("siTrackerGaussianSmearingRecHits","TrackerGSMatchedRecHits")
59  )
60 
61 # track selection
62 from RecoTracker.IterativeTracking.PixelLessStep_cff import pixelLessStepSelector,pixelLessStep
63 pixelLessStepSelector.vertices = "firstStepPrimaryVerticesBeforeMixing"
64 
65 # sequence
66 PixelLessStep = cms.Sequence(iterativePixelLessSeeds+
67  pixelLessStepTrackCandidates+
68  pixelLessStepTracks+
69  pixelLessStepSimTrackIds+
70  pixelLessStepSelector+
71  pixelLessStep)