7 """ Configure all defaults for heavy ions 9 _label=
'configureHeavyIons' 10 _defaultParameters=dicttypes.SortedKeysDict()
13 ConfigToolBase.__init__(self)
25 productionDefaults(process)
26 selectionDefaults(process)
33 """ Configure all relevant layer1 candidates for heavy ions 35 _label=
'productionDefaults' 36 _defaultParameters=dicttypes.SortedKeysDict()
39 ConfigToolBase.__init__(self)
53 patJets.jetSource = cms.InputTag(
"iterativeConePu5CaloJets")
55 jetCors = getattr(process,
'patJetCorrFactors')
56 jetCors.jetSource = cms.InputTag(
"iterativeConePu5CaloJets")
57 jetCors.corrLevels = cms.PSet(L2Relative = cms.string(
"L2Relative_IC5Calo"),
58 L3Absolute = cms.string(
"L3Absolute_IC5Calo"),
59 L1Offset = cms.string(
'none'),
60 L4EMF = cms.string(
'none'),
61 L5Flavor = cms.string(
'none'),
62 L6UE = cms.string(
'none'),
63 L7Parton = cms.string(
'none')
66 partonMatch = getattr(process,
'patJetPartonMatch')
67 partonMatch.src = cms.InputTag(
"iterativeConePu5CaloJets")
68 partonMatch.matched = cms.InputTag(
"hiPartons")
70 jetMatch = getattr(process,
'patJetGenJetMatch')
71 jetMatch.src = cms.InputTag(
"iterativeConePu5CaloJets")
72 jetMatch.matched = cms.InputTag(
"heavyIonCleanedGenJets")
74 patJets.addBTagInfo =
False 75 patJets.addTagInfos =
False 76 patJets.addDiscriminators =
False 77 patJets.addAssociatedTracks =
False 78 patJets.addJetCharge =
False 79 patJets.addJetID =
False 80 patJets.getJetMCFlavour =
False 81 patJets.addGenPartonMatch =
True 82 patJets.addGenJetMatch =
True 83 patJets.embedGenJetMatch =
True 84 patJets.embedGenPartonMatch =
True 87 muonMatch = getattr(process,
'muonMatch')
88 muonMatch.matched = cms.InputTag(
"hiGenParticles")
89 patMuons = getattr(process,
'patMuons')
90 patMuons.embedGenMatch = cms.bool(
True)
91 process.patMuons.embedCaloMETMuonCorrs = cms.bool(
False)
92 process.patMuons.embedTcMETMuonCorrs = cms.bool(
False)
93 process.patMuons.embedPFCandidate = cms.bool(
False)
94 process.patMuons.useParticleFlow = cms.bool(
False)
95 process.patMuons.addEfficiencies = cms.bool(
False)
96 process.patMuons.addResolutions = cms.bool(
False)
97 process.patMuons.pvSrc = cms.InputTag(
"hiSelectedVertex")
100 photonMatch = getattr(process,
'photonMatch')
101 photonMatch.matched = cms.InputTag(
"hiGenParticles")
102 patPhotons = getattr(process,
'patPhotons')
103 patPhotons.addPhotonID = cms.bool(
True)
104 patPhotons.addGenMatch = cms.bool(
True)
105 patPhotons.embedGenMatch = cms.bool(
True)
106 patPhotons.userData.userFloats.src = cms.VInputTag(
107 cms.InputTag(
"isoCC1"),cms.InputTag(
"isoCC2"),cms.InputTag(
"isoCC3"),cms.InputTag(
"isoCC4"),cms.InputTag(
"isoCC5"),
108 cms.InputTag(
"isoCR1"),cms.InputTag(
"isoCR2"),cms.InputTag(
"isoCR3"),cms.InputTag(
"isoCR4"),cms.InputTag(
"isoCR5"),
109 cms.InputTag(
"isoT11"),cms.InputTag(
"isoT12"),cms.InputTag(
"isoT13"),cms.InputTag(
"isoT14"),
110 cms.InputTag(
"isoT21"),cms.InputTag(
"isoT22"),cms.InputTag(
"isoT23"),cms.InputTag(
"isoT24"),
111 cms.InputTag(
"isoT31"),cms.InputTag(
"isoT32"),cms.InputTag(
"isoT33"),cms.InputTag(
"isoT34"),
112 cms.InputTag(
"isoT41"),cms.InputTag(
"isoT42"),cms.InputTag(
"isoT43"),cms.InputTag(
"isoT44"),
113 cms.InputTag(
"isoDR11"),cms.InputTag(
"isoDR12"),cms.InputTag(
"isoDR13"),cms.InputTag(
"isoDR14"),
114 cms.InputTag(
"isoDR21"),cms.InputTag(
"isoDR22"),cms.InputTag(
"isoDR23"),cms.InputTag(
"isoDR24"),
115 cms.InputTag(
"isoDR31"),cms.InputTag(
"isoDR32"),cms.InputTag(
"isoDR33"),cms.InputTag(
"isoDR34"),
116 cms.InputTag(
"isoDR41"),cms.InputTag(
"isoDR42"),cms.InputTag(
"isoDR43"),cms.InputTag(
"isoDR44")
118 patPhotons.photonIDSource = cms.InputTag(
"PhotonIDProd",
"PhotonCutBasedIDLoose")
119 del patPhotons.photonIDSources
126 """ Configure all relevant selected layer1 candidates for heavy ions 128 _label=
'selectionDefaults' 129 _defaultParameters=dicttypes.SortedKeysDict()
132 ConfigToolBase.__init__(self)
145 selectedJets.cut = cms.string(
'pt > 20.')
146 selectedMuons = getattr(process,
'selectedPatMuons')
147 selectedMuons.cut = cms.string(
'pt > 0. & abs(eta) < 12.')
148 selectedPhotons = getattr(process,
'selectedPatPhotons')
149 selectedPhotons.cut = cms.string(
'pt > 0. & abs(eta) < 12.')
156 """ Cut off all MC dependencies 158 _label=
'disableMonteCarloDeps' 159 _defaultParameters=dicttypes.SortedKeysDict()
162 ConfigToolBase.__init__(self)
175 process.heavyIon.doMC =
False 178 process.makeHeavyIonJets.remove(process.genPartons)
179 process.makeHeavyIonJets.remove(process.heavyIonCleanedGenJets)
180 process.makeHeavyIonJets.remove(process.hiPartons)
181 process.makeHeavyIonJets.remove(process.patJetGenJetMatch)
182 process.makeHeavyIonJets.remove(process.patJetPartonMatch)
184 process.patJets.addGenPartonMatch =
False 185 process.patJets.embedGenPartonMatch =
False 186 process.patJets.genPartonMatch =
'' 187 process.patJets.addGenJetMatch =
False 188 process.patJets.genJetMatch =
'' 189 process.patJets.getJetMCFlavour =
False 190 process.patJets.JetPartonMapSource =
'' 193 process.makeHeavyIonMuons.remove(process.muonMatch)
195 process.patMuons.addGenMatch =
False 196 process.patMuons.embedGenMatch =
False
def jetCollectionString(prefix='', algo='', type='')