CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ElectronSeeds_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 initialStepSeedClusterMask = seedClusterRemover.clone(
5  trajectories = cms.InputTag("initialStepSeeds"),
6  oldClusterRemovalInfo = cms.InputTag("pixelLessStepClusters")
7 )
8 pixelPairStepSeedClusterMask = seedClusterRemover.clone(
9  trajectories = cms.InputTag("pixelPairStepSeeds"),
10  oldClusterRemovalInfo = cms.InputTag("initialStepSeedClusterMask")
11 )
12 mixedTripletStepSeedClusterMask = seedClusterRemover.clone(
13  trajectories = cms.InputTag("mixedTripletStepSeeds"),
14  oldClusterRemovalInfo = cms.InputTag("pixelPairStepSeedClusterMask")
15 )
16 pixelLessStepSeedClusterMask = seedClusterRemover.clone(
17  trajectories = cms.InputTag("pixelLessStepSeeds"),
18  oldClusterRemovalInfo = cms.InputTag("mixedTripletStepSeedClusterMask")
19 )
20 
21 tripletElectronSeedLayers = cms.EDProducer("SeedingLayersEDProducer",
22  layerList = cms.vstring('BPix1+BPix2+BPix3',
23  'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg',
24  'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg'),
25  BPix = cms.PSet(
26  TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
27  HitProducer = cms.string('siPixelRecHits'),
28  skipClusters = cms.InputTag('pixelLessStepSeedClusterMask')
29  ),
30  FPix = cms.PSet(
31  TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
32  HitProducer = cms.string('siPixelRecHits'),
33  skipClusters = cms.InputTag('pixelLessStepSeedClusterMask')
34  )
35 )
36 
38 from RecoTracker.TkTrackingRegions.GlobalTrackingRegionFromBeamSpot_cfi import RegionPsetFomBeamSpotBlock
39 tripletElectronSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone(
40  RegionFactoryPSet = RegionPsetFomBeamSpotBlock.clone(
41  ComponentName = cms.string('GlobalRegionProducerFromBeamSpot'),
42  RegionPSet = RegionPsetFomBeamSpotBlock.RegionPSet.clone(
43  ptMin = 1.0,
44  originRadius = 0.02,
45  nSigmaZ = 4.0
46  )
47  )
48 )
49 tripletElectronSeeds.OrderedHitsFactoryPSet.SeedingLayers = cms.InputTag('tripletElectronSeedLayers')
50 
52 tripletElectronClusterMask = seedClusterRemover.clone(
53  trajectories = cms.InputTag("tripletElectronSeeds"),
54  oldClusterRemovalInfo = cms.InputTag("pixelLessStepSeedClusterMask")
55 )
56 
57 pixelPairElectronSeedLayers = cms.EDProducer("SeedingLayersEDProducer",
58  layerList = cms.vstring('BPix1+BPix2', 'BPix1+BPix3', 'BPix2+BPix3',
59  'BPix1+FPix1_pos', 'BPix1+FPix1_neg',
60  'BPix1+FPix2_pos', 'BPix1+FPix2_neg',
61  'BPix2+FPix1_pos', 'BPix2+FPix1_neg',
62  'FPix1_pos+FPix2_pos', 'FPix1_neg+FPix2_neg'),
63  BPix = cms.PSet(
64  TTRHBuilder = cms.string('WithTrackAngle'),
65  HitProducer = cms.string('siPixelRecHits'),
66  skipClusters = cms.InputTag('tripletElectronClusterMask')
67  ),
68  FPix = cms.PSet(
69  TTRHBuilder = cms.string('WithTrackAngle'),
70  HitProducer = cms.string('siPixelRecHits'),
71  skipClusters = cms.InputTag('tripletElectronClusterMask')
72  )
73 )
74 
76 pixelPairElectronSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromPairsWithVertices_cff.globalSeedsFromPairsWithVertices.clone()
77 pixelPairElectronSeeds.RegionFactoryPSet.RegionPSet.ptMin = 1.0
78 pixelPairElectronSeeds.RegionFactoryPSet.RegionPSet.originRadius = 0.015
79 pixelPairElectronSeeds.RegionFactoryPSet.RegionPSet.fixedError = 0.03
80 pixelPairElectronSeeds.OrderedHitsFactoryPSet.SeedingLayers = cms.InputTag('pixelPairElectronSeedLayers')
81 
82 stripPairElectronSeedLayers = cms.EDProducer("SeedingLayersEDProducer",
83  layerList = cms.vstring('TIB1+TIB2', 'TIB1+TID1_pos', 'TIB1+TID1_neg', 'TID2_pos+TID3_pos', 'TID2_neg+TID3_neg',
84  'TEC1_pos+TEC2_pos','TEC2_pos+TEC3_pos','TEC3_pos+TEC4_pos','TEC3_pos+TEC5_pos',
85  'TEC1_neg+TEC2_neg','TEC2_neg+TEC3_neg','TEC3_neg+TEC4_neg','TEC3_neg+TEC5_neg'),
86  TIB = cms.PSet(
87  TTRHBuilder = cms.string('WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string('SiStripClusterChargeCutNone')),
88  matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
89  skipClusters = cms.InputTag('tripletElectronClusterMask')
90  ),
91  TID = cms.PSet(
92  matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
93  skipClusters = cms.InputTag('tripletElectronClusterMask'),
94  useRingSlector = cms.bool(True),
95  TTRHBuilder = cms.string('WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string('SiStripClusterChargeCutNone')),
96  minRing = cms.int32(1),
97  maxRing = cms.int32(2)
98  ),
99  TEC = cms.PSet(
100  matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
101  skipClusters = cms.InputTag('tripletElectronClusterMask'),
102  useRingSlector = cms.bool(True),
103  TTRHBuilder = cms.string('WithTrackAngle'), clusterChargeCut = cms.PSet(refToPSet_ = cms.string('SiStripClusterChargeCutNone')),
104  minRing = cms.int32(1),
105  maxRing = cms.int32(2)
106  )
107 )
108 
110 stripPairElectronSeeds = RecoTracker.TkSeedGenerator.GlobalMixedSeeds_cff.globalMixedSeeds.clone()
111 stripPairElectronSeeds.OrderedHitsFactoryPSet.SeedingLayers = 'stripPairElectronSeedLayers'
112 stripPairElectronSeeds.RegionFactoryPSet.RegionPSet.ptMin = 1.0
113 stripPairElectronSeeds.RegionFactoryPSet.RegionPSet.originHalfLength = 12.0
114 stripPairElectronSeeds.RegionFactoryPSet.RegionPSet.originRadius = 0.4
115 
116 ###This seed collection is produced for electron reconstruction
118 newCombinedSeeds = RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cfi.globalCombinedSeeds.clone(
119  seedCollections = cms.VInputTag(
120  cms.InputTag('initialStepSeeds'),
121  cms.InputTag('pixelPairStepSeeds'),
122  cms.InputTag('mixedTripletStepSeeds'),
123  cms.InputTag('pixelLessStepSeeds'),
124  cms.InputTag('tripletElectronSeeds'),
125  cms.InputTag('pixelPairElectronSeeds'),
126  cms.InputTag('stripPairElectronSeeds')
127  )
128 )
129 
130 electronSeedsSeq = cms.Sequence( initialStepSeedClusterMask*
131  pixelPairStepSeedClusterMask*
132  mixedTripletStepSeedClusterMask*
133  pixelLessStepSeedClusterMask*
134  tripletElectronSeedLayers*
135  tripletElectronSeeds*
136  tripletElectronClusterMask*
137  pixelPairElectronSeedLayers*
138  pixelPairElectronSeeds*
139  stripPairElectronSeedLayers*
140  stripPairElectronSeeds*
141  newCombinedSeeds)
142