CMS 3D CMS Logo

hpsPFTauDiscriminationByAMuonRejectionSimple_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoTauTag.Configuration.HPSPFTaus_cff import hpsPFTauDiscriminationByLooseMuonRejection3, hpsPFTauDiscriminationByTightMuonRejection3
4 
5 hpsPFTauDiscriminationByLooseMuonRejectionSimple = hpsPFTauDiscriminationByLooseMuonRejection3.clone(
6  PFTauProducer=cms.InputTag("hpsPFTauProducer"),
7  HoPMin=cms.double(0.1), #use smaller value than with AOD as raw energy is used
8  doCaloMuonVeto=cms.bool(False), #do not use it until tuned
9  srcPatMuons=cms.InputTag("slimmedMuons"),
10  maxNumberOfSTAMuons=cms.int32(-1),
11  maxNumberOfRPCMuons=cms.int32(-1)
12  )
13 
14 hpsPFTauDiscriminationByLooseMuonRejectionSimple.__dict__['_TypedParameterizable__type'] = "PFRecoTauDiscriminationAgainstMuonSimple"
15 
16 for attr in ['discriminatorOption', 'srcMuons']:
17  delattr(hpsPFTauDiscriminationByLooseMuonRejectionSimple, attr)
18 
19 
20 hpsPFTauDiscriminationByTightMuonRejectionSimple = hpsPFTauDiscriminationByLooseMuonRejectionSimple.clone(
21  maxNumberOfHitsLast2Stations=hpsPFTauDiscriminationByTightMuonRejection3.maxNumberOfHitsLast2Stations
22 )