CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TobTecHybridStep_cff.py
Go to the documentation of this file.
2 
4 
5 # TRIPLET SEEDING LAYERS
6 tobTecStepSeedLayersTripl = cms.EDProducer("SeedingLayersEDProducer",
7  layerList = cms.vstring(
8  #TOB
9  'TOB1+TOB2+MTOB3',
10  #TOB+TEC
11  'TOB1+TOB2+MTEC1_pos','TOB1+TOB2+MTEC1_neg',
12  #'ITOB1+TEC1_pos+MTEC2_pos','ITOB1+TEC1_neg+MTEC2_neg',
13  #TEC
14  #'TEC1_pos+TEC2_pos+MTEC3_pos','TEC1_neg+TEC2_neg+MTEC3_neg',
15  #'TEC2_pos+TEC3_pos+MTEC4_pos','TEC2_neg+TEC3_neg+MTEC4_neg',
16  #'TEC3_pos+TEC4_pos+MTEC5_pos','TEC3_neg+TEC4_neg+MTEC5_neg',
17  #'TEC4_pos+TEC5_pos+MTEC6_pos','TEC4_neg+TEC5_neg+MTEC6_neg',
18  #'TEC5_pos+TEC6_pos+MTEC7_pos','TEC5_neg+TEC6_neg+MTEC7_neg',
19  #'TEC6_pos+TEC7_pos+MTEC8_pos','TEC6_neg+TEC7_neg+MTEC8_neg',
20  #'TEC7_pos+TEC8_pos+MTEC9_pos','TEC7_neg+TEC8_neg+MTEC9_neg'
21  ),
22  TOB = cms.PSet(
23  TTRHBuilder = cms.string('WithTrackAngle'),
24  matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
25  skipClusters = cms.InputTag('tobTecStepClusters')
26  ),
27  #ITOB = cms.PSet(
28  # TTRHBuilder = cms.string('WithTrackAngle'),
29  # matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
30  # skipClusters = cms.InputTag('myTobTecHybridStepClusters'),
31  # MinAbsZ = cms.double(85.0)
32  #),
33  MTOB = cms.PSet(
34  TTRHBuilder = cms.string('WithTrackAngle'),
35  skipClusters = cms.InputTag('tobTecStepClusters'),
36  rphiRecHits = cms.InputTag("siStripMatchedRecHits","rphiRecHit")
37  ),
38  #TEC = cms.PSet(
39  # matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
40  # skipClusters = cms.InputTag('tobTecStepClusters'),
41  # useRingSlector = cms.bool(True),
42  # TTRHBuilder = cms.string('WithTrackAngle'),
43  # minRing = cms.int32(5),
44  # maxRing = cms.int32(5)
45  #),
46  MTEC = cms.PSet(
47  rphiRecHits = cms.InputTag("siStripMatchedRecHits","rphiRecHit"),
48  skipClusters = cms.InputTag('tobTecStepClusters'),
49  useRingSlector = cms.bool(True),
50  TTRHBuilder = cms.string('WithTrackAngle'),
51  minRing = cms.int32(6),
52  maxRing = cms.int32(6)
53  )
54 )
55 # TRIPLET SEEDS
57 tobTecStepSeedsTripl = RecoTracker.TkSeedGenerator.GlobalSeedsFromTriplets_cff.globalSeedsFromTriplets.clone()
58 tobTecStepSeedsTripl.OrderedHitsFactoryPSet.SeedingLayers = 'tobTecStepSeedLayersTripl'
59 tobTecStepSeedsTripl.OrderedHitsFactoryPSet.ComponentName = 'StandardMultiHitGenerator'
60 tobTecStepSeedsTripl.OrderedHitsFactoryPSet.GeneratorPSet = cms.PSet(
61  useFixedPreFiltering = cms.bool(False),
62  maxElement = cms.uint32(100000),
63  ComponentName = cms.string('MultiHitGeneratorFromChi2'),
64  extraHitRPhitolerance = cms.double(0.2),
65  phiPreFiltering = cms.double(0.3),
66  extraHitRZtolerance = cms.double(0.),
67  fnSigmaRZ = cms.double(2.0),
68  chi2VsPtCut = cms.bool(True),
69  maxChi2 = cms.double(5.0),
70  pt_interv = cms.vdouble(0.7,1.0,2.0,5.0),
71  chi2_cuts = cms.vdouble(),#2.5,3.5,3.5,3.5,3.5
72  refitHits = cms.bool(True),
73  extraPhiKDBox = cms.double(0.),
74  SimpleMagneticField = cms.string(''),
75 # SimpleMagneticField = cms.string('ParabolicMf'),
76  ClusterShapeHitFilterName = cms.string('ClusterShapeHitFilter'),
77  debug = cms.bool(False),
78  detIdsToDebug = cms.vint32(0,0,0)
79 )
80 tobTecStepSeedsTripl.SeedCreatorPSet.ComponentName = 'SeedFromConsecutiveHitsTripletOnlyCreator'
81 tobTecStepSeedsTripl.RegionFactoryPSet.RegionPSet.ptMin = 0.5
82 tobTecStepSeedsTripl.RegionFactoryPSet.RegionPSet.originHalfLength = 30.0
83 tobTecStepSeedsTripl.RegionFactoryPSet.RegionPSet.originRadius = 6.0
84 tobTecStepSeedsTripl.SeedCreatorPSet.OriginTransverseErrorMultiplier = 1.0
85 tobTecStepSeedsTripl.SeedComparitorPSet = cms.PSet(
86  ComponentName = cms.string('PixelClusterShapeSeedComparitor'),
87  FilterAtHelixStage = cms.bool(True),
88  FilterPixelHits = cms.bool(False),
89  FilterStripHits = cms.bool(False),
90  ClusterShapeHitFilterName = cms.string('ClusterShapeHitFilter')
91 )
92 # PAIR SEEDING LAYERS
93 tobTecStepSeedLayersPair = cms.EDProducer("SeedingLayersEDProducer",
94  layerList = cms.vstring('TOB1+TEC1_pos','TOB1+TEC1_neg',
95  'TEC1_pos+TEC2_pos','TEC1_neg+TEC2_neg',
96  'TEC2_pos+TEC3_pos','TEC2_neg+TEC3_neg',
97  'TEC3_pos+TEC4_pos','TEC3_neg+TEC4_neg',
98  'TEC4_pos+TEC5_pos','TEC4_neg+TEC5_neg',
99  'TEC5_pos+TEC6_pos','TEC5_neg+TEC6_neg',
100  'TEC6_pos+TEC7_pos','TEC6_neg+TEC7_neg'),
101  TOB = cms.PSet(
102  TTRHBuilder = cms.string('WithTrackAngle'),
103  matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
104  skipClusters = cms.InputTag('tobTecStepClusters')
105  ),
106  TEC = cms.PSet(
107  matchedRecHits = cms.InputTag("siStripMatchedRecHits","matchedRecHit"),
108  skipClusters = cms.InputTag('tobTecStepClusters'),
109  useRingSlector = cms.bool(True),
110  TTRHBuilder = cms.string('WithTrackAngle'),
111  minRing = cms.int32(5),
112  maxRing = cms.int32(5)
113  )
114 )
115 # PAIR SEEDS
117 tobTecStepSeedsPair = RecoTracker.TkSeedGenerator.GlobalMixedSeeds_cff.globalMixedSeeds.clone()
118 tobTecStepSeedsPair.OrderedHitsFactoryPSet.ComponentName = cms.string('StandardHitPairGenerator')
119 tobTecStepSeedsPair.OrderedHitsFactoryPSet.SeedingLayers = 'tobTecStepSeedLayersPair'
120 tobTecStepSeedsPair.RegionFactoryPSet.RegionPSet.ptMin = 0.6
121 tobTecStepSeedsPair.RegionFactoryPSet.RegionPSet.originHalfLength = 30.0
122 tobTecStepSeedsPair.RegionFactoryPSet.RegionPSet.originRadius = 6.0
123 tobTecStepSeedsPair.SeedCreatorPSet.OriginTransverseErrorMultiplier = 2.0
124 tobTecStepSeedsPair.SeedComparitorPSet = cms.PSet(
125  ComponentName = cms.string('PixelClusterShapeSeedComparitor'),
126  FilterAtHelixStage = cms.bool(True),
127  FilterPixelHits = cms.bool(False),
128  FilterStripHits = cms.bool(False),
129  ClusterShapeHitFilterName = cms.string('ClusterShapeHitFilter')
130 )
131 
133 tobTecStepSeeds = RecoTracker.TkSeedGenerator.GlobalCombinedSeeds_cfi.globalCombinedSeeds.clone()
134 tobTecStepSeeds.seedCollections = cms.VInputTag(cms.InputTag('tobTecStepSeedsTripl'),cms.InputTag('tobTecStepSeedsPair'))
135 
136 
137 TobTecStep = cms.Sequence(tobTecStepClusters*
138  tobTecStepSeedLayersTripl*
139  tobTecStepSeedsTripl*
140  tobTecStepSeedLayersPair*
141  tobTecStepSeedsPair*
142  tobTecStepSeeds*
143  tobTecStepTrackCandidates*
144  tobTecStepTracks*
145  tobTecStepSelector)