CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Phase1PU70_ElectronSeeds_cff.py
Go to the documentation of this file.
2 
4 initialStepSeedClusterMask = seedClusterRemover.clone(
5  trajectories = cms.InputTag("initialStepSeeds"),
6  oldClusterRemovalInfo = cms.InputTag("highPtTripletStepClusters")
7 )
8 highPtTripletStepSeedClusterMask = seedClusterRemover.clone(
9  trajectories = cms.InputTag("highPtTripletStepSeeds"),
10  oldClusterRemovalInfo = cms.InputTag("initialStepSeedClusterMask")
11 )
12 pixelPairStepSeedClusterMask = seedClusterRemover.clone(
13  trajectories = cms.InputTag("pixelPairStepSeeds"),
14  oldClusterRemovalInfo = cms.InputTag("highPtTripletStepSeedClusterMask")
15 )
16 
17 tripletElectronSeedLayers = cms.EDProducer("SeedingLayersEDProducer",
18  layerList = cms.vstring('BPix1+BPix2+BPix3', 'BPix2+BPix3+BPix4',
19  'BPix1+BPix3+BPix4', 'BPix1+BPix2+BPix4',
20  'BPix2+BPix3+FPix1_pos', 'BPix2+BPix3+FPix1_neg',
21  'BPix1+BPix2+FPix1_pos', 'BPix1+BPix2+FPix1_neg',
22  'BPix1+BPix3+FPix1_pos', 'BPix1+BPix3+FPix1_neg',
23  'BPix2+FPix1_pos+FPix2_pos', 'BPix2+FPix1_neg+FPix2_neg',
24  'BPix1+FPix1_pos+FPix2_pos', 'BPix1+FPix1_neg+FPix2_neg',
25  'BPix1+BPix2+FPix2_pos', 'BPix1+BPix2+FPix2_neg',
26  'FPix1_pos+FPix2_pos+FPix3_pos', 'FPix1_neg+FPix2_neg+FPix3_neg',
27  'BPix1+FPix2_pos+FPix3_pos', 'BPix1+FPix2_neg+FPix3_neg',
28  'BPix1+FPix1_pos+FPix3_pos', 'BPix1+FPix1_neg+FPix3_neg'),
29  BPix = cms.PSet(
30  TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
31  HitProducer = cms.string('siPixelRecHits'),
32  skipClusters = cms.InputTag('pixelPairStepSeedClusterMask')
33  ),
34  FPix = cms.PSet(
35  TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
36  HitProducer = cms.string('siPixelRecHits'),
37  skipClusters = cms.InputTag('pixelPairStepSeedClusterMask')
38  )
39 )
40 
42 from RecoTracker.TkTrackingRegions.GlobalTrackingRegionFromBeamSpot_cfi import RegionPsetFomBeamSpotBlock
43 tripletElectronSeeds = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone(
44  RegionFactoryPSet = RegionPsetFomBeamSpotBlock.clone(
45  ComponentName = cms.string('GlobalRegionProducerFromBeamSpot'),
46  RegionPSet = RegionPsetFomBeamSpotBlock.RegionPSet.clone(
47  ptMin = 1.0,
48  originRadius = 0.02,
49  nSigmaZ = 4.0
50  )
51  )
52 )
53 tripletElectronSeeds.OrderedHitsFactoryPSet.SeedingLayers = cms.InputTag('tripletElectronSeedLayers')
54 tripletElectronSeeds.ClusterCheckPSet.doClusterCheck = cms.bool(False)
55 tripletElectronSeeds.OrderedHitsFactoryPSet.maxElement = cms.uint32(0)
56 
58 tripletElectronClusterMask = seedClusterRemover.clone(
59  trajectories = cms.InputTag("tripletElectronSeeds"),
60  oldClusterRemovalInfo = cms.InputTag("pixelLessStepSeedClusterMask")
61 )
62 
63 
64 ###This seed collection is produced for electron reconstruction
66 newCombinedSeeds = RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cfi.globalCombinedSeeds.clone(
67  seedCollections = cms.VInputTag(
68  cms.InputTag('initialStepSeeds'),
69  cms.InputTag('highPtTripletStepSeeds'),
70  cms.InputTag('pixelPairStepSeeds'),
71  cms.InputTag('tripletElectronSeeds')
72  )
73 )
74 
75 electronSeedsSeq = cms.Sequence(initialStepSeedClusterMask*
76  highPtTripletStepSeedClusterMask*
77  pixelPairStepSeedClusterMask*
78  tripletElectronSeedLayers*
79  tripletElectronSeeds*
80  newCombinedSeeds)