CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SeedGeneratorFromRegionHitsEDProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
5 #from RecoTracker.TkSeedGenerator.SeedFromConsecutiveHitsStraightLineCreator_cfi import *
6 #from RecoTracker.TkSeedGenerator.SeedFromConsecutiveHitsTripletOnlyCreator_cfi import *
7 
8 seedGeneratorFromRegionHitsEDProducer = cms.EDProducer("SeedGeneratorFromRegionHitsEDProducer",
9  OrderedHitsFactoryPSet = cms.PSet(
10  ComponentName = cms.string(''),
11  SeedingLayers = cms.InputTag(''),
12  maxElement = cms.uint32(1000000)
13  ),
14  SeedComparitorPSet = cms.PSet(
15  ComponentName = cms.string('none')
16  ),
17  RegionFactoryPSet = cms.PSet(
18  RegionPsetFomBeamSpotBlockFixedZ,
19  ComponentName = cms.string('GlobalRegionProducerFromBeamSpot')
20  ),
21 # This works best ...
22  SeedCreatorPSet = cms.PSet(SeedFromConsecutiveHitsCreator),
23 # except for large impact parameter pixel-pair seeding, when this is better ...
24 # SeedCreatorPSet = cms.PSet(SeedFromConsecutiveHitsStraightLineCreator)
25 # and this one respectively for large-D0 triplets:
26 # SeedCreatorPSet = cms.PSet(SeedFromConsecutiveHitsTripletOnlyCreator)
27 
28 ##add a protection for too many clusters in the event.
29 ClusterCheckPSet = cms.PSet(
30  doClusterCheck = cms.bool(True),
31  MaxNumberOfCosmicClusters = cms.uint32(400000),
32  ClusterCollectionLabel = cms.InputTag("siStripClusters"),
33  MaxNumberOfPixelClusters = cms.uint32(40000),
34  PixelClusterCollectionLabel = cms.InputTag("siPixelClusters"),
35  cut = cms.string("strip < 400000 && pixel < 40000 && (strip < 50000 + 10*pixel) && (pixel < 5000 + 0.1*strip)")
36  ),
37 )
38 
39 from Configuration.StandardSequences.Eras import eras
40 eras.peripheralPbPb.toModify(seedGeneratorFromRegionHitsEDProducer,
41  ClusterCheckPSet = dict(cut = "strip < 400000 && pixel < 40000 && (strip < 60000 + 7.0*pixel) && (pixel < 8000 + 0.14*strip)")
42  )