Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-24 22:51:04

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def PFRecoTauDiscriminationAgainstCaloMuon(*args, **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 a in args:
0027     mod.update_(a)
0028   mod.update_(kwargs)
0029   return mod