CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Phase1PU140_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("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 tripletElectronSeeds.SeedCreatorPSet.magneticField = ''
57 tripletElectronSeeds.SeedCreatorPSet.propagator = 'PropagatorWithMaterial'
58 
60 tripletElectronClusterMask = seedClusterRemover.clone(
61  trajectories = cms.InputTag("tripletElectronSeeds"),
62  oldClusterRemovalInfo = cms.InputTag("pixelLessStepSeedClusterMask")
63 )
64 
65 
66 ###This seed collection is produced for electron reconstruction
68 newCombinedSeeds = RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cfi.globalCombinedSeeds.clone(
69  seedCollections = cms.VInputTag(
70  cms.InputTag('initialStepSeeds'),
71  cms.InputTag('highPtTripletStepSeeds'),
72  cms.InputTag('pixelPairStepSeeds'),
73  cms.InputTag('tripletElectronSeeds')
74  )
75 )
76 
77 electronSeedsSeq = cms.Sequence(initialStepSeedClusterMask*
78  highPtTripletStepSeedClusterMask*
79  pixelPairStepSeedClusterMask*
80  tripletElectronSeedLayers*
81  tripletElectronSeeds*
82  newCombinedSeeds)