Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:27:53

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack
0004 
0005 pfRecoTauDiscriminationAgainstMuon = cms.EDProducer("PFRecoTauDiscriminationAgainstMuon",
0006     
0007     # tau collection to discriminate
0008     PFTauProducer = cms.InputTag('pfRecoTauProducer'),
0009 
0010     # Require leading pion ensures that:
0011     #  1) these is at least one track above threshold (0.5 GeV) in the signal cone
0012     #  2) a track OR a pi-zero in the signal cone has pT > 5 GeV
0013     Prediscriminants = requireLeadTrack,
0014 
0015     # algorithm parameters
0016     a = cms.double(0.5), ## user definde 2D Cut. Reject tau if calo * a + seg * b < 0 
0017 
0018     b = cms.double(0.5),
0019     c = cms.double(0.0),
0020     HoPMin = cms.double(0.2),
0021     discriminatorOption = cms.string('noSegMatch'), ## available options are; noSegMatch, twoDCut, merePresence, combined
0022     maxNumberOfMatches = cms.int32(0),
0023     checkNumMatches = cms.bool(False)
0024 )
0025 
0026