CMS 3D CMS Logo

Functions | Variables

HPSTancTaus_cff Namespace Reference

Functions

def _setupDiscriminator

Variables

tuple _leadPionPrediscriminant
tuple _tancPrediscriminants
 combinatoricRecoTausDiscriminationByLeadingPionPtCut = \
tuple combinatoricRecoTausDiscriminationByTanc
tuple combinatoricRecoTausHPSSelector
tuple combinatoricRecoTausTancTransform
tuple hpsTancRequireDecayMode = requireDecayMode.clone()
tuple hpsTancTauDiscriminantSequence
tuple hpsTancTauInitialSequence
tuple hpsTancTaus
tuple hpsTancTausDiscriminationAgainstCaloMuon
 hpsTancTausDiscriminationByDecayModeSelection = \
tuple hpsTancTausDiscriminationByFlightPath
 hpsTancTausDiscriminationByLeadingPionPtCut = \
tuple hpsTancTausDiscriminationByLeadingTrackFinding
tuple hpsTancTausDiscriminationByLeadingTrackPtCut
tuple hpsTancTausDiscriminationByLooseElectronRejection = copy.deepcopy(pfRecoTauDiscriminationAgainstElectron)
 hpsTancTausDiscriminationByLooseIsolation = \
tuple hpsTancTausDiscriminationByLooseMuonRejection = copy.deepcopy(pfRecoTauDiscriminationAgainstMuon)
tuple hpsTancTausDiscriminationByMediumElectronRejection = copy.deepcopy(pfRecoTauDiscriminationAgainstElectron)
 hpsTancTausDiscriminationByMediumIsolation = \
 hpsTancTausDiscriminationByTanc = \
tuple hpsTancTausDiscriminationByTancLoose
 hpsTancTausDiscriminationByTancMedium = \
 hpsTancTausDiscriminationByTancRaw = \
 hpsTancTausDiscriminationByTancTight = \
 hpsTancTausDiscriminationByTancVLoose = \
tuple hpsTancTausDiscriminationByTightElectronRejection = copy.deepcopy(pfRecoTauDiscriminationAgainstElectron)
 hpsTancTausDiscriminationByTightIsolation = \
tuple hpsTancTausDiscriminationByTightMuonRejection = copy.deepcopy(pfRecoTauDiscriminationAgainstMuon)
 hpsTancTausDiscriminationByVLooseIsolation = \
tuple PFTauProducer = cms.InputTag("combinatoricRecoTaus")
 Prediscriminants = hpsTancRequireDecayMode
tuple toTransform = cms.InputTag("hpsTancTausDiscriminationByTancRaw")
 transforms = transforms,

Function Documentation

def HPSTancTaus_cff::_setupDiscriminator (   disc) [private]

Definition at line 161 of file HPSTancTaus_cff.py.

00162                              :
00163     adaptTauDiscriminator(
00164         disc, "hpsTancTaus", newTauTypeMapper=producerIsTauTypeMapper)


Variable Documentation

Initial value:
00001 cms.PSet(
00002     BooleanOperator = cms.string("and"),
00003     leadPion = cms.PSet(
00004         Producer = cms.InputTag(
00005             'hpsTancTausDiscriminationByLeadingPionPtCut'),
00006         cut = cms.double(0.5)
00007     )
00008 )

Definition at line 110 of file HPSTancTaus_cff.py.

Initial value:
00001 _leadPionPrediscriminant.clone(
00002     hpsSelect = cms.PSet(
00003         Producer = cms.InputTag(
00004             'hpsTancTausDiscriminationByDecayModeSelection'),
00005         cut = cms.double(0.5)
00006     )
00007 )

Definition at line 240 of file HPSTancTaus_cff.py.

Definition at line 15 of file HPSTancTaus_cff.py.

Initial value:
00001 cms.EDProducer(
00002     "RecoTauMVADiscriminator",
00003     PFTauProducer = cms.InputTag("combinatoricRecoTaus"),
00004     Prediscriminants = noPrediscriminants,
00005     dbLabel = cms.string("hpstanc"),
00006     remapOutput = cms.bool(True),
00007     mvas = cms.VPSet(
00008         cms.PSet(
00009             nCharged = cms.uint32(1),
00010             nPiZeros = cms.uint32(0),
00011             mvaLabel = cms.string("1prong0pi0"),
00012         ),
00013         cms.PSet(
00014             nCharged = cms.uint32(1),
00015             nPiZeros = cms.uint32(1),
00016             mvaLabel = cms.string("1prong1pi0"),
00017         ),
00018         cms.PSet(
00019             nCharged = cms.uint32(1),
00020             nPiZeros = cms.uint32(2),
00021             mvaLabel = cms.string("1prong2pi0"),
00022         ),
00023         cms.PSet(
00024             nCharged = cms.uint32(3),
00025             nPiZeros = cms.uint32(0),
00026             mvaLabel = cms.string("3prong0pi0"),
00027         ),
00028     ),
00029     discriminantOptions = discriminantConfiguration,
00030 )

Definition at line 29 of file HPSTancTaus_cff.py.

Initial value:
00001 hpsSelectionDiscriminator.clone(
00002     src = cms.InputTag("combinatoricRecoTaus"),
00003     minTauPt = cms.double(5.),
00004     # Turn off narrowness req.
00005     coneSizeFormula = cms.string('0.3'),
00006 )

Definition at line 73 of file HPSTancTaus_cff.py.

Initial value:
00001 cms.EDProducer(
00002     "RecoTauMVATransform",
00003     transforms = transforms, # blank for now
00004     PFTauProducer = cms.InputTag("combinatoricRecoTaus"),
00005     toTransform = cms.InputTag("combinatoricRecoTausDiscriminationByTanc"),
00006     Prediscriminants = noPrediscriminants
00007 )

Definition at line 62 of file HPSTancTaus_cff.py.

tuple HPSTancTaus_cff::hpsTancRequireDecayMode = requireDecayMode.clone()

Definition at line 198 of file HPSTancTaus_cff.py.

Initial value:
00001 cms.Sequence(
00002     #+ hpsTancTausDiscriminationAgainstCaloMuon
00003     hpsTancTausDiscriminationByTancRaw
00004     + hpsTancTausDiscriminationByTanc
00005     + hpsTancTausDiscriminationByTancVLoose
00006     + hpsTancTausDiscriminationByTancLoose
00007     + hpsTancTausDiscriminationByTancMedium
00008     + hpsTancTausDiscriminationByTancTight
00009     + hpsTancTausDiscriminationByVLooseIsolation
00010     + hpsTancTausDiscriminationByLooseIsolation
00011     + hpsTancTausDiscriminationByMediumIsolation
00012     + hpsTancTausDiscriminationByTightIsolation
00013     + hpsTancTausDiscriminationByLooseElectronRejection
00014     + hpsTancTausDiscriminationByMediumElectronRejection
00015     + hpsTancTausDiscriminationByTightElectronRejection
00016     + hpsTancTausDiscriminationByLooseMuonRejection
00017     + hpsTancTausDiscriminationByTightMuonRejection
00018 )

Definition at line 305 of file HPSTancTaus_cff.py.

Initial value:
00001 cms.Sequence(
00002     combinatoricRecoTausDiscriminationByLeadingPionPtCut
00003     + combinatoricRecoTausHPSSelector
00004     # select & clean each decay mode
00005     + hpsTancTaus
00006     + hpsTancTausDiscriminationByLeadingTrackFinding
00007     + hpsTancTausDiscriminationByLeadingPionPtCut
00008     + hpsTancTausDiscriminationByLeadingTrackPtCut
00009     + hpsTancTausDiscriminationByDecayModeSelection
00010     + hpsTancTausDiscriminationByFlightPath
00011 )

Definition at line 293 of file HPSTancTaus_cff.py.

Initial value:
00001 cms.EDProducer(
00002     "RecoTauCleaner",
00003     src = cms.InputTag("combinatoricRecoTaus"),
00004     cleaners = cms.VPSet(
00005         # Prefer taus that don't have charge == 3
00006         cleaners.unitCharge,
00007         # Prefer taus that are within DR<0.1 of the jet axis
00008         cleaners.matchingConeCut,
00009         # Prefer taus that pass the lead pion requirement
00010         cms.PSet(
00011             name = cms.string("lead pion"),
00012             plugin = cms.string("RecoTauDiscriminantCleanerPlugin"),
00013             src = cms.InputTag("combinatoricRecoTausDiscriminationByLeadingPionPtCut")
00014         ),
00015         # Prefer taus that pass the HPS selection
00016         cms.PSet(
00017             name = cms.string("HPS selection"),
00018             plugin = cms.string("RecoTauDiscriminantCleanerPlugin"),
00019             src = cms.InputTag("combinatoricRecoTausHPSSelector")
00020         ),
00021         cleaners.combinedIsolation
00022     )
00023 )

Definition at line 81 of file HPSTancTaus_cff.py.

Initial value:
00001 copy.deepcopy(
00002     pfRecoTauDiscriminationAgainstCaloMuon)

Definition at line 192 of file HPSTancTaus_cff.py.

Definition at line 120 of file HPSTancTaus_cff.py.

Initial value:
00001 cms.EDProducer(
00002     "PFRecoTauDiscriminationByFlight",
00003     PFTauProducer = cms.InputTag("hpsTancTaus"),
00004     vertexSource = cms.InputTag("offlinePrimaryVertices"),
00005     beamspot = cms.InputTag("offlineBeamSpot"),
00006     refitPV = cms.bool(True),
00007     Prediscriminants = cms.PSet(
00008         BooleanOperator = cms.string("and"),
00009         leadTrack = cms.PSet(
00010             Producer = cms.InputTag(
00011                 "hpsTancTausDiscriminationByDecayModeSelection"),
00012             cut = cms.double(0.5),
00013         )
00014     )
00015 )

Definition at line 202 of file HPSTancTaus_cff.py.

Definition at line 106 of file HPSTancTaus_cff.py.

Initial value:
00001 copy.deepcopy(
00002     pfRecoTauDiscriminationByLeadingTrackFinding)

Definition at line 134 of file HPSTancTaus_cff.py.

Initial value:
00001 copy.deepcopy(
00002     pfRecoTauDiscriminationByLeadingTrackPtCut)

Definition at line 141 of file HPSTancTaus_cff.py.

tuple HPSTancTaus_cff::hpsTancTausDiscriminationByLooseElectronRejection = copy.deepcopy(pfRecoTauDiscriminationAgainstElectron)

Definition at line 165 of file HPSTancTaus_cff.py.

Definition at line 224 of file HPSTancTaus_cff.py.

tuple HPSTancTaus_cff::hpsTancTausDiscriminationByLooseMuonRejection = copy.deepcopy(pfRecoTauDiscriminationAgainstMuon)

Definition at line 181 of file HPSTancTaus_cff.py.

tuple HPSTancTaus_cff::hpsTancTausDiscriminationByMediumElectronRejection = copy.deepcopy(pfRecoTauDiscriminationAgainstElectron)

Definition at line 170 of file HPSTancTaus_cff.py.

Definition at line 229 of file HPSTancTaus_cff.py.

Definition at line 256 of file HPSTancTaus_cff.py.

Initial value:
00001 cms.EDProducer(
00002     # There is no PT selection applied; we use this only to use the
00003     # prediscriminants to make binary cuts.
00004     "PFRecoTauDiscriminationByLeadingObjectPtCut",
00005     PFTauProducer = cms.InputTag("hpsTancTaus"),
00006     UseOnlyChargedHadrons = cms.bool(True),
00007     MinPtLeadingObject = cms.double(0.0),
00008     Prediscriminants = cms.PSet(
00009         BooleanOperator = cms.string("and"),
00010         tancCut = cms.PSet(
00011             Producer = cms.InputTag("hpsTancTausDiscriminationByTanc"),
00012             cut = cms.double(0.95),
00013         )
00014     )
00015 )

Definition at line 264 of file HPSTancTaus_cff.py.

Definition at line 285 of file HPSTancTaus_cff.py.

Definition at line 249 of file HPSTancTaus_cff.py.

Definition at line 289 of file HPSTancTaus_cff.py.

Definition at line 281 of file HPSTancTaus_cff.py.

tuple HPSTancTaus_cff::hpsTancTausDiscriminationByTightElectronRejection = copy.deepcopy(pfRecoTauDiscriminationAgainstElectron)

Definition at line 175 of file HPSTancTaus_cff.py.

Definition at line 234 of file HPSTancTaus_cff.py.

tuple HPSTancTaus_cff::hpsTancTausDiscriminationByTightMuonRejection = copy.deepcopy(pfRecoTauDiscriminationAgainstMuon)

Definition at line 185 of file HPSTancTaus_cff.py.

Definition at line 219 of file HPSTancTaus_cff.py.

tuple HPSTancTaus_cff::PFTauProducer = cms.InputTag("combinatoricRecoTaus")

Definition at line 17 of file HPSTancTaus_cff.py.

Definition at line 222 of file HPSTancTaus_cff.py.

tuple HPSTancTaus_cff::toTransform = cms.InputTag("hpsTancTausDiscriminationByTancRaw")

Definition at line 259 of file HPSTancTaus_cff.py.

Definition at line 260 of file HPSTancTaus_cff.py.

Referenced by RecoTauMVATransform::RecoTauMVATransform().