Hi Volker,

At the moment we have only one collection of genJets in the output, for
disk space reasons (any other collection can anyway be remade from the
packed gen particles), so it's either this or no match.
There's some JetMET people who are working at improving what's in our CA8
jets, so this will be revised anyway in part 4 (if we ever get there...)

        Giovanni



On Thu, May 15, 2014 at 2:30 PM, Volker Adler <notifications@github.com>wrote:

> In PhysicsTools/PatAlgos/python/slimming/miniAOD_tools.py:
>
> > +    #
> > +    process.patElectrons.embedPflowSuperCluster         = False
> > +    process.patElectrons.embedPflowBasicClusters        = False
> > +    process.patElectrons.embedPflowPreshowerClusters    = False
> > +    #
> > +    process.selectedPatJets.cut = cms.string("pt > 10")
> > +    process.selectedPatMuons.cut = cms.string("pt > 5 || isPFMuon || (pt > 3 && (isGlobalMuon || isStandAloneMuon || numberOfMatches > 0 || muonID('RPCMuLoose')))")
> > +    process.selectedPatElectrons.cut = cms.string("")
> > +    process.selectedPatTaus.cut = cms.string("pt > 20 && tauID('decayModeFinding')> 0.5")
> > +    process.selectedPatPhotons.cut = cms.string("pt > 15 && hadTowOverEm()<0.15 ")
> > +    #
> > +    from PhysicsTools.PatAlgos.tools.jetTools import addJetCollection
> > +    #
> > +    addJetCollection(process, labelName = 'CA8', jetSource = cms.InputTag('ca8PFJetsCHS'),algo= 'CA', rParam = 0.8)
> > +    process.selectedPatJetsCA8.cut = cms.string("pt > 100")
> > +    process.patJetGenJetMatchCA8.matched =  'slimmedGenJets'
>
> The slimmedGenJets are from ak5GenJets, but we also have ak8GenJets. I
> would naively thinking, this could be more appropriate here. One would end
> up with something like slimmedAk5GenJets and slimmedAk8GenJets as
> possible inputs.
> BTW: addJetCollection offers the parameter genJetCollection (cms.InputTag,
> which defaults to ak5GenJets) exactly for that manipulation.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cms-sw/cmssw/pull/3667/files#r12685807>
> .
>