CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PhotonConversionTrajectorySeedProducerFromSingleLeg_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoTracker.TkSeedGenerator.SeedGeneratorFromRegionHitsEDProducer_cfi import seedGeneratorFromRegionHitsEDProducer
4 CommonClusterCheckPSet = seedGeneratorFromRegionHitsEDProducer.ClusterCheckPSet
5 
6 
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),
17 
18  DoxcheckSeedCandidates = cms.bool(False),
19  OrderedHitsFactoryPSet = cms.PSet(
20  maxHitPairsPerTrackAndGenerator = cms.uint32(10),
21  maxElement = cms.uint32(40000),
22  SeedingLayers = cms.InputTag('convLayerPairs')
23  ),
24  SeedComparitorPSet = cms.PSet(
25  ComponentName = cms.string('none')
26  ),
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)
34  ),
35  ComponentName = cms.string('GlobalRegionProducerFromBeamSpot')
36  ),
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')
42  )
43  )
44 from Configuration.Eras.Modifier_trackingLowPU_cff import trackingLowPU
45 trackingLowPU.toModify(photonConvTrajSeedFromSingleLeg,
46  OrderedHitsFactoryPSet = dict(maxElement = 10000),
47  ClusterCheckPSet = dict(
48  MaxNumberOfCosmicClusters = 150000,
49  MaxNumberOfPixelClusters = 20000,
50  cut = "strip < 150000 && pixel < 20000 && (strip < 20000 + 7* pixel)"
51  )
52 )
53 
54 from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
55 trackingPhase2PU140.toModify(photonConvTrajSeedFromSingleLeg,
56  ClusterCheckPSet = dict(
57  MaxNumberOfCosmicClusters = 1000000,
58  MaxNumberOfPixelClusters = 100000,
59  cut = None
60  ),
61  OrderedHitsFactoryPSet = dict(maxElement = 100000),
62  RegionFactoryPSet = dict(RegionPSet = dict(ptMin = 0.3)),
63 )
64 
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)")
68 )
69 
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.)"
75  ),
76  OrderedHitsFactoryPSet = dict(maxElement = 100000)
77 )
78 from RecoTracker.TkTrackingRegions.globalTrackingRegionWithVertices_cff import globalTrackingRegionWithVertices as _globalTrackingRegionWithVertices
79 (pp_on_XeXe_2017 | pp_on_AA ).toModify(photonConvTrajSeedFromSingleLeg,
80  RegionFactoryPSet = dict(ComponentName = 'GlobalTrackingRegionWithVerticesProducer',
81  RegionPSet = _globalTrackingRegionWithVertices.RegionPSet.clone(
82  originRadius = 0,
83  originRScaling4BigEvts = True,
84  minOriginR = 0,
85  scalingStartNPix = 0,
86  scalingEndNPix = 1#essentially turn off immediately
87  ),
88  )
89 )