1 import FWCore.ParameterSet.Config
as cms
5 hpsPFTauDiscriminationByLooseMuonRejectionSimple = hpsPFTauDiscriminationByMuonRejection3.clone(
6 PFTauProducer=cms.InputTag(
"hpsPFTauProducer"),
7 HoPMin=cms.double(0.1),
8 doCaloMuonVeto=cms.bool(
False),
9 srcPatMuons=cms.InputTag(
"slimmedMuons"),
10 maxNumberOfSTAMuons=cms.int32(-1),
11 maxNumberOfRPCMuons=cms.int32(-1),
12 maxNumberOfMatches = hpsPFTauDiscriminationByMuonRejection3.IDWPdefinitions[0].maxNumberOfMatches,
13 maxNumberOfHitsLast2Stations = hpsPFTauDiscriminationByMuonRejection3.IDWPdefinitions[0].maxNumberOfHitsLast2Stations
16 hpsPFTauDiscriminationByLooseMuonRejectionSimple.__dict__[
'_TypedParameterizable__type'] =
"PFRecoTauDiscriminationAgainstMuonSimple"
18 for attr
in [
'IDWPdefinitions',
'srcMuons']:
19 delattr(hpsPFTauDiscriminationByLooseMuonRejectionSimple, attr)
22 hpsPFTauDiscriminationByTightMuonRejectionSimple = hpsPFTauDiscriminationByLooseMuonRejectionSimple.clone(
23 maxNumberOfHitsLast2Stations=hpsPFTauDiscriminationByMuonRejection3.IDWPdefinitions[1].maxNumberOfHitsLast2Stations