CMS 3D CMS Logo

Functions | Variables
tauProducer_cfi Namespace Reference

Functions

def containerID (pset, inputID, provCfgLabel, wps)
 
def singleID (pset, inputID, label)
 

Variables

 addEfficiencies
 
 addGenJetMatch
 
 addGenMatch
 
 addResolutions
 
 addTauID
 
 addTauJetCorrFactors
 
 efficiencies
 
 embedGenJetMatch
 
 embedGenMatch
 
 embedIsolationPFCands
 embed in AOD externally stored signal PFGammaCandidates More...
 
 embedIsolationPFChargedHadrCands
 embed in AOD externally stored isolation PFCandidates More...
 
 embedIsolationPFGammaCands
 embed in AOD externally stored isolation PFNeutralHadronCandidates More...
 
 embedIsolationPFNeutralHadrCands
 embed in AOD externally stored isolation PFChargedHadronCandidates More...
 
 embedIsolationTracks
 embed in AOD externally stored signal tracks More...
 
 embedLeadPFCand
 embed in AOD externally stored isolation tracks embedding objects (for PFTaus only) More...
 
 embedLeadPFChargedHadrCand
 embed in AOD externally stored leading PFCandidate More...
 
 embedLeadPFNeutralCand
 embed in AOD externally stored leading PFChargedHadron candidate More...
 
 embedLeadTrack
 
 embedSignalPFCands
 embed in AOD externally stored leading PFNeutral Candidate More...
 
 embedSignalPFChargedHadrCands
 embed in AOD externally stored signal PFCandidates More...
 
 embedSignalPFGammaCands
 embed in AOD externally stored signal PFNeutralHadronCandidates More...
 
 embedSignalPFNeutralHadrCands
 embed in AOD externally stored signal PFChargedHadronCandidates More...
 
 embedSignalTracks
 embed in AOD externally stored leading track More...
 
 genJetMatch
 
 genParticleMatch
 
 isoDeposits
 embed in AOD externally stored isolation PFGammaCandidates More...
 
 patTaus
 
 resolutions
 
 skipMissingTauID
 
 src
 
 tauIDSources
 
 tauJetCorrFactorsSource
 
 tauSource
 
 tauTransverseImpactParameterSource
 
 userCands
 
 userClasses
 
 userData
 
 userFloats
 
 userFunctionLabels
 
 userFunctions
 
 userInts
 
 userIsolation
 

Function Documentation

◆ containerID()

def tauProducer_cfi.containerID (   pset,
  inputID,
  provCfgLabel,
  wps 
)

Definition at line 86 of file tauProducer_cfi.py.

References singleID().

Referenced by boostedHPSPFTaus_cfi.addBoostedTaus().

86 def containerID(pset, inputID, provCfgLabel, wps):
87  for wp in wps:
88  setattr(pset, wp[0], cms.PSet(inputTag=cms.InputTag(inputID), provenanceConfigLabel=cms.string(provCfgLabel), idLabel=cms.string(wp[1])))
89 
90 # configure many IDs
91 # you can comment out those you don't want to save some disk space
92 singleID(patTaus.tauIDSources, "hpsPFTauDiscriminationByDecayModeFinding", "decayModeFinding")
93 singleID(patTaus.tauIDSources, "hpsPFTauDiscriminationByDecayModeFindingNewDMs", "decayModeFindingNewDMs")
94 containerID(patTaus.tauIDSources, "hpsPFTauDiscriminationByMuonRejection3", "IDWPdefinitions", [
95  ["againstMuonLoose3", "ByLooseMuonRejection3"],
96  ["againstMuonTight3", "ByTightMuonRejection3"]
97  ])
98 containerID(patTaus.tauIDSources, "hpsPFTauBasicDiscriminators", "IDdefinitions", [
99  ["chargedIsoPtSum", "ChargedIsoPtSum"],
100  ["neutralIsoPtSum", "NeutralIsoPtSum"],
101  ["puCorrPtSum", "PUcorrPtSum"],
102  ["neutralIsoPtSumWeight", "NeutralIsoPtSumWeight"],
103  ["footprintCorrection", "TauFootprintCorrection"],
104  ["photonPtSumOutsideSignalCone", "PhotonPtSumOutsideSignalCone"],
105  ["byCombinedIsolationDeltaBetaCorrRaw3Hits", "ByRawCombinedIsolationDBSumPtCorr3Hits"]
106  ])
107 containerID(patTaus.tauIDSources, "hpsPFTauBasicDiscriminators", "IDWPdefinitions", [
108  ["byLooseCombinedIsolationDeltaBetaCorr3Hits", "ByLooseCombinedIsolationDBSumPtCorr3Hits"],
109  ["byMediumCombinedIsolationDeltaBetaCorr3Hits", "ByMediumCombinedIsolationDBSumPtCorr3Hits"],
110  ["byTightCombinedIsolationDeltaBetaCorr3Hits", "ByTightCombinedIsolationDBSumPtCorr3Hits"],
111  ["byPhotonPtSumOutsideSignalCone", "ByPhotonPtSumOutsideSignalCone"]
112  ])
113 containerID(patTaus.tauIDSources, "hpsPFTauBasicDiscriminatorsdR03", "IDdefinitions", [
114  ["chargedIsoPtSumdR03", "ChargedIsoPtSumdR03"],
115  ["neutralIsoPtSumdR03", "NeutralIsoPtSumdR03"],
116  ["neutralIsoPtSumWeightdR03", "NeutralIsoPtSumWeightdR03"],
117  ["footprintCorrectiondR03", "TauFootprintCorrectiondR03"],
118  ["photonPtSumOutsideSignalConedR03", "PhotonPtSumOutsideSignalConedR03"]
119  ])
120 singleID(patTaus.tauIDSources, "hpsPFTauDiscriminationByDeadECALElectronRejection", "againstElectronDeadECAL")
121 
def singleID(pset, inputID, label)
def containerID(pset, inputID, provCfgLabel, wps)

◆ singleID()

def tauProducer_cfi.singleID (   pset,
  inputID,
  label 
)

Definition at line 84 of file tauProducer_cfi.py.

Referenced by containerID().

84 def singleID(pset, inputID, label):
85  setattr(pset, label, cms.PSet(inputTag=cms.InputTag(inputID), provenanceConfigLabel=cms.string(""), idLabel=cms.string("")))
def singleID(pset, inputID, label)

Variable Documentation

◆ addEfficiencies

tauProducer_cfi.addEfficiencies

Definition at line 75 of file tauProducer_cfi.py.

◆ addGenJetMatch

tauProducer_cfi.addGenJetMatch

Definition at line 70 of file tauProducer_cfi.py.

◆ addGenMatch

tauProducer_cfi.addGenMatch

Definition at line 67 of file tauProducer_cfi.py.

◆ addResolutions

tauProducer_cfi.addResolutions

Definition at line 79 of file tauProducer_cfi.py.

◆ addTauID

tauProducer_cfi.addTauID

Definition at line 61 of file tauProducer_cfi.py.

◆ addTauJetCorrFactors

tauProducer_cfi.addTauJetCorrFactors

Definition at line 32 of file tauProducer_cfi.py.

◆ efficiencies

tauProducer_cfi.efficiencies

Definition at line 76 of file tauProducer_cfi.py.

◆ embedGenJetMatch

tauProducer_cfi.embedGenJetMatch

Definition at line 71 of file tauProducer_cfi.py.

◆ embedGenMatch

tauProducer_cfi.embedGenMatch

Definition at line 68 of file tauProducer_cfi.py.

◆ embedIsolationPFCands

tauProducer_cfi.embedIsolationPFCands

embed in AOD externally stored signal PFGammaCandidates

Definition at line 47 of file tauProducer_cfi.py.

◆ embedIsolationPFChargedHadrCands

tauProducer_cfi.embedIsolationPFChargedHadrCands

embed in AOD externally stored isolation PFCandidates

Definition at line 48 of file tauProducer_cfi.py.

◆ embedIsolationPFGammaCands

tauProducer_cfi.embedIsolationPFGammaCands

embed in AOD externally stored isolation PFNeutralHadronCandidates

Definition at line 50 of file tauProducer_cfi.py.

◆ embedIsolationPFNeutralHadrCands

tauProducer_cfi.embedIsolationPFNeutralHadrCands

embed in AOD externally stored isolation PFChargedHadronCandidates

Definition at line 49 of file tauProducer_cfi.py.

◆ embedIsolationTracks

tauProducer_cfi.embedIsolationTracks

embed in AOD externally stored signal tracks

Definition at line 38 of file tauProducer_cfi.py.

◆ embedLeadPFCand

tauProducer_cfi.embedLeadPFCand

embed in AOD externally stored isolation tracks embedding objects (for PFTaus only)

Definition at line 40 of file tauProducer_cfi.py.

◆ embedLeadPFChargedHadrCand

tauProducer_cfi.embedLeadPFChargedHadrCand

embed in AOD externally stored leading PFCandidate

Definition at line 41 of file tauProducer_cfi.py.

◆ embedLeadPFNeutralCand

tauProducer_cfi.embedLeadPFNeutralCand

embed in AOD externally stored leading PFChargedHadron candidate

Definition at line 42 of file tauProducer_cfi.py.

◆ embedLeadTrack

tauProducer_cfi.embedLeadTrack

Definition at line 36 of file tauProducer_cfi.py.

◆ embedSignalPFCands

tauProducer_cfi.embedSignalPFCands

embed in AOD externally stored leading PFNeutral Candidate

Definition at line 43 of file tauProducer_cfi.py.

◆ embedSignalPFChargedHadrCands

tauProducer_cfi.embedSignalPFChargedHadrCands

embed in AOD externally stored signal PFCandidates

Definition at line 44 of file tauProducer_cfi.py.

◆ embedSignalPFGammaCands

tauProducer_cfi.embedSignalPFGammaCands

embed in AOD externally stored signal PFNeutralHadronCandidates

Definition at line 46 of file tauProducer_cfi.py.

◆ embedSignalPFNeutralHadrCands

tauProducer_cfi.embedSignalPFNeutralHadrCands

embed in AOD externally stored signal PFChargedHadronCandidates

Definition at line 45 of file tauProducer_cfi.py.

◆ embedSignalTracks

tauProducer_cfi.embedSignalTracks

embed in AOD externally stored leading track

Definition at line 37 of file tauProducer_cfi.py.

◆ genJetMatch

tauProducer_cfi.genJetMatch

Definition at line 72 of file tauProducer_cfi.py.

◆ genParticleMatch

tauProducer_cfi.genParticleMatch

Definition at line 69 of file tauProducer_cfi.py.

◆ isoDeposits

tauProducer_cfi.isoDeposits

embed in AOD externally stored isolation PFGammaCandidates

Definition at line 53 of file tauProducer_cfi.py.

◆ patTaus

tauProducer_cfi.patTaus

Definition at line 3 of file tauProducer_cfi.py.

◆ resolutions

tauProducer_cfi.resolutions

Definition at line 80 of file tauProducer_cfi.py.

◆ skipMissingTauID

tauProducer_cfi.skipMissingTauID

Definition at line 65 of file tauProducer_cfi.py.

◆ src

tauProducer_cfi.src

Definition at line 12 of file tauProducer_cfi.py.

◆ tauIDSources

tauProducer_cfi.tauIDSources

Definition at line 62 of file tauProducer_cfi.py.

◆ tauJetCorrFactorsSource

tauProducer_cfi.tauJetCorrFactorsSource

Definition at line 33 of file tauProducer_cfi.py.

◆ tauSource

tauProducer_cfi.tauSource

Definition at line 5 of file tauProducer_cfi.py.

◆ tauTransverseImpactParameterSource

tauProducer_cfi.tauTransverseImpactParameterSource

Definition at line 6 of file tauProducer_cfi.py.

◆ userCands

tauProducer_cfi.userCands

Definition at line 23 of file tauProducer_cfi.py.

◆ userClasses

tauProducer_cfi.userClasses

Definition at line 11 of file tauProducer_cfi.py.

◆ userData

tauProducer_cfi.userData

Definition at line 9 of file tauProducer_cfi.py.

◆ userFloats

tauProducer_cfi.userFloats

Definition at line 15 of file tauProducer_cfi.py.

◆ userFunctionLabels

tauProducer_cfi.userFunctionLabels

Definition at line 28 of file tauProducer_cfi.py.

◆ userFunctions

tauProducer_cfi.userFunctions

Definition at line 27 of file tauProducer_cfi.py.

◆ userInts

tauProducer_cfi.userInts

Definition at line 19 of file tauProducer_cfi.py.

◆ userIsolation

tauProducer_cfi.userIsolation

Definition at line 58 of file tauProducer_cfi.py.