File indexing completed on 2024-08-27 22:59:31
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def PFRecoTauDiscriminationAgainstCaloMuon(**kwargs):
0004 mod = cms.EDProducer('PFRecoTauDiscriminationAgainstCaloMuon',
0005 srcHcalRecHits = cms.InputTag('hbhereco'),
0006 minLeadTrackPt = cms.double(15),
0007 maxEnToTrackRatio = cms.double(0.25),
0008 srcVertex = cms.InputTag('offlinePrimaryVertices'),
0009 PFTauProducer = cms.InputTag('pfRecoTauProducer'),
0010 srcEcalRecHitsBarrel = cms.InputTag('ecalRecHit', 'EcalRecHitsEB'),
0011 dRhcal = cms.double(25),
0012 Prediscriminants = cms.PSet(
0013 BooleanOperator = cms.string('and'),
0014 leadTrack = cms.PSet(
0015 cut = cms.required.double,
0016 Producer = cms.required.InputTag
0017 )
0018 ),
0019 maxEnHcal = cms.double(8),
0020 dRecal = cms.double(15),
0021 srcEcalRecHitsEndcap = cms.InputTag('ecalRecHit', 'EcalRecHitsEE'),
0022 minLeadTrackPtFraction = cms.double(0.8),
0023 maxEnEcal = cms.double(3),
0024 mightGet = cms.optional.untracked.vstring
0025 )
0026 for k,v in kwargs.items():
0027 setattr(mod, k, v)
0028 return mod