CMS 3D CMS Logo

CombinatorialSeedGeneratorForBeamHalo_cfi.py
Go to the documentation of this file.
1 # The following comments couldn't be translated into the new config version:
2 
3 #along momentum
4 
5 #and opposite to momentum
6 
7 import FWCore.ParameterSet.Config as cms
8 
11 
12 layerInfo = cms.PSet(
13  TID = cms.PSet(
14  matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
15  useRingSlector = cms.bool(False),
16  TTRHBuilder = cms.string('WithTrackAngle'),
17  clusterChargeCut = cms.PSet(refToPSet_ = cms.string('SiStripClusterChargeCutNone')),
18  rphiRecHits = cms.InputTag("siStripMatchedRecHits","rphiRecHit")
19  ),
20  FPix = cms.PSet(
21  TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelPairs'),
22  HitProducer = cms.string('siPixelRecHits'),
23  ),
24  TEC = cms.PSet(#extend the seeds to inner rings of TEC
25  minRing = cms.int32(1),
26  matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
27  useRingSlector = cms.bool(True),
28  TTRHBuilder = cms.string('WithTrackAngle'),
29  clusterChargeCut = cms.PSet(refToPSet_ = cms.string('SiStripClusterChargeCutNone')),
30  rphiRecHits = cms.InputTag("siStripMatchedRecHits","rphiRecHit"),
31  maxRing = cms.int32(2)
32  ),
33  MTEC = cms.PSet(# re-use MTEC name for the outer rings
34  minRing = cms.int32(5),
35  matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
36  useRingSlector = cms.bool(False),
37  TTRHBuilder = cms.string('WithTrackAngle'),
38  clusterChargeCut = cms.PSet(refToPSet_ = cms.string('SiStripClusterChargeCutNone')),
39  rphiRecHits = cms.InputTag("siStripMatchedRecHits","rphiRecHit"),
40  maxRing = cms.int32(7)
41  ),
42 )
43 
44 layerList = cms.vstring(
45  'FPix1_pos+FPix2_pos',
46  'FPix1_neg+FPix2_neg',
47  'TID2_pos+TID3_pos',
48  'TID2_neg+TID3_neg',
49  'TEC1_neg+TEC2_neg',
50  'TEC1_pos+TEC2_pos',
51  'TEC2_neg+TEC3_neg',
52  'TEC2_pos+TEC3_pos',
53  'TEC3_neg+TEC4_neg',
54  'TEC3_pos+TEC4_pos',
55  'TEC4_neg+TEC5_neg',
56  'TEC4_pos+TEC5_pos',
57  'TEC5_neg+TEC6_neg',
58  'TEC5_pos+TEC6_pos',
59  'MTEC7_neg+MTEC8_neg',
60  'MTEC7_pos+MTEC8_pos',
61  'MTEC8_neg+MTEC9_neg',
62  'MTEC8_pos+MTEC9_pos'
63  )
64 
65 beamhaloTrackerSeeds = cms.EDProducer("CtfSpecialSeedGenerator",
66  SeedMomentum = cms.double(15.0), ##initial momentum in GeV !!!set to a lower value for slice test data
67 
68  ErrorRescaling = cms.double(50.0),
69  RegionFactoryPSet = cms.PSet(
70  RegionPSetBlock,
71  ComponentName = cms.string('GlobalRegionProducer')
72  ),
73  Charges = cms.vint32(-1, 1),
74  OrderedHitsFactoryPSets = cms.VPSet(
75  cms.PSet(
76  ComponentName = cms.string('BeamHaloPairGenerator'),
77  maxTheta = cms.double(0.1),
78  PropagationDirection = cms.string('alongMomentum'),
79  NavigationDirection = cms.string('outsideIn'),
80  LayerSrc = cms.InputTag("beamhaloTrackerSeedingLayers")
81  ),
82  cms.PSet(
83  ComponentName = cms.string('BeamHaloPairGenerator'),
84  maxTheta = cms.double(0.1),
85  PropagationDirection = cms.string('oppositeToMomentum'),
86  NavigationDirection = cms.string('outsideIn'),
87  LayerSrc = cms.InputTag("beamhaloTrackerSeedingLayers")
88  )),
89  UseScintillatorsConstraint = cms.bool(False),
90  TTRHBuilder = cms.string('WithTrackAngle'),
91  SeedsFromPositiveY = cms.bool(False),
92  SeedsFromNegativeY = cms.bool(False),
93  doClusterCheck = cms.bool(True),
94  ClusterCollectionLabel = cms.InputTag("siStripClusters"),
95  MaxNumberOfCosmicClusters = cms.uint32(10000),
96  MaxNumberOfPixelClusters = cms.uint32(10000),
97  PixelClusterCollectionLabel = cms.InputTag("siPixelClusters"),
98  CheckHitsAreOnDifferentLayers = cms.bool(False),
99  SetMomentum = cms.bool(True),
100  requireBOFF = cms.bool(False),
101  maxSeeds = cms.int32(10000),
102 )
103 
104