1 import FWCore.ParameterSet.Config
as cms
3 from RecoTracker.TkSeedGenerator.SeedGeneratorFromRegionHitsEDProducer_cfi
import seedGeneratorFromRegionHitsEDProducer
4 CommonClusterCheckPSet = seedGeneratorFromRegionHitsEDProducer.ClusterCheckPSet
7 photonConvTrajSeedFromSingleLeg = cms.EDProducer(
"PhotonConversionTrajectorySeedProducerFromSingleLeg",
8 TrackRefitter = cms.InputTag(
'TrackRefitter',
''),
9 primaryVerticesTag = cms.InputTag(
"offlinePrimaryVertices"),
10 beamSpotInputTag = cms.InputTag(
"offlineBeamSpot"),
11 newSeedCandidates = cms.string(
"convSeedCandidates"),
12 xcheckSeedCandidates = cms.string(
"xcheckSeedCandidates"),
13 vtxMinDoF = cms.double(4),
14 maxDZSigmas = cms.double(10.),
15 maxNumSelVtx = cms.uint32(2),
16 applyTkVtxConstraint = cms.bool(
True),
18 DoxcheckSeedCandidates = cms.bool(
False),
19 OrderedHitsFactoryPSet = cms.PSet(
20 maxHitPairsPerTrackAndGenerator = cms.uint32(10),
21 maxElement = cms.uint32(40000),
22 SeedingLayers = cms.InputTag(
'convLayerPairs')
24 SeedComparitorPSet = cms.PSet(
25 ComponentName = cms.string(
'none')
27 ClusterCheckPSet = CommonClusterCheckPSet,
28 RegionFactoryPSet = cms.PSet(
29 RegionPSet = cms.PSet( precise = cms.bool(
True),
30 beamSpot = cms.InputTag(
"offlineBeamSpot"),
31 originRadius = cms.double(3.0),
32 ptMin = cms.double(0.2),
33 originHalfLength = cms.double(12.0)
35 ComponentName = cms.string(
'GlobalRegionProducerFromBeamSpot')
37 SeedCreatorPSet = cms.PSet(
38 ComponentName = cms.string(
'SeedForPhotonConversion1Leg'),
39 SeedMomentumForBOFF = cms.double(5.0),
40 propagator = cms.string(
'PropagatorWithMaterial'),
41 TTRHBuilder = cms.string(
'WithTrackAngle')
44 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
45 trackingLowPU.toModify(photonConvTrajSeedFromSingleLeg,
46 OrderedHitsFactoryPSet = dict(maxElement = 10000),
47 ClusterCheckPSet = dict(
48 MaxNumberOfStripClusters = 150000,
49 MaxNumberOfPixelClusters = 20000,
50 cut =
"strip < 150000 && pixel < 20000 && (strip < 20000 + 7* pixel)" 54 from Configuration.Eras.Modifier_trackingPhase2PU140_cff
import trackingPhase2PU140
55 trackingPhase2PU140.toModify(photonConvTrajSeedFromSingleLeg,
56 ClusterCheckPSet = dict(
57 MaxNumberOfStripClusters = 1000000,
58 MaxNumberOfPixelClusters = 100000,
61 OrderedHitsFactoryPSet = dict(maxElement = 100000),
62 RegionFactoryPSet = dict(RegionPSet = dict(ptMin = 0.3)),
65 from Configuration.Eras.Modifier_peripheralPbPb_cff
import peripheralPbPb
66 peripheralPbPb.toModify(photonConvTrajSeedFromSingleLeg,
67 ClusterCheckPSet = dict(cut =
"strip < 400000 && pixel < 40000 && (strip < 60000 + 7.0*pixel) && (pixel < 8000 + 0.14*strip)")
70 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff
import pp_on_XeXe_2017
71 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
72 (pp_on_XeXe_2017 | pp_on_AA ).toModify(photonConvTrajSeedFromSingleLeg,
73 ClusterCheckPSet = dict(MaxNumberOfPixelClusters = 100000,
74 cut =
"strip < 1000000 && pixel < 100000 && (strip < 50000 + 10*pixel) && (pixel < 5000 + strip/2.)" 76 OrderedHitsFactoryPSet = dict(maxElement = 100000)
79 (pp_on_XeXe_2017 | pp_on_AA ).toModify(photonConvTrajSeedFromSingleLeg,
80 RegionFactoryPSet = dict(ComponentName =
'GlobalTrackingRegionWithVerticesProducer',
81 RegionPSet = _globalTrackingRegionWithVertices.RegionPSet.clone(
83 originRScaling4BigEvts =
True,