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, PuppiCandidate.pt, eetest::CandForTest.pt(), btagbtvdeep::SecondaryVertexFeatures.pt, btagbtvdeep::TrackPairFeatures.pt, btagbtvdeep::JetFeatures.pt, mypt.pt, btagbtvdeep::SeedingTrackFeatures.pt, res::HelperElectron.pt(), res::HelperMuon.pt(), hi::TrackStructure.pt, res::HelperJet.pt(), L1TkMuMantraDF::track_df.pt, Run3ScoutingParticle.pt(), ScoutingParticle.pt(), reco::VoronoiBackground.pt(), L1MuCSCPtLut.pt(), l1t::Vertex.pt(), Residual1DHit.pt, PtHatReweightUserHook.pt, l1tVertexFinder::L1Track.pt(), ScoutingPhoton.pt(), MatchStruct.pt, btagbtvdeep::SeedingTrackInfoBuilder.pt(), L1TkMuMantraDF::muon_df.pt, dnn_inputs_2017v1.pt, ALILine.pt(), trklet::L1SimTrack.pt(), RecoObj.pt, L2TauPixelTrackMatch::TinyTrack.pt, PtEtaPhiMass.pt(), reco::MuonMETCorrectionData.pt(), tauImpactParameter::LorentzVectorParticle.pt, ResonanceBuilder.Resonance.pt(), MTDTrackQualityMVA.pt, DTMuonLocalAlignment.pt, antiElecIDMVA6_blocks::TauVars.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PGlobalSimHit::Trk.pt, HepLine3D.pt(), tmtt::TP.pt(), l1tVertexFinder::VertexNTupler::GenJetsBranchData.pt, TrackSoAHeterogeneousT< S >.pt, L1TkMuonProducer::PropState.pt, trigger::TriggerObject.pt(), PhysicsObjectsMonitor.pt, jpt::Map.pt(), trklet::Track.pt(), l1tVertexFinder::RecoVertex< T >.pt(), RecoVertex< L1Track >.pt(), RecoVertex<>.pt(), TtFullHadSignalSel.pt(), reco::CaloMuon.pt(), BSTrkParameters.pt(), MuScleFitMuon.pt(), trklet::L1TStub.pt(), Run3ScoutingPhoton.pt(), SiStripLAProfileBooker.pt, PTrajectoryStateOnDet.pt(), Run3ScoutingCaloJet.pt(), ScoutingCaloJet.pt(), ScoutingElectron.pt(), l1tVertexFinder::VertexNTupler::GenParticlesBranchData.pt, SimpleL1MuGMTCand.pt(), TauL1TPair.pt(), reco::ForwardProton.pt(), HTrackVariables.pt(), L1MuDTTrack.pt(), L1MuBMTrack.pt(), ValidationMisalignedTracker.pt, susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, BPhysicsValidation::ParticleMonitor.pt, TrajectoryStateClosestToPoint.pt(), Run3ScoutingElectron.pt(), reco::PreId.pt(), Lepton.pt, Run3ScoutingPFJet.pt(), ScoutingPFJet.pt(), TrackerValidationVariables::AVTrackStruct.pt, l1tVertexFinder::VertexNTupler::RecoTracksBranchData.pt, reco::Candidate.pt(), egHLT::OffPho.pt(), MuonResidualsFitter::MuonAlignmentTreeRow.pt, ScoutingMuon.pt(), reco::PFCluster.pt(), tmtt::KFTrackletTrack.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, reco::Particle.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), l1tVertexFinder::VertexNTupler::TrueTracksBranchData.pt, TrackStruct::TrackParameterStruct.pt, CaloParticle.pt(), SimCluster.pt(), reco::ParticleState.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, JetAnalyzer_HeavyIons_matching::MyJet.pt, TrackingParticle.pt(), HGCalClusterT< C >.pt(), reco::LeafCandidate.pt(), tmtt::L1track3D.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, PtHatRapReweightUserHook.pt, Run3ScoutingMuon.pt(), CosmicRateAnalyzer.pt, MuonGmtPair.pt(), pat::MET::Vector2.pt(), RawParticle.pt(), l1t::EMTFTrack.pt, tmtt::L1fittedTrack.pt(), reco::TrackBase.pt(), pat::PackedGenParticle.pt(), L1CaloJetProducer::simpleL1obj.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 PuppiCandidate.pt, eetest::CandForTest.pt(), btagbtvdeep::TrackPairFeatures.pt, btagbtvdeep::JetFeatures.pt, btagbtvdeep::SecondaryVertexFeatures.pt, mypt.pt, btagbtvdeep::SeedingTrackFeatures.pt, res::HelperElectron.pt(), res::HelperMuon.pt(), hi::TrackStructure.pt, res::HelperJet.pt(), L1TkMuMantraDF::track_df.pt, Run3ScoutingParticle.pt(), ScoutingParticle.pt(), reco::VoronoiBackground.pt(), L1MuCSCPtLut.pt(), l1t::Vertex.pt(), Residual1DHit.pt, PtHatReweightUserHook.pt, l1tVertexFinder::L1Track.pt(), ScoutingPhoton.pt(), MatchStruct.pt, btagbtvdeep::SeedingTrackInfoBuilder.pt(), L1TkMuMantraDF::muon_df.pt, RecoObj.pt, dnn_inputs_2017v1.pt, ALILine.pt(), trklet::L1SimTrack.pt(), L2TauPixelTrackMatch::TinyTrack.pt, PtEtaPhiMass.pt(), reco::MuonMETCorrectionData.pt(), tauImpactParameter::LorentzVectorParticle.pt, ResonanceBuilder.Resonance.pt(), MTDTrackQualityMVA.pt, DTMuonLocalAlignment.pt, antiElecIDMVA6_blocks::TauVars.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PGlobalSimHit::Trk.pt, HepLine3D.pt(), tmtt::TP.pt(), l1tVertexFinder::VertexNTupler::GenJetsBranchData.pt, TrackSoAHeterogeneousT< S >.pt, trigger::TriggerObject.pt(), L1TkMuonProducer::PropState.pt, PhysicsObjectsMonitor.pt, trklet::Track.pt(), jpt::Map.pt(), l1tVertexFinder::RecoVertex< T >.pt(), RecoVertex<>.pt(), RecoVertex< L1Track >.pt(), TtFullHadSignalSel.pt(), reco::CaloMuon.pt(), BSTrkParameters.pt(), MuScleFitMuon.pt(), trklet::L1TStub.pt(), Run3ScoutingPhoton.pt(), SiStripLAProfileBooker.pt, PTrajectoryStateOnDet.pt(), Run3ScoutingCaloJet.pt(), ScoutingCaloJet.pt(), ScoutingElectron.pt(), l1tVertexFinder::VertexNTupler::GenParticlesBranchData.pt, SimpleL1MuGMTCand.pt(), TauL1TPair.pt(), reco::ForwardProton.pt(), L1MuDTTrack.pt(), HTrackVariables.pt(), L1MuBMTrack.pt(), ValidationMisalignedTracker.pt, susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, BPhysicsValidation::ParticleMonitor.pt, TrajectoryStateClosestToPoint.pt(), Run3ScoutingElectron.pt(), reco::PreId.pt(), Lepton.pt, Run3ScoutingPFJet.pt(), ScoutingPFJet.pt(), TrackerValidationVariables::AVTrackStruct.pt, l1tVertexFinder::VertexNTupler::RecoTracksBranchData.pt, reco::Candidate.pt(), egHLT::OffPho.pt(), MuonResidualsFitter::MuonAlignmentTreeRow.pt, ScoutingMuon.pt(), reco::PFCluster.pt(), tmtt::KFTrackletTrack.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, reco::Particle.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), l1tVertexFinder::VertexNTupler::TrueTracksBranchData.pt, CaloParticle.pt(), TrackStruct::TrackParameterStruct.pt, SimCluster.pt(), reco::ParticleState.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, JetAnalyzer_HeavyIons_matching::MyJet.pt, TrackingParticle.pt(), reco::LeafCandidate.pt(), HGCalClusterT< C >.pt(), tmtt::L1track3D.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, PtHatRapReweightUserHook.pt, Run3ScoutingMuon.pt(), CosmicRateAnalyzer.pt, MuonGmtPair.pt(), pat::MET::Vector2.pt(), RawParticle.pt(), l1t::EMTFTrack.pt, tmtt::L1fittedTrack.pt(), reco::TrackBase.pt(), pat::PackedGenParticle.pt(), L1CaloJetProducer::simpleL1obj.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(), PuppiCandidate.pt, eetest::CandForTest.pt(), btagbtvdeep::TrackPairFeatures.pt, btagbtvdeep::JetFeatures.pt, btagbtvdeep::SecondaryVertexFeatures.pt, mypt.pt, btagbtvdeep::SeedingTrackFeatures.pt, res::HelperElectron.pt(), res::HelperMuon.pt(), hi::TrackStructure.pt, res::HelperJet.pt(), L1TkMuMantraDF::track_df.pt, Run3ScoutingParticle.pt(), ScoutingParticle.pt(), reco::VoronoiBackground.pt(), L1MuCSCPtLut.pt(), l1t::Vertex.pt(), Residual1DHit.pt, PtHatReweightUserHook.pt, l1tVertexFinder::L1Track.pt(), ScoutingPhoton.pt(), MatchStruct.pt, btagbtvdeep::SeedingTrackInfoBuilder.pt(), L1TkMuMantraDF::muon_df.pt, RecoObj.pt, dnn_inputs_2017v1.pt, ALILine.pt(), trklet::L1SimTrack.pt(), L2TauPixelTrackMatch::TinyTrack.pt, PtEtaPhiMass.pt(), reco::MuonMETCorrectionData.pt(), tauImpactParameter::LorentzVectorParticle.pt, ResonanceBuilder.Resonance.pt(), MTDTrackQualityMVA.pt, DTMuonLocalAlignment.pt, antiElecIDMVA6_blocks::TauVars.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PGlobalSimHit::Trk.pt, HepLine3D.pt(), tmtt::TP.pt(), l1tVertexFinder::VertexNTupler::GenJetsBranchData.pt, TrackSoAHeterogeneousT< S >.pt, trigger::TriggerObject.pt(), L1TkMuonProducer::PropState.pt, PhysicsObjectsMonitor.pt, trklet::Track.pt(), jpt::Map.pt(), l1tVertexFinder::RecoVertex< T >.pt(), RecoVertex<>.pt(), RecoVertex< L1Track >.pt(), TtFullHadSignalSel.pt(), reco::CaloMuon.pt(), BSTrkParameters.pt(), MuScleFitMuon.pt(), trklet::L1TStub.pt(), Run3ScoutingPhoton.pt(), SiStripLAProfileBooker.pt, PTrajectoryStateOnDet.pt(), Run3ScoutingCaloJet.pt(), ScoutingCaloJet.pt(), ScoutingElectron.pt(), l1tVertexFinder::VertexNTupler::GenParticlesBranchData.pt, SimpleL1MuGMTCand.pt(), TauL1TPair.pt(), reco::ForwardProton.pt(), L1MuDTTrack.pt(), HTrackVariables.pt(), L1MuBMTrack.pt(), ValidationMisalignedTracker.pt, susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, BPhysicsValidation::ParticleMonitor.pt, TrajectoryStateClosestToPoint.pt(), Run3ScoutingElectron.pt(), reco::PreId.pt(), Lepton.pt, Run3ScoutingPFJet.pt(), ScoutingPFJet.pt(), TrackerValidationVariables::AVTrackStruct.pt, l1tVertexFinder::VertexNTupler::RecoTracksBranchData.pt, reco::Candidate.pt(), egHLT::OffPho.pt(), MuonResidualsFitter::MuonAlignmentTreeRow.pt, ScoutingMuon.pt(), reco::PFCluster.pt(), tmtt::KFTrackletTrack.pt(), PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex.pt, reco::Particle.pt(), contrib::CMSBoostedTauSeedingAlgorithmStructure.pt(), l1tVertexFinder::VertexNTupler::TrueTracksBranchData.pt, CaloParticle.pt(), TrackStruct::TrackParameterStruct.pt, SimCluster.pt(), reco::ParticleState.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, JetAnalyzer_HeavyIons_matching::MyJet.pt, TrackingParticle.pt(), reco::LeafCandidate.pt(), HGCalClusterT< C >.pt(), tmtt::L1track3D.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, PtHatRapReweightUserHook.pt, Run3ScoutingMuon.pt(), CosmicRateAnalyzer.pt, MuonGmtPair.pt(), pat::MET::Vector2.pt(), RawParticle.pt(), l1t::EMTFTrack.pt, tmtt::L1fittedTrack.pt(), reco::TrackBase.pt(), pat::PackedGenParticle.pt(), L1CaloJetProducer::simpleL1obj.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 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().