Public Member Functions | |
def | __str__ (self) |
def | absIsoFromEA (self, area='04') |
def | absIsoR (self, R=0.4, dBetaFactor=0, allCharged=False) |
def | ip3D (self) |
def | lostInner (self) |
def | p4WithFSR (self) |
def | relIso (self, dBetaFactor=0, allCharged=0) |
def | relIsoFromEA (self, area='04') |
def | relIsoR (self, R=0.4, dBetaFactor=0, allCharged=False) |
def | sip3D (self) |
def Lepton.Lepton.__str__ | ( | self | ) |
Definition at line 54 of file Lepton.py.
References IsoTrack.IsoTrack.relIso(), and Lepton.Lepton.relIso().
def Lepton.Lepton.absIsoFromEA | ( | self, | |
area = '04' |
|||
) |
Calculate Isolation using the effective area approach.
Definition at line 14 of file Lepton.py.
References pat::PFIsolation.chargedHadronIso(), Photon.Photon.chargedHadronIso(), pat::Photon.chargedHadronIso(), pat::Lepton< LeptonType >.chargedHadronIso(), pat::Lepton< reco::BaseTau >.chargedHadronIso(), pat::Lepton< reco::GsfElectron >.chargedHadronIso(), pat::Lepton< reco::Muon >.chargedHadronIso(), reco::Photon::PflowIsolationVariables.chargedHadronIso, reco::Photon.chargedHadronIso(), SiStripPI.max, pat::PFIsolation.neutralHadronIso(), Photon.Photon.neutralHadronIso(), pat::Photon.neutralHadronIso(), pat::Lepton< reco::BaseTau >.neutralHadronIso(), pat::Lepton< LeptonType >.neutralHadronIso(), pat::Lepton< reco::GsfElectron >.neutralHadronIso(), pat::Lepton< reco::Muon >.neutralHadronIso(), reco::Photon::PflowIsolationVariables.neutralHadronIso, reco::Photon.neutralHadronIso(), pat::PFIsolation.photonIso(), Photon.Photon.photonIso(), pat::Photon.photonIso(), pat::Lepton< reco::GsfElectron >.photonIso(), pat::Lepton< reco::Muon >.photonIso(), pat::Lepton< LeptonType >.photonIso(), pat::Lepton< reco::BaseTau >.photonIso(), reco::Photon::PflowIsolationVariables.photonIso, reco::Photon.photonIso(), Photon.Photon.rho, Electron.Electron.rho, CaloDetInfo.rho(), CalorimeterProperties.rho(), PreshowerProperties.rho(), TauValidation.rho, ECALProperties.rho(), correctionValue_class.rho, HCALProperties.rho(), MaterialEffectsSimulator.rho(), TangentCircle.rho(), TangentHelix.rho(), FastCircle.rho(), RhoEtaPhi.rho(), reco::GhostTrackPrediction.rho(), QcdLowPtDQM::Pixel.rho(), fastjet::BackgroundEstimator.rho(), StoredPileupJetIdentifier.rho(), FastCircleFit.rho(), reco::CastorCell.rho(), CylindricalState.rho(), reco::CastorEgamma.rho(), reco::CastorJet.rho(), GeometricTimingDet.rho(), GeometricDet.rho(), reco::CastorTower.rho(), reco::CastorCluster.rho(), AlignmentMonitorMuonSystemMap1D::MyResidual.rho, DAClusterizerInZ_vect::vertex_t.rho, HGCalImagingAlgo::Hexel.rho, HGCalCLUEAlgoT< TILE >::CellsOnLayer.rho, DAClusterizerInZT_vect::vertex_t.rho, and objects.JetAnalyzer.JetAnalyzer.rho.
Referenced by Lepton.Lepton.relIsoFromEA().
def Lepton.Lepton.absIsoR | ( | self, | |
R = 0.4 , |
|||
dBetaFactor = 0 , |
|||
allCharged = False |
|||
) |
Isolation in given cone with optional delta-beta subtraction.
Definition at line 28 of file Lepton.py.
References Muon.Muon.chargedAllIsoR(), Electron.Electron.chargedAllIsoR(), Muon.Muon.chargedHadronIsoR(), Electron.Electron.chargedHadronIsoR(), SiStripPI.max, Muon.Muon.neutralHadronIsoR(), Electron.Electron.neutralHadronIsoR(), Muon.Muon.photonIsoR(), Electron.Electron.photonIsoR(), Muon.Muon.puChargedHadronIsoR(), and Electron.Electron.puChargedHadronIsoR().
Referenced by Lepton.Lepton.relIso(), and Lepton.Lepton.relIsoR().
def Lepton.Lepton.ip3D | ( | self | ) |
3D impact parameter value.
Definition at line 5 of file Lepton.py.
References funct.abs(), pat::Electron.dB(), pat::Muon.dB(), pat::Electron.PV3D, and pat::Muon.PV3D.
def Lepton.Lepton.lostInner | ( | self | ) |
Definition at line 42 of file Lepton.py.
References reco::CaloMuon.innerTrack(), reco::Muon.innerTrack(), pat::Muon.innerTrack(), HcalRaddamMuon.innerTrack, and TrackCollections2monitor_cff.numberOfLostHits.
def Lepton.Lepton.p4WithFSR | ( | self | ) |
Definition at line 48 of file Lepton.py.
References CondFormats_CTPPSPixelObjects::dictionary.p4, reco::PUSubMETCandInfo.p4(), InvariantMassFromVertex.p4(), ResonanceBuilder.Resonance.p4(), ParticleLevelProducer.p4(), CondFormats_SiPixelObjects::dictionary.p4, MuScleFitMuon.p4(), tauImpactParameter::LorentzVectorParticle.p4(), reco::Candidate.p4(), TopDecaySubset.p4(), CaloParticle.p4(), PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex.p4, reco::Particle.p4(), SimCluster.p4(), p4, BPHKinematicFit.p4(), reco::MuonSimInfo.p4, TrackingParticle.p4(), reco::ParticleState.p4(), reco::LeafCandidate.p4(), HGCalClusterT< C >.p4(), egHLT::OffPho.p4(), reco::tau::RecoTauConstructor.p4(), egHLT::OffEle.p4(), CaloTower.p4(), reco::Vertex.p4(), pat::PackedGenParticle.p4(), reco::Photon.p4(), Electron.Electron.p4(), pat::PackedCandidate.p4(), and reco::GsfElectron.p4().
def Lepton.Lepton.relIso | ( | self, | |
dBetaFactor = 0 , |
|||
allCharged = 0 |
|||
) |
Relative isolation with default cone size of 0.4.
Definition at line 23 of file Lepton.py.
References Lepton.Lepton.absIsoR(), PuppiCandidate.pt, eetest::CandForTest.pt(), btagbtvdeep::JetFeatures.pt, btagbtvdeep::SecondaryVertexFeatures.pt, btagbtvdeep::TrackPairFeatures.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(), Residual1DHit.pt, PtHatReweightUserHook.pt, L1TkMuMantraDF::muon_df.pt, ScoutingPhoton.pt(), btagbtvdeep::SeedingTrackInfoBuilder.pt(), MatchStruct.pt, dnn_inputs_2017v1.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, antiElecIDMVA6_blocks::TauVars.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, TrackSoAHeterogeneousT< S >.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PGlobalSimHit::Trk.pt, HepLine3D.pt(), tmtt::TP.pt(), PhysicsObjectsMonitor.pt, L1TkMuonProducer::PropState.pt, trigger::TriggerObject.pt(), trklet::Track.pt(), jpt::Map.pt(), TtFullHadSignalSel.pt(), reco::CaloMuon.pt(), trklet::L1TStub.pt(), BSTrkParameters.pt(), MuScleFitMuon.pt(), Run3ScoutingPhoton.pt(), SiStripLAProfileBooker.pt, PTrajectoryStateOnDet.pt(), Run3ScoutingCaloJet.pt(), ScoutingCaloJet.pt(), ScoutingElectron.pt(), SimpleL1MuGMTCand.pt(), TauL1TPair.pt(), reco::ForwardProton.pt(), L1MuDTTrack.pt(), HTrackVariables.pt(), L1MuBMTrack.pt(), ValidationMisalignedTracker.pt, susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, TrajectoryStateClosestToPoint.pt(), BPhysicsValidation::ParticleMonitor.pt, MuonDTLocalMillepedeAlgorithm.pt, Run3ScoutingElectron.pt(), reco::PreId.pt(), Lepton.pt, Run3ScoutingPFJet.pt(), ScoutingPFJet.pt(), TrackerValidationVariables::AVTrackStruct.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(), TrackStruct::TrackParameterStruct.pt, CaloParticle.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, SimCluster.pt(), reco::ParticleState.pt(), CosmicRateAnalyzer.pt, TrackingParticle.pt(), JetAnalyzer_HeavyIons_matching::MyJet.pt, HGCalClusterT< C >.pt(), reco::LeafCandidate.pt(), tmtt::L1track3D.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, PtHatRapReweightUserHook.pt, Run3ScoutingMuon.pt(), MuonGmtPair.pt(), RawParticle.pt(), pat::MET::Vector2.pt(), l1t::EMTFTrack.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 Lepton.Lepton.__str__().
def Lepton.Lepton.relIsoFromEA | ( | self, | |
area = '04' |
|||
) |
Definition at line 20 of file Lepton.py.
References Lepton.Lepton.absIsoFromEA(), PuppiCandidate.pt, eetest::CandForTest.pt(), btagbtvdeep::JetFeatures.pt, btagbtvdeep::SecondaryVertexFeatures.pt, btagbtvdeep::TrackPairFeatures.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(), Residual1DHit.pt, PtHatReweightUserHook.pt, L1TkMuMantraDF::muon_df.pt, ScoutingPhoton.pt(), btagbtvdeep::SeedingTrackInfoBuilder.pt(), MatchStruct.pt, dnn_inputs_2017v1.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, antiElecIDMVA6_blocks::TauVars.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, TrackSoAHeterogeneousT< S >.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PGlobalSimHit::Trk.pt, HepLine3D.pt(), tmtt::TP.pt(), PhysicsObjectsMonitor.pt, L1TkMuonProducer::PropState.pt, trigger::TriggerObject.pt(), trklet::Track.pt(), jpt::Map.pt(), TtFullHadSignalSel.pt(), reco::CaloMuon.pt(), trklet::L1TStub.pt(), BSTrkParameters.pt(), MuScleFitMuon.pt(), Run3ScoutingPhoton.pt(), SiStripLAProfileBooker.pt, PTrajectoryStateOnDet.pt(), Run3ScoutingCaloJet.pt(), ScoutingCaloJet.pt(), ScoutingElectron.pt(), SimpleL1MuGMTCand.pt(), TauL1TPair.pt(), reco::ForwardProton.pt(), L1MuDTTrack.pt(), HTrackVariables.pt(), L1MuBMTrack.pt(), ValidationMisalignedTracker.pt, susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, TrajectoryStateClosestToPoint.pt(), BPhysicsValidation::ParticleMonitor.pt, MuonDTLocalMillepedeAlgorithm.pt, Run3ScoutingElectron.pt(), reco::PreId.pt(), Lepton.pt, Run3ScoutingPFJet.pt(), ScoutingPFJet.pt(), TrackerValidationVariables::AVTrackStruct.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(), TrackStruct::TrackParameterStruct.pt, CaloParticle.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, SimCluster.pt(), reco::ParticleState.pt(), CosmicRateAnalyzer.pt, TrackingParticle.pt(), JetAnalyzer_HeavyIons_matching::MyJet.pt, HGCalClusterT< C >.pt(), reco::LeafCandidate.pt(), tmtt::L1track3D.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, PtHatRapReweightUserHook.pt, Run3ScoutingMuon.pt(), MuonGmtPair.pt(), RawParticle.pt(), pat::MET::Vector2.pt(), l1t::EMTFTrack.pt, tmtt::L1fittedTrack.pt(), reco::TrackBase.pt(), pat::PackedGenParticle.pt(), L1EGCrystalClusterEmulatorProducer::SimpleCaloHit.pt(), pat::PackedCandidate.pt(), PMuonSimHit::Trk.pt, and PTrackerSimHit::Trk.pt.
def Lepton.Lepton.relIsoR | ( | self, | |
R = 0.4 , |
|||
dBetaFactor = 0 , |
|||
allCharged = False |
|||
) |
Definition at line 39 of file Lepton.py.
References Lepton.Lepton.absIsoR(), PuppiCandidate.pt, eetest::CandForTest.pt(), btagbtvdeep::JetFeatures.pt, btagbtvdeep::SecondaryVertexFeatures.pt, btagbtvdeep::TrackPairFeatures.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(), Residual1DHit.pt, PtHatReweightUserHook.pt, L1TkMuMantraDF::muon_df.pt, ScoutingPhoton.pt(), btagbtvdeep::SeedingTrackInfoBuilder.pt(), MatchStruct.pt, dnn_inputs_2017v1.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, antiElecIDMVA6_blocks::TauVars.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, TrackSoAHeterogeneousT< S >.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, PGlobalSimHit::Trk.pt, HepLine3D.pt(), tmtt::TP.pt(), PhysicsObjectsMonitor.pt, L1TkMuonProducer::PropState.pt, trigger::TriggerObject.pt(), trklet::Track.pt(), jpt::Map.pt(), TtFullHadSignalSel.pt(), reco::CaloMuon.pt(), trklet::L1TStub.pt(), BSTrkParameters.pt(), MuScleFitMuon.pt(), Run3ScoutingPhoton.pt(), SiStripLAProfileBooker.pt, PTrajectoryStateOnDet.pt(), Run3ScoutingCaloJet.pt(), ScoutingCaloJet.pt(), ScoutingElectron.pt(), SimpleL1MuGMTCand.pt(), TauL1TPair.pt(), reco::ForwardProton.pt(), L1MuDTTrack.pt(), HTrackVariables.pt(), L1MuBMTrack.pt(), ValidationMisalignedTracker.pt, susybsm::HSCParticle.pt(), QualityCutsAnalyzer::histogram_element_t.pt, TrajectoryStateClosestToPoint.pt(), BPhysicsValidation::ParticleMonitor.pt, MuonDTLocalMillepedeAlgorithm.pt, Run3ScoutingElectron.pt(), reco::PreId.pt(), Lepton.pt, Run3ScoutingPFJet.pt(), ScoutingPFJet.pt(), TrackerValidationVariables::AVTrackStruct.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(), TrackStruct::TrackParameterStruct.pt, CaloParticle.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, SimCluster.pt(), reco::ParticleState.pt(), CosmicRateAnalyzer.pt, TrackingParticle.pt(), JetAnalyzer_HeavyIons_matching::MyJet.pt, HGCalClusterT< C >.pt(), reco::LeafCandidate.pt(), tmtt::L1track3D.pt(), L1Analysis::L1AnalysisRecoMuonDataFormat.pt, PtHatRapReweightUserHook.pt, Run3ScoutingMuon.pt(), MuonGmtPair.pt(), RawParticle.pt(), pat::MET::Vector2.pt(), l1t::EMTFTrack.pt, tmtt::L1fittedTrack.pt(), reco::TrackBase.pt(), pat::PackedGenParticle.pt(), L1EGCrystalClusterEmulatorProducer::SimpleCaloHit.pt(), pat::PackedCandidate.pt(), PMuonSimHit::Trk.pt, and PTrackerSimHit::Trk.pt.
def Lepton.Lepton.sip3D | ( | self | ) |
3D impact parameter significance.
Definition at line 9 of file Lepton.py.
References funct.abs(), pat::Electron.dB(), pat::Muon.dB(), pat::Electron.edB(), pat::Muon.edB(), pat::Electron.PV3D, and pat::Muon.PV3D.