Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-02-07 14:24:13

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def PFTauDiscriminatorLogicalAndProducer(*args, **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 a in args:
0022     mod.update_(a)
0023   mod.update_(kwargs)
0024   return mod