CMS 3D CMS Logo

PFRecoTauDiscriminationAgainstCaloMuon_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoTauTag.RecoTau.TauDiscriminatorTools import requireLeadTrack
4 from RecoTauTag.RecoTau.PFRecoTauQualityCuts_cfi import PFTauQualityCuts
5 
6 pfRecoTauDiscriminationAgainstCaloMuon = cms.EDProducer("PFRecoTauDiscriminationAgainstCaloMuon",
7 
8  # tau collection to discriminate
9  PFTauProducer = cms.InputTag('pfRecoTauProducer'),
10 
11  # Require leading pion ensures that:
12  # 1) these is at least one track above threshold (0.5 GeV) in the signal cone
13  # 2) a track OR a pi-zero in the signal cone has pT > 5 GeV
14  Prediscriminants = requireLeadTrack,
15 
16  # algorithm parameters
17  srcEcalRecHitsBarrel = cms.InputTag('ecalRecHit', 'EcalRecHitsEB'),
18  srcEcalRecHitsEndcap = cms.InputTag('ecalRecHit', 'EcalRecHitsEE'),
19  srcHcalRecHits = cms.InputTag('hbhereco'),
20 
21  srcVertex = PFTauQualityCuts.primaryVertexSrc,
22 
23  minLeadTrackPt = cms.double(15.), # GeV
24  minLeadTrackPtFraction = cms.double(0.8), # leadTrackPt/sumPtSignalTracks
25 
26  dRecal = cms.double(15.), # cm (size of cylinder around lead. track in which ECAL energy deposits are summed)
27  dRhcal = cms.double(25.), # cm (size of cylinder around lead. track in which HCAL energy deposits are summed)
28 
29  maxEnEcal = cms.double(3.), # GeV
30  maxEnHcal = cms.double(8.), # GeV
31 
32  maxEnToTrackRatio = cms.double(0.25)
33 )
34 
35