1 import FWCore.ParameterSet.Config
as cms
6 layerList = cms.vstring()
8 layers = [
'TOB',
'TEC',
'TOBTEC',
'TECSKIP' ]
10 layerList += [
'MTOB4+MTOB5+MTOB6',
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 += [
'MTOB6+TEC1_pos+TEC2_pos',
26 'MTOB6+TEC1_neg+TEC2_neg',
27 'MTOB6+MTOB5+TEC1_pos',
28 'MTOB6+MTOB5+TEC1_neg' ]
32 layerInfo = RecoTracker.SpecialSeedGenerators.CombinatorialSeedGeneratorForCosmics_cfi.layerInfo.clone(
33 TEC = dict(useSimpleRphiHitsCleaner =
False)
37 simpleCosmicBONSeeds = cms.EDProducer(
"SimpleCosmicBONSeeder",
38 TTRHBuilder = cms.string(
'WithTrackAngle'),
39 ClusterCheckPSet = cms.PSet(
40 doClusterCheck = cms.bool(
True),
41 MaxNumberOfCosmicClusters = cms.uint32(300),
42 ClusterCollectionLabel = cms.InputTag(
"siStripClusters"),
43 DontCountDetsAboveNClusters = cms.uint32(20),
44 MaxNumberOfPixelClusters = cms.uint32(300),
45 PixelClusterCollectionLabel = cms.InputTag(
"siPixelClusters")
47 maxTriplets = cms.int32(50000),
48 maxSeeds = cms.int32(20000),
49 RegionPSet = cms.PSet(
50 originZPosition = cms.double(0.0),
51 originRadius = cms.double(150.0),
52 originHalfLength = cms.double(90.0),
53 ptMin = cms.double(0.5),
54 pMin = cms.double(1.0),
56 TripletsSrc = cms.InputTag(
"simpleCosmicBONSeedingLayers"),
57 TripletsDebugLevel = cms.untracked.uint32(0),
58 seedOnMiddle = cms.bool(
False),
59 rescaleError = cms.double(1.0),
61 ClusterChargeCheck = cms.PSet(
62 checkCharge = cms.bool(
False),
63 matchedRecHitsUseAnd = cms.bool(
True),
64 Thresholds = cms.PSet(
71 HitsPerModuleCheck = cms.PSet(
72 checkHitsPerModule = cms.bool(
True),
73 Thresholds = cms.PSet(
80 minimumGoodHitsInSeed = cms.int32(3),
82 writeTriplets = cms.bool(
False),
83 helixDebugLevel = cms.untracked.uint32(0),
84 seedDebugLevel = cms.untracked.uint32(0),
86 PositiveYOnly = cms.bool(
False),
87 NegativeYOnly = cms.bool(
False)