# arbitration cleaning runArbitrationCleaner=cms.bool(True), arbitrationCleanerOptions=cms.PSet( ME1a=cms.bool(True), Overlap=cms.bool(True), Clustering=cms.bool(True), OverlapDPhi=cms.double(0.0786), # 4.5 degrees OverlapDTheta=cms.double(0.02), # 1.14 degrees ClusterDPhi=cms.double(0.6), # 34 degrees ClusterDTheta=cms.double(0.02) # 1.14 ), # tracker muon arbitration arbitrateTrackerMuons=cms.bool(True)) from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM run3_GEM.toModify(muons1stStep, TrackAssociatorParameters=dict(useGEM=True)) from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon phase2_muon.toModify(muons1stStep, TrackAssociatorParameters=dict(useME0=True)) from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0 phase2_GE0.toModify(muons1stStep, TrackAssociatorParameters=dict(useME0=False)) muonEcalDetIds = cms.EDProducer("InterestingEcalDetIdProducer", inputCollection=cms.InputTag("muons1stStep")) from Configuration.Eras.Modifier_pp_on_AA_2018_cff import pp_on_AA_2018 pp_on_AA_2018.toModify(muons1stStep, minPt=0.8) from Configuration.ProcessModifiers.recoFromReco_cff import recoFromReco recoFromReco.toModify(muons1stStep, fillShowerDigis=False)
[cms.InputTag("g4SimHits", "MuonME0Hits")], subdets=theMixObjects.mixSH.subdets + ['MuonME0Hits'], crossingFrames=theMixObjects.mixSH.crossingFrames + ['MuonME0Hits'])) (premix_stage1 & phase2_muon).toModify( theMixObjects, mixSH=dict(pcrossingFrames=theMixObjects.mixSH.pcrossingFrames + ['MuonME0Hits'])) from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0 phase2_GE0.toModify( theMixObjects, mixSH=dict(input=list( filter( lambda x: type(x) == type(cms.InputTag("", "")) and x != cms. InputTag("g4SimHits", "MuonME0Hits"), theMixObjects.mixSH.input)), subdets=list( filter(lambda x: x != 'MuonME0Hits', theMixObjects.mixSH.subdets)), crossingFrames=list( filter(lambda x: x != 'MuonME0Hits', theMixObjects.mixSH.crossingFrames)))) (premix_stage1 & phase2_GE0).toModify( theMixObjects, mixSH=dict(pcrossingFrames=list( filter(lambda x: x != 'MuonME0Hits', theMixObjects.mixSH.pcrossingFrames)))) from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal phase2_hgcal.toModify( theMixObjects, mixCH=dict(
STATrajBuilderParameters=cms.PSet(SeedTransformerParameters=cms.PSet( Fitter=cms.string('KFFitterSmootherSTA'), RescaleError=cms.double(1.0), MuonRecHitBuilder=cms.string('MuonRecHitBuilder'), Propagator=cms.string('SteppingHelixPropagatorAny'), NMinRecHits=cms.uint32(2), # careful - used with UseSegmentsInTrajectory in SETMuonSeed_cfi.py # UseSubRecHits = cms.bool(True) UseSubRecHits=cms.bool(False)))) _enableGEMMeasurement = dict(EnableGEMMeasurement=True) from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM run3_GEM.toModify(standAloneMuons, STATrajBuilderParameters=dict( FilterParameters=_enableGEMMeasurement, BWFilterParameters=_enableGEMMeasurement)) _enableME0Measurement = dict(EnableME0Measurement=True) from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon phase2_muon.toModify(standAloneMuons, STATrajBuilderParameters=dict( FilterParameters=_enableME0Measurement, BWFilterParameters=_enableME0Measurement)) _disableME0Measurement = dict(EnableME0Measurement=False) from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0 phase2_GE0.toModify(standAloneMuons, STATrajBuilderParameters=dict( FilterParameters=_disableME0Measurement, BWFilterParameters=_disableME0Measurement))
simHitTpMapTag=cms.InputTag("simHitTPAssocProducer"), # # if !UseAssociators the association map has to be given in input associators=cms.vstring('MuonAssociationByHits'), UseAssociators=cms.bool(False), useGEMs=cms.bool(False), useME0=cms.bool(False), associatormap=cms.InputTag("tpToMuonTrackAssociation"), # # BiDirectional Logic for RecoToSim association corrects the Fake rates (counting ghosts and split tracks as fakes) # setting it to False the ghost and split tracks are counted as good ones # the default setting is True: should NOT be changed ! BiDirectional_RecoToSim_association=cms.bool(True), # # Output File / Directory outputFile=cms.string(''), dirName=cms.string('Muons/RecoMuonV/MuonTrack/'), # # Parameters defining which histograms to make and their attributes (nbins, range: min, max...) muonHistoParameters=cms.PSet(defaultMuonHistoParameters)) from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM run3_GEM.toModify(muonTrackValidator, useGEMs=cms.bool(True)) from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon phase2_muon.toModify(muonTrackValidator, useME0=cms.bool(True)) from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0 phase2_GE0.toModify(muonTrackValidator, useME0=cms.bool(False)) from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2 premix_stage2.toModify(muonTrackValidator, label_tp="mixData:MergedTrackTruth")
from RecoMuon.MuonSeedGenerator.ptSeedParameterization_cfi import * from RecoMuon.MuonSeedGenerator.MuonSeedPtScale_cfi import * # module standAloneMuonSeeds = MuonSeedGenerator { ancientMuonSeed = cms.EDProducer("MuonSeedGenerator", ptSeedParameterization, dphiScale, beamSpotTag = cms.InputTag("offlineBeamSpot"), scaleDT = cms.bool(True), CSCRecSegmentLabel = cms.InputTag("cscSegments"), DTRecSegmentLabel = cms.InputTag("dt4DSegments"), ME0RecSegmentLabel = cms.InputTag("me0Segments"), EnableDTMeasurement = cms.bool(True), EnableCSCMeasurement = cms.bool(True), EnableME0Measurement = cms.bool(False), # places where it's OK to have single-segment seeds crackEtas = cms.vdouble(0.2, 1.6, 1.7), crackWindow = cms.double(0.04), deltaPhiSearchWindow = cms.double(0.25), deltaEtaSearchWindow = cms.double(0.2), deltaEtaCrackSearchWindow = cms.double(0.25), ) # phase2 ME0 from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon phase2_muon.toModify(ancientMuonSeed, EnableME0Measurement = True) # phase2 GE0 from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0 phase2_GE0.toModify(ancientMuonSeed, EnableME0Measurement = False)
run2_GEM_2017.toModify( trackingParticles, simHitCollections=dict(muon=trackingParticles.simHitCollections.muon + [cms.InputTag("g4SimHits", "MuonGEMHits")])) from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM run3_GEM.toModify( trackingParticles, simHitCollections=dict(muon=trackingParticles.simHitCollections.muon + [cms.InputTag("g4SimHits", "MuonGEMHits")])) from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon phase2_muon.toModify( trackingParticles, simHitCollections=dict(muon=trackingParticles.simHitCollections.muon + [cms.InputTag("g4SimHits", "MuonME0Hits")])) from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0 phase2_GE0.toModify( trackingParticles, simHitCollections=dict(muon=list( filter(lambda x: x != cms.InputTag("g4SimHits", "MuonME0Hits"), trackingParticles.simHitCollections.muon)))) from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker phase2_tracker.toModify(trackingParticles, simHitCollections=dict(tracker=[]))
'SteppingHelixPropagatorAnyNoError', 'SteppingHelixPropagatorAlongNoError', 'SteppingHelixPropagatorOppositeNoError', 'SteppingHelixPropagatorL2AnyNoError', 'SteppingHelixPropagatorL2AlongNoError', 'SteppingHelixPropagatorL2OppositeNoError', 'PropagatorWithMaterial', 'PropagatorWithMaterialOpposite', 'SmartPropagator', 'SmartPropagatorOpposite', 'SmartPropagatorAnyOpposite', 'SmartPropagatorAny', 'SmartPropagatorRK', 'SmartPropagatorAnyRK', 'StraightLinePropagator'), RPCLayers=cms.bool(True), CSCLayers=cms.untracked.bool(True), GEMLayers=cms.untracked.bool(False), ME0Layers=cms.bool(False), UseMuonNavigation=cms.untracked.bool(True))) # run3_GEM from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM run3_GEM.toModify(MuonServiceProxy, ServiceParameters=dict(GEMLayers=True)) # phase2_muon from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon phase2_muon.toModify(MuonServiceProxy, ServiceParameters=dict(ME0Layers=True)) from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0 phase2_GE0.toModify(MuonServiceProxy, ServiceParameters=dict(ME0Layers=False))
muonDetIdAssociator = cms.ESProducer( "DetIdAssociatorESProducer", ComponentName=cms.string('MuonDetIdAssociator'), etaBinSize=cms.double(0.125), nEta=cms.int32(48), nPhi=cms.int32(48), includeBadChambers=cms.bool(False), includeGEM=cms.bool(False), includeME0=cms.bool(False)) # If running in Run 2, include bad chambers from Configuration.Eras.Modifier_run2_common_cff import run2_common run2_common.toModify(muonDetIdAssociator, includeBadChambers=True) # include GEM & ME0 for phase2 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM run3_GEM.toModify(muonDetIdAssociator, includeGEM=True) from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon phase2_muon.toModify(muonDetIdAssociator, includeME0=True) phase2_muon.toModify(hcalDetIdAssociator, hcalRegion=1) from Configuration.Eras.Modifier_phase2_GE0_cff import phase2_GE0 phase2_GE0.toModify(muonDetIdAssociator, includeME0=False) preshowerDetIdAssociator = cms.ESProducer( "DetIdAssociatorESProducer", ComponentName=cms.string('PreshowerDetIdAssociator'), etaBinSize=cms.double(0.1), nEta=cms.int32(60), nPhi=cms.int32(30))