6 layerList = cms.vstring()
8 layers = [
'TOB',
'TEC',
'TOBTEC',
'TECSKIP' ]
10 layerList += [
'TOB4+TOB5+TOB6',
17 TECwheelTriplets = [ (i,i+1,i+2)
for i
in range(7,0,-1)]
18 layerList += [
'TEC%d_pos+TEC%d_pos+TEC%d_pos' % ls
for ls
in TECwheelTriplets ]
19 layerList += [
'TEC%d_neg+TEC%d_neg+TEC%d_neg' % ls
for ls
in TECwheelTriplets ]
20 if 'TECSKIP' in layers:
21 TECwheelTriplets = [ (i-1,i+1,i+2)
for i
in range(7,1,-1)] + [ (i-1,i,i+2)
for i
in range(7,1,-1) ]
22 layerList += [
'TEC%d_pos+TEC%d_pos+TEC%d_pos' % ls
for ls
in TECwheelTriplets ]
23 layerList += [
'TEC%d_neg+TEC%d_neg+TEC%d_neg' % ls
for ls
in TECwheelTriplets ]
24 if 'TOBTEC' in layers:
25 layerList += [
'TOB6+TEC1_pos+TEC2_pos',
26 'TOB6+TEC1_neg+TEC2_neg',
28 'TOB6+TOB5+TEC1_neg' ]
33 simpleCosmicBONSeeds = cms.EDProducer(
"SimpleCosmicBONSeeder",
34 TTRHBuilder = cms.string(
'WithTrackAngle'),
35 ClusterCheckPSet = cms.PSet(
36 doClusterCheck = cms.bool(
True),
37 MaxNumberOfCosmicClusters = cms.uint32(300),
38 ClusterCollectionLabel = cms.InputTag(
"siStripClusters"),
39 DontCountDetsAboveNClusters = cms.uint32(20),
40 MaxNumberOfPixelClusters = cms.uint32(300),
41 PixelClusterCollectionLabel = cms.InputTag(
"siPixelClusters")
43 maxTriplets = cms.int32(50000),
44 maxSeeds = cms.int32(20000),
45 RegionPSet = cms.PSet(
46 originZPosition = cms.double(0.0),
47 originRadius = cms.double(150.0),
48 originHalfLength = cms.double(90.0),
49 ptMin = cms.double(0.5),
50 pMin = cms.double(1.0),
52 TripletsPSet = cms.PSet(
55 debugLevel = cms.untracked.uint32(0),
57 seedOnMiddle = cms.bool(
False),
58 rescaleError = cms.double(1.0),
60 ClusterChargeCheck = cms.PSet(
61 checkCharge = cms.bool(
False),
62 matchedRecHitsUseAnd = cms.bool(
True),
63 Thresholds = cms.PSet(
70 HitsPerModuleCheck = cms.PSet(
71 checkHitsPerModule = cms.bool(
True),
72 Thresholds = cms.PSet(
79 minimumGoodHitsInSeed = cms.int32(3),
81 writeTriplets = cms.bool(
False),
82 helixDebugLevel = cms.untracked.uint32(0),
83 seedDebugLevel = cms.untracked.uint32(0),
85 PositiveYOnly = cms.bool(
False),
86 NegativeYOnly = cms.bool(
False)
89 simpleCosmicBONSeeds.TripletsPSet.TEC.useSimpleRphiHitsCleaner =
False
def makeSimpleCosmicSeedLayers