Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 10:02:07

0001 '''
0002 
0003 Select PFTaus that pass either all (option "and") or at least one (option "or") discriminators specified in "Prediscriminants" list.
0004 
0005 
0006 '''
0007 
0008 import FWCore.ParameterSet.Config as cms
0009 
0010 PFTauDiscriminatorLogicalAndProducer = cms.EDProducer("PFTauDiscriminatorLogicalAndProducer",
0011     PFTauProducer = cms.InputTag("pfRecoTauProducer"),
0012     Prediscriminants = cms.PSet(
0013         BooleanOperator = cms.string("and"), # pass all discriminats in the list
0014 #         BooleanOperator = cms.string("or"), # pass at least one discriminat in the list
0015         discr1 = cms.PSet(
0016             Producer = cms.InputTag("pfRecoTauDiscriminationByIsolation"),
0017             cut = cms.double(0.5)
0018         ),
0019         discr2 = cms.PSet(
0020             Producer = cms.InputTag("pfRecoTauDiscriminationAgainstElectron"),
0021             cut = cms.double(0.5)
0022         )
0023     ),
0024     PassValue = cms.double(1.),
0025     FailValue = cms.double(0.)
0026 )