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 PFTauDiscriminatorLogicalAndProducer(**kwargs):
0004   mod = cms.EDProducer('PFTauDiscriminatorLogicalAndProducer',
0005     Prediscriminants = cms.PSet(
0006       BooleanOperator = cms.string('and'),
0007       discr2 = cms.PSet(
0008         cut = cms.double(0.5),
0009         Producer = cms.InputTag('pfRecoTauDiscriminationAgainstElectron')
0010       ),
0011       discr1 = cms.PSet(
0012         cut = cms.double(0.5),
0013         Producer = cms.InputTag('pfRecoTauDiscriminationByIsolation')
0014       )
0015     ),
0016     PassValue = cms.double(1),
0017     FailValue = cms.double(0),
0018     PFTauProducer = cms.InputTag('pfRecoTauProducer'),
0019     mightGet = cms.optional.untracked.vstring
0020   )
0021   for k,v in kwargs.items():
0022     setattr(mod, k, v)
0023   return mod