1 import FWCore.ParameterSet.Config
as cms
4 from RecoTracker.TkSeedGenerator.SeedGeneratorFromRegionHitsEDProducer_cfi
import seedGeneratorFromRegionHitsEDProducer
5 CommonClusterCheckPSet = seedGeneratorFromRegionHitsEDProducer.ClusterCheckPSet
8 photonConvTrajSeedFromSingleLeg = cms.EDProducer(
"PhotonConversionTrajectorySeedProducerFromSingleLeg",
9 TrackRefitter = cms.InputTag(
'TrackRefitter',
''),
10 primaryVerticesTag = cms.InputTag(
"offlinePrimaryVertices"),
11 beamSpotInputTag = cms.InputTag(
"offlineBeamSpot"),
12 newSeedCandidates = cms.string(
"convSeedCandidates"),
13 xcheckSeedCandidates = cms.string(
"xcheckSeedCandidates"),
14 vtxMinDoF = cms.double(4),
15 maxDZSigmas = cms.double(10.),
16 maxNumSelVtx = cms.uint32(2),
17 applyTkVtxConstraint = cms.bool(
True),
19 DoxcheckSeedCandidates = cms.bool(
False),
20 OrderedHitsFactoryPSet = cms.PSet(
21 maxHitPairsPerTrackAndGenerator = cms.uint32(10),
22 maxElement = cms.uint32(40000),
23 SeedingLayers = cms.InputTag(
'convLayerPairs')
25 SeedComparitorPSet = cms.PSet(
26 ComponentName = cms.string(
'none')
28 ClusterCheckPSet = CommonClusterCheckPSet,
29 RegionFactoryPSet = cms.PSet(
30 RegionPSet = cms.PSet( precise = cms.bool(
True),
31 beamSpot = cms.InputTag(
"offlineBeamSpot"),
32 originRadius = cms.double(3.0),
33 ptMin = cms.double(0.2),
34 originHalfLength = cms.double(12.0)
36 ComponentName = cms.string(
'GlobalRegionProducerFromBeamSpot')
38 SeedCreatorPSet = cms.PSet(
39 ComponentName = cms.string(
'SeedForPhotonConversion1Leg'),
40 SeedMomentumForBOFF = cms.double(5.0),
41 propagator = cms.string(
'PropagatorWithMaterial'),
42 TTRHBuilder = cms.string(
'WithTrackAngle')
45 from Configuration.Eras.Modifier_trackingLowPU_cff
import trackingLowPU
46 trackingLowPU.toModify(photonConvTrajSeedFromSingleLeg,
47 OrderedHitsFactoryPSet = dict(maxElement = 10000),
48 ClusterCheckPSet = dict(
49 MaxNumberOfCosmicClusters = 150000,
50 MaxNumberOfPixelClusters = 20000,
51 cut =
"strip < 150000 && pixel < 20000 && (strip < 20000 + 7* pixel)"
55 from Configuration.Eras.Modifier_trackingPhase2PU140_cff
import trackingPhase2PU140
56 trackingPhase2PU140.toModify(photonConvTrajSeedFromSingleLeg,
57 ClusterCheckPSet = dict(
58 MaxNumberOfCosmicClusters = 1000000,
59 MaxNumberOfPixelClusters = 100000,
62 OrderedHitsFactoryPSet = dict(maxElement = 100000),
63 RegionFactoryPSet = dict(RegionPSet = dict(ptMin = 0.3)),
66 from Configuration.Eras.Modifier_peripheralPbPb_cff
import peripheralPbPb
67 peripheralPbPb.toModify(photonConvTrajSeedFromSingleLeg,
68 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.Eras.Modifier_pp_on_AA_2018_cff
import pp_on_AA_2018
72 (pp_on_XeXe_2017 | pp_on_AA_2018 ).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_2018 ).toModify(photonConvTrajSeedFromSingleLeg,
80 RegionFactoryPSet = dict(ComponentName =
'GlobalTrackingRegionWithVerticesProducer',
81 RegionPSet = _globalTrackingRegionWithVertices.RegionPSet.clone(
83 originRScaling4BigEvts =
True,