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.

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, "hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLT", "rawValues", [
114  ["byIsolationMVArun2v1DBoldDMwLTraw", "discriminator"]
115  ])
116 containerID(patTaus.tauIDSources, "hpsPFTauDiscriminationByIsolationMVArun2v1DBoldDMwLT", "workingPoints", [
117  ["byVVLooseIsolationMVArun2v1DBoldDMwLT", "_VVLoose"],
118  ["byVLooseIsolationMVArun2v1DBoldDMwLT", "_VLoose"],
119  ["byLooseIsolationMVArun2v1DBoldDMwLT", "_Loose"],
120  ["byMediumIsolationMVArun2v1DBoldDMwLT", "_Medium"],
121  ["byTightIsolationMVArun2v1DBoldDMwLT", "_Tight"],
122  ["byVTightIsolationMVArun2v1DBoldDMwLT", "_VTight"],
123  ["byVVTightIsolationMVArun2v1DBoldDMwLT", "_VVTight"]
124  ])
125 containerID(patTaus.tauIDSources, "hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLT", "rawValues", [
126  ["byIsolationMVArun2v1DBnewDMwLTraw", "discriminator"]
127  ])
128 containerID(patTaus.tauIDSources, "hpsPFTauDiscriminationByIsolationMVArun2v1DBnewDMwLT", "workingPoints", [
129  ["byVVLooseIsolationMVArun2v1DBnewDMwLT", "_VVLoose"],
130  ["byVLooseIsolationMVArun2v1DBnewDMwLT", "_VLoose"],
131  ["byLooseIsolationMVArun2v1DBnewDMwLT", "_Loose"],
132  ["byMediumIsolationMVArun2v1DBnewDMwLT", "_Medium"],
133  ["byTightIsolationMVArun2v1DBnewDMwLT", "_Tight"],
134  ["byVTightIsolationMVArun2v1DBnewDMwLT", "_VTight"],
135  ["byVVTightIsolationMVArun2v1DBnewDMwLT", "_VVTight"]
136  ])
137 containerID(patTaus.tauIDSources, "hpsPFTauBasicDiscriminatorsdR03", "IDdefinitions", [
138  ["chargedIsoPtSumdR03", "ChargedIsoPtSumdR03"],
139  ["neutralIsoPtSumdR03", "NeutralIsoPtSumdR03"],
140  ["neutralIsoPtSumWeightdR03", "NeutralIsoPtSumWeightdR03"],
141  ["footprintCorrectiondR03", "TauFootprintCorrectiondR03"],
142  ["photonPtSumOutsideSignalConedR03", "PhotonPtSumOutsideSignalConedR03"]
143  ])
144 containerID(patTaus.tauIDSources, "hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLT", "rawValues", [
145  ["byIsolationMVArun2v1DBdR03oldDMwLTraw", "discriminator"]
146  ])
147 containerID(patTaus.tauIDSources, "hpsPFTauDiscriminationByIsolationMVArun2v1DBdR03oldDMwLT", "workingPoints", [
148  ["byVVLooseIsolationMVArun2v1DBdR03oldDMwLT", "_VVLoose"],
149  ["byVLooseIsolationMVArun2v1DBdR03oldDMwLT", "_VLoose"],
150  ["byLooseIsolationMVArun2v1DBdR03oldDMwLT", "_Loose"],
151  ["byMediumIsolationMVArun2v1DBdR03oldDMwLT", "_Medium"],
152  ["byTightIsolationMVArun2v1DBdR03oldDMwLT", "_Tight"],
153  ["byVTightIsolationMVArun2v1DBdR03oldDMwLT", "_VTight"],
154  ["byVVTightIsolationMVArun2v1DBdR03oldDMwLT", "_VVTight"]
155  ])
156 containerID(patTaus.tauIDSources, "hpsPFTauDiscriminationByMVA6ElectronRejection", "rawValues", [
157  ["againstElectronMVA6Raw", "discriminator"],
158  ["againstElectronMVA6category", "category"]
159  ])
160 containerID(patTaus.tauIDSources, "hpsPFTauDiscriminationByMVA6ElectronRejection", "workingPoints", [
161  ["againstElectronVLooseMVA6", "_VLoose"],
162  ["againstElectronLooseMVA6", "_Loose"],
163  ["againstElectronMediumMVA6", "_Medium"],
164  ["againstElectronTightMVA6", "_Tight"],
165  ["againstElectronVTightMVA6", "_VTight"]
166  ])
167 singleID(patTaus.tauIDSources, "hpsPFTauDiscriminationByDeadECALElectronRejection", "againstElectronDeadECAL")

References singleID().

◆ singleID()

def tauProducer_cfi.singleID (   pset,
  inputID,
  label 
)

Definition at line 84 of file tauProducer_cfi.py.

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

Referenced by containerID().

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.

tauProducer_cfi.singleID
def singleID(pset, inputID, label)
Definition: tauProducer_cfi.py:84
tauProducer_cfi.containerID
def containerID(pset, inputID, provCfgLabel, wps)
Definition: tauProducer_cfi.py:86