Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:25:56

0001 # This file name is temporary and ment for development only.
0002 # The content of this file will be moved to muons_cfi as soon as the complete work flow is in place.
0003 
0004 import FWCore.ParameterSet.Config as cms
0005 
0006 muons = cms.EDProducer("MuonProducer",
0007                        ActivateDebug = cms.untracked.bool(False),
0008                        InputMuons = cms.InputTag("muons1stStep"),
0009 
0010                        FillPFMomentumAndAssociation = cms.bool(True),
0011                        PFCandidates = cms.InputTag("particleFlowTmp"),
0012 
0013                        FillTimingInfo = cms.bool(True),
0014                        
0015                        FillDetectorBasedIsolation = cms.bool(True),
0016                        EcalIsoDeposits  = cms.InputTag("muIsoDepositCalByAssociatorTowers","ecal"),
0017                        HcalIsoDeposits  = cms.InputTag("muIsoDepositCalByAssociatorTowers","hcal"),
0018                        HoIsoDeposits    = cms.InputTag("muIsoDepositCalByAssociatorTowers","ho"),
0019                        TrackIsoDeposits = cms.InputTag("muIsoDepositTk"),
0020                        JetIsoDeposits   = cms.InputTag("muIsoDepositJets"),
0021 
0022                        FillPFIsolation = cms.bool(True),                     
0023                        PFIsolation = cms.PSet(
0024                         pfIsolationR03 = cms.PSet(chargedParticle            = cms.InputTag("muPFIsoValueChargedAll03"),
0025                                                   chargedHadron              = cms.InputTag("muPFIsoValueCharged03"),
0026                                                   neutralHadron              = cms.InputTag("muPFIsoValueNeutral03"),
0027                                                   neutralHadronHighThreshold = cms.InputTag("muPFIsoValueNeutralHighThreshold03"),
0028                                                   photon                     = cms.InputTag("muPFIsoValueGamma03"),
0029                                                   photonHighThreshold        = cms.InputTag("muPFIsoValueGammaHighThreshold03"),
0030                                                   pu                         = cms.InputTag("muPFIsoValuePU03")), 
0031                         pfIsolationR04 = cms.PSet(chargedParticle            = cms.InputTag("muPFIsoValueChargedAll04"),
0032                                                   chargedHadron              = cms.InputTag("muPFIsoValueCharged04"),
0033                                                   neutralHadron              = cms.InputTag("muPFIsoValueNeutral04"),
0034                                                   neutralHadronHighThreshold = cms.InputTag("muPFIsoValueNeutralHighThreshold04"),
0035                                                   photon                     = cms.InputTag("muPFIsoValueGamma04"),
0036                                                   photonHighThreshold        = cms.InputTag("muPFIsoValueGammaHighThreshold04"),
0037                                                   pu                         = cms.InputTag("muPFIsoValuePU04")),
0038                         pfIsoMeanDRProfileR03 = cms.PSet(chargedParticle     = cms.InputTag("muPFMeanDRIsoValueChargedAll03"),
0039                                                   chargedHadron              = cms.InputTag("muPFMeanDRIsoValueCharged03"),
0040                                                   neutralHadron              = cms.InputTag("muPFMeanDRIsoValueNeutral03"),
0041                                                   neutralHadronHighThreshold = cms.InputTag("muPFMeanDRIsoValueNeutralHighThreshold03"),
0042                                                   photon                     = cms.InputTag("muPFMeanDRIsoValueGamma03"),
0043                                                   photonHighThreshold        = cms.InputTag("muPFMeanDRIsoValueGammaHighThreshold03"),
0044                                                   pu                         = cms.InputTag("muPFMeanDRIsoValuePU03")), 
0045                         pfIsoMeanDRProfileR04 = cms.PSet(chargedParticle     = cms.InputTag("muPFMeanDRIsoValueChargedAll04"),
0046                                                   chargedHadron              = cms.InputTag("muPFMeanDRIsoValueCharged04"),
0047                                                   neutralHadron              = cms.InputTag("muPFMeanDRIsoValueNeutral04"),
0048                                                   neutralHadronHighThreshold = cms.InputTag("muPFMeanDRIsoValueNeutralHighThreshold04"),
0049                                                   photon                     = cms.InputTag("muPFMeanDRIsoValueGamma04"),
0050                                                   photonHighThreshold        = cms.InputTag("muPFMeanDRIsoValueGammaHighThreshold04"),
0051                                                   pu                         = cms.InputTag("muPFMeanDRIsoValuePU04")),
0052                        pfIsoSumDRProfileR03 = cms.PSet(chargedParticle       = cms.InputTag("muPFSumDRIsoValueChargedAll03"),
0053                                                   chargedHadron              = cms.InputTag("muPFSumDRIsoValueCharged03"),
0054                                                   neutralHadron              = cms.InputTag("muPFSumDRIsoValueNeutral03"),
0055                                                   neutralHadronHighThreshold = cms.InputTag("muPFSumDRIsoValueNeutralHighThreshold03"),
0056                                                   photon                     = cms.InputTag("muPFSumDRIsoValueGamma03"),
0057                                                   photonHighThreshold        = cms.InputTag("muPFSumDRIsoValueGammaHighThreshold03"),
0058                                                   pu                         = cms.InputTag("muPFSumDRIsoValuePU03")), 
0059                         pfIsoSumDRProfileR04 = cms.PSet(chargedParticle      = cms.InputTag("muPFSumDRIsoValueChargedAll04"),
0060                                                   chargedHadron              = cms.InputTag("muPFSumDRIsoValueCharged04"),
0061                                                   neutralHadron              = cms.InputTag("muPFSumDRIsoValueNeutral04"),
0062                                                   neutralHadronHighThreshold = cms.InputTag("muPFSumDRIsoValueNeutralHighThreshold04"),
0063                                                   photon                     = cms.InputTag("muPFSumDRIsoValueGamma04"),
0064                                                   photonHighThreshold        = cms.InputTag("muPFSumDRIsoValueGammaHighThreshold04"),
0065                                                   pu                         = cms.InputTag("muPFSumDRIsoValuePU04"))
0066                        ),
0067 
0068                        FillSelectorMaps = cms.bool(True),
0069                        SelectorMaps = cms.VInputTag(cms.InputTag("muidTMLastStationOptimizedLowPtLoose"),
0070                                                     cms.InputTag("muidTMLastStationOptimizedLowPtTight"),
0071                                                     cms.InputTag("muidTM2DCompatibilityLoose"),
0072                                                     cms.InputTag("muidTM2DCompatibilityTight"),
0073                                                     cms.InputTag("muidTrackerMuonArbitrated"),
0074                                                     cms.InputTag("muidTMLastStationAngLoose"),
0075                                                     cms.InputTag("muidGlobalMuonPromptTight"),
0076                                                     cms.InputTag("muidGMStaChiCompatibility"),
0077                                                     cms.InputTag("muidTMLastStationAngTight"),
0078                                                     cms.InputTag("muidGMTkChiCompatibility"),
0079                                                     cms.InputTag("muidTMOneStationAngTight"),
0080                                                     cms.InputTag("muidTMOneStationAngLoose"),
0081                                                     cms.InputTag("muidTMLastStationLoose"),
0082                                                     cms.InputTag("muidTMLastStationTight"),
0083                                                     cms.InputTag("muidTMOneStationTight"),
0084                                                     cms.InputTag("muidTMOneStationLoose"),
0085                                                     cms.InputTag("muidAllArbitrated"),
0086                                                     cms.InputTag("muidGMTkKinkTight"),
0087                                                     cms.InputTag("muidRPCMuLoose")
0088                                                     ),
0089 
0090                        FillShoweringInfo = cms.bool(True),
0091                        ShowerInfoMap = cms.InputTag("muonShowerInformation"),
0092 
0093                        FillCosmicsIdMap = cms.bool(True),
0094                        CosmicIdMap = cms.InputTag("cosmicsVeto"),
0095 
0096                        ComputeStandardSelectors = cms.bool(True),
0097                        vertices = cms.InputTag("offlinePrimaryVertices")
0098                        
0099                        )
0100 
0101 # not commisoned and not relevant in FastSim (?):
0102 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0103 fastSim.toModify(muons, FillCosmicsIdMap = False, FillSelectorMaps = False)