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 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack
0003 
0004 pfRecoTauDiscriminationAgainstElectron2 = cms.EDProducer("PFRecoTauDiscriminationAgainstElectron2",
0005 
0006     # tau collection to discriminate
0007     PFTauProducer = cms.InputTag('pfRecoTauProducer'),
0008 
0009     # Require leading pion ensures that:
0010     #  1) these is at least one track above threshold (0.5 GeV) in the signal cone
0011     #  2) a track OR a pi-zero in the signal cone has pT > 5 GeV
0012     Prediscriminants = requireLeadTrack,
0013 
0014     #cuts to be applied
0015     keepTausInEcalCrack = cms.bool(True), 
0016     rejectTausInEcalCrack = cms.bool(False),
0017     etaCracks = cms.vstring("0.0:0.018","0.423:0.461","0.770:0.806","1.127:1.163","1.460:1.558"),
0018                                                          
0019     applyCut_hcal3x3OverPLead = cms.bool(True),
0020     applyCut_leadPFChargedHadrEoP = cms.bool(True),
0021     applyCut_GammaEtaMom = cms.bool(False),
0022     applyCut_GammaPhiMom = cms.bool(False),
0023     applyCut_GammaEnFrac = cms.bool(True),
0024     applyCut_HLTSpecific = cms.bool(True),
0025                                                         
0026     LeadPFChargedHadrEoP_barrel_min = cms.double(0.99),
0027     LeadPFChargedHadrEoP_barrel_max = cms.double(1.01),
0028     Hcal3x3OverPLead_barrel_max = cms.double(0.2),
0029     GammaEtaMom_barrel_max = cms.double(1.5),
0030     GammaPhiMom_barrel_max = cms.double(1.5),
0031     GammaEnFrac_barrel_max = cms.double(0.15),
0032     LeadPFChargedHadrEoP_endcap_min1 = cms.double(0.7),
0033     LeadPFChargedHadrEoP_endcap_max1 = cms.double(1.3),
0034     LeadPFChargedHadrEoP_endcap_min2 = cms.double(0.99),
0035     LeadPFChargedHadrEoP_endcap_max2 = cms.double(1.01),
0036     Hcal3x3OverPLead_endcap_max = cms.double(0.1),
0037     GammaEtaMom_endcap_max = cms.double(1.5),
0038     GammaPhiMom_endcap_max = cms.double(1.5),
0039     GammaEnFrac_endcap_max = cms.double(0.2),
0040     verbosity = cms.int32(0)
0041 )
0042 
0043