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, res::HelperElectron.pt(), res::HelperMuon.pt(), res::HelperJet.pt(), reco::VoronoiBackground.pt(), RecoObj.pt, ScoutingParticle.pt(), tauImpactParameter::LorentzVectorParticle.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, TrackMultiSelector::Block.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, jpt::Map.pt(), SiStripLAProfileBooker.pt, PhysicsObjectsMonitor.pt, reco::CaloMuon.pt(), TrackerValidationVariables::AVTrackStruct.pt, trigger::TriggerObject.pt(), BSTrkParameters.pt(), ElectronMVAEstimatorRun2Phys14NonTrig::AllVariables.pt, goodseedhelpers::HeavyObjectCache.pt, MuScleFitMuon.pt(), SoftElectronMVAEstimator.pt, SimpleL1MuGMTCand.pt(), PTrajectoryStateOnDet.pt(), ValidationMisalignedTracker.pt, HTrackVariables.pt(), ElectronMVAEstimatorRun2Spring16GeneralPurpose::AllVariables.pt, HepLine3D.pt(), ElectronMVAEstimatorRun2Spring16HZZ::AllVariables.pt, L1MuDTTrack.pt(), ElectronMVAEstimatorRun2Spring15NonTrig::AllVariables.pt, TrajectoryStateClosestToPoint.pt(), L1MuBMTrack.pt(), ElectronMVAEstimatorRun2Spring15Trig::AllVariables.pt, MuonDTLocalMillepedeAlgorithm.pt, BPhysicsValidation::ParticleMonitor.pt, MuonGmtPair.pt(), L1TMuon::InternalTrack.pt, susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, reco::PreId.pt(), Lepton.pt, reco::Candidate.pt(), egHLT::OffPho.pt(), TrackStruct::TrackParameterStruct.pt, reco::Particle.pt(), reco::ParticleState.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), PtHatRapReweightUserHook.pt, PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, MuonResidualsFitter::MuonAlignmentTreeRow.pt, CompositeRefCandidateT< reco::GenParticleRefVector >.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, CandidateWithRef< Ref >.pt(), reco::LeafCandidate.pt(), HGCalClusterT< C >.pt(), reco::PFCluster.pt(), CaloParticle.pt(), CosmicRateAnalyzer.pt, JetAnalyzer_HeavyIons_matching::MyJet.pt, SimCluster.pt(), l1t::EMTFTrack.pt, L1Analysis::L1AnalysisRecoMuonDataFormat.pt, TrackingParticle.pt(), pat::MET::Vector2.pt(), pat::PackedGenParticle.pt(), GoodSeedProducer.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, res::HelperElectron.pt(), res::HelperMuon.pt(), res::HelperJet.pt(), reco::VoronoiBackground.pt(), RecoObj.pt, ScoutingParticle.pt(), tauImpactParameter::LorentzVectorParticle.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, TrackMultiSelector::Block.pt, ResonanceBuilder.Resonance.pt(), ScoutingPFJet.pt(), ScoutingMuon.pt(), DTMuonLocalAlignment.pt, TtFullHadSignalSel.pt(), PGlobalSimHit::Trk.pt, ElectronMVAEstimator.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, ZMuMuIsolationAnalyzer.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, jpt::Map.pt(), SiStripLAProfileBooker.pt, reco::CaloMuon.pt(), PhysicsObjectsMonitor.pt, TrackerValidationVariables::AVTrackStruct.pt, trigger::TriggerObject.pt(), BSTrkParameters.pt(), ElectronMVAEstimatorRun2Phys14NonTrig::AllVariables.pt, goodseedhelpers::HeavyObjectCache.pt, MuScleFitMuon.pt(), SoftElectronMVAEstimator.pt, ValidationMisalignedTracker.pt, PTrajectoryStateOnDet.pt(), SimpleL1MuGMTCand.pt(), HTrackVariables.pt(), HepLine3D.pt(), ElectronMVAEstimatorRun2Spring16GeneralPurpose::AllVariables.pt, ElectronMVAEstimatorRun2Spring16HZZ::AllVariables.pt, L1MuDTTrack.pt(), ElectronMVAEstimatorRun2Spring15NonTrig::AllVariables.pt, TrajectoryStateClosestToPoint.pt(), L1MuBMTrack.pt(), ElectronMVAEstimatorRun2Spring15Trig::AllVariables.pt, MuonDTLocalMillepedeAlgorithm.pt, BPhysicsValidation::ParticleMonitor.pt, MuonGmtPair.pt(), L1TMuon::InternalTrack.pt, susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, reco::PreId.pt(), Lepton.pt, reco::Candidate.pt(), egHLT::OffPho.pt(), TrackStruct::TrackParameterStruct.pt, reco::Particle.pt(), reco::ParticleState.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), PtHatRapReweightUserHook.pt, PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, MuonResidualsFitter::MuonAlignmentTreeRow.pt, reco::LeafCandidate.pt(), CompositeRefCandidateT< reco::GenParticleRefVector >.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, HGCalClusterT< C >.pt(), CandidateWithRef< Ref >.pt(), reco::PFCluster.pt(), CaloParticle.pt(), CosmicRateAnalyzer.pt, JetAnalyzer_HeavyIons_matching::MyJet.pt, SimCluster.pt(), l1t::EMTFTrack.pt, L1Analysis::L1AnalysisRecoMuonDataFormat.pt, TrackingParticle.pt(), pat::MET::Vector2.pt(), GoodSeedProducer.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.calScaledIsoValueQuadr | ( | self, | |
offset, | |||
term_1, | |||
term_2 | |||
) |
Definition at line 154 of file Photon.py.
References funct.pow(), eetest::CandForTest.pt(), mypt.pt, res::HelperElectron.pt(), res::HelperMuon.pt(), res::HelperJet.pt(), reco::VoronoiBackground.pt(), RecoObj.pt, ScoutingParticle.pt(), tauImpactParameter::LorentzVectorParticle.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, TrackMultiSelector::Block.pt, ResonanceBuilder.Resonance.pt(), ScoutingPFJet.pt(), ScoutingMuon.pt(), DTMuonLocalAlignment.pt, TtFullHadSignalSel.pt(), PGlobalSimHit::Trk.pt, ElectronMVAEstimator.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, ZMuMuIsolationAnalyzer.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, jpt::Map.pt(), SiStripLAProfileBooker.pt, reco::CaloMuon.pt(), PhysicsObjectsMonitor.pt, TrackerValidationVariables::AVTrackStruct.pt, trigger::TriggerObject.pt(), BSTrkParameters.pt(), ElectronMVAEstimatorRun2Phys14NonTrig::AllVariables.pt, goodseedhelpers::HeavyObjectCache.pt, MuScleFitMuon.pt(), SoftElectronMVAEstimator.pt, ValidationMisalignedTracker.pt, PTrajectoryStateOnDet.pt(), SimpleL1MuGMTCand.pt(), HTrackVariables.pt(), HepLine3D.pt(), ElectronMVAEstimatorRun2Spring16GeneralPurpose::AllVariables.pt, ElectronMVAEstimatorRun2Spring16HZZ::AllVariables.pt, L1MuDTTrack.pt(), ElectronMVAEstimatorRun2Spring15NonTrig::AllVariables.pt, TrajectoryStateClosestToPoint.pt(), L1MuBMTrack.pt(), ElectronMVAEstimatorRun2Spring15Trig::AllVariables.pt, MuonDTLocalMillepedeAlgorithm.pt, BPhysicsValidation::ParticleMonitor.pt, MuonGmtPair.pt(), L1TMuon::InternalTrack.pt, susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, reco::PreId.pt(), Lepton.pt, reco::Candidate.pt(), egHLT::OffPho.pt(), TrackStruct::TrackParameterStruct.pt, reco::Particle.pt(), reco::ParticleState.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), PtHatRapReweightUserHook.pt, PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, MuonResidualsFitter::MuonAlignmentTreeRow.pt, reco::LeafCandidate.pt(), CompositeRefCandidateT< reco::GenParticleRefVector >.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, HGCalClusterT< C >.pt(), CandidateWithRef< Ref >.pt(), reco::PFCluster.pt(), CaloParticle.pt(), CosmicRateAnalyzer.pt, JetAnalyzer_HeavyIons_matching::MyJet.pt, SimCluster.pt(), l1t::EMTFTrack.pt, L1Analysis::L1AnalysisRecoMuonDataFormat.pt, TrackingParticle.pt(), pat::MET::Vector2.pt(), GoodSeedProducer.pt, pat::PackedGenParticle.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 hpstanc_transforms.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 hpstanc_transforms.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(), Photon.Photon.chargedHadronIso(), pat::Photon.chargedHadronIso(), pat::Lepton< LeptonType >.chargedHadronIso(), reco::Photon::PflowIsolationVariables.chargedHadronIso, reco::Photon.chargedHadronIso(), Photon.Photon.CutBasedIDWP(), Photon.Photon.etaRegionID(), Photon.Photon.neutralHadronIso(), pat::Lepton< LeptonType >.neutralHadronIso(), pat::Photon.neutralHadronIso(), reco::Photon::PflowIsolationVariables.neutralHadronIso, reco::Photon.neutralHadronIso(), Photon.Photon.photonIso(), pat::Lepton< LeptonType >.photonIso(), pat::Photon.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 hpstanc_transforms.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().