Public Attributes | |
associatedVertex | |
rho | |
tightIdResult | |
Private Member Functions | |
def | _physObjInit |
Private Attributes | |
_mvaNonTrigV0 | |
_mvaRun2 | |
_mvaTrigNoIPV0 | |
_mvaTrigV0 | |
Definition at line 6 of file Electron.py.
def Electron.Electron.__init__ | ( | self, | |
args, | |||
kwargs | |||
) |
Initializing tightIdResult to None. The user is responsible for setting this attribute externally if he wants to use the tightId function.
Definition at line 8 of file Electron.py.
References Electron.Electron._physObjInit().
|
private |
Definition at line 15 of file Electron.py.
Referenced by Electron.Electron.__init__(), Photon.Photon.__init__(), and Jet.Jet.__init__().
def Electron.Electron.absIsoWithFSR | ( | self, | |
R = 0.4 , |
|||
puCorr = "rhoArea" , |
|||
dBetaFactor = 0.5 |
|||
) |
Calculate Isolation, subtract FSR, apply specific PU corrections"
Definition at line 278 of file Electron.py.
References Electron.Electron.chargedHadronIsoR(), deltaR(), EcalRegressionData.isEB(), CaloGenericDetId.isEB(), SimpleElectron.isEB(), reco::Photon::FiducialFlags.isEB, reco::Photon.isEB(), reco::GsfElectron::FiducialFlags.isEB, reco::GsfElectron.isEB(), bookConverter.max, Electron.Electron.neutralHadronIsoR(), Electron.Electron.photonIsoR(), Electron.Electron.puChargedHadronIsoR(), python.rootplot.root2matplotlib.replace(), Electron.Electron.rho, AlignmentMonitorMuonSystemMap1D::MyResidual.rho, and objects.JetAnalyzer.JetAnalyzer.rho.
def Electron.Electron.chargedAllIso | ( | self | ) |
Definition at line 269 of file Electron.py.
def Electron.Electron.chargedAllIsoR | ( | self, | |
R = 0.4 |
|||
) |
Definition at line 265 of file Electron.py.
Referenced by Lepton.Lepton.absIsoR(), and Muon.Muon.chargedAllIso().
def Electron.Electron.chargedHadronIsoR | ( | self, | |
R = 0.4 |
|||
) |
Definition at line 250 of file Electron.py.
Referenced by Lepton.Lepton.absIsoR(), Muon.Muon.absIsoWithFSR(), and Electron.Electron.absIsoWithFSR().
def Electron.Electron.cutBasedId | ( | self, | |
wp, | |||
showerShapes = "auto" |
|||
) |
Definition at line 47 of file Electron.py.
References funct.abs(), tauImpactParameter::TrackParticle.dxy, ScoutingMuon.dxy(), reco::PFTauTransverseImpactParameter.dxy(), PrimaryVertexMonitor.dxy, reco::Conversion.dxy(), reco::TrackBase.dxy(), pat::PackedGenParticle.dxy(), Electron.Electron.dxy(), pat::Tau.dxy(), pat::PackedCandidate.dxy(), tauImpactParameter::TrackParticle.dz, egammaisolation::EgammaTrackSelector.dz, HGCalParameters::hgtrap.dz, DDHCalXtalAlgo.dz, RigidBodyAlignmentParameters.dz, ScoutingElectron.dz(), BowedSurfaceAlignmentDerivatives.dz, DDHCalTestBeamAlgo.dz, BowedSurfaceAlignmentParameters.dz, TrackMultiSelector::Block.dz, DTMuonSLToSL.dz, ScoutingMuon.dz(), IdealZDCTrapezoid.dz(), PreshowerStrip.dz(), IdealZPrism.dz(), IdealObliquePrism.dz(), IdealCastorTrapezoid.dz(), pat::VertexAssociation.dz(), PrimaryVertexMonitor.dz, DTMuonMillepede.dz, DTSegmentResult.dz, TrackerValidationVariables::AVTrackStruct.dz, DTHitResult.dz, EcalTrapezoidParameters.dz(), TrackStruct::TrackParameterStruct.dz, MuonGeometryArrange::MGACollection.dz, reco::Conversion.dz(), reco::TrackBase.dz(), pat::PackedGenParticle.dz(), Electron.Electron.dz(), and pat::PackedCandidate.dz().
Referenced by Electron.Electron.electronID().
def Electron.Electron.dxy | ( | self, | |
vertex = None |
|||
) |
Returns dxy. Computed using vertex (or self.associatedVertex if vertex not specified), and the gsf track.
Definition at line 299 of file Electron.py.
References Electron.Electron.associatedVertex, reco::Electron.gsfTrack(), reco::GsfElectronCore.gsfTrack(), reco::RecoCandidate.gsfTrack(), pat::Electron.gsfTrack(), pat::GenericParticle.gsfTrack(), and reco::GsfElectron.gsfTrack().
Referenced by Electron.Electron.cutBasedId().
def Electron.Electron.dz | ( | self, | |
vertex = None |
|||
) |
Returns dz. Computed using vertex (or self.associatedVertex if vertex not specified), and the gsf track.
Definition at line 318 of file Electron.py.
References Electron.Electron.associatedVertex, reco::Electron.gsfTrack(), reco::GsfElectronCore.gsfTrack(), reco::RecoCandidate.gsfTrack(), pat::Electron.gsfTrack(), pat::GenericParticle.gsfTrack(), and reco::GsfElectron.gsfTrack().
Referenced by Electron.Electron.cutBasedId().
def Electron.Electron.edxy | ( | self | ) |
returns the uncertainty on dxy (from gsf track)
Definition at line 308 of file Electron.py.
References reco::Electron.gsfTrack(), reco::GsfElectronCore.gsfTrack(), reco::RecoCandidate.gsfTrack(), pat::Electron.gsfTrack(), pat::GenericParticle.gsfTrack(), and reco::GsfElectron.gsfTrack().
def Electron.Electron.edz | ( | self | ) |
returns the uncertainty on dxz (from gsf track)
Definition at line 327 of file Electron.py.
References reco::Electron.gsfTrack(), reco::GsfElectronCore.gsfTrack(), reco::RecoCandidate.gsfTrack(), pat::Electron.gsfTrack(), pat::GenericParticle.gsfTrack(), and reco::GsfElectron.gsfTrack().
def Electron.Electron.electronID | ( | self, | |
id, | |||
vertex = None , |
|||
rho = None |
|||
) |
Definition at line 24 of file Electron.py.
References Electron.Electron.associatedVertex, Electron.Electron.cutBasedId(), pat::Electron.electronIDs(), Electron.Electron.mvaIDLoose(), Electron.Electron.mvaIDRun2(), Electron.Electron.mvaIDTight(), Electron.Electron.rho, AlignmentMonitorMuonSystemMap1D::MyResidual.rho, and objects.JetAnalyzer.JetAnalyzer.rho.
def Electron.Electron.lostInner | ( | self | ) |
Definition at line 332 of file Electron.py.
References reco::Electron.gsfTrack(), reco::GsfElectronCore.gsfTrack(), reco::RecoCandidate.gsfTrack(), pat::Electron.gsfTrack(), pat::GenericParticle.gsfTrack(), and reco::GsfElectron.gsfTrack().
def Electron.Electron.mvaId | ( | self | ) |
Definition at line 173 of file Electron.py.
References Electron.Electron.mvaNonTrigV0().
Definition at line 219 of file Electron.py.
References funct.abs(), eta, Electron.Electron.mvaNonTrigV0(), 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(), reco::MuonMETCorrectionData.pt(), Residual1DHit.pt, ScoutingElectron.pt(), PtEtaPhiMass.pt(), MatchStruct.pt, PtHatReweightUserHook.pt, MySimTrack.pt, ALILine.pt(), ScoutingMuon.pt(), ScoutingCaloJet.pt(), L2TauPixelTrackMatch::TinyTrack.pt, TrackMultiSelector::Block.pt, ScoutingPFJet.pt(), L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, DTMuonLocalAlignment.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, ElectronMVAEstimator.pt, TtFullHadSignalSel.pt(), PGlobalSimHit::Trk.pt, ZMuMuIsolationAnalyzer.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, reco::CaloMuon.pt(), SiStripLAProfileBooker.pt, jpt::Map.pt(), PhysicsObjectsMonitor.pt, trigger::TriggerObject.pt(), TrackerValidationVariables::AVTrackStruct.pt, BSTrkParameters.pt(), ElectronMVAEstimatorRun2Phys14NonTrig::AllVariables.pt, goodseedhelpers::HeavyObjectCache.pt, MuScleFitMuon.pt(), SoftElectronMVAEstimator.pt, ValidationMisalignedTracker.pt, PTrajectoryStateOnDet.pt(), SimpleL1MuGMTCand.pt(), HTrackVariables.pt(), HepLine3D.pt(), L1MuDTTrack.pt(), ElectronMVAEstimatorRun2Spring15NonTrig::AllVariables.pt, TrajectoryStateClosestToPoint.pt(), L1MuBMTrack.pt(), ElectronMVAEstimatorRun2Spring15Trig::AllVariables.pt, MuonDTLocalMillepedeAlgorithm.pt, BPhysicsValidation::ParticleMonitor.pt, L1TMuon::InternalTrack.pt, susybsm::HSCParticle.pt(), PhotonPair.pt(), QualityCutsAnalyzer::histogram_element_t.pt, MuonGmtPair.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, MuonResidualsFitter::MuonAlignmentTreeRow.pt, CandidateWithRef< Ref >.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, reco::LeafCandidate.pt(), reco::PFCluster.pt(), JetAnalyzer_HeavyIons_matching::MyJet.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, PTrackerSimHit::Trk.pt, reco::Electron.superCluster(), reco::PreshowerClusterShape.superCluster(), reco::RecoEcalCandidate.superCluster(), reco::GsfElectronCore.superCluster(), reco::RecoCandidate.superCluster(), reco::Photon.superCluster(), reco::PhotonCore.superCluster(), pat::Photon.superCluster(), reco::SiStripElectron.superCluster(), pat::Electron.superCluster(), pat::GenericParticle.superCluster(), and reco::GsfElectron.superCluster().
Referenced by Electron.Electron.electronID().
def Electron.Electron.mvaIDRun2 | ( | self, | |
name, | |||
wp | |||
) |
Definition at line 230 of file Electron.py.
References funct.abs(), eta, Electron.Electron.mvaRun2(), reco::Electron.superCluster(), reco::PreshowerClusterShape.superCluster(), reco::RecoEcalCandidate.superCluster(), reco::GsfElectronCore.superCluster(), reco::RecoCandidate.superCluster(), reco::Photon.superCluster(), reco::PhotonCore.superCluster(), pat::Photon.superCluster(), reco::SiStripElectron.superCluster(), pat::Electron.superCluster(), pat::GenericParticle.superCluster(), and reco::GsfElectron.superCluster().
Referenced by Electron.Electron.electronID().
Definition at line 208 of file Electron.py.
References funct.abs(), eta, Electron.Electron.mvaTrigV0(), 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(), reco::MuonMETCorrectionData.pt(), Residual1DHit.pt, ScoutingElectron.pt(), PtEtaPhiMass.pt(), MatchStruct.pt, PtHatReweightUserHook.pt, MySimTrack.pt, ALILine.pt(), ScoutingMuon.pt(), ScoutingCaloJet.pt(), L2TauPixelTrackMatch::TinyTrack.pt, TrackMultiSelector::Block.pt, ScoutingPFJet.pt(), L1Analysis::L1AnalysisRecoMuon2DataFormat.pt, DTMuonLocalAlignment.pt, L1Analysis::L1AnalysisRecoTauDataFormat.pt, ElectronMVAEstimator.pt, TtFullHadSignalSel.pt(), PGlobalSimHit::Trk.pt, ZMuMuIsolationAnalyzer.pt, L1Analysis::L1AnalysisRecoElectronDataFormat.pt, PatTrackAnalyzer::Plots.pt, reco::CaloMuon.pt(), SiStripLAProfileBooker.pt, jpt::Map.pt(), PhysicsObjectsMonitor.pt, trigger::TriggerObject.pt(), TrackerValidationVariables::AVTrackStruct.pt, BSTrkParameters.pt(), ElectronMVAEstimatorRun2Phys14NonTrig::AllVariables.pt, goodseedhelpers::HeavyObjectCache.pt, MuScleFitMuon.pt(), SoftElectronMVAEstimator.pt, ValidationMisalignedTracker.pt, PTrajectoryStateOnDet.pt(), SimpleL1MuGMTCand.pt(), HTrackVariables.pt(), HepLine3D.pt(), L1MuDTTrack.pt(), ElectronMVAEstimatorRun2Spring15NonTrig::AllVariables.pt, TrajectoryStateClosestToPoint.pt(), L1MuBMTrack.pt(), ElectronMVAEstimatorRun2Spring15Trig::AllVariables.pt, MuonDTLocalMillepedeAlgorithm.pt, BPhysicsValidation::ParticleMonitor.pt, L1TMuon::InternalTrack.pt, susybsm::HSCParticle.pt(), PhotonPair.pt(), QualityCutsAnalyzer::histogram_element_t.pt, MuonGmtPair.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, MuonResidualsFitter::MuonAlignmentTreeRow.pt, CandidateWithRef< Ref >.pt(), AlignmentMonitorMuonSystemMap1D::MyTrack.pt, reco::LeafCandidate.pt(), reco::PFCluster.pt(), JetAnalyzer_HeavyIons_matching::MyJet.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, PTrackerSimHit::Trk.pt, reco::Electron.superCluster(), reco::PreshowerClusterShape.superCluster(), reco::RecoEcalCandidate.superCluster(), reco::GsfElectronCore.superCluster(), reco::RecoCandidate.superCluster(), reco::Photon.superCluster(), reco::PhotonCore.superCluster(), pat::Photon.superCluster(), reco::SiStripElectron.superCluster(), pat::Electron.superCluster(), pat::GenericParticle.superCluster(), and reco::GsfElectron.superCluster().
Referenced by Electron.Electron.electronID().
Definition at line 179 of file Electron.py.
References Electron.Electron._mvaNonTrigV0, Electron.Electron.associatedVertex, ElectronMVAID.ElectronMVAID_NonTrig, PhysicsObject.PhysicsObject.physObj, Electron.Electron.rho, AlignmentMonitorMuonSystemMap1D::MyResidual.rho, and objects.JetAnalyzer.JetAnalyzer.rho.
Referenced by Electron.Electron.mvaId(), and Electron.Electron.mvaIDLoose().
Definition at line 200 of file Electron.py.
References Electron.Electron._mvaRun2, Electron.Electron.associatedVertex, PhysicsObject.PhysicsObject.physObj, Electron.Electron.rho, AlignmentMonitorMuonSystemMap1D::MyResidual.rho, and objects.JetAnalyzer.JetAnalyzer.rho.
Referenced by Electron.Electron.mvaIDRun2().
Definition at line 193 of file Electron.py.
References Electron.Electron._mvaTrigNoIPV0, Electron.Electron.associatedVertex, ElectronMVAID.ElectronMVAID_TrigNoIP, PhysicsObject.PhysicsObject.physObj, Electron.Electron.rho, AlignmentMonitorMuonSystemMap1D::MyResidual.rho, and objects.JetAnalyzer.JetAnalyzer.rho.
Definition at line 186 of file Electron.py.
References Electron.Electron._mvaTrigV0, Electron.Electron.associatedVertex, ElectronMVAID.ElectronMVAID_Trig, PhysicsObject.PhysicsObject.physObj, Electron.Electron.rho, AlignmentMonitorMuonSystemMap1D::MyResidual.rho, and objects.JetAnalyzer.JetAnalyzer.rho.
Referenced by Electron.Electron.mvaIDTight().
def Electron.Electron.neutralHadronIsoR | ( | self, | |
R = 0.4 |
|||
) |
Definition at line 255 of file Electron.py.
Referenced by Lepton.Lepton.absIsoR(), Muon.Muon.absIsoWithFSR(), and Electron.Electron.absIsoWithFSR().
def Electron.Electron.p4 | ( | self | ) |
Definition at line 312 of file Electron.py.
References PhysicsObject.PhysicsObject.physObj.
Referenced by Tau.Tau.dxy_approx(), Tau.Tau.dz(), and Jet.Jet.jetID().
def Electron.Electron.photonIsoR | ( | self, | |
R = 0.4 |
|||
) |
Definition at line 260 of file Electron.py.
Referenced by Lepton.Lepton.absIsoR(), Muon.Muon.absIsoWithFSR(), and Electron.Electron.absIsoWithFSR().
def Electron.Electron.puChargedHadronIsoR | ( | self, | |
R = 0.4 |
|||
) |
Definition at line 272 of file Electron.py.
Referenced by Lepton.Lepton.absIsoR(), Muon.Muon.absIsoWithFSR(), and Electron.Electron.absIsoWithFSR().
def Electron.Electron.tightId | ( | self | ) |
Definition at line 176 of file Electron.py.
References Electron.Electron.tightIdResult.
|
private |
Definition at line 19 of file Electron.py.
Referenced by Electron.Electron.mvaNonTrigV0().
|
private |
Definition at line 22 of file Electron.py.
Referenced by Electron.Electron.mvaRun2().
|
private |
Definition at line 21 of file Electron.py.
Referenced by Electron.Electron.mvaTrigNoIPV0().
|
private |
Definition at line 20 of file Electron.py.
Referenced by Electron.Electron.mvaTrigV0().
Electron.Electron.associatedVertex |
Definition at line 17 of file Electron.py.
Referenced by Tau.Tau.dxy(), Muon.Muon.dxy(), Electron.Electron.dxy(), Tau.Tau.dxy_approx(), Tau.Tau.dz(), Muon.Muon.dz(), Electron.Electron.dz(), Electron.Electron.electronID(), Electron.Electron.mvaNonTrigV0(), Electron.Electron.mvaRun2(), Electron.Electron.mvaTrigNoIPV0(), Electron.Electron.mvaTrigV0(), and Tau.Tau.zImpact().
Electron.Electron.rho |
Definition at line 18 of file Electron.py.
Referenced by Lepton.Lepton.absIsoFromEA(), Muon.Muon.absIsoWithFSR(), Electron.Electron.absIsoWithFSR(), Photon.Photon.chargedHadronIso(), Electron.Electron.electronID(), Electron.Electron.mvaNonTrigV0(), Electron.Electron.mvaRun2(), Electron.Electron.mvaTrigNoIPV0(), Electron.Electron.mvaTrigV0(), Photon.Photon.neutralHadronIso(), and Photon.Photon.photonIso().
Electron.Electron.tightIdResult |
Definition at line 16 of file Electron.py.
Referenced by Electron.Electron.tightId().