Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:59

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def GenTtbarCategorizer(**kwargs):
0004   mod = cms.EDProducer('GenTtbarCategorizer',
0005     genJetPtMin = cms.double(20),
0006     genJetAbsEtaMax = cms.double(2.4),
0007     genJets = cms.InputTag('ak4GenJets'),
0008     genBHadJetIndex = cms.InputTag('matchGenBHadron', 'genBHadJetIndex'),
0009     genBHadFlavour = cms.InputTag('matchGenBHadron', 'genBHadFlavour'),
0010     genBHadFromTopWeakDecay = cms.InputTag('matchGenBHadron', 'genBHadFromTopWeakDecay'),
0011     genBHadPlusMothers = cms.InputTag('matchGenBHadron', 'genBHadPlusMothers'),
0012     genBHadPlusMothersIndices = cms.InputTag('matchGenBHadron', 'genBHadPlusMothersIndices'),
0013     genBHadIndex = cms.InputTag('matchGenBHadron', 'genBHadIndex'),
0014     genBHadLeptonHadronIndex = cms.InputTag('matchGenBHadron', 'genBHadLeptonHadronIndex'),
0015     genBHadLeptonViaTau = cms.InputTag('matchGenBHadron', 'genBHadLeptonViaTau'),
0016     genCHadJetIndex = cms.InputTag('matchGenCHadron', 'genCHadJetIndex'),
0017     genCHadFlavour = cms.InputTag('matchGenCHadron', 'genCHadFlavour'),
0018     genCHadFromTopWeakDecay = cms.InputTag('matchGenCHadron', 'genCHadFromTopWeakDecay'),
0019     genCHadBHadronId = cms.InputTag('matchGenCHadron', 'genCHadBHadronId'),
0020     mightGet = cms.optional.untracked.vstring
0021   )
0022   for k,v in kwargs.items():
0023     setattr(mod, k, v)
0024   return mod