CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 # Disable too many clusters check until we have an updated cut string for phase1
40 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
41 phase1Pixel.toModify(seedGeneratorFromRegionHitsEDProducer, # FIXME
42  ClusterCheckPSet = dict(doClusterCheck = False)
43 )
44 
45 from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
46 peripheralPbPb.toModify(seedGeneratorFromRegionHitsEDProducer,
47  ClusterCheckPSet = dict(doClusterCheck = True, # FIXMETOO
48  cut = "strip < 400000 && pixel < 40000 && (strip < 60000 + 7.0*pixel) && (pixel < 8000 + 0.14*strip)")
49  )
50 
51 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
52 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
53 (pp_on_XeXe_2017 | pp_on_AA).toModify(seedGeneratorFromRegionHitsEDProducer,
54  ClusterCheckPSet = dict(doClusterCheck = True, # FIXMETOO
55  cut = "strip < 1000000 && pixel < 100000 && (strip < 50000 + 10*pixel) && (pixel < 5000 + strip/2.)",
56  MaxNumberOfPixelClusters = 100000)
57  )
58