Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-08-27 22:59:31

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def PFRecoTauChargedHadronProducer(**kwargs):
0004   mod = cms.EDProducer('PFRecoTauChargedHadronProducer',
0005     ranking = cms.VPSet(
0006       cms.PSet(
0007         name = cms.string('ChargedPFCandidate'),
0008         plugin = cms.string('PFRecoTauChargedHadronStringQuality'),
0009         selection = cms.string('algoIs("kChargedPFCandidate")'),
0010         selectionFailValue = cms.double(1000),
0011         selectionPassFunction = cms.string('-pt')
0012       )
0013     ),
0014     verbosity = cms.int32(0),
0015     maxJetAbsEta = cms.double(2.5),
0016     outputSelection = cms.string('pt > 0.5'),
0017     minJetPt = cms.double(14),
0018     jetSrc = cms.InputTag('ak4PFJets'),
0019     builders = cms.VPSet(
0020       cms.PSet(
0021         name = cms.string(''),
0022         plugin = cms.string(''),
0023         verbosity = cms.int32(0),
0024         qualityCuts = cms.PSet()
0025       )
0026     ),
0027     mightGet = cms.optional.untracked.vstring
0028   )
0029   for k,v in kwargs.items():
0030     setattr(mod, k, v)
0031   return mod