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 9 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 157 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(), MatchStruct.pt, PtHatReweightUserHook.pt, PtEtaPhiMass.pt(), ALILine.pt(), MySimTrack.pt, ScoutingCaloJet.pt(), L2TauPixelTrackMatch::TinyTrack.pt, ResonanceBuilder.Resonance.pt(), ScoutingPFJet.pt(), ScoutingMuon.pt(), DTMuonLocalAlignment.pt, PGlobalSimHit::Trk.pt, TtFullHadSignalSel.pt(), ElectronMVAEstimator.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, ZMuMuIsolationAnalyzer.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PhysicsObjectsMonitor.pt, jpt::Map.pt(), SiStripLAProfileBooker.pt, reco::CaloMuon.pt(), TrackerValidationVariables::AVTrackStruct.pt, trigger::TriggerObject.pt(), BSTrkParameters.pt(), TauL1TPair.pt(), goodseedhelpers::HeavyObjectCache.pt, MuScleFitMuon.pt(), SoftElectronMVAEstimator.pt, PTrajectoryStateOnDet.pt(), SimpleL1MuGMTCand.pt(), HTrackVariables.pt(), ValidationMisalignedTracker.pt, HepLine3D.pt(), L1MuDTTrack.pt(), TrajectoryStateClosestToPoint.pt(), L1MuBMTrack.pt(), MuonDTLocalMillepedeAlgorithm.pt, BPhysicsValidation::ParticleMonitor.pt, susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, reco::PreId.pt(), Lepton.pt, reco::Candidate.pt(), egHLT::OffPho.pt(), reco::Particle.pt(), TrackStruct::TrackParameterStruct.pt, reco::ParticleState.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, MuonResidualsFitter::MuonAlignmentTreeRow.pt, AlignmentMonitorMuonSystemMap1D::MyTrack.pt, CompositeRefCandidateT< reco::GenParticleRefVector >.pt(), CandidateWithRef< Ref >.pt(), reco::LeafCandidate.pt(), HGCalClusterT< C >.pt(), reco::PFCluster.pt(), CosmicRateAnalyzer.pt, PtHatRapReweightUserHook.pt, CaloParticle.pt(), JetAnalyzer_HeavyIons_matching::MyJet.pt, SimCluster.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, TrackingParticle.pt(), pat::MET::Vector2.pt(), GoodSeedProducer.pt, l1t::EMTFTrack.pt, MuonGmtPair.pt(), pat::PackedGenParticle.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 151 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, PGlobalSimHit::Trk.pt, TtFullHadSignalSel.pt(), ElectronMVAEstimator.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, ZMuMuIsolationAnalyzer.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PhysicsObjectsMonitor.pt, jpt::Map.pt(), SiStripLAProfileBooker.pt, reco::CaloMuon.pt(), trigger::TriggerObject.pt(), TrackerValidationVariables::AVTrackStruct.pt, BSTrkParameters.pt(), TauL1TPair.pt(), goodseedhelpers::HeavyObjectCache.pt, MuScleFitMuon.pt(), SoftElectronMVAEstimator.pt, ValidationMisalignedTracker.pt, PTrajectoryStateOnDet.pt(), SimpleL1MuGMTCand.pt(), HTrackVariables.pt(), HepLine3D.pt(), L1MuDTTrack.pt(), TrajectoryStateClosestToPoint.pt(), L1MuBMTrack.pt(), MuonDTLocalMillepedeAlgorithm.pt, BPhysicsValidation::ParticleMonitor.pt, susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, reco::PreId.pt(), Lepton.pt, reco::Candidate.pt(), egHLT::OffPho.pt(), reco::Particle.pt(), TrackStruct::TrackParameterStruct.pt, reco::ParticleState.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, MuonResidualsFitter::MuonAlignmentTreeRow.pt, CandidateWithRef< Ref >.pt(), reco::LeafCandidate.pt(), HGCalClusterT< C >.pt(), CompositeRefCandidateT< reco::GenParticleRefVector >.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, reco::PFCluster.pt(), CosmicRateAnalyzer.pt, PtHatRapReweightUserHook.pt, JetAnalyzer_HeavyIons_matching::MyJet.pt, CaloParticle.pt(), SimCluster.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, TrackingParticle.pt(), pat::MET::Vector2.pt(), GoodSeedProducer.pt, l1t::EMTFTrack.pt, pat::PackedGenParticle.pt(), MuonGmtPair.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 154 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, PGlobalSimHit::Trk.pt, TtFullHadSignalSel.pt(), ElectronMVAEstimator.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, ZMuMuIsolationAnalyzer.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PhysicsObjectsMonitor.pt, jpt::Map.pt(), SiStripLAProfileBooker.pt, reco::CaloMuon.pt(), trigger::TriggerObject.pt(), TrackerValidationVariables::AVTrackStruct.pt, BSTrkParameters.pt(), TauL1TPair.pt(), goodseedhelpers::HeavyObjectCache.pt, MuScleFitMuon.pt(), SoftElectronMVAEstimator.pt, ValidationMisalignedTracker.pt, PTrajectoryStateOnDet.pt(), SimpleL1MuGMTCand.pt(), HTrackVariables.pt(), HepLine3D.pt(), L1MuDTTrack.pt(), TrajectoryStateClosestToPoint.pt(), L1MuBMTrack.pt(), MuonDTLocalMillepedeAlgorithm.pt, BPhysicsValidation::ParticleMonitor.pt, susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, reco::PreId.pt(), Lepton.pt, reco::Candidate.pt(), egHLT::OffPho.pt(), reco::Particle.pt(), TrackStruct::TrackParameterStruct.pt, reco::ParticleState.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, MuonResidualsFitter::MuonAlignmentTreeRow.pt, CandidateWithRef< Ref >.pt(), reco::LeafCandidate.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, CompositeRefCandidateT< reco::GenParticleRefVector >.pt(), HGCalClusterT< C >.pt(), reco::PFCluster.pt(), CosmicRateAnalyzer.pt, PtHatRapReweightUserHook.pt, JetAnalyzer_HeavyIons_matching::MyJet.pt, CaloParticle.pt(), SimCluster.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, TrackingParticle.pt(), pat::MET::Vector2.pt(), GoodSeedProducer.pt, l1t::EMTFTrack.pt, pat::PackedGenParticle.pt(), MuonGmtPair.pt(), reco::TrackBase.pt(), pat::PackedCandidate.pt(), PMuonSimHit::Trk.pt, and PTrackerSimHit::Trk.pt.
Referenced by Photon.Photon.passPhotonIso().
Definition at line 34 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 85 of file Photon.py.
References join().
Referenced by Photon.Photon.passPhotonID(), and Photon.Photon.passPhotonIso().
def Photon.Photon.etaRegionID | ( | self | ) |
Definition at line 143 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 31 of file Photon.py.
Referenced by Photon.Photon.passPhotonID(), and Photon.Photon.photonIDCSA14().
def Photon.Photon.hOVERe | ( | self | ) |
Definition at line 19 of file Photon.py.
Referenced by Photon.Photon.passPhotonID(), and Photon.Photon.photonIDCSA14().
Definition at line 40 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 160 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 177 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 52 of file Photon.py.
References funct.abs(), Photon.Photon.full5x5_sigmaIetaIeta(), reco::Photon.full5x5_sigmaIetaIeta(), reco::GsfElectron.full5x5_sigmaIetaIeta(), and Photon.Photon.hOVERe().
Definition at line 46 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 16 of file Photon.py.
Referenced by Lepton.Lepton.absIsoFromEA(), Muon.Muon.absIsoWithFSR(), Photon.Photon.chargedHadronIso(), Photon.Photon.neutralHadronIso(), and Photon.Photon.photonIso().