Public Member Functions | |
def | __init__ (self, args, kwargs) |
def | calScaledIsoValueExp (self, offset, slope_exp, offset_exp) |
def | calScaledIsoValueLin (self, offset, slope) |
def | calScaledIsoValueQuadr (self, offset, term_1, term_2) |
def | chargedHadronIso (self, corr=None) |
def | CutBasedIDWP (self, name) |
def | etaRegionID (self) |
def | full5x5_r9 (self) |
def | full5x5_sigmaIetaIeta (self) |
def | hOVERe (self) |
def | neutralHadronIso (self, corr=None) |
def | passPhotonID (self, name, conversionSafe_eleVeto=False) |
def | passPhotonIso (self, name, isocorr) |
def | photonIDCSA14 (self, name, sidebands=False) |
def | photonIso (self, corr=None) |
def | r9 (self) |
def | sigmaIetaIeta (self) |
Public Attributes | |
rho | |
Private Member Functions | |
def | _physObjInit (self) |
def Photon.Photon.__init__ | ( | self, | |
args, | |||
kwargs | |||
) |
Initializing rho to None. The user is responsible for setting it to the right value to get the rho-corrected isolation.
Definition at line 10 of file Photon.py.
References Electron.Electron._physObjInit(), Photon.Photon._physObjInit(), and Jet.Jet._physObjInit().
|
private |
def Photon.Photon.calScaledIsoValueExp | ( | self, | |
offset, | |||
slope_exp, | |||
offset_exp | |||
) |
Definition at line 158 of file Photon.py.
References JetChargeProducer_cfi.exp, eetest::CandForTest.pt(), mypt.pt, btagbtvdeep::JetFeatures.pt, btagbtvdeep::SecondaryVertexFeatures.pt, res::HelperElectron.pt(), res::HelperMuon.pt(), res::HelperJet.pt(), reco::VoronoiBackground.pt(), RecoObj.pt, ScoutingParticle.pt(), tauImpactParameter::LorentzVectorParticle.pt, dnn_inputs_2017v1.pt, L1MuCSCPtLut.pt(), ScoutingPhoton.pt(), Residual1DHit.pt, reco::MuonMETCorrectionData.pt(), ScoutingElectron.pt(), PtHatReweightUserHook.pt, MatchStruct.pt, PtEtaPhiMass.pt(), MySimTrack.pt, ALILine.pt(), ScoutingCaloJet.pt(), L2TauPixelTrackMatch::TinyTrack.pt, ResonanceBuilder.Resonance.pt(), ScoutingPFJet.pt(), ScoutingMuon.pt(), DTMuonLocalAlignment.pt, TtFullHadSignalSel.pt(), L1Analysis::L1AnalysisRecoTauDataFormat.pt, ZMuMuIsolationAnalyzer.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, PGlobalSimHit::Trk.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PhysicsObjectsMonitor.pt, SiStripLAProfileBooker.pt, jpt::Map.pt(), reco::CaloMuon.pt(), trigger::TriggerObject.pt(), BSTrkParameters.pt(), TrackerValidationVariables::AVTrackStruct.pt, reco::ForwardProton.pt(), TauL1TPair.pt(), goodseedhelpers::HeavyObjectCache.pt, MuScleFitMuon.pt(), ValidationMisalignedTracker.pt, PTrajectoryStateOnDet.pt(), SimpleL1MuGMTCand.pt(), HTrackVariables.pt(), HepLine3D.pt(), L1MuDTTrack.pt(), L1MuBMTrack.pt(), QualityCutsAnalyzer::histogram_element_t.pt, TrajectoryStateClosestToPoint.pt(), MuonDTLocalMillepedeAlgorithm.pt, BPhysicsValidation::ParticleMonitor.pt, susybsm::HSCParticle.pt(), Lepton.pt, reco::PreId.pt(), reco::Candidate.pt(), egHLT::OffPho.pt(), reco::Particle.pt(), reco::ParticleState.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, MuonResidualsFitter::MuonAlignmentTreeRow.pt, CaloParticle.pt(), TrackStruct::TrackParameterStruct.pt, CandidateWithRef< Ref >.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, HGCalClusterT< C >.pt(), reco::LeafCandidate.pt(), SimCluster.pt(), reco::PFCluster.pt(), CosmicRateAnalyzer.pt, PtHatRapReweightUserHook.pt, JetAnalyzer_HeavyIons_matching::MyJet.pt, L1Analysis::L1AnalysisRecoMuonDataFormat.pt, TrackingParticle.pt(), pat::MET::Vector2.pt(), GoodSeedProducer.pt, MuonGmtPair.pt(), l1t::EMTFTrack.pt, pat::PackedGenParticle.pt(), RawParticle.pt(), reco::TrackBase.pt(), pat::PackedCandidate.pt(), PMuonSimHit::Trk.pt, and PTrackerSimHit::Trk.pt.
Referenced by Photon.Photon.passPhotonIso().
def Photon.Photon.calScaledIsoValueLin | ( | self, | |
offset, | |||
slope | |||
) |
Definition at line 152 of file Photon.py.
References eetest::CandForTest.pt(), mypt.pt, btagbtvdeep::JetFeatures.pt, btagbtvdeep::SecondaryVertexFeatures.pt, res::HelperElectron.pt(), res::HelperMuon.pt(), res::HelperJet.pt(), reco::VoronoiBackground.pt(), RecoObj.pt, ScoutingParticle.pt(), tauImpactParameter::LorentzVectorParticle.pt, dnn_inputs_2017v1.pt, L1MuCSCPtLut.pt(), ScoutingPhoton.pt(), Residual1DHit.pt, reco::MuonMETCorrectionData.pt(), ScoutingElectron.pt(), PtHatReweightUserHook.pt, MatchStruct.pt, PtEtaPhiMass.pt(), MySimTrack.pt, ALILine.pt(), ScoutingCaloJet.pt(), L2TauPixelTrackMatch::TinyTrack.pt, ResonanceBuilder.Resonance.pt(), ScoutingPFJet.pt(), ScoutingMuon.pt(), DTMuonLocalAlignment.pt, TtFullHadSignalSel.pt(), L1Analysis::L1AnalysisRecoTauDataFormat.pt, ZMuMuIsolationAnalyzer.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, PGlobalSimHit::Trk.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PhysicsObjectsMonitor.pt, SiStripLAProfileBooker.pt, jpt::Map.pt(), reco::CaloMuon.pt(), trigger::TriggerObject.pt(), BSTrkParameters.pt(), TrackerValidationVariables::AVTrackStruct.pt, reco::ForwardProton.pt(), TauL1TPair.pt(), goodseedhelpers::HeavyObjectCache.pt, MuScleFitMuon.pt(), ValidationMisalignedTracker.pt, PTrajectoryStateOnDet.pt(), SimpleL1MuGMTCand.pt(), HTrackVariables.pt(), HepLine3D.pt(), L1MuDTTrack.pt(), L1MuBMTrack.pt(), QualityCutsAnalyzer::histogram_element_t.pt, TrajectoryStateClosestToPoint.pt(), MuonDTLocalMillepedeAlgorithm.pt, BPhysicsValidation::ParticleMonitor.pt, susybsm::HSCParticle.pt(), Lepton.pt, reco::PreId.pt(), reco::Candidate.pt(), egHLT::OffPho.pt(), reco::Particle.pt(), reco::ParticleState.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, MuonResidualsFitter::MuonAlignmentTreeRow.pt, TrackStruct::TrackParameterStruct.pt, CaloParticle.pt(), reco::LeafCandidate.pt(), HGCalClusterT< C >.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, CandidateWithRef< Ref >.pt(), SimCluster.pt(), reco::PFCluster.pt(), CosmicRateAnalyzer.pt, PtHatRapReweightUserHook.pt, JetAnalyzer_HeavyIons_matching::MyJet.pt, L1Analysis::L1AnalysisRecoMuonDataFormat.pt, TrackingParticle.pt(), pat::MET::Vector2.pt(), GoodSeedProducer.pt, MuonGmtPair.pt(), l1t::EMTFTrack.pt, pat::PackedGenParticle.pt(), RawParticle.pt(), reco::TrackBase.pt(), pat::PackedCandidate.pt(), PMuonSimHit::Trk.pt, and PTrackerSimHit::Trk.pt.
Referenced by Photon.Photon.passPhotonIso().
def Photon.Photon.calScaledIsoValueQuadr | ( | self, | |
offset, | |||
term_1, | |||
term_2 | |||
) |
Definition at line 155 of file Photon.py.
References funct.pow(), eetest::CandForTest.pt(), mypt.pt, btagbtvdeep::JetFeatures.pt, btagbtvdeep::SecondaryVertexFeatures.pt, res::HelperMuon.pt(), res::HelperElectron.pt(), res::HelperJet.pt(), reco::VoronoiBackground.pt(), RecoObj.pt, ScoutingParticle.pt(), tauImpactParameter::LorentzVectorParticle.pt, dnn_inputs_2017v1.pt, L1MuCSCPtLut.pt(), ScoutingPhoton.pt(), Residual1DHit.pt, reco::MuonMETCorrectionData.pt(), ScoutingElectron.pt(), PtHatReweightUserHook.pt, MatchStruct.pt, PtEtaPhiMass.pt(), MySimTrack.pt, ALILine.pt(), ScoutingCaloJet.pt(), L2TauPixelTrackMatch::TinyTrack.pt, ResonanceBuilder.Resonance.pt(), ScoutingPFJet.pt(), ScoutingMuon.pt(), DTMuonLocalAlignment.pt, TtFullHadSignalSel.pt(), L1Analysis::L1AnalysisRecoTauDataFormat.pt, ZMuMuIsolationAnalyzer.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, PGlobalSimHit::Trk.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PhysicsObjectsMonitor.pt, SiStripLAProfileBooker.pt, jpt::Map.pt(), reco::CaloMuon.pt(), trigger::TriggerObject.pt(), BSTrkParameters.pt(), TrackerValidationVariables::AVTrackStruct.pt, reco::ForwardProton.pt(), TauL1TPair.pt(), goodseedhelpers::HeavyObjectCache.pt, MuScleFitMuon.pt(), ValidationMisalignedTracker.pt, PTrajectoryStateOnDet.pt(), SimpleL1MuGMTCand.pt(), HTrackVariables.pt(), HepLine3D.pt(), L1MuDTTrack.pt(), L1MuBMTrack.pt(), QualityCutsAnalyzer::histogram_element_t.pt, TrajectoryStateClosestToPoint.pt(), MuonDTLocalMillepedeAlgorithm.pt, BPhysicsValidation::ParticleMonitor.pt, susybsm::HSCParticle.pt(), Lepton.pt, reco::PreId.pt(), reco::Candidate.pt(), egHLT::OffPho.pt(), reco::Particle.pt(), reco::ParticleState.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, MuonResidualsFitter::MuonAlignmentTreeRow.pt, TrackStruct::TrackParameterStruct.pt, CaloParticle.pt(), reco::LeafCandidate.pt(), HGCalClusterT< C >.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, CandidateWithRef< Ref >.pt(), SimCluster.pt(), reco::PFCluster.pt(), CosmicRateAnalyzer.pt, PtHatRapReweightUserHook.pt, JetAnalyzer_HeavyIons_matching::MyJet.pt, L1Analysis::L1AnalysisRecoMuonDataFormat.pt, TrackingParticle.pt(), pat::MET::Vector2.pt(), GoodSeedProducer.pt, MuonGmtPair.pt(), l1t::EMTFTrack.pt, pat::PackedGenParticle.pt(), RawParticle.pt(), reco::TrackBase.pt(), pat::PackedCandidate.pt(), PMuonSimHit::Trk.pt, and PTrackerSimHit::Trk.pt.
Referenced by Photon.Photon.passPhotonIso().
Definition at line 35 of file Photon.py.
References SiStripPI.max, Photon.Photon.rho, Electron.Electron.rho, correctionValue_class.rho, AlignmentMonitorMuonSystemMap1D::MyResidual.rho, and objects.JetAnalyzer.JetAnalyzer.rho.
Referenced by Lepton.Lepton.absIsoFromEA(), and Photon.Photon.passPhotonIso().
def Photon.Photon.CutBasedIDWP | ( | self, | |
name | |||
) |
Definition at line 86 of file Photon.py.
References join().
Referenced by Photon.Photon.passPhotonID(), and Photon.Photon.passPhotonIso().
def Photon.Photon.etaRegionID | ( | self | ) |
Definition at line 144 of file Photon.py.
References funct.abs().
Referenced by Photon.Photon.passPhotonID(), and Photon.Photon.passPhotonIso().
def Photon.Photon.full5x5_sigmaIetaIeta | ( | self | ) |
Definition at line 32 of file Photon.py.
Referenced by Photon.Photon.passPhotonID(), and Photon.Photon.photonIDCSA14().
def Photon.Photon.hOVERe | ( | self | ) |
Definition at line 20 of file Photon.py.
Referenced by Photon.Photon.passPhotonID(), and Photon.Photon.photonIDCSA14().
Definition at line 41 of file Photon.py.
References SiStripPI.max, Photon.Photon.rho, Electron.Electron.rho, correctionValue_class.rho, AlignmentMonitorMuonSystemMap1D::MyResidual.rho, and objects.JetAnalyzer.JetAnalyzer.rho.
Referenced by Lepton.Lepton.absIsoFromEA(), and Photon.Photon.passPhotonIso().
Definition at line 161 of file Photon.py.
References Photon.Photon.CutBasedIDWP(), Photon.Photon.etaRegionID(), Photon.Photon.full5x5_sigmaIetaIeta(), reco::Photon.full5x5_sigmaIetaIeta(), reco::GsfElectron.full5x5_sigmaIetaIeta(), and Photon.Photon.hOVERe().
def Photon.Photon.passPhotonIso | ( | self, | |
name, | |||
isocorr | |||
) |
Definition at line 178 of file Photon.py.
References Photon.Photon.calScaledIsoValueExp(), Photon.Photon.calScaledIsoValueLin(), Photon.Photon.calScaledIsoValueQuadr(), pat::PFIsolation.chargedHadronIso(), Photon.Photon.chargedHadronIso(), pat::Photon.chargedHadronIso(), pat::Lepton< LeptonType >.chargedHadronIso(), reco::Photon::PflowIsolationVariables.chargedHadronIso, reco::Photon.chargedHadronIso(), Photon.Photon.CutBasedIDWP(), Photon.Photon.etaRegionID(), pat::PFIsolation.neutralHadronIso(), Photon.Photon.neutralHadronIso(), pat::Photon.neutralHadronIso(), pat::Lepton< LeptonType >.neutralHadronIso(), reco::Photon::PflowIsolationVariables.neutralHadronIso, reco::Photon.neutralHadronIso(), pat::PFIsolation.photonIso(), Photon.Photon.photonIso(), pat::Photon.photonIso(), pat::Lepton< LeptonType >.photonIso(), reco::Photon::PflowIsolationVariables.photonIso, and reco::Photon.photonIso().
Definition at line 53 of file Photon.py.
References funct.abs(), Photon.Photon.full5x5_sigmaIetaIeta(), reco::Photon.full5x5_sigmaIetaIeta(), reco::GsfElectron.full5x5_sigmaIetaIeta(), Photon.Photon.hOVERe(), and edm.print().
Definition at line 47 of file Photon.py.
References SiStripPI.max, Photon.Photon.rho, Electron.Electron.rho, correctionValue_class.rho, AlignmentMonitorMuonSystemMap1D::MyResidual.rho, and objects.JetAnalyzer.JetAnalyzer.rho.
Referenced by Lepton.Lepton.absIsoFromEA(), and Photon.Photon.passPhotonIso().
Photon.Photon.rho |
Definition at line 17 of file Photon.py.
Referenced by Lepton.Lepton.absIsoFromEA(), Muon.Muon.absIsoWithFSR(), Photon.Photon.chargedHadronIso(), Photon.Photon.neutralHadronIso(), and Photon.Photon.photonIso().