CMS 3D CMS Logo

muons_cfi.py
Go to the documentation of this file.
1 # This file name is temporary and ment for development only.
2 # The content of this file will be moved to muons_cfi as soon as the complete work flow is in place.
3 
4 import FWCore.ParameterSet.Config as cms
5 
6 muons = cms.EDProducer("MuonProducer",
7  ActivateDebug = cms.untracked.bool(False),
8  InputMuons = cms.InputTag("muons1stStep"),
9 
10  FillPFMomentumAndAssociation = cms.bool(True),
11  PFCandidates = cms.InputTag("particleFlowTmp"),
12 
13  FillTimingInfo = cms.bool(True),
14 
15  FillDetectorBasedIsolation = cms.bool(True),
16  EcalIsoDeposits = cms.InputTag("muIsoDepositCalByAssociatorTowers","ecal"),
17  HcalIsoDeposits = cms.InputTag("muIsoDepositCalByAssociatorTowers","hcal"),
18  HoIsoDeposits = cms.InputTag("muIsoDepositCalByAssociatorTowers","ho"),
19  TrackIsoDeposits = cms.InputTag("muIsoDepositTk"),
20  JetIsoDeposits = cms.InputTag("muIsoDepositJets"),
21 
22  FillPFIsolation = cms.bool(True),
23  PFIsolation = cms.PSet(
24  pfIsolationR03 = cms.PSet(chargedParticle = cms.InputTag("muPFIsoValueChargedAll03"),
25  chargedHadron = cms.InputTag("muPFIsoValueCharged03"),
26  neutralHadron = cms.InputTag("muPFIsoValueNeutral03"),
27  neutralHadronHighThreshold = cms.InputTag("muPFIsoValueNeutralHighThreshold03"),
28  photon = cms.InputTag("muPFIsoValueGamma03"),
29  photonHighThreshold = cms.InputTag("muPFIsoValueGammaHighThreshold03"),
30  pu = cms.InputTag("muPFIsoValuePU03")),
31  pfIsolationR04 = cms.PSet(chargedParticle = cms.InputTag("muPFIsoValueChargedAll04"),
32  chargedHadron = cms.InputTag("muPFIsoValueCharged04"),
33  neutralHadron = cms.InputTag("muPFIsoValueNeutral04"),
34  neutralHadronHighThreshold = cms.InputTag("muPFIsoValueNeutralHighThreshold04"),
35  photon = cms.InputTag("muPFIsoValueGamma04"),
36  photonHighThreshold = cms.InputTag("muPFIsoValueGammaHighThreshold04"),
37  pu = cms.InputTag("muPFIsoValuePU04")),
38  pfIsoMeanDRProfileR03 = cms.PSet(chargedParticle = cms.InputTag("muPFMeanDRIsoValueChargedAll03"),
39  chargedHadron = cms.InputTag("muPFMeanDRIsoValueCharged03"),
40  neutralHadron = cms.InputTag("muPFMeanDRIsoValueNeutral03"),
41  neutralHadronHighThreshold = cms.InputTag("muPFMeanDRIsoValueNeutralHighThreshold03"),
42  photon = cms.InputTag("muPFMeanDRIsoValueGamma03"),
43  photonHighThreshold = cms.InputTag("muPFMeanDRIsoValueGammaHighThreshold03"),
44  pu = cms.InputTag("muPFMeanDRIsoValuePU03")),
45  pfIsoMeanDRProfileR04 = cms.PSet(chargedParticle = cms.InputTag("muPFMeanDRIsoValueChargedAll04"),
46  chargedHadron = cms.InputTag("muPFMeanDRIsoValueCharged04"),
47  neutralHadron = cms.InputTag("muPFMeanDRIsoValueNeutral04"),
48  neutralHadronHighThreshold = cms.InputTag("muPFMeanDRIsoValueNeutralHighThreshold04"),
49  photon = cms.InputTag("muPFMeanDRIsoValueGamma04"),
50  photonHighThreshold = cms.InputTag("muPFMeanDRIsoValueGammaHighThreshold04"),
51  pu = cms.InputTag("muPFMeanDRIsoValuePU04")),
52  pfIsoSumDRProfileR03 = cms.PSet(chargedParticle = cms.InputTag("muPFSumDRIsoValueChargedAll03"),
53  chargedHadron = cms.InputTag("muPFSumDRIsoValueCharged03"),
54  neutralHadron = cms.InputTag("muPFSumDRIsoValueNeutral03"),
55  neutralHadronHighThreshold = cms.InputTag("muPFSumDRIsoValueNeutralHighThreshold03"),
56  photon = cms.InputTag("muPFSumDRIsoValueGamma03"),
57  photonHighThreshold = cms.InputTag("muPFSumDRIsoValueGammaHighThreshold03"),
58  pu = cms.InputTag("muPFSumDRIsoValuePU03")),
59  pfIsoSumDRProfileR04 = cms.PSet(chargedParticle = cms.InputTag("muPFSumDRIsoValueChargedAll04"),
60  chargedHadron = cms.InputTag("muPFSumDRIsoValueCharged04"),
61  neutralHadron = cms.InputTag("muPFSumDRIsoValueNeutral04"),
62  neutralHadronHighThreshold = cms.InputTag("muPFSumDRIsoValueNeutralHighThreshold04"),
63  photon = cms.InputTag("muPFSumDRIsoValueGamma04"),
64  photonHighThreshold = cms.InputTag("muPFSumDRIsoValueGammaHighThreshold04"),
65  pu = cms.InputTag("muPFSumDRIsoValuePU04"))
66  ),
67 
68  FillSelectorMaps = cms.bool(True),
69  SelectorMaps = cms.VInputTag(cms.InputTag("muidTMLastStationOptimizedLowPtLoose"),
70  cms.InputTag("muidTMLastStationOptimizedLowPtTight"),
71  cms.InputTag("muidTM2DCompatibilityLoose"),
72  cms.InputTag("muidTM2DCompatibilityTight"),
73  cms.InputTag("muidTrackerMuonArbitrated"),
74  cms.InputTag("muidTMLastStationAngLoose"),
75  cms.InputTag("muidGlobalMuonPromptTight"),
76  cms.InputTag("muidGMStaChiCompatibility"),
77  cms.InputTag("muidTMLastStationAngTight"),
78  cms.InputTag("muidGMTkChiCompatibility"),
79  cms.InputTag("muidTMOneStationAngTight"),
80  cms.InputTag("muidTMOneStationAngLoose"),
81  cms.InputTag("muidTMLastStationLoose"),
82  cms.InputTag("muidTMLastStationTight"),
83  cms.InputTag("muidTMOneStationTight"),
84  cms.InputTag("muidTMOneStationLoose"),
85  cms.InputTag("muidAllArbitrated"),
86  cms.InputTag("muidGMTkKinkTight"),
87  cms.InputTag("muidRPCMuLoose")
88  ),
89 
90  FillShoweringInfo = cms.bool(True),
91  ShowerInfoMap = cms.InputTag("muonShowerInformation"),
92 
93  FillCosmicsIdMap = cms.bool(True),
94  CosmicIdMap = cms.InputTag("cosmicsVeto"),
95 
96  ComputeStandardSelectors = cms.bool(True),
97  vertices = cms.InputTag("offlinePrimaryVertices")
98 
99  )
100 
101 # not commisoned and not relevant in FastSim (?):
102 from Configuration.Eras.Modifier_fastSim_cff import fastSim
103 fastSim.toModify(muons, FillCosmicsIdMap = False, FillSelectorMaps = False)