Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:27:23

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoTracker.TkSeedGenerator.SeedGeneratorFromRegionHitsEDProducer_cfi import seedGeneratorFromRegionHitsEDProducer 
0004 CommonClusterCheckPSet = seedGeneratorFromRegionHitsEDProducer.ClusterCheckPSet
0005 
0006 
0007 photonConvTrajSeedFromSingleLeg  = cms.EDProducer("PhotonConversionTrajectorySeedProducerFromSingleLeg",
0008                                                   TrackRefitter        = cms.InputTag('TrackRefitter',''),
0009                                                   primaryVerticesTag   = cms.InputTag("offlinePrimaryVertices"),
0010                                                   beamSpotInputTag     = cms.InputTag("offlineBeamSpot"),
0011                                                   newSeedCandidates    = cms.string("convSeedCandidates"),
0012                                                   xcheckSeedCandidates = cms.string("xcheckSeedCandidates"),
0013                                                   vtxMinDoF            = cms.double(4),
0014                                                   maxDZSigmas          = cms.double(10.),
0015                                                   maxNumSelVtx         = cms.uint32(2),
0016                                                   applyTkVtxConstraint = cms.bool(True),
0017                                                   
0018                                                   DoxcheckSeedCandidates = cms.bool(False),
0019                                                   OrderedHitsFactoryPSet = cms.PSet(
0020                                                       maxHitPairsPerTrackAndGenerator = cms.uint32(10),
0021                                                       maxElement = cms.uint32(40000),
0022                                                       SeedingLayers = cms.InputTag('convLayerPairs')
0023                                                       ),
0024                                                   SeedComparitorPSet = cms.PSet(
0025                                                       ComponentName = cms.string('none')
0026                                                       ),
0027                                                   ClusterCheckPSet = CommonClusterCheckPSet,
0028                                                   RegionFactoryPSet = cms.PSet(
0029                                                       RegionPSet = cms.PSet( precise = cms.bool(True),
0030                                                                              beamSpot = cms.InputTag("offlineBeamSpot"),
0031                                                                              originRadius = cms.double(3.0),
0032                                                                              ptMin = cms.double(0.2),
0033                                                                              originHalfLength = cms.double(12.0)
0034                                                                              ),
0035                                                       ComponentName = cms.string('GlobalRegionProducerFromBeamSpot')
0036                                                       ),
0037                                                   SeedCreatorPSet = cms.PSet(
0038                                                       ComponentName = cms.string('SeedForPhotonConversion1Leg'),
0039                                                       SeedMomentumForBOFF = cms.double(5.0),
0040                                                       propagator = cms.string('PropagatorWithMaterial'),
0041                                                       TTRHBuilder = cms.string('WithTrackAngle')
0042                                                       )
0043                                                   )
0044 from Configuration.Eras.Modifier_trackingLowPU_cff import trackingLowPU
0045 trackingLowPU.toModify(photonConvTrajSeedFromSingleLeg,
0046     OrderedHitsFactoryPSet = dict(maxElement = 10000),
0047     ClusterCheckPSet = dict(
0048         MaxNumberOfCosmicClusters = 150000,
0049         MaxNumberOfPixelClusters = 20000,
0050         cut = "strip < 150000 && pixel < 20000 && (strip < 20000 + 7* pixel)"
0051     )
0052 )
0053 
0054 from Configuration.Eras.Modifier_trackingPhase2PU140_cff import trackingPhase2PU140
0055 trackingPhase2PU140.toModify(photonConvTrajSeedFromSingleLeg,
0056     ClusterCheckPSet = dict(
0057         MaxNumberOfCosmicClusters = 1000000,
0058         MaxNumberOfPixelClusters = 100000,
0059         cut = None
0060     ),
0061     OrderedHitsFactoryPSet = dict(maxElement = 100000),
0062     RegionFactoryPSet = dict(RegionPSet = dict(ptMin = 0.3)),
0063 )
0064 
0065 from Configuration.Eras.Modifier_peripheralPbPb_cff import peripheralPbPb
0066 peripheralPbPb.toModify(photonConvTrajSeedFromSingleLeg,
0067                         ClusterCheckPSet = dict(cut = "strip < 400000 && pixel < 40000 && (strip < 60000 + 7.0*pixel) && (pixel < 8000 + 0.14*strip)")
0068 )
0069 
0070 from Configuration.Eras.Modifier_pp_on_XeXe_2017_cff import pp_on_XeXe_2017
0071 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0072 (pp_on_XeXe_2017 | pp_on_AA ).toModify(photonConvTrajSeedFromSingleLeg,
0073                              ClusterCheckPSet = dict(MaxNumberOfPixelClusters = 100000,
0074                                                      cut = "strip < 1000000 && pixel < 100000 && (strip < 50000 + 10*pixel) && (pixel < 5000 + strip/2.)"
0075                                                      ),
0076                              OrderedHitsFactoryPSet = dict(maxElement = 100000)
0077 )
0078 from RecoTracker.TkTrackingRegions.globalTrackingRegionWithVertices_cff import globalTrackingRegionWithVertices as _globalTrackingRegionWithVertices
0079 (pp_on_XeXe_2017 | pp_on_AA ).toModify(photonConvTrajSeedFromSingleLeg,
0080                RegionFactoryPSet = dict(ComponentName = 'GlobalTrackingRegionWithVerticesProducer',
0081                                         RegionPSet = _globalTrackingRegionWithVertices.RegionPSet.clone(
0082                                                           originRadius = 0,
0083                                                           originRScaling4BigEvts = True,
0084                                                           minOriginR = 0,
0085                                                           scalingStartNPix = 0,
0086                                                           scalingEndNPix = 1#essentially turn off immediately 
0087                                                          ),
0088                                         )
0089 )