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 |
Definition at line 16 of file Photon.py.
Referenced by Photon.Photon.__init__().
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(), btagbtvdeep::TrackPairFeatures.pt, btagbtvdeep::JetFeatures.pt, btagbtvdeep::SecondaryVertexFeatures.pt, mypt.pt, btagbtvdeep::SeedingTrackFeatures.pt, res::HelperElectron.pt(), res::HelperMuon.pt(), res::HelperJet.pt(), L1TkMuMantraDF::track_df.pt, ScoutingParticle.pt(), reco::VoronoiBackground.pt(), L1MuCSCPtLut.pt(), dnn_inputs_2017v1.pt, Residual1DHit.pt, PtHatReweightUserHook.pt, ScoutingPhoton.pt(), btagbtvdeep::SeedingTrackInfoBuilder.pt(), MatchStruct.pt, L1TkMuMantraDF::muon_df.pt, ALILine.pt(), RecoObj.pt, trklet::L1SimTrack.pt(), L2TauPixelTrackMatch::TinyTrack.pt, PtEtaPhiMass.pt(), reco::MuonMETCorrectionData.pt(), tauImpactParameter::LorentzVectorParticle.pt, ResonanceBuilder.Resonance.pt(), MTDTrackQualityMVA.pt, DTMuonLocalAlignment.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, ZMuMuIsolationAnalyzer.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PGlobalSimHit::Trk.pt, HepLine3D.pt(), tmtt::TP.pt(), jpt::Map.pt(), PhysicsObjectsMonitor.pt, trigger::TriggerObject.pt(), L1TkMuonProducer::PropState.pt, trklet::Track.pt(), SiStripLAProfileBooker.pt, TtFullHadSignalSel.pt(), reco::CaloMuon.pt(), trklet::L1TStub.pt(), BSTrkParameters.pt(), MuScleFitMuon.pt(), PTrajectoryStateOnDet.pt(), ScoutingCaloJet.pt(), ScoutingElectron.pt(), ValidationMisalignedTracker.pt, SimpleL1MuGMTCand.pt(), TauL1TPair.pt(), L1MuDTTrack.pt(), HTrackVariables.pt(), reco::ForwardProton.pt(), L1MuBMTrack.pt(), susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, BPhysicsValidation::ParticleMonitor.pt, MuonDTLocalMillepedeAlgorithm.pt, TrajectoryStateClosestToPoint.pt(), reco::PreId.pt(), Lepton.pt, ScoutingPFJet.pt(), TrackerValidationVariables::AVTrackStruct.pt, reco::Candidate.pt(), egHLT::OffPho.pt(), MuonResidualsFitter::MuonAlignmentTreeRow.pt, ScoutingMuon.pt(), tmtt::KFTrackletTrack.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, reco::Particle.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), reco::PFCluster.pt(), TrackStruct::TrackParameterStruct.pt, CaloParticle.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, SimCluster.pt(), reco::ParticleState.pt(), CosmicRateAnalyzer.pt, JetAnalyzer_HeavyIons_matching::MyJet.pt, TrackingParticle.pt(), reco::LeafCandidate.pt(), HGCalClusterT< C >.pt(), tmtt::L1track3D.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, PtHatRapReweightUserHook.pt, MuonGmtPair.pt(), l1t::EMTFTrack.pt, pat::MET::Vector2.pt(), RawParticle.pt(), tmtt::L1fittedTrack.pt(), reco::TrackBase.pt(), pat::PackedGenParticle.pt(), L1EGCrystalClusterEmulatorProducer::SimpleCaloHit.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(), btagbtvdeep::JetFeatures.pt, btagbtvdeep::TrackPairFeatures.pt, btagbtvdeep::SecondaryVertexFeatures.pt, mypt.pt, btagbtvdeep::SeedingTrackFeatures.pt, res::HelperElectron.pt(), res::HelperMuon.pt(), res::HelperJet.pt(), L1TkMuMantraDF::track_df.pt, ScoutingParticle.pt(), reco::VoronoiBackground.pt(), L1MuCSCPtLut.pt(), dnn_inputs_2017v1.pt, PtHatReweightUserHook.pt, Residual1DHit.pt, ScoutingPhoton.pt(), btagbtvdeep::SeedingTrackInfoBuilder.pt(), MatchStruct.pt, L1TkMuMantraDF::muon_df.pt, RecoObj.pt, ALILine.pt(), trklet::L1SimTrack.pt(), L2TauPixelTrackMatch::TinyTrack.pt, PtEtaPhiMass.pt(), reco::MuonMETCorrectionData.pt(), tauImpactParameter::LorentzVectorParticle.pt, ResonanceBuilder.Resonance.pt(), MTDTrackQualityMVA.pt, DTMuonLocalAlignment.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, ZMuMuIsolationAnalyzer.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PGlobalSimHit::Trk.pt, HepLine3D.pt(), tmtt::TP.pt(), jpt::Map.pt(), PhysicsObjectsMonitor.pt, trigger::TriggerObject.pt(), trklet::Track.pt(), L1TkMuonProducer::PropState.pt, SiStripLAProfileBooker.pt, TtFullHadSignalSel.pt(), reco::CaloMuon.pt(), trklet::L1TStub.pt(), BSTrkParameters.pt(), MuScleFitMuon.pt(), PTrajectoryStateOnDet.pt(), ScoutingElectron.pt(), ScoutingCaloJet.pt(), ValidationMisalignedTracker.pt, SimpleL1MuGMTCand.pt(), TauL1TPair.pt(), L1MuDTTrack.pt(), HTrackVariables.pt(), reco::ForwardProton.pt(), L1MuBMTrack.pt(), susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, BPhysicsValidation::ParticleMonitor.pt, MuonDTLocalMillepedeAlgorithm.pt, TrajectoryStateClosestToPoint.pt(), reco::PreId.pt(), Lepton.pt, ScoutingPFJet.pt(), TrackerValidationVariables::AVTrackStruct.pt, reco::Candidate.pt(), egHLT::OffPho.pt(), MuonResidualsFitter::MuonAlignmentTreeRow.pt, ScoutingMuon.pt(), tmtt::KFTrackletTrack.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, reco::Particle.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), reco::PFCluster.pt(), TrackStruct::TrackParameterStruct.pt, CaloParticle.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, SimCluster.pt(), reco::ParticleState.pt(), CosmicRateAnalyzer.pt, TrackingParticle.pt(), JetAnalyzer_HeavyIons_matching::MyJet.pt, reco::LeafCandidate.pt(), HGCalClusterT< C >.pt(), tmtt::L1track3D.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, PtHatRapReweightUserHook.pt, MuonGmtPair.pt(), l1t::EMTFTrack.pt, RawParticle.pt(), pat::MET::Vector2.pt(), tmtt::L1fittedTrack.pt(), reco::TrackBase.pt(), pat::PackedGenParticle.pt(), L1EGCrystalClusterEmulatorProducer::SimpleCaloHit.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(), btagbtvdeep::JetFeatures.pt, btagbtvdeep::TrackPairFeatures.pt, btagbtvdeep::SecondaryVertexFeatures.pt, mypt.pt, btagbtvdeep::SeedingTrackFeatures.pt, res::HelperElectron.pt(), res::HelperMuon.pt(), res::HelperJet.pt(), L1TkMuMantraDF::track_df.pt, ScoutingParticle.pt(), reco::VoronoiBackground.pt(), L1MuCSCPtLut.pt(), dnn_inputs_2017v1.pt, PtHatReweightUserHook.pt, Residual1DHit.pt, ScoutingPhoton.pt(), btagbtvdeep::SeedingTrackInfoBuilder.pt(), MatchStruct.pt, L1TkMuMantraDF::muon_df.pt, RecoObj.pt, ALILine.pt(), trklet::L1SimTrack.pt(), L2TauPixelTrackMatch::TinyTrack.pt, PtEtaPhiMass.pt(), reco::MuonMETCorrectionData.pt(), tauImpactParameter::LorentzVectorParticle.pt, ResonanceBuilder.Resonance.pt(), MTDTrackQualityMVA.pt, DTMuonLocalAlignment.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, ZMuMuIsolationAnalyzer.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PGlobalSimHit::Trk.pt, HepLine3D.pt(), tmtt::TP.pt(), jpt::Map.pt(), PhysicsObjectsMonitor.pt, trigger::TriggerObject.pt(), trklet::Track.pt(), L1TkMuonProducer::PropState.pt, SiStripLAProfileBooker.pt, TtFullHadSignalSel.pt(), reco::CaloMuon.pt(), trklet::L1TStub.pt(), BSTrkParameters.pt(), MuScleFitMuon.pt(), PTrajectoryStateOnDet.pt(), ScoutingElectron.pt(), ScoutingCaloJet.pt(), ValidationMisalignedTracker.pt, SimpleL1MuGMTCand.pt(), TauL1TPair.pt(), L1MuDTTrack.pt(), HTrackVariables.pt(), reco::ForwardProton.pt(), L1MuBMTrack.pt(), susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, BPhysicsValidation::ParticleMonitor.pt, MuonDTLocalMillepedeAlgorithm.pt, TrajectoryStateClosestToPoint.pt(), reco::PreId.pt(), Lepton.pt, ScoutingPFJet.pt(), TrackerValidationVariables::AVTrackStruct.pt, reco::Candidate.pt(), egHLT::OffPho.pt(), MuonResidualsFitter::MuonAlignmentTreeRow.pt, ScoutingMuon.pt(), tmtt::KFTrackletTrack.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, reco::Particle.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), reco::PFCluster.pt(), TrackStruct::TrackParameterStruct.pt, CaloParticle.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, SimCluster.pt(), reco::ParticleState.pt(), CosmicRateAnalyzer.pt, TrackingParticle.pt(), JetAnalyzer_HeavyIons_matching::MyJet.pt, reco::LeafCandidate.pt(), HGCalClusterT< C >.pt(), tmtt::L1track3D.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, PtHatRapReweightUserHook.pt, MuonGmtPair.pt(), l1t::EMTFTrack.pt, RawParticle.pt(), pat::MET::Vector2.pt(), tmtt::L1fittedTrack.pt(), reco::TrackBase.pt(), pat::PackedGenParticle.pt(), L1EGCrystalClusterEmulatorProducer::SimpleCaloHit.pt(), pat::PackedCandidate.pt(), PMuonSimHit::Trk.pt, and PTrackerSimHit::Trk.pt.
Referenced by Photon.Photon.passPhotonIso().
def Photon.Photon.chargedHadronIso | ( | self, | |
corr = None |
|||
) |
Definition at line 35 of file Photon.py.
References SiStripPI.max, PhysicsObject.PhysicsObject.physObj, 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(), PVValHelper.eta, and PhysicsObject.PhysicsObject.physObj.
Referenced by Photon.Photon.passPhotonID(), and Photon.Photon.passPhotonIso().
def Photon.Photon.full5x5_r9 | ( | self | ) |
Definition at line 29 of file Photon.py.
References PhysicsObject.PhysicsObject.physObj.
def Photon.Photon.full5x5_sigmaIetaIeta | ( | self | ) |
Definition at line 32 of file Photon.py.
References PhysicsObject.PhysicsObject.physObj.
Referenced by Photon.Photon.passPhotonID(), and Photon.Photon.photonIDCSA14().
def Photon.Photon.hOVERe | ( | self | ) |
Definition at line 20 of file Photon.py.
References PhysicsObject.PhysicsObject.physObj.
Referenced by Photon.Photon.passPhotonID(), and Photon.Photon.photonIDCSA14().
def Photon.Photon.neutralHadronIso | ( | self, | |
corr = None |
|||
) |
Definition at line 41 of file Photon.py.
References SiStripPI.max, PhysicsObject.PhysicsObject.physObj, 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.passPhotonID | ( | self, | |
name, | |||
conversionSafe_eleVeto = False |
|||
) |
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(), Photon.Photon.hOVERe(), and PhysicsObject.PhysicsObject.physObj.
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().
def Photon.Photon.photonIDCSA14 | ( | self, | |
name, | |||
sidebands = False |
|||
) |
Definition at line 53 of file Photon.py.
References funct.abs(), PVValHelper.eta, Photon.Photon.full5x5_sigmaIetaIeta(), reco::Photon.full5x5_sigmaIetaIeta(), reco::GsfElectron.full5x5_sigmaIetaIeta(), Photon.Photon.hOVERe(), PhysicsObject.PhysicsObject.physObj, and edm.print().
def Photon.Photon.photonIso | ( | self, | |
corr = None |
|||
) |
Definition at line 47 of file Photon.py.
References SiStripPI.max, PhysicsObject.PhysicsObject.physObj, 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.r9 | ( | self | ) |
Definition at line 23 of file Photon.py.
References PhysicsObject.PhysicsObject.physObj.
def Photon.Photon.sigmaIetaIeta | ( | self | ) |
Definition at line 26 of file Photon.py.
References PhysicsObject.PhysicsObject.physObj.
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().