CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
reco::LeafCandidate Class Reference

#include <LeafCandidate.h>

Inheritance diagram for reco::LeafCandidate:
reco::Candidate CaloTower reco::CompositeRefCandidateT< GenParticleRefVector > l1extra::L1EmParticle l1extra::L1EtMissParticle l1extra::L1JetParticle l1extra::L1MuonParticle L1GObject L1MuKBMTrack l1t::HPSPFTau l1t::L1Candidate pat::IsolatedTrack pat::TriggerObject pat::PATObject< reco::LeafCandidate > reco::CaloRecHitCandidate reco::CandidateWithRef< Ref > reco::CastorTower reco::CompositeCandidate reco::CompositePtrCandidate reco::CompositeRefBaseCandidate reco::CompositeRefCandidate reco::CompositeRefCandidateT< D > reco::EcalIsolatedParticleCandidate reco::LeafRefCandidateT reco::RecoCandidate reco::ShallowCloneCandidate reco::ShallowClonePtrCandidate TICLCandidate ZMuMuRochCorAnalyzer.DiMuon

Public Types

typedef int Charge
 electric charge type More...
 
typedef CandidateCollection daughters
 collection of daughter candidates More...
 
typedef unsigned int index
 
typedef math::XYZTLorentzVector LorentzVector
 Lorentz vector. More...
 
typedef math::XYZPoint Point
 point in the space More...
 
typedef math::PtEtaPhiMLorentzVector PolarLorentzVector
 Lorentz vector. More...
 
typedef math::XYZVector Vector
 point in the space More...
 
- Public Types inherited from reco::Candidate
enum  { dimension = 3 }
 
enum  { size = dimension * (dimension + 1) / 2 }
 matix size More...
 
typedef int Charge
 electric charge type More...
 
typedef candidate::const_iterator const_iterator
 
typedef math::Error< dimension >::type CovarianceMatrix
 covariance error matrix (3x3) More...
 
typedef unsigned int index
 index type More...
 
typedef candidate::iterator iterator
 
typedef math::XYZTLorentzVector LorentzVector
 Lorentz vector. More...
 
typedef math::XYZPoint Point
 point in the space More...
 
typedef math::PtEtaPhiMLorentzVector PolarLorentzVector
 Lorentz vector. More...
 
typedef size_t size_type
 
typedef math::XYZVector Vector
 point in the space More...
 

Public Member Functions

Vector boostToCM () const final
 
int charge () const final
 electric charge More...
 
LeafCandidateclone () const override
 returns a clone of the Candidate object More...
 
void construct (int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status)
 
const Candidatedaughter (const std::string &s) const override
 return daughter with a specified role name More...
 
Candidatedaughter (const std::string &s) override
 return daughter with a specified role name More...
 
const Candidatedaughter (size_type) const override
 return daughter at a given position (throws an exception) More...
 
Candidatedaughter (size_type) override
 return daughter at a given position (throws an exception) More...
 
double energy () const final
 energy More...
 
double et () const final
 transverse energy More...
 
double et2 () const final
 transverse energy squared (use this for cut!) More...
 
double eta () const final
 momentum pseudorapidity More...
 
void fillVertexCovariance (CovarianceMatrix &v) const override
 fill SMatrix More...
 
template<typename T >
T get () const
 get a component More...
 
template<typename T , typename Tag >
T get () const
 get a component More...
 
template<typename T >
T get (size_type i) const
 get a component More...
 
template<typename T , typename Tag >
T get (size_type i) const
 get a component More...
 
bool hasMasterClone () const override
 
bool hasMasterClonePtr () const override
 
bool isCaloMuon () const override
 
bool isConvertedPhoton () const override
 
bool isElectron () const override
 
bool isGlobalMuon () const override
 
bool isJet () const override
 
bool isMuon () const override
 
bool isPhoton () const override
 
bool isStandAloneMuon () const override
 
bool isTrackerMuon () const override
 
 LeafCandidate ()
 
template<typename... Args>
 LeafCandidate (Args &&... args)
 
 LeafCandidate (const Candidate &c)
 
 LeafCandidate (LeafCandidate &&)=default
 
 LeafCandidate (LeafCandidate &rh)
 
 LeafCandidate (LeafCandidate const &)=default
 
bool longLived () const final
 is long lived? More...
 
double mass () const final
 mass More...
 
bool massConstraint () const final
 do mass constraint? More...
 
double massSqr () const final
 mass squared More...
 
const CandidateBaseRefmasterClone () const override
 
const CandidatePtrmasterClonePtr () const override
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
Vector momentum () const final
 spatial momentum vector More...
 
const Candidatemother (size_type) const override
 return mother at a given position (throws an exception) More...
 
double mt () const final
 transverse mass More...
 
double mtSqr () const final
 transverse mass squared More...
 
template<typename T >
size_type numberOf () const
 number of components More...
 
template<typename T , typename Tag >
size_type numberOf () const
 number of components More...
 
size_t numberOfDaughters () const override
 number of daughters More...
 
size_t numberOfMothers () const override
 number of mothers More...
 
size_t numberOfSourceCandidatePtrs () const override
 
LeafCandidateoperator= (LeafCandidate &&)=default
 
LeafCandidateoperator= (LeafCandidate const &)=default
 
double p () const final
 magnitude of momentum vector More...
 
const LorentzVectorp4 () const final
 four-momentum Lorentz vector More...
 
int pdgId () const final
 PDG identifier. More...
 
double phi () const final
 momentum azimuthal angle More...
 
const PolarLorentzVectorpolarP4 () const final
 four-momentum Lorentz vector More...
 
double pt () const final
 transverse momentum More...
 
double px () const final
 x coordinate of momentum vector More...
 
double py () const final
 y coordinate of momentum vector More...
 
double pz () const final
 z coordinate of momentum vector More...
 
double rapidity () const final
 rapidity More...
 
void setCharge (Charge q) final
 set electric charge More...
 
void setLongLived () final
 
void setMass (double m) final
 set particle mass More...
 
void setMassConstraint () final
 
void setP4 (const LorentzVector &p4) final
 set 4-momentum More...
 
void setP4 (const PolarLorentzVector &p4) final
 set 4-momentum More...
 
void setPdgId (int pdgId) final
 
void setPz (double pz) final
 
void setStatus (int status) final
 set status word More...
 
void setThreeCharge (Charge qx3) final
 set electric charge More...
 
void setVertex (const Point &vertex) override
 set vertex More...
 
CandidatePtr sourceCandidatePtr (size_type i) const override
 
int status () const final
 status word More...
 
double theta () const final
 momentum polar angle More...
 
int threeCharge () const final
 electric charge More...
 
const Pointvertex () const override
 vertex position (overwritten by PF...) More...
 
double vertexChi2 () const override
 chi-squares More...
 
CovarianceMatrix vertexCovariance () const final
 return SMatrix More...
 
double vertexCovariance (int i, int j) const override
 (i, j)-th element of error matrix, i, j = 0, ... 2 More...
 
double vertexNdof () const override
 
double vertexNormalizedChi2 () const override
 chi-squared divided by n.d.o.f. More...
 
double vx () const override
 x coordinate of vertex position More...
 
double vy () const override
 y coordinate of vertex position More...
 
double vz () const override
 z coordinate of vertex position More...
 
double y () const final
 rapidity More...
 
 ~LeafCandidate () override
 destructor More...
 
- Public Member Functions inherited from reco::Candidate
iterator begin ()
 first daughter iterator More...
 
const_iterator begin () const
 first daughter const_iterator More...
 
virtual const TrackbestTrack () const
 
 Candidate ()
 default constructor More...
 
virtual float dxyError () const
 uncertainty on dxy More...
 
virtual float dzError () const
 uncertainty on dz More...
 
iterator end ()
 last daughter iterator More...
 
const_iterator end () const
 last daughter const_iterator More...
 
template<typename T >
T get () const
 get a component More...
 
template<typename T , typename Tag >
T get () const
 get a component More...
 
template<typename T >
T get (size_type i) const
 get a component More...
 
template<typename T , typename Tag >
T get (size_type i) const
 get a component More...
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
template<typename T >
size_type numberOf () const
 number of components More...
 
template<typename T , typename Tag >
size_type numberOf () const
 number of components More...
 
virtual void setSourceCandidatePtr (const CandidatePtr &ptr)
 Set the ptr to the source Candidate. More...
 
virtual ~Candidate ()
 destructor More...
 

Private Member Functions

bool overlap (const Candidate &) const override
 check overlap with another Candidate More...
 

Private Attributes

ParticleState m_state
 

Friends

class ::OverlapChecker
 
template<typename , typename , typename >
struct component
 
class ShallowCloneCandidate
 
class ShallowClonePtrCandidate
 

Additional Inherited Members

Detailed Description

particle candidate with no constituent nor daughters

Author
Luca Lista, INFN

Definition at line 16 of file LeafCandidate.h.

Member Typedef Documentation

◆ Charge

electric charge type

Definition at line 21 of file LeafCandidate.h.

◆ daughters

collection of daughter candidates

Definition at line 19 of file LeafCandidate.h.

◆ index

typedef unsigned int reco::LeafCandidate::index

Definition at line 31 of file LeafCandidate.h.

◆ LorentzVector

Lorentz vector.

Definition at line 23 of file LeafCandidate.h.

◆ Point

point in the space

Definition at line 27 of file LeafCandidate.h.

◆ PolarLorentzVector

Lorentz vector.

Definition at line 25 of file LeafCandidate.h.

◆ Vector

point in the space

Definition at line 29 of file LeafCandidate.h.

Constructor & Destructor Documentation

◆ LeafCandidate() [1/6]

reco::LeafCandidate::LeafCandidate ( )
inline

Definition at line 33 of file LeafCandidate.h.

33 {}

Referenced by clone().

◆ LeafCandidate() [2/6]

reco::LeafCandidate::LeafCandidate ( const Candidate c)
inlineexplicit

Definition at line 36 of file LeafCandidate.h.

36 : m_state(c.charge(), c.polarP4(), c.vertex(), c.pdgId(), c.status()) {}

◆ LeafCandidate() [3/6]

template<typename... Args>
reco::LeafCandidate::LeafCandidate ( Args &&...  args)
inlineexplicit

Definition at line 40 of file LeafCandidate.h.

40 : m_state(std::forward<Args>(args)...) {}

◆ LeafCandidate() [4/6]

reco::LeafCandidate::LeafCandidate ( LeafCandidate rh)
inline

Definition at line 42 of file LeafCandidate.h.

42 : m_state(rh.m_state) {}

◆ LeafCandidate() [5/6]

reco::LeafCandidate::LeafCandidate ( LeafCandidate &&  )
default

◆ LeafCandidate() [6/6]

reco::LeafCandidate::LeafCandidate ( LeafCandidate const &  )
default

◆ ~LeafCandidate()

LeafCandidate::~LeafCandidate ( )
override

destructor

Definition at line 5 of file LeafCandidate.cc.

5 {}

Member Function Documentation

◆ boostToCM()

Vector reco::LeafCandidate::boostToCM ( ) const
inlinefinalvirtual

boost vector to boost a Lorentz vector to the particle center of mass system

Implements reco::Candidate.

Definition at line 121 of file LeafCandidate.h.

121 { return m_state.boostToCM(); }

References reco::ParticleState::boostToCM(), and m_state.

◆ charge()

int reco::LeafCandidate::charge ( ) const
inlinefinalvirtual

electric charge

Implements reco::Candidate.

Definition at line 106 of file LeafCandidate.h.

106 { return m_state.charge(); }

References reco::ParticleState::charge(), and m_state.

Referenced by ElectronTagProbeAnalyzer::analyze(), ElectronMcSignalValidator::analyze(), EwkMuDQM::analyze(), EwkMuLumiMonitorDQM::analyze(), ElectronMcFakeValidator::analyze(), PFTester::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), HLTMuonMatchAndPlot::analyze(), ZCounting::analyzeElectrons(), MuonToTrackingParticleAssociatorByHitsImpl::associateMuons(), FWPFCandidate3DProxyBuilder::build(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), egHLT::OffEle::charge(), MuonGmtPair::charge(), reco::PFTau::dump(), PFAlgo::egammaFilters(), RecoMuonValidator::MuonME::fill(), EwkElecTauHistManager::fillHistograms(), WZInterestingEventSelector::filter(), MuonMETAlgo::GetMuDepDeltas(), MuonGmtPair::gmtCharge(), reco::GsfElectron::GsfElectron(), HLTDiMuonGlbTrkFilter::hltFilter(), heppy::CMGMuonCleanerBySegmentsAlgo::isBetterMuon(), L1HPSPFTauQualityCut::operator()(), WPlusJetsEventSelector::operator()(), reco::LeafRefCandidateT::overlap(), overlap(), l1t::PFCandidate::PFCandidate(), reco::PFCandidate::PFCandidate(), reco::PFTauDecayMode::PFTauDecayMode(), l1t::PFTrack::PFTrack(), reco::PFRecoTauChargedHadron::print(), printPFCand(), RegressionEnergyPatElectronProducer::produce(), SoftPFElectronTagInfoProducer::produce(), pat::L1MuonMatcher::produce(), MuScleFitMuonSelector::selectMuons(), TtFullHadHypothesis::setCandidate(), TtFullLepHypothesis::setCandidate(), TtSemiLepHypothesis::setCandidate(), l1t::Muon::setHwCharge(), TtSemiLepHypothesis::setNeutrino(), GsfElectronAlgo::setPixelMatchInfomation(), reco::tau::RecoTauBuilderConePlugin::setTauQuantities(), reco::PFCandidate::setTrackRef(), TtSemiEvtSolution::setupHyp(), and reco::PFCandidate::translateTypeToPdgId().

◆ clone()

LeafCandidate* reco::LeafCandidate::clone ( void  ) const
inlineoverridevirtual

◆ construct()

void reco::LeafCandidate::construct ( int  qx3,
float  pt,
float  eta,
float  phi,
float  mass,
const Point vtx,
int  pdgId,
int  status 
)
inline

Definition at line 78 of file LeafCandidate.h.

78  {
79  m_state = ParticleState(qx3, PolarLorentzVector(pt, eta, phi, mass), vtx, pdgId, status, false);
80  }

References eta(), m_state, mass(), pdgId(), phi(), pt(), status(), and extraflags_cff::vtx.

◆ daughter() [1/4]

const Candidate * LeafCandidate::daughter ( const std::string &  s) const
overridevirtual

return daughter with a specified role name

Implements reco::Candidate.

Reimplemented in reco::NamedCompositeCandidate, and reco::LeafRefCandidateT.

Definition at line 33 of file LeafCandidate.cc.

33  {
35  << "This Candidate type does not implement daughter(std::string). "
36  << "Please use CompositeCandidate or NamedCompositeCandidate.\n";
37 }

References Exception, and edm::errors::UnimplementedFeature.

◆ daughter() [2/4]

Candidate * LeafCandidate::daughter ( const std::string &  s)
overridevirtual

return daughter with a specified role name

Implements reco::Candidate.

Reimplemented in reco::NamedCompositeCandidate, and reco::LeafRefCandidateT.

Definition at line 39 of file LeafCandidate.cc.

39  {
41  << "This Candidate type does not implement daughter(std::string). "
42  << "Please use CompositeCandidate or NamedCompositeCandidate.\n";
43 }

References Exception, and edm::errors::UnimplementedFeature.

◆ daughter() [3/4]

const Candidate * LeafCandidate::daughter ( size_type  ) const
overridevirtual

return daughter at a given position (throws an exception)

Implements reco::Candidate.

Reimplemented in reco::CompositeRefCandidateT< GenParticleRefVector >, reco::LeafRefCandidateT, reco::NamedCompositeCandidate, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, l1t::PFJet, and pat::Jet.

Definition at line 29 of file LeafCandidate.cc.

29 { return nullptr; }

◆ daughter() [4/4]

Candidate * LeafCandidate::daughter ( size_type  )
overridevirtual

return daughter at a given position (throws an exception)

Implements reco::Candidate.

Reimplemented in reco::CompositeRefCandidateT< GenParticleRefVector >, reco::LeafRefCandidateT, reco::NamedCompositeCandidate, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.

Definition at line 45 of file LeafCandidate.cc.

45 { return nullptr; }

◆ energy()

double reco::LeafCandidate::energy ( ) const
inlinefinalvirtual

energy

Implements reco::Candidate.

Definition at line 125 of file LeafCandidate.h.

125 { return m_state.energy(); }

References reco::ParticleState::energy(), and m_state.

Referenced by StKinFitter::addKinFitInfo(), TtFullLepKinSolver::addKinSolInfo(), JetValidation::analyze(), PatTauAnalyzer::analyze(), QcdHighPtDQM::analyze(), PFCandidateChecker::analyze(), DQMHcalDiJetsAlCaReco::analyze(), EwkElecDQM::analyze(), ResolutionCreator::analyze(), SimplePhotonAnalyzer::analyze(), PhotonValidatorMiniAOD::analyze(), IsolatedParticlesGeneratedJets::analyze(), ZdcSimHitStudy::analyze(), PhotonValidator::analyze(), PhotonAnalyzer::analyze(), FWHGCalTriggerCellProxyBuilder::build(), FWHGCalTriggerClusterProxyBuilder::build(), FWPFCandidatesLegoProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWJetProxyBuilder::buildViewType(), reco::FlavorHistoryEvent::cache(), reco::helper::CastorJetIDHelper::calculate(), pat::LeptonJetIsolationAngle::calculate(), pat::CaloIsolationEnergy::calculate(), MEzCalculator::Calculate(), HiPuRhoProducer::calculateOrphanInput(), ElectronEnergyCalibrator::calibrate(), reco::CastorTower::CastorTower(), reco::JPTJet::chargedEmEnergyFraction(), reco::PFJet::chargedEmEnergyFraction(), pat::Jet::chargedEmEnergyFraction(), reco::JPTJet::chargedHadronEnergyFraction(), reco::PFJet::chargedHadronEnergyFraction(), pat::Jet::chargedHadronEnergyFraction(), reco::PFJet::chargedMuEnergyFraction(), pat::Jet::chargedMuEnergyFraction(), JetPlusTrackCorrector::correctAA(), L1FastjetCorrector::correction(), L1JPTOffsetCorrector::correction(), L1OffsetCorrector::correction(), L6SLBCorrector::correction(), L1FastjetCorrectorImpl::correction(), L1OffsetCorrectorImpl::correction(), L1JPTOffsetCorrectorImpl::correction(), L6SLBCorrectorImpl::correction(), JetPlusTrackCorrector::correction(), reco::PFJet::electronEnergyFraction(), pat::Jet::electronEnergyFraction(), egHLT::OffPho::energy(), egHLT::OffEle::energy(), CaloTower::energyInHF(), CaloTower::energyInHO(), metsig::SignAlgoResolutions::evalPF(), PFJetIDSelectionFunctor::firstDataCuts(), TtSemiLepKinFitter::fit(), TtFullHadKinFitter::fit(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), PFJetBenchmark::gettrue(), CaloTower::hadP4(), reco::PFJet::HFEMEnergyFraction(), pat::Jet::HFEMEnergyFraction(), reco::PFJet::HFHadronEnergyFraction(), pat::Jet::HFHadronEnergyFraction(), reco::PFJet::hoEnergyFraction(), pat::Jet::hoEnergyFraction(), l1t::HGCalMulticluster::iEnergy(), TauValidation::leadingPionP4(), main(), EGEtScaleSysModifier::modifyObject(), reco::PFJet::muonEnergyFraction(), pat::Jet::muonEnergyFraction(), reco::JPTJet::neutralEmEnergyFraction(), reco::PFJet::neutralEmEnergyFraction(), pat::Jet::neutralEmEnergyFraction(), reco::JPTJet::neutralHadronEnergyFraction(), reco::PFJet::neutralHadronEnergyFraction(), pat::Jet::neutralHadronEnergyFraction(), EleEnergyRetriever::operator()(), TtSemiLRSignalSelObservables::operator()(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), hitfit::LeptonTranslatorBase< AElectron >::operator()(), CaloTower::p4(), reco::PFMETProducerMVA::passPFLooseId(), reco::PFJet::photonEnergyFraction(), pat::Jet::photonEnergyFraction(), CaloTowerCandidateCreator::produce(), EgammaHLTCaloTowerProducer::produce(), CaloTowerFromL1TCreatorForTauHLT::produce(), CaloTowerCreatorForTauHLT::produce(), JetPlusTrackProducer::produce(), NoPileUpPFMEtDataProducer::produce(), CastorClusterProducer::produce(), JetPlusTrackProducerAA::produce(), pat::PATTauProducer::produce(), JetIdSelector< T >::produce(), SmearedJetProducerT< T >::produce(), Jet.Jet::rawEnergy(), pf2pat::PFIsoDepositAlgo::sameParticle(), l1t::HGCalMulticluster::saveEnergyInterpretation(), FWTauProxyBuilderBase::scaleProduct(), ElectronEnergyCalibrator::setEnergyAndSystVarations(), HGCalShowerShape::sigmaRRMean(), TauValidation::spinEffectsZH(), TauValidation::visibleTauEnergy(), and heppy::FSRWeightAlgo::weight().

◆ et()

double reco::LeafCandidate::et ( ) const
inlinefinalvirtual

transverse energy

Implements reco::Candidate.

Definition at line 127 of file LeafCandidate.h.

127 { return m_state.et(); }

References reco::ParticleState::et(), and m_state.

Referenced by l1t::HGCalTower::addEtEm(), l1t::HGCalTower::addEtHad(), StKinFitter::addKinFitInfo(), DQMHcalDiJetsAlCaReco::analyze(), PatPhotonSimpleAnalyzer::analyze(), PFTester::analyze(), SimplePhotonAnalyzer::analyze(), SimplePi0DiscAnalyzer::analyze(), HigPhotonJetHLTOfflineSource::analyze(), PhotonValidator::analyze(), PhotonAnalyzer::analyze(), EgammaObjects::analyzeElectrons(), ExoticaDQM::analyzeMonoElectrons(), ExoticaDQM::analyzeMonoJets(), ExoticaDQM::analyzeMonoMuons(), ExoticaDQM::analyzeMonoPhotons(), EgammaObjects::analyzePhotons(), FWMETGlimpseProxyBuilder::build(), FWL1EtMissParticleGlimpseProxyBuilder::build(), FWPFCandidatesLegoProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWJetProxyBuilder::buildViewType(), EmDQM::checkGeneratedParticlesRequirement(), JetPlusTrackCorrector::correction(), L1JetRecoTreeProducer::doCaloMet(), L1JetRecoTreeProducer::doCaloMetBE(), L1JetRecoTreeProducer::doPFMet(), L1JetRecoTreeProducer::doPFMetNoMu(), egHLT::OffPho::et(), egHLT::OffEle::et(), l1t::TkHTMiss::EtMiss(), l1t::TkEtMiss::etMiss(), l1extra::L1EtMissParticle::etMiss(), L1TEGammaOffline::fillElectrons(), L1TStage2CaloLayer2Offline::fillJets(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), L1TEGammaOffline::fillPhotons(), TtSemiLepKinFitter::fit(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), reco::MET::mEtSig(), EGEtScaleSysModifier::modifyObject(), EG9X105XObjectUpdateModifier::modifyObject(), TtDilepLRSignalSelObservables::operator()(), TtSemiLRSignalSelObservables::operator()(), TtHadLRSignalSelObservables::CompareET::operator()(), TtSemiLRSignalSelObservables::CompareET::operator()(), reco::JPTJet::printJet(), PFCandidateChecker::printJets(), JetEnergyShift::produce(), JetPlusTrackCorrector::rebuildJta(), FWTauProxyBuilderBase::scaleProduct(), l1tp2::CaloTower::setEcalTowerEt(), L1GObject::setEt(), l1t::EGamma::setFootprintEt(), l1tp2::CaloTower::setHcalTowerEt(), l1t::HGCalTower::setHwEtEm(), l1t::HGCalTower::setHwEtHad(), l1t::EGamma::setIsoEt(), l1tp2::CaloTower::setL1egTowerEt(), L1Analysis::L1AnalysisRecoMet::SetMet(), and l1t::EGamma::setRawEt().

◆ et2()

double reco::LeafCandidate::et2 ( ) const
inlinefinalvirtual

transverse energy squared (use this for cut!)

Implements reco::Candidate.

Definition at line 129 of file LeafCandidate.h.

129 { return m_state.et2(); }

References reco::ParticleState::et2(), and m_state.

◆ eta()

double reco::LeafCandidate::eta ( ) const
inlinefinalvirtual

momentum pseudorapidity

Implements reco::Candidate.

Definition at line 152 of file LeafCandidate.h.

152 { return m_state.eta(); }

References reco::ParticleState::eta(), and m_state.

Referenced by Particle.Particle::__str__(), l1t::HGCalTower::addEt(), ZIterativeAlgorithmWithFit::addEvent(), StKinFitter::addKinFitInfo(), reco::tau::RecoTauConstructor::addPiZero(), RPCRecHitProbability::analyze(), JetValidation::analyze(), PatTauAnalyzer::analyze(), RPCMonitorDigi::analyze(), ElectronMcSignalValidatorMiniAOD::analyze(), PFCandidateChecker::analyze(), ElectronTagProbeAnalyzer::analyze(), TagAndProbeBtagTriggerMonitor::analyze(), ElectronMcSignalValidator::analyze(), EwkMuDQM::analyze(), DQMHcalDiJetsAlCaReco::analyze(), EwkElecDQM::analyze(), PatPhotonSimpleAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), PFTester::analyze(), JetTester::analyze(), SimplePhotonAnalyzer::analyze(), ElectronCalibration::analyze(), SimplePi0DiscAnalyzer::analyze(), PhotonValidatorMiniAOD::analyze(), DQMExample_Step1::analyze(), B2GDoubleLeptonHLTValidation::analyze(), B2GHadronicHLTValidation::analyze(), B2GSingleLeptonHLTValidation::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), IsolatedParticlesGeneratedJets::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronDataAnalyzer::analyze(), ZdcSimHitStudy::analyze(), PhotonValidator::analyze(), HLTMuonMatchAndPlot::analyze(), JetTester_HeavyIons::analyze(), JetAnalyzer_HeavyIons::analyze(), IsoTrackCalib::analyze(), JetAnalyzer::analyze(), PhotonAnalyzer::analyze(), ExoticaDQM::analyzeDisplacedLeptons(), ZCounting::analyzeElectrons(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), MuonToTrackingParticleAssociatorByHitsImpl::associateMuons(), AlignmentMuonSelector::basicCuts(), FWJetLegoProxyBuilder::build(), FWCaloTowerDetailView::build(), FWL1MuonParticleLegoProxyBuilder::build(), FWL1JetParticleLegoProxyBuilder::build(), FWPhotonLegoProxyBuilder::build(), FWMuonDetailView::build(), FWMuonLegoProxyBuilder::build(), FWGenParticleLegoProxyBuilder::build(), FWElectronDetailView::build(), FWPFCandidatesLegoProxyBuilder::build(), L1TkMuonProducer::build_tkMuons_from_idxs(), pf2pat::PFIsoDepositAlgo::buildIsoDeposit(), FWMuonBuilder::calculateField(), HiFJGridEmptyAreaCalculator::calculateGridRho(), HiPuRhoProducer::calculateOrphanInput(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), HGCalTriggerCellCalibration::calibrateInMipT(), HGCalTriggerCellCalibration::calibrateMipTinGeV(), l1t::PFJet::calibratePt(), l1t::PFCluster::calibratePt(), HGCalClusteringImpl::calibratePt(), hitfit::LeptonTranslatorBase< AElectron >::CheckEta(), PFMuonAlgo::cleanPunchThroughAndFakes(), TauNNId::compute(), construct(), JetPlusTrackCorrector::correctAA(), LXXXCorrector::correction(), L1FastjetCorrector::correction(), L1OffsetCorrector::correction(), L6SLBCorrector::correction(), LXXXCorrectorImpl::correction(), L1FastjetCorrectorImpl::correction(), L1OffsetCorrectorImpl::correction(), L6SLBCorrectorImpl::correction(), JetPlusTrackCorrector::correction(), l1tpf::corrector::correctPt(), HGCalTriggerClusterIdentificationBDT::decision(), muonisolation::CaloExtractorByAssociator::deposits(), reco::GenJet::detectorEta(), HLTObjectsMonitor::dzFinder(), PFAlgo::egammaFilters(), FWPFCandidateDetailView::eta(), TauL1TPair::eta(), egHLT::OffPho::eta(), egHLT::OffEle::eta(), MuonGmtPair::eta(), metsig::SignAlgoResolutions::evalPF(), lowptgsfeleid::features_V0(), lowptgsfeleid::features_V1(), PFIsolationEstimator::fGetIsolationInRings(), PFJetMonitor::fill(), SingleTopTChannelLepton_miniAOD::MonitorEnsemble::fill(), TopSingleLepton_miniAOD::MonitorEnsemble::fill(), TopSingleLepton::MonitorEnsemble::fill(), SingleTopTChannelLepton::MonitorEnsemble::fill(), L1ValidatorHists::Fill(), RecoMuonValidator::MuonME::fill(), ZeePlots::fillEleClassesPlots(), L1TEGammaOffline::fillElectrons(), ZeeCalibration::fillEleInfo(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), L1TStage2CaloLayer2Offline::fillJets(), l1t::MuonRawDigiTranslator::fillMuonStableQuantities(), tmtt::TP::fillNearestJetInfo(), PFCandidateBenchmark::fillOne(), L1TEGammaOffline::fillPhotons(), GenHTFilter::filter(), ModelpMSSMFilter::filter(), WZInterestingEventSelector::filter(), L1Validator::FindBest(), TtFullLepHypGenMatch::findMatchingLepton(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), TrackIsoCalculator::getBkgSubTrackIso(), calib::CalibElectron::getCalibModulesWeights(), AntiElectronIDMVA6< TauType, ElectronType >::getTauVarsTypeSpecific(), getTheTauJet(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), HGCalTriggerClusterInterpretationEM::interpret(), l1t::HGCalMulticluster::iPolarP4(), CosmicSplitterValidation::is_gold_muon(), PFIsolationEstimator::isChargedParticleVetoed(), BPhysicsOniaDQM::isMuonInAccept(), PFIsolationEstimator::isNeutralParticleVetoed(), EGammaMvaEleEstimator::isoMvaValue(), PFIsolationEstimator::isPhotonParticleVetoed(), FWPFCandidateDetailView::isPntInRng(), L1HPSPFTauBuilder::isWithinIsolationCone(), L1HPSPFTauBuilder::isWithinSignalCone(), L1HPSPFTauBuilder::isWithinStrip(), Jet.Jet::jetID(), main(), fireworks::makeEveJetCone(), L1MuonMatcherAlgo::match(), PFIsolationEstimator::matchPFObject(), reco::RecoTauPiZero::maxDeltaEta(), EG9X105XObjectUpdateModifier::modifyObject(), MuonGmtPair::MuonGmtPair(), ElectronMVAEstimator::mva(), SoftElectronMVAEstimator::mva(), WPlusJetsEventSelector::operator()(), hitfit::LeptonTranslatorBase< AElectron >::operator()(), operator<<(), pat::TriggerObjectStandAlone::packP4(), reco::PFMETProducerMVA::passPFLooseId(), PhotonAnalyzer::photonSelection(), PhotonAnalyzer::photonSelectionSlimmed(), reco::GenericJet::print(), reco::PFRecoTauChargedHadron::print(), reco::RecoTauPiZero::print(), reco::GenJet::print(), PFJetBenchmark::printGenJet(), reco::JPTJet::printJet(), PFCandidateChecker::printJets(), printPFCand(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), RegressionEnergyPatElectronProducer::produce(), pat::BadPFCandidateJetsEEnoiseProducer::produce(), CaloTowerCandidateCreator::produce(), MVAJetPuIdProducer::produce(), HPSPFTauProducer::produce(), EgammaHLTCaloTowerProducer::produce(), CaloTowerFromL1TCreatorForTauHLT::produce(), CaloTowerCreatorForTauHLT::produce(), LeptonInJetProducer< T >::produce(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), BoostedTauSeedsProducer::produce(), CastorClusterProducer::produce(), JetIdSelector< T >::produce(), PileupJetIdProducer::produce(), JetPartonMatcher::produce(), SmearedJetProducerT< T >::produce(), Jet.Jet::puJetId(), JetPlusTrackCorrector::rebuildJta(), L1TkMuonProducer::runOnMTFCollection_v1(), L1TkMuonProducer::runOnMTFCollection_v2(), pf2pat::PFIsoDepositAlgo::sameParticle(), l1t::PFTrack::setCaloEtaPhi(), L1MuKBMTrack::setCoarseEta(), L1GObject::setEta(), reco::HcalIsolatedTrackCandidate::SetEtaPhiEcal(), reco::IsolatedPixelTrackCandidate::setEtaPhiEcal(), reco::HcalIsolatedTrackCandidate::SetEtaPhiHcal(), L1MuKBMTrack::setFineEta(), l1t::L1Candidate::setHwEta(), reco::HcalIsolatedTrackCandidate::setL1(), l1t::HGCalTriggerCell::setPt(), l1t::HGCalClusterT< l1t::HGCalCluster >::setPt(), L1MuKBMTrack::setPtEtaPhi(), pat::Muon::setSimEta(), l1tp2::CaloTower::setTowerEta(), HGCalShowerShape::sigmaEtaEtaTot(), HiFJGridEmptyAreaCalculator::tileIndexEta(), HiFJGridEmptyAreaCalculator::tileIndexEtaJet(), and HGCalTriggerClusterIdentificationBDT::value().

◆ fillVertexCovariance()

void LeafCandidate::fillVertexCovariance ( CovarianceMatrix v) const
overridevirtual

fill SMatrix

Implements reco::Candidate.

Reimplemented in reco::VertexCompositePtrCandidate, and reco::VertexCompositeCandidate.

Definition at line 58 of file LeafCandidate.cc.

58  {
60  << "reco::ConcreteCandidate does not implement vertex covariant matrix.\n";
61 }

References Exception, and edm::errors::UnimplementedFeature.

Referenced by vertexCovariance().

◆ get() [1/4]

template<typename T >
T reco::LeafCandidate::get ( ) const
inline

◆ get() [2/4]

template<typename T , typename Tag >
T reco::LeafCandidate::get ( ) const
inline

◆ get() [3/4]

template<typename T >
T reco::LeafCandidate::get ( size_type  i) const
inline

◆ get() [4/4]

template<typename T , typename Tag >
T reco::LeafCandidate::get ( size_type  i) const
inline

◆ hasMasterClone()

bool LeafCandidate::hasMasterClone ( ) const
overridevirtual

returns true if this candidate has a reference to a master clone. This only happens if the concrete Candidate type is ShallowCloneCandidate

Implements reco::Candidate.

Reimplemented in reco::ShallowCloneCandidate, and reco::LeafRefCandidateT.

Definition at line 12 of file LeafCandidate.cc.

12 { return false; }

Referenced by get(), and numberOf().

◆ hasMasterClonePtr()

bool LeafCandidate::hasMasterClonePtr ( ) const
overridevirtual

returns true if this candidate has a ptr to a master clone. This only happens if the concrete Candidate type is ShallowClonePtrCandidate

Implements reco::Candidate.

Reimplemented in reco::ShallowClonePtrCandidate, and reco::LeafRefCandidateT.

Definition at line 14 of file LeafCandidate.cc.

14 { return false; }

◆ isCaloMuon()

bool LeafCandidate::isCaloMuon ( ) const
overridevirtual

Implements reco::Candidate.

Reimplemented in reco::Muon, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::LeafRefCandidateT.

Definition at line 73 of file LeafCandidate.cc.

73 { return false; }

◆ isConvertedPhoton()

bool LeafCandidate::isConvertedPhoton ( ) const
overridevirtual

Implements reco::Candidate.

Reimplemented in reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::LeafRefCandidateT.

Definition at line 77 of file LeafCandidate.cc.

77 { return false; }

◆ isElectron()

bool LeafCandidate::isElectron ( ) const
overridevirtual

◆ isGlobalMuon()

bool LeafCandidate::isGlobalMuon ( ) const
overridevirtual

Implements reco::Candidate.

Reimplemented in reco::Muon, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::LeafRefCandidateT.

Definition at line 67 of file LeafCandidate.cc.

67 { return false; }

Referenced by Muon.Muon::muonID().

◆ isJet()

bool LeafCandidate::isJet ( ) const
overridevirtual

Implements reco::Candidate.

Reimplemented in reco::Jet, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::LeafRefCandidateT.

Definition at line 79 of file LeafCandidate.cc.

79 { return false; }

◆ isMuon()

bool LeafCandidate::isMuon ( ) const
overridevirtual

Implements reco::Candidate.

Reimplemented in reco::Muon, l1t::PFTrack, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::LeafRefCandidateT.

Definition at line 65 of file LeafCandidate.cc.

65 { return false; }

◆ isPhoton()

bool LeafCandidate::isPhoton ( ) const
overridevirtual

Implements reco::Candidate.

Reimplemented in reco::Photon, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::LeafRefCandidateT.

Definition at line 75 of file LeafCandidate.cc.

75 { return false; }

◆ isStandAloneMuon()

bool LeafCandidate::isStandAloneMuon ( ) const
overridevirtual

Implements reco::Candidate.

Reimplemented in reco::Muon, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::LeafRefCandidateT.

Definition at line 69 of file LeafCandidate.cc.

69 { return false; }

◆ isTrackerMuon()

bool LeafCandidate::isTrackerMuon ( ) const
overridevirtual

Implements reco::Candidate.

Reimplemented in reco::Muon, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::LeafRefCandidateT.

Definition at line 71 of file LeafCandidate.cc.

71 { return false; }

◆ longLived()

bool reco::LeafCandidate::longLived ( ) const
inlinefinalvirtual

is long lived?

Implements reco::Candidate.

Definition at line 187 of file LeafCandidate.h.

187 { return m_state.longLived(); }

References reco::ParticleState::longLived(), and m_state.

◆ mass()

double reco::LeafCandidate::mass ( ) const
inlinefinalvirtual

◆ massConstraint()

bool reco::LeafCandidate::massConstraint ( ) const
inlinefinalvirtual

do mass constraint?

Implements reco::Candidate.

Definition at line 192 of file LeafCandidate.h.

192 { return m_state.massConstraint(); }

References m_state, and reco::ParticleState::massConstraint().

Referenced by CandKinematicVertexFitter::fill().

◆ massSqr()

double reco::LeafCandidate::massSqr ( ) const
inlinefinalvirtual

mass squared

Implements reco::Candidate.

Definition at line 133 of file LeafCandidate.h.

133 { return mass() * mass(); }

References mass().

Referenced by EwkElecDQM::analyze().

◆ masterClone()

const CandidateBaseRef & LeafCandidate::masterClone ( ) const
overridevirtual

returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowCloneCandidate

Implements reco::Candidate.

Reimplemented in reco::ShallowCloneCandidate, and reco::LeafRefCandidateT.

Definition at line 7 of file LeafCandidate.cc.

7  {
8  throw cms::Exception("Invalid Reference") << "this Candidate has no master clone reference."
9  << "Can't call masterClone() method.\n";
10 }

References Exception.

Referenced by get(), masterRef(), and numberOf().

◆ masterClonePtr()

const CandidatePtr & LeafCandidate::masterClonePtr ( ) const
overridevirtual

returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowClonePtrCandidate

Implements reco::Candidate.

Reimplemented in reco::ShallowClonePtrCandidate, and reco::LeafRefCandidateT.

Definition at line 16 of file LeafCandidate.cc.

16  {
17  throw cms::Exception("Invalid Reference") << "this Candidate has no master clone ptr."
18  << "Can't call masterClonePtr() method.\n";
19 }

References Exception.

◆ masterRef()

template<typename Ref >
Ref reco::LeafCandidate::masterRef ( ) const
inline

cast master clone reference to a concrete type

Definition at line 233 of file LeafCandidate.h.

233  {
234  return masterClone().template castTo<Ref>();
235  }

References masterClone().

◆ momentum()

Vector reco::LeafCandidate::momentum ( ) const
inlinefinalvirtual

◆ mother()

const Candidate * LeafCandidate::mother ( size_type  ) const
overridevirtual

return mother at a given position (throws an exception)

Implements reco::Candidate.

Reimplemented in reco::CompositeRefCandidateT< GenParticleRefVector >, reco::LeafRefCandidateT, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.

Definition at line 31 of file LeafCandidate.cc.

31 { return nullptr; }

◆ mt()

double reco::LeafCandidate::mt ( ) const
inlinefinalvirtual

transverse mass

Implements reco::Candidate.

Definition at line 136 of file LeafCandidate.h.

136 { return m_state.mt(); }

References m_state, and reco::ParticleState::mt().

Referenced by reco::WMuNuCandidate::massT(), and reco::WMuNuCandidatePtr::massT().

◆ mtSqr()

double reco::LeafCandidate::mtSqr ( ) const
inlinefinalvirtual

transverse mass squared

Implements reco::Candidate.

Definition at line 138 of file LeafCandidate.h.

138 { return m_state.mtSqr(); }

References m_state, and reco::ParticleState::mtSqr().

◆ numberOf() [1/2]

template<typename T >
size_type reco::LeafCandidate::numberOf ( ) const
inline

number of components

Definition at line 271 of file LeafCandidate.h.

271  {
272  if (hasMasterClone())
273  return masterClone()->numberOf<T>();
274  else
275  return reco::numberOf<T>(*this);
276  }

References hasMasterClone(), and masterClone().

◆ numberOf() [2/2]

template<typename T , typename Tag >
size_type reco::LeafCandidate::numberOf ( ) const
inline

number of components

Definition at line 279 of file LeafCandidate.h.

279  {
280  if (hasMasterClone())
281  return masterClone()->numberOf<T, Tag>();
282  else
283  return reco::numberOf<T, Tag>(*this);
284  }

References hasMasterClone(), and masterClone().

◆ numberOfDaughters()

size_t LeafCandidate::numberOfDaughters ( ) const
overridevirtual

◆ numberOfMothers()

size_t LeafCandidate::numberOfMothers ( ) const
overridevirtual

◆ numberOfSourceCandidatePtrs()

size_t reco::LeafCandidate::numberOfSourceCandidatePtrs ( ) const
inlineoverridevirtual

return the number of source Candidates ( the candidates used to construct this Candidate)

Implements reco::Candidate.

Reimplemented in pat::Photon, pat::Tau, reco::PFTau, pat::Electron, pat::Muon, reco::PFCandidate, and reco::LeafRefCandidateT.

Definition at line 100 of file LeafCandidate.h.

100 { return 0; }

◆ operator=() [1/2]

LeafCandidate& reco::LeafCandidate::operator= ( LeafCandidate &&  )
default

◆ operator=() [2/2]

LeafCandidate& reco::LeafCandidate::operator= ( LeafCandidate const &  )
default

◆ overlap()

bool LeafCandidate::overlap ( const Candidate o) const
overrideprivatevirtual

◆ p()

double reco::LeafCandidate::p ( ) const
inlinefinalvirtual

magnitude of momentum vector

Implements reco::Candidate.

Definition at line 123 of file LeafCandidate.h.

123 { return m_state.p(); }

References m_state, and reco::ParticleState::p().

Referenced by ElectronMcSignalValidatorMiniAOD::analyze(), ElectronMcSignalValidator::analyze(), EwkMuDQM::analyze(), ElectronMcFakeValidator::analyze(), HiggsDQM::analyze(), ElectronCalibration::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronDataAnalyzer::analyze(), ElectronCalibrationUniv::analyze(), MuonToTrackingParticleAssociatorByHitsImpl::associateMuons(), AlignmentMuonSelector::basicCuts(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), PFMuonAlgo::cleanPunchThroughAndFakes(), CaloTower::emP4(), lowptgsfeleid::features_V0(), lowptgsfeleid::features_V1(), RecoMuonValidator::MuonME::fill(), AntiElectronIDMVA6< TauType, ElectronType >::getTauVarsTypeSpecific(), CaloTower::hadP4(), HLTMuonTrackMassFilter::hltFilter(), BPhysicsOniaDQM::isMuonInAccept(), TauValidation::leadingPionP4(), SoftElectronMVAEstimator::mva(), EGammaMvaEleEstimatorCSA14::mvaValue(), EGammaMvaEleEstimator::mvaValue(), GsfEleMinEcalEtCut::operator()(), l1t::HGCalMulticluster::KeyGetter< Iter >::operator()(), CaloTower::p4(), CaloTower::p4_HO(), reco::GenericJet::print(), reco::GenJet::print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), RegressionEnergyPatElectronProducer::produce(), Electron.Electron::ptErr(), l1t::TkMuon::setPattern(), l1t::TkGlbMuon::setTrkPtr(), l1t::TkMuon::setTrkPtr(), and GsfEleMinEcalEtCut::value().

◆ p4()

const LorentzVector& reco::LeafCandidate::p4 ( ) const
inlinefinalvirtual

four-momentum Lorentz vector

Implements reco::Candidate.

Definition at line 114 of file LeafCandidate.h.

114 { return m_state.p4(); }

References m_state, and reco::ParticleState::p4().

Referenced by reco::tau::RecoTauConstructor::addPiZero(), reco::tau::RecoTauConstructor::addTauChargedHadron(), PFCandConnector::analyseNuclearWPrim(), PFCandConnector::analyseNuclearWSec(), QcdHighPtDQM::analyze(), EwkMuLumiMonitorDQM::analyze(), MuonPFAnalyzer::analyze(), ResolutionCreator::analyze(), TTbarSpinCorrHepMCAnalyzer::analyze(), HLTMuonMatchAndPlot::analyze(), B2GDQM::analyzeAllHad(), B2GDQM::analyzeSemiE(), B2GDQM::analyzeSemiMu(), EmbeddingLHEProducer::assign_4vector(), TtSemiLepJetComb::bOverLightQPt(), TtSemiLepJetComb::bQuarkVar(), pf2pat::PFIsoDepositAlgo::buildIsoDeposit(), TtSemiLepJetComb::compareBNeutrino(), TtSemiLepJetComb::compareLeptonNeutrino(), TtSemiLepJetComb::compareTopNeutrino(), TtSemiLepJetComb::compareWNeutrino(), pat::Jet::correctedP4(), pat::Tau::correctedP4(), TauJetCorrector::correction(), ZSPJPTJetCorrector::correction(), LXXXCorrector::correction(), LXXXCorrectorImpl::correction(), JetPlusTrackCorrector::correction(), PFElectronTranslator::createGsfElectrons(), TtSemiLepJetComb::deduceMothers(), PFRecoTauDiscriminationByIsolation::discriminate(), PFRecoTauDiscriminationByIsolationContainer::discriminate(), l1t::TkBsCandidate::dRPhiPair(), Tau.Tau::dxy_approx(), Tau.Tau::dz(), CaloTower::emEt(), CaloTower::et(), JetPartonMatcher::fillAlgoritDefinition(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), JetPartonMatcher::fillPhysicsDefinition(), VBFGenJetFilter::filter(), HLTRHemisphere::filter(), CaloTower::hadEt(), HLTDiMuonGlbTrkFilter::hltFilter(), l1t::HGCalMulticluster::iP4(), TtSemiLepJetComb::lightQVar(), ZToMuMuGammaAnalyzer::mumuGammaInvMass(), ZToMuMuGammaAnalyzer::mumuInvMass(), TtSemiLepJetComb::neutrinoVar(), TtDilepLRSignalSelObservables::operator()(), TtHadLRJetCombObservables::operator()(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), TtSemiLRJetCombObservables::operator()(), Calculate_miniAOD::operator()(), Calculate::operator()(), CaloTower::outerEt(), reco::LeafRefCandidateT::overlap(), overlap(), CaloTower::p(), CaloTower::p4(), Lepton.Lepton::p4WithFSR(), reco::PFTauDecayMode::PFTauDecayMode(), L1TPFMetNoMuProducer::produce(), L1THLTTauMatching::produce(), L1HLTTauMatching::produce(), PFJetsTauOverlapRemoval::produce(), DeltaBetaWeights::produce(), SoftPFElectronTagInfoProducer::produce(), SoftPFMuonTagInfoProducer::produce(), Type0PFMETcorrInputProducer::produce(), reco::PFMETProducerMVA::produce(), MuonProducer::produce(), L1CaloJetProducer::produce(), TauSpinnerCMS::readParticlesfromReco(), TtSemiLepJetComb::relativePtHadronicTop(), reco::PFCandidate::rescaleMomentum(), TtFullHadHypothesis::setCandidate(), TtFullLepHypothesis::setCandidate(), TtSemiLepHypothesis::setCandidate(), reco::GsfElectron::setCorrectedEcalEnergy(), setP4(), reco::GsfElectron::setP4(), reco::tau::RecoTauBuilderConePlugin::setTauQuantities(), TtSemiEvtSolution::setupHyp(), pat::TriggerObjectStandAlone::triggerObject(), l1t::HGCalClusterT< l1t::HGCalCluster >::updateP4AndPosition(), and l1tpf_impl::COEFile::writeTracksToFile().

◆ pdgId()

int reco::LeafCandidate::pdgId ( ) const
inlinefinalvirtual

PDG identifier.

Implements reco::Candidate.

Definition at line 176 of file LeafCandidate.h.

176 { return m_state.pdgId(); }

References m_state, and reco::ParticleState::pdgId().

Referenced by Particle.Particle::__str__(), PFTester::analyze(), ResolutionCreator::analyze(), ZdcSimHitStudy::analyze(), ExoticaDQM::analyzeDisplacedJets(), ExoticaDQM::analyzeDisplacedLeptons(), reco::PFCandidate::bestTrack(), TopDecaySubset::checkShowerModel(), construct(), TauValidation::countParticles(), TopGenEvent::daughterQuarkOfTop(), PFIsolationEstimator::fGetIsolationInRings(), CandKinematicVertexFitter::fill(), JetPartonMatcher::fillAlgoritDefinition(), BPhysicsValidation::FillDaughters(), JetPartonMatcher::fillPhysicsDefinition(), DYToMuMuGenFilter::filter(), GenHFHadronMatcher::findHadronJets(), TauValidation::findMother(), TauValidation::FindPhotosFSR(), TauValidation::findTauList(), TauSpinnerCMS::GetLastSelf(), TauValidation::GetMother(), TauValidation::GetMothers(), ttHFGenFilter::GetTops(), PFJetBenchmark::gettrue(), TrackClassifier::hadronFlavor(), GenParticlesHelper::hasAncestor(), HGCalTriggerNtupleGenTau::isChargedHadron(), HGCalTriggerNtupleGenTau::isChargedHadronFromResonance(), HGCalTriggerNtupleGenTau::isElectron(), TauSpinnerCMS::isFirst(), HGCalTriggerNtupleGenTau::isGamma(), HGCalTriggerNtupleGenTau::isGoodTau(), HGCalTriggerNtupleGenTau::isIntermediateResonance(), HGCalTriggerNtupleGenTau::isMuon(), HGCalTriggerNtupleGenTau::isNeutralPion(), HGCalTriggerNtupleGenTau::isNeutralPionFromResonance(), HGCalTriggerNtupleGenTau::isStableLepton(), HGCalTriggerNtupleGenTau::isStableNeutralHadron(), TauValidation::leadingPionP4(), BasicGenParticleValidation::matchParticles(), PFIsolationEstimator::matchPFObject(), reco::RecoTauPiZero::numberOfElectrons(), reco::RecoTauPiZero::numberOfGammas(), TtDilepLRSignalSelObservables::operator()(), l1tVertexFinder::operator<<(), reco::PFCandidate::particleId(), reco::PFRecoTauChargedHadron::print(), reco::GenJet::print(), PFJetBenchmark::printGenJet(), PFTauElecRejectionBenchmark::process(), GenVisTauProducer::produce(), HLTTauMCProducer::produce(), PartonSelector::produce(), JetPartonMatcher::produce(), TauSpinnerCMS::readParticlesfromReco(), btagbtvdeep::recoCandidateToFeatures(), setPdgId(), TauValidation::spinEffectsZH(), pat::TriggerObjectStandAlone::triggerObject(), TauValidation::visibleTauEnergy(), and heppy::FSRWeightAlgo::weight().

◆ phi()

double reco::LeafCandidate::phi ( ) const
inlinefinalvirtual

momentum azimuthal angle

Implements reco::Candidate.

Definition at line 148 of file LeafCandidate.h.

148 { return m_state.phi(); }

References m_state, and reco::ParticleState::phi().

Referenced by Particle.Particle::__str__(), reco::WMuNuCandidate::acop(), l1t::HGCalTower::addEt(), ZIterativeAlgorithmWithFit::addEvent(), reco::tau::RecoTauConstructor::addPiZero(), RPCRecHitProbability::analyze(), PatTauAnalyzer::analyze(), PFCandidateChecker::analyze(), ElectronTagProbeAnalyzer::analyze(), TagAndProbeBtagTriggerMonitor::analyze(), ElectronMcSignalValidator::analyze(), DQMHcalDiJetsAlCaReco::analyze(), EwkElecDQM::analyze(), METMonitor::analyze(), PatPhotonSimpleAnalyzer::analyze(), EwkMuLumiMonitorDQM::analyze(), ElectronMcFakeValidator::analyze(), ObjMonitor::analyze(), PFTester::analyze(), JetTester::analyze(), TopMonitor::analyze(), SimplePhotonAnalyzer::analyze(), HTMonitor::analyze(), SimplePi0DiscAnalyzer::analyze(), PhotonValidatorMiniAOD::analyze(), HigPhotonJetHLTOfflineSource::analyze(), DQMExample_Step1::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), IsolatedParticlesGeneratedJets::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronDataAnalyzer::analyze(), ZdcSimHitStudy::analyze(), PhotonValidator::analyze(), HLTMuonMatchAndPlot::analyze(), JetTester_HeavyIons::analyze(), JetAnalyzer_HeavyIons::analyze(), JetAnalyzer::analyze(), PhotonAnalyzer::analyze(), B2GDQM::analyzeAllHad(), ZCounting::analyzeElectrons(), ExoticaDQM::analyzeMonoElectrons(), ExoticaDQM::analyzeMonoJets(), ExoticaDQM::analyzeMonoMuons(), ExoticaDQM::analyzeMonoPhotons(), B2GDQM::analyzeSemiE(), B2GDQM::analyzeSemiMu(), JetTracksAssociationXtrpCalo::associateInputTracksToJet(), MuonToTrackingParticleAssociatorByHitsImpl::associateMuons(), AlignmentMuonSelector::basicCuts(), FWJetLegoProxyBuilder::build(), FWCaloTowerDetailView::build(), FWL1JetParticleLegoProxyBuilder::build(), FWL1MuonParticleLegoProxyBuilder::build(), FWMETGlimpseProxyBuilder::build(), FWMETLegoProxyBuilder::build(), FWPhotonLegoProxyBuilder::build(), FWL1EtMissParticleLegoProxyBuilder::build(), FWL1EtMissParticleGlimpseProxyBuilder::build(), FWMuonDetailView::build(), FWMuonLegoProxyBuilder::build(), FWL1EmParticleProxyBuilder::build(), FWL1EtMissParticleProxyBuilder::build(), FWL1JetParticleProxyBuilder::build(), FWL1MuonParticleProxyBuilder::build(), FWGenParticleLegoProxyBuilder::build(), FWElectronDetailView::build(), FWPFCandidatesLegoProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), pf2pat::PFIsoDepositAlgo::buildIsoDeposit(), FWJetProxyBuilder::buildViewType(), reco::helper::CastorJetIDHelper::calculate(), GlobalHaloAlgo::Calculate(), HiPuRhoProducer::calculateOrphanInput(), PFMETBenchmark::calculateQuantities(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), HGCalTriggerCellCalibration::calibrateMipTinGeV(), l1t::PFJet::calibratePt(), l1t::PFCluster::calibratePt(), HGCalClusteringImpl::calibratePt(), TauNNId::compute(), construct(), L6SLBCorrector::correction(), L6SLBCorrectorImpl::correction(), JetPlusTrackCorrector::correction(), EMEnrichingFilterAlgo::deltaRxyAtEE(), muonisolation::CaloExtractorByAssociator::deposits(), L1JetRecoTreeProducer::doCaloMet(), L1JetRecoTreeProducer::doCaloMetBE(), L1JetRecoTreeProducer::doPFMet(), L1JetRecoTreeProducer::doPFMetNoMu(), HLTObjectsMonitor::dzFinder(), PFAlgo::egammaFilters(), metsig::SignAlgoResolutions::evalPF(), lowptgsfeleid::features_V0(), lowptgsfeleid::features_V1(), PFIsolationEstimator::fGetIsolationInRings(), PFJetMonitor::fill(), L1ValidatorHists::Fill(), RecoMuonValidator::MuonME::fill(), L1TEGammaOffline::fillElectrons(), ZeeCalibration::fillEleInfo(), JetDQM::fillHistograms(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), L1TStage2CaloLayer2Offline::fillJets(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), l1t::MuonRawDigiTranslator::fillMuonStableQuantities(), tmtt::TP::fillNearestJetInfo(), PFCandidateBenchmark::fillOne(), MatchMETBenchmark::fillOne(), L1TEGammaOffline::fillPhotons(), WZInterestingEventSelector::filter(), L1Validator::FindBest(), TtFullLepHypGenMatch::findMatchingLepton(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), AntiElectronIDMVA6< TauType, ElectronType >::getTauVarsTypeSpecific(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), l1t::HGCalMulticluster::iPolarP4(), PFIsolationEstimator::isChargedParticleVetoed(), PFIsolationEstimator::isNeutralParticleVetoed(), EGammaMvaEleEstimator::isoMvaValue(), PFIsolationEstimator::isPhotonParticleVetoed(), FWPFCandidateDetailView::isPntInRng(), L1HPSPFTauBuilder::isWithinIsolationCone(), L1HPSPFTauBuilder::isWithinSignalCone(), L1HPSPFTauBuilder::isWithinStrip(), TauL1TPair::l1tPhi(), main(), fireworks::makeEveJetCone(), L1MuonMatcherAlgo::match(), PFIsolationEstimator::matchPFObject(), MuonGmtPair::MuonGmtPair(), WPlusJetsEventSelector::operator()(), JetIDStudiesSelector::operator()(), operator<<(), pat::TriggerObjectStandAlone::packP4(), FWPFCandidateDetailView::phi(), TauL1TPair::phi(), egHLT::OffPho::phi(), egHLT::OffEle::phi(), MuonGmtPair::phi(), ntupleDataFormat.Track::phiPull(), reco::GenericJet::print(), reco::PFRecoTauChargedHadron::print(), reco::RecoTauPiZero::print(), reco::GenJet::print(), PFJetBenchmark::printGenJet(), reco::JPTJet::printJet(), PFCandidateChecker::printJets(), printPFCand(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), RegressionEnergyPatElectronProducer::produce(), CaloTowerCandidateCreator::produce(), MVAJetPuIdProducer::produce(), HPSPFTauProducer::produce(), EgammaHLTCaloTowerProducer::produce(), NoPileUpPFMEtProducer::produce(), CaloTowerFromL1TCreatorForTauHLT::produce(), CaloTowerCreatorForTauHLT::produce(), LeptonInJetProducer< T >::produce(), BoostedTauSeedsProducer::produce(), reco::PFMETProducerMVA::produce(), CastorClusterProducer::produce(), PileupJetIdProducer::produce(), JetPartonMatcher::produce(), SmearedJetProducerT< T >::produce(), JetPlusTrackCorrector::rebuildJta(), l1t::PFTrack::setCaloEtaPhi(), L1MuKBMTrack::setCoordinates(), L1MuKBMTrack::setCoordinatesAtMuon(), L1MuKBMTrack::setCoordinatesAtVertex(), reco::HcalIsolatedTrackCandidate::SetEtaPhiEcal(), reco::IsolatedPixelTrackCandidate::setEtaPhiEcal(), reco::HcalIsolatedTrackCandidate::SetEtaPhiHcal(), l1t::L1Candidate::setHwPhi(), reco::HcalIsolatedTrackCandidate::setL1(), L1Analysis::L1AnalysisRecoMet::SetMet(), L1GObject::setPhi(), l1t::HGCalTriggerCell::setPt(), l1t::HGCalClusterT< l1t::HGCalCluster >::setPt(), L1MuKBMTrack::setPtEtaPhi(), pat::Muon::setSimPhi(), l1tp2::CaloTower::setTowerPhi(), HGCalShowerShape::sigmaPhiPhiTot(), pat::LeptonJetIsolationAngle::spaceAngle(), HiFJGridEmptyAreaCalculator::tileIndexPhi(), reco::IsolatedPixelTrackCandidate::towerIndex(), and heppy::FSRWeightAlgo::weight().

◆ polarP4()

const PolarLorentzVector& reco::LeafCandidate::polarP4 ( ) const
inlinefinalvirtual

four-momentum Lorentz vector

Implements reco::Candidate.

Definition at line 116 of file LeafCandidate.h.

116 { return m_state.polarP4(); }

References m_state, and reco::ParticleState::polarP4().

Referenced by pat::L1MuonMatcher::produce(), pat::PATElectronProducer::setElectronMiniIso(), and pat::PATMuonProducer::setMuonMiniIso().

◆ pt()

double reco::LeafCandidate::pt ( ) const
inlinefinalvirtual

transverse momentum

Implements reco::Candidate.

Definition at line 146 of file LeafCandidate.h.

146 { return m_state.pt(); }

References m_state, and reco::ParticleState::pt().

Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), l1t::HGCalTower::addEt(), StKinFitter::addKinFitInfo(), reco::tau::RecoTauConstructor::addPiZero(), RPCRecHitProbability::analyze(), JetValidation::analyze(), PatTauAnalyzer::analyze(), RPCMonitorDigi::analyze(), ElectronMcSignalValidatorMiniAOD::analyze(), ElectronTagProbeAnalyzer::analyze(), TagAndProbeBtagTriggerMonitor::analyze(), ElectronMcSignalValidator::analyze(), EwkMuDQM::analyze(), SUSYDQMAnalyzer::analyze(), EwkElecDQM::analyze(), METMonitor::analyze(), EwkMuLumiMonitorDQM::analyze(), ElectronMcFakeValidator::analyze(), MuonPFAnalyzer::analyze(), ObjMonitor::analyze(), JetTester::analyze(), TopMonitor::analyze(), HiggsDQM::analyze(), DQMExample_Step1::analyze(), B2GDoubleLeptonHLTValidation::analyze(), B2GHadronicHLTValidation::analyze(), B2GSingleLeptonHLTValidation::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), IsolatedParticlesGeneratedJets::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronDataAnalyzer::analyze(), HLTMuonMatchAndPlot::analyze(), DiMuonVertexValidation::analyze(), DiElectronVertexValidation::analyze(), JetTester_HeavyIons::analyze(), JetAnalyzer_HeavyIons::analyze(), IsoTrackCalib::analyze(), JetAnalyzer::analyze(), ZToMuMuGammaAnalyzer::analyze(), BeamHaloAnalyzer::analyze(), B2GDQM::analyzeAllHad(), ExoticaDQM::analyzeDisplacedLeptons(), ZCounting::analyzeElectrons(), B2GDQM::analyzeSemiE(), B2GDQM::analyzeSemiMu(), MuonToTrackingParticleAssociatorByHitsImpl::associateMuons(), AlignmentMuonSelector::basicCuts(), FWL1EmParticleProxyBuilder::build(), FWL1EtMissParticleProxyBuilder::build(), FWL1JetParticleProxyBuilder::build(), FWL1MuonParticleProxyBuilder::build(), FWPFCandidatesLegoProxyBuilder::build(), pat::LeptonJetIsolationAngle::calculate(), GlobalHaloAlgo::Calculate(), FWMuonBuilder::calculateField(), HiFJGridEmptyAreaCalculator::calculateGridRho(), HiPuRhoProducer::calculateOrphanInput(), PFMETBenchmark::calculateQuantities(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), HGCalClusteringDummyImpl::calibratePt(), l1t::PFCluster::calibratePt(), HGCalClusteringImpl::calibratePt(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), PFMuonAlgo::cleanMismeasured(), PFMuonAlgo::cleanPunchThroughAndFakes(), HGCalConcentratorCoarsenerImpl::coarsen(), l1tp2::compare_cluster_pt(), CMSDAS11DijetAnalyzer::compare_JetPt(), CMSDAS11DijetTestAnalyzer::compare_JetPt(), PileupJetIdAlgo::computeIdVariables(), construct(), LXXXCorrector::correction(), L1FastjetCorrector::correction(), L1OffsetCorrector::correction(), L6SLBCorrector::correction(), LXXXCorrectorImpl::correction(), L1FastjetCorrectorImpl::correction(), L1OffsetCorrectorImpl::correction(), L6SLBCorrectorImpl::correction(), JetPlusTrackCorrector::correction(), l1tpf::corrector::correctPt(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), HGCalTriggerClusterIdentificationBDT::decision(), reco::PFTau::dump(), HLTObjectsMonitor::dzFinder(), PFAlgo::egammaFilters(), WZInterestingEventSelector::electronSelection(), l1t::PFCluster::emEt(), lowptgsfeleid::features_V0(), lowptgsfeleid::features_V1(), PFIsolationEstimator::fGetIsolationInRings(), PFJetMonitor::fill(), SingleTopTChannelLepton_miniAOD::MonitorEnsemble::fill(), TopSingleLepton_miniAOD::MonitorEnsemble::fill(), TopSingleLepton::MonitorEnsemble::fill(), SingleTopTChannelLepton::MonitorEnsemble::fill(), TopDiLeptonOffline::MonitorEnsemble::fill(), L1ValidatorHists::Fill(), RecoMuonValidator::MuonME::fill(), JetPartonMatcher::fillAlgoritDefinition(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), METAnalyzer::fillMonitorElement(), tmtt::TP::fillNearestJetInfo(), MatchMETBenchmark::fillOne(), PFCandidateBenchmark::fillOne(), HLTHcalMETNoiseCleaner::filter(), NJetsMC::filter(), GenHTFilter::filter(), ModelpMSSMFilter::filter(), WZInterestingEventSelector::filter(), LeptonRecoSkim::filter(), DeepTauId::findMatchedElectron(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), getTheElectron(), getTheMuon(), getTheTauJet(), L1TTauOffline::getTightMuons(), MuonGmtPair::gmtPt(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), l1t::HGCalMulticluster::iPolarP4(), l1t::HGCalMulticluster::iPt(), heppy::CMGMuonCleanerBySegmentsAlgo::isBetterMuon(), PFIsolationEstimator::isChargedParticleVetoed(), BPhysicsOniaDQM::isMuonInAccept(), EGammaMvaEleEstimator::isoMvaValue(), GsfElectronProducer::isPreselected(), TauL1TPair::l1tPt(), main(), PFIsolationEstimator::matchPFObject(), pat::MHT::mht(), ElectronMVAEstimator::mva(), SoftElectronMVAEstimator::mva(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), PhotonMVAEstimator::mvaValue(), EGammaMvaEleEstimatorCSA14::mvaValue(), EGammaMvaEleEstimator::mvaValue(), GsfEleMinEcalEtCut::operator()(), L1HPSPFTauQualityCut::operator()(), TtHadLRJetCombObservables::operator()(), L2TauJetsMerger::SorterByPt::operator()(), WSelector::operator()(), WSelectorFast::operator()(), TtSemiLepSignalSelMVATrainer::JetwithHigherPt::operator()(), WPlusJetsEventSelector::operator()(), TtSemiLRJetCombObservables::operator()(), ZElectronsSelector::operator()(), operator<<(), muon::overlap(), pat::TriggerObjectStandAlone::packP4(), PFEGammaFilters::passGsfElePreSelWithOnlyConeHadem(), ElectronIdentifier::passID(), l1t::PFTau::passLooseNN(), l1t::PFTau::passTightNN(), EgammaCutBasedEleId::PassTriggerCuts(), PhotonAnalyzer::photonSelection(), PhotonAnalyzer::photonSelectionSlimmed(), PFMuonAlgo::postClean(), PFAlgo::postCleaning(), reco::GenericJet::print(), PatJetAnalyzer::print(), reco::PFRecoTauChargedHadron::print(), reco::RecoTauPiZero::print(), reco::GenJet::print(), PFJetBenchmark::printGenJet(), printPFCand(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), RegressionEnergyPatElectronProducer::produce(), L1THLTTauMatching::produce(), L1HLTTauMatching::produce(), reco::ParticleFlowForChargedMETProducer::produce(), pat::BadPFCandidateJetsEEnoiseProducer::produce(), MVAJetPuIdProducer::produce(), HPSPFTauProducer::produce(), QjetsAdder::produce(), SoftPFElectronTagInfoProducer::produce(), SoftPFMuonTagInfoProducer::produce(), NoPileUpPFMEtProducer::produce(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), LeptonInJetProducer< T >::produce(), BoostedTauSeedsProducer::produce(), reco::PFMETProducerMVA::produce(), Phase1L1TJetCalibrator::produce(), Phase1L1TJetProducer::produce(), CandMCMatchTableProducer::produce(), PileupJetIdProducer::produce(), JetPartonMatcher::produce(), SmearedJetProducerT< T >::produce(), TauL1TPair::pt(), egHLT::OffPho::pt(), MuonGmtPair::pt(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), Jet.Jet::setCorrP4(), l1t::L1Candidate::setHwPt(), reco::HcalIsolatedTrackCandidate::setL1(), l1t::HGCalTriggerCell::setPt(), l1t::HGCalClusterT< l1t::HGCalCluster >::setPt(), L1MuKBMTrack::setPtEtaPhi(), L1MuKBMTrack::setPtUnconstrained(), pat::Muon::setSimPt(), reco::tau::RecoTauBuilderConePlugin::setTauQuantities(), L1TMuonBarrelKalmanRegionModule::sort4(), EgammaCutBasedEleId::TestWP(), PFMuonAlgo::tracksWithBetterMET(), HGCalConcentratorCoarsenerImpl::updateCoarseTriggerCellMaps(), GsfEleMinEcalEtCut::value(), GsfEleEffAreaPFIsoCut::value(), GsfEleCalPFClusterIsoCut::value(), and HGCalTriggerClusterIdentificationBDT::value().

◆ px()

double reco::LeafCandidate::px ( ) const
inlinefinalvirtual

x coordinate of momentum vector

Implements reco::Candidate.

Definition at line 140 of file LeafCandidate.h.

140 { return m_state.px(); }

References m_state, and reco::ParticleState::px().

Referenced by StKinFitter::addKinFitInfo(), TtFullLepKinSolver::addKinSolInfo(), EwkMuDQM::analyze(), EwkElecDQM::analyze(), EwkMuLumiMonitorDQM::analyze(), HiggsDQM::analyze(), FWPFCandidate3DProxyBuilder::build(), reco::FlavorHistoryEvent::cache(), pat::LeptonJetIsolationAngle::calculate(), MEzCalculator::Calculate(), HiPuRhoProducer::calculateOrphanInput(), PFMETBenchmark::calculateQuantities(), PFMuonAlgo::cleanMismeasured(), L1JPTOffsetCorrector::correction(), L1JPTOffsetCorrectorImpl::correction(), JetPlusTrackCorrector::correction(), L1JetRecoTreeProducer::doPFMet(), L1JetRecoTreeProducer::doPFMetNoMu(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), MatchMETBenchmark::fillOne(), PFMETMonitor::fillOne(), TtSemiLepKinFitter::fit(), TtFullHadKinFitter::fit(), PFMuonAlgo::getMinMaxMET2(), L1TTauOffline::getTightMuons(), PFIsolationEstimator::isChargedParticleVetoed(), TauValidation::leadingPionP4(), reco::IsolatedTauTagInfo::leadingSignalTrack(), main(), reco::WMuNuCandidate::massT(), BasicGenParticleValidation::matchParticles(), TtSemiLRSignalSelObservables::operator()(), hitfit::LeptonTranslatorBase< AElectron >::operator()(), Calculate_miniAOD::operator()(), Calculate::operator()(), PFMuonAlgo::postClean(), PFAlgo::postCleaning(), reco::GenericJet::print(), MEzCalculator::Print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), PFTauElecRejectionBenchmark::process(), L1TPFMetNoMuProducer::produce(), SoftPFElectronTagInfoProducer::produce(), SoftPFMuonTagInfoProducer::produce(), NoPileUpPFMEtProducer::produce(), JetEnergyShift::produce(), Onia2MuMuPAT::produce(), JetPlusTrackProducer::produce(), reco::PFMETProducerMVA::produce(), JetPlusTrackProducerAA::produce(), pat::PATMETSlimmer::OneMETShift::readAndSet(), Type1PFMET::run(), pat::MET::setCorShift(), TtSemiLepHypothesis::setNeutrino(), pat::MET::setUncShift(), pat::MET::shiftedP2(), pat::MET::shiftedP2_74x(), pat::MET::shiftedP3(), pat::MET::shiftedP3_74x(), pat::MET::shiftedP4(), pat::MET::shiftedP4_74x(), reco::MET::significance(), TauValidation::spinEffectsZH(), PFMuonAlgo::tracksWithBetterMET(), TauValidation::visibleTauEnergy(), and reco::WMuNuCandidatePtr::WMuNuCandidatePtr().

◆ py()

double reco::LeafCandidate::py ( ) const
inlinefinalvirtual

y coordinate of momentum vector

Implements reco::Candidate.

Definition at line 142 of file LeafCandidate.h.

142 { return m_state.py(); }

References m_state, and reco::ParticleState::py().

Referenced by StKinFitter::addKinFitInfo(), TtFullLepKinSolver::addKinSolInfo(), ElectronMcSignalValidator::analyze(), EwkMuDQM::analyze(), EwkElecDQM::analyze(), EwkMuLumiMonitorDQM::analyze(), ElectronMcFakeValidator::analyze(), HiggsDQM::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronDataAnalyzer::analyze(), FWPFCandidate3DProxyBuilder::build(), reco::FlavorHistoryEvent::cache(), pat::LeptonJetIsolationAngle::calculate(), MEzCalculator::Calculate(), HiPuRhoProducer::calculateOrphanInput(), PFMETBenchmark::calculateQuantities(), PFMuonAlgo::cleanMismeasured(), L1JPTOffsetCorrector::correction(), L1JPTOffsetCorrectorImpl::correction(), JetPlusTrackCorrector::correction(), L1JetRecoTreeProducer::doPFMet(), L1JetRecoTreeProducer::doPFMetNoMu(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), MatchMETBenchmark::fillOne(), PFMETMonitor::fillOne(), TtSemiLepKinFitter::fit(), TtFullHadKinFitter::fit(), PFMuonAlgo::getMinMaxMET2(), L1TTauOffline::getTightMuons(), PFIsolationEstimator::isChargedParticleVetoed(), TauValidation::leadingPionP4(), reco::IsolatedTauTagInfo::leadingSignalTrack(), main(), reco::WMuNuCandidate::massT(), BasicGenParticleValidation::matchParticles(), TtSemiLRSignalSelObservables::operator()(), hitfit::LeptonTranslatorBase< AElectron >::operator()(), Calculate_miniAOD::operator()(), Calculate::operator()(), PFMuonAlgo::postClean(), PFAlgo::postCleaning(), reco::GenericJet::print(), MEzCalculator::Print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), PFTauElecRejectionBenchmark::process(), L1TPFMetNoMuProducer::produce(), SoftPFElectronTagInfoProducer::produce(), SoftPFMuonTagInfoProducer::produce(), NoPileUpPFMEtProducer::produce(), JetEnergyShift::produce(), Onia2MuMuPAT::produce(), JetPlusTrackProducer::produce(), reco::PFMETProducerMVA::produce(), JetPlusTrackProducerAA::produce(), pat::PATMETSlimmer::OneMETShift::readAndSet(), Type1PFMET::run(), pat::MET::setCorShift(), TtSemiLepHypothesis::setNeutrino(), pat::MET::setUncShift(), pat::MET::shiftedP2(), pat::MET::shiftedP2_74x(), pat::MET::shiftedP3(), pat::MET::shiftedP3_74x(), pat::MET::shiftedP4(), pat::MET::shiftedP4_74x(), reco::MET::significance(), TauValidation::spinEffectsZH(), PFMuonAlgo::tracksWithBetterMET(), and TauValidation::visibleTauEnergy().

◆ pz()

double reco::LeafCandidate::pz ( ) const
inlinefinalvirtual

◆ rapidity()

double reco::LeafCandidate::rapidity ( ) const
inlinefinalvirtual

rapidity

Implements reco::Candidate.

Definition at line 154 of file LeafCandidate.h.

154 { return m_state.rapidity(); }

References m_state, and reco::ParticleState::rapidity().

Referenced by B2GDQM::analyzeAllHad(), B2GDQM::analyzeSemiE(), B2GDQM::analyzeSemiMu(), and y().

◆ setCharge()

void reco::LeafCandidate::setCharge ( Charge  q)
inlinefinalvirtual

◆ setLongLived()

void reco::LeafCandidate::setLongLived ( )
inlinefinalvirtual

long lived flag set long lived flag

Implements reco::Candidate.

Definition at line 185 of file LeafCandidate.h.

185 { m_state.setLongLived(); }

References m_state, and reco::ParticleState::setLongLived().

◆ setMass()

void reco::LeafCandidate::setMass ( double  m)
inlinefinalvirtual

set particle mass

Implements reco::Candidate.

Definition at line 162 of file LeafCandidate.h.

162 { m_state.setMass(m); }

References visualization-live-secondInstance_cfg::m, m_state, and reco::ParticleState::setMass().

◆ setMassConstraint()

void reco::LeafCandidate::setMassConstraint ( )
inlinefinalvirtual

do mass constraint flag set mass constraint flag

Implements reco::Candidate.

Definition at line 190 of file LeafCandidate.h.

References m_state, and reco::ParticleState::setMassConstraint().

◆ setP4() [1/2]

void reco::LeafCandidate::setP4 ( const LorentzVector p4)
inlinefinalvirtual

set 4-momentum

Implements reco::Candidate.

Definition at line 158 of file LeafCandidate.h.

158 { m_state.setP4(p4); }

References m_state, p4(), and reco::ParticleState::setP4().

Referenced by l1t::HGCalTower::addEt(), ParticleLevelProducer::addGenJet(), EMEnrichingFilterAlgo::applyBFieldCurv(), L1HPSPFTauBuilder::buildL1PFTau(), HGCalTriggerCellCalibration::calibrateMipTinGeV(), l1t::PFJet::calibratePt(), l1t::PFCluster::calibratePt(), HGCalClusteringImpl::calibratePt(), PFMuonAlgo::changeTrack(), HGCalConcentratorCoarsenerImpl::coarsen(), PFRecoTauDiscriminationByIsolation::discriminate(), PFRecoTauDiscriminationByIsolationContainer::discriminate(), L1JetRecoTreeProducer::doPFMetNoMu(), HGCalConcentratorTrigSumImpl::doSum(), PFAlgo::egammaFilters(), pat::GenericParticle::fillInFrom(), pat::PATMuonProducer::fillMuon(), l1t::MuonRawDigiTranslator::fillMuonStableQuantities(), L1GObject::initialize(), OniaPhotonConversionProducer::makePhotonCandidate(), TransientVertex::operator reco::VertexCompositePtrCandidate(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), TemplatedSecondaryVertexProducer< IPTI, VTX >::SVBuilder::operator()(), pat::TriggerObjectStandAlone::packP4(), reco::PFTauDecayMode::PFTauDecayMode(), L1TPFMetNoMuProducer::produce(), ParticleLevelProducer::produce(), TrackstersMergeProducer::produce(), DeltaBetaWeights::produce(), PuppiPhoton::produce(), CaloTruthCellsProducer::produce(), ShiftedPFCandidateProducerByMatchedObject::produce(), NoPileUpPFMEtProducer::produce(), ShiftedParticleProducer::produce(), ShiftedPFCandidateProducerForPFMVAMEt::produce(), pat::PATJetUpdater::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), Onia2MuMuPAT::produce(), NoPileUpPFMEtDataProducer::produce(), reco::PFMETProducerMVA::produce(), SoftKillerProducer::produce(), MuonProducer::produce(), reco::PFCandidate::rescaleMomentum(), HGCalVFEProcessorSums::run(), HGCalConcentratorAutoEncoderImpl::select(), Jet.Jet::setCorrP4(), MEzCalculator::SetLepton(), MEzCalculator::SetMET(), l1t::HGCalTriggerCell::setPt(), l1t::HGCalClusterT< l1t::HGCalCluster >::setPt(), L1MuKBMTrack::setPtEtaPhi(), l1t::stage2::MPUnpacker_0x10010010::unpack(), l1t::stage2::MPUnpacker::unpack(), l1t::stage2::MPUnpacker_0x10010033::unpack(), l1t::stage2::MPUnpacker_0x1001000b::unpack(), l1t::stage2::EtSumUnpacker_0x10010057::unpack(), l1t::stage2::EGammaUnpacker::unpack(), l1t::stage2::EtSumUnpacker::unpack(), l1t::HGCalClusterT< l1t::HGCalCluster >::updateP4AndPosition(), and VirtualJetProducer::writeJetsWithConstituents().

◆ setP4() [2/2]

void reco::LeafCandidate::setP4 ( const PolarLorentzVector p4)
inlinefinalvirtual

set 4-momentum

Implements reco::Candidate.

Definition at line 160 of file LeafCandidate.h.

160 { m_state.setP4(p4); }

References m_state, p4(), and reco::ParticleState::setP4().

Referenced by Jet.Jet::setCorrP4().

◆ setPdgId()

void reco::LeafCandidate::setPdgId ( int  pdgId)
inlinefinalvirtual

◆ setPz()

void reco::LeafCandidate::setPz ( double  pz)
inlinefinalvirtual

Implements reco::Candidate.

Definition at line 163 of file LeafCandidate.h.

163 { m_state.setPz(pz); }

References m_state, pz(), and reco::ParticleState::setPz().

◆ setStatus()

void reco::LeafCandidate::setStatus ( int  status)
inlinefinalvirtual

set status word

Implements reco::Candidate.

Definition at line 182 of file LeafCandidate.h.

References m_state, reco::ParticleState::setStatus(), and status().

Referenced by pat::GenericParticle::fillInFrom(), and reco::PFTauDecayMode::PFTauDecayMode().

◆ setThreeCharge()

void reco::LeafCandidate::setThreeCharge ( Charge  qx3)
inlinefinalvirtual

set electric charge

Implements reco::Candidate.

Definition at line 112 of file LeafCandidate.h.

112 { m_state.setThreeCharge(qx3); }

References m_state, and reco::ParticleState::setThreeCharge().

◆ setVertex()

void reco::LeafCandidate::setVertex ( const Point vertex)
inlineoverridevirtual

◆ sourceCandidatePtr()

CandidatePtr reco::LeafCandidate::sourceCandidatePtr ( size_type  i) const
inlineoverridevirtual

return a Ptr to one of the source Candidates ( the candidates used to construct this Candidate)

Reimplemented from reco::Candidate.

Reimplemented in pat::Photon, pat::Tau, reco::PFTau, pat::Electron, pat::Muon, reco::PFCandidate, and reco::LeafRefCandidateT.

Definition at line 103 of file LeafCandidate.h.

103 { return CandidatePtr(); }

◆ status()

int reco::LeafCandidate::status ( ) const
inlinefinalvirtual

◆ theta()

double reco::LeafCandidate::theta ( ) const
inlinefinalvirtual

◆ threeCharge()

int reco::LeafCandidate::threeCharge ( ) const
inlinefinalvirtual

electric charge

Implements reco::Candidate.

Definition at line 110 of file LeafCandidate.h.

110 { return m_state.threeCharge(); }

References m_state, and reco::ParticleState::threeCharge().

◆ vertex()

const Point& reco::LeafCandidate::vertex ( ) const
inlineoverridevirtual

◆ vertexChi2()

double LeafCandidate::vertexChi2 ( ) const
overridevirtual

chi-squares

Implements reco::Candidate.

Reimplemented in reco::VertexCompositePtrCandidate, and reco::VertexCompositeCandidate.

Definition at line 47 of file LeafCandidate.cc.

47 { return 0; }

◆ vertexCovariance() [1/2]

CovarianceMatrix reco::LeafCandidate::vertexCovariance ( ) const
inlinefinalvirtual

return SMatrix

Reimplemented from reco::Candidate.

Definition at line 211 of file LeafCandidate.h.

211  {
214  return m;
215  }

References fillVertexCovariance(), and visualization-live-secondInstance_cfg::m.

Referenced by reco::VertexCompositePtrCandidate::tError().

◆ vertexCovariance() [2/2]

double LeafCandidate::vertexCovariance ( int  i,
int  j 
) const
overridevirtual

(i, j)-th element of error matrix, i, j = 0, ... 2

Implements reco::Candidate.

Reimplemented in reco::VertexCompositePtrCandidate, and reco::VertexCompositeCandidate.

Definition at line 53 of file LeafCandidate.cc.

53  {
55  << "reco::ConcreteCandidate does not implement vertex covariant matrix.\n";
56 }

References Exception, and edm::errors::UnimplementedFeature.

◆ vertexNdof()

double LeafCandidate::vertexNdof ( ) const
overridevirtual

Number of degrees of freedom
Meant to be Double32_t for soft-assignment fitters:
tracks may contribute to the vertex with fractional weights.
The ndof is then = to the sum of the track weights.
see e.g. CMS NOTE-2006/032, CMS NOTE-2004/002

Implements reco::Candidate.

Reimplemented in reco::VertexCompositePtrCandidate, and reco::VertexCompositeCandidate.

Definition at line 49 of file LeafCandidate.cc.

49 { return 0; }

◆ vertexNormalizedChi2()

double LeafCandidate::vertexNormalizedChi2 ( ) const
overridevirtual

chi-squared divided by n.d.o.f.

Implements reco::Candidate.

Reimplemented in reco::VertexCompositePtrCandidate, and reco::VertexCompositeCandidate.

Definition at line 51 of file LeafCandidate.cc.

51 { return 0; }

◆ vx()

double reco::LeafCandidate::vx ( ) const
inlineoverridevirtual

x coordinate of vertex position

Implements reco::Candidate.

Reimplemented in reco::PFCandidate, and l1t::TkPhiCandidate.

Definition at line 167 of file LeafCandidate.h.

167 { return m_state.vx(); }

References m_state, and reco::ParticleState::vx().

Referenced by reco::PFTau::dump().

◆ vy()

double reco::LeafCandidate::vy ( ) const
inlineoverridevirtual

y coordinate of vertex position

Implements reco::Candidate.

Reimplemented in reco::PFCandidate, and l1t::TkPhiCandidate.

Definition at line 169 of file LeafCandidate.h.

169 { return m_state.vy(); }

References m_state, and reco::ParticleState::vy().

Referenced by reco::PFTau::dump().

◆ vz()

double reco::LeafCandidate::vz ( ) const
inlineoverridevirtual

z coordinate of vertex position

Implements reco::Candidate.

Reimplemented in reco::PFCandidate, and l1t::TkPhiCandidate.

Definition at line 171 of file LeafCandidate.h.

171 { return m_state.vz(); }

References m_state, and reco::ParticleState::vz().

Referenced by HLTDoubletDZ< T1, T2 >::computeDZ(), reco::PFTau::dump(), HLTObjectsMonitor::dzFinder(), l1t::TkBsCandidate::dzPhiPair(), and egHLT::OffPho::zVtx().

◆ y()

double reco::LeafCandidate::y ( ) const
inlinefinalvirtual

Friends And Related Function Documentation

◆ ::OverlapChecker

friend class ::OverlapChecker
friend

Definition at line 304 of file LeafCandidate.h.

◆ component

template<typename , typename , typename >
friend struct component
friend

Definition at line 303 of file LeafCandidate.h.

◆ ShallowCloneCandidate

friend class ShallowCloneCandidate
friend

Definition at line 305 of file LeafCandidate.h.

◆ ShallowClonePtrCandidate

friend class ShallowClonePtrCandidate
friend

Definition at line 306 of file LeafCandidate.h.

Member Data Documentation

◆ m_state

ParticleState reco::LeafCandidate::m_state
private
reco::ParticleState::setCharge
void setCharge(Charge q)
set electric charge
Definition: ParticleState.h:100
reco::ParticleState::setP4
void setP4(const LorentzVector &p4)
set 4-momentum
Definition: ParticleState.h:149
writedatasetfile.args
args
Definition: writedatasetfile.py:18
reco::ParticleState::p
double p() const
magnitude of momentum vector
Definition: ParticleState.h:115
reco::ParticleState::et2
double et2() const
transverse energy squared (use this for cuts)!
Definition: ParticleState.h:121
mps_fire.i
i
Definition: mps_fire.py:428
reco::ParticleState::setThreeCharge
void setThreeCharge(Charge qx3)
set electric charge
Definition: ParticleState.h:104
reco::ParticleState::rapidity
double rapidity() const
repidity
Definition: ParticleState.h:145
reco::ParticleState::mt
double mt() const
transverse mass
Definition: ParticleState.h:127
reco::LeafCandidate::status
int status() const final
status word
Definition: LeafCandidate.h:180
reco::LeafCandidate::m_state
ParticleState m_state
Definition: LeafCandidate.h:297
reco::ParticleState::setStatus
void setStatus(int status)
set status word
Definition: ParticleState.h:184
reco::ParticleState::longLived
bool longLived() const
is long lived?
Definition: ParticleState.h:188
reco::LeafCandidate::hasMasterClone
bool hasMasterClone() const override
Definition: LeafCandidate.cc:12
reco::ParticleState::charge
int charge() const
electric charge
Definition: ParticleState.h:98
reco::ParticleState::mtSqr
double mtSqr() const
transverse mass squared
Definition: ParticleState.h:129
reco::Candidate::get
T get() const
get a component
Definition: Candidate.h:221
CovarianceMatrix
Definition: CovarianceMatrix.h:28
reco::ParticleState::vz
double vz() const
z coordinate of vertex position
Definition: ParticleState.h:174
reco::ParticleState::theta
double theta() const
momentum polar angle
Definition: ParticleState.h:141
reco::ParticleState::vx
double vx() const
x coordinate of vertex position
Definition: ParticleState.h:170
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
reco::LeafCandidate::fillVertexCovariance
void fillVertexCovariance(CovarianceMatrix &v) const override
fill SMatrix
Definition: LeafCandidate.cc:58
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
reco::ParticleState::setMass
void setMass(double m)
set particle mass
Definition: ParticleState.h:159
reco::ParticleState::polarP4
const PolarLorentzVector & polarP4() const
four-momentum Lorentz vector
Definition: ParticleState.h:108
reco::ParticleState::phi
double phi() const
momentum azimuthal angle
Definition: ParticleState.h:139
visualization-live-secondInstance_cfg.m
m
Definition: visualization-live-secondInstance_cfg.py:79
reco::LeafCandidate::PolarLorentzVector
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: LeafCandidate.h:25
reco::ParticleState::setVertex
void setVertex(const Point &vertex)
set vertex
Definition: ParticleState.h:176
reco::ParticleState::status
int status() const
status word
Definition: ParticleState.h:182
reco::Candidate::numberOf
size_type numberOf() const
number of components
Definition: Candidate.h:253
reco::ParticleState::pz
double pz() const
z coordinate of momentum vector
Definition: ParticleState.h:135
reco::ParticleState::massConstraint
bool massConstraint() const
do mass constraint?
Definition: ParticleState.h:192
reco::ParticleState::eta
double eta() const
momentum pseudorapidity
Definition: ParticleState.h:143
reco::LeafCandidate::mass
double mass() const final
mass
Definition: LeafCandidate.h:131
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
reco::ParticleState::vy
double vy() const
y coordinate of vertex position
Definition: ParticleState.h:172
reco::LeafCandidate::pdgId
int pdgId() const final
PDG identifier.
Definition: LeafCandidate.h:176
reco::LeafCandidate::p4
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:114
reco::LeafCandidate::charge
int charge() const final
electric charge
Definition: LeafCandidate.h:106
submitPVResolutionJobs.q
q
Definition: submitPVResolutionJobs.py:84
reco::ParticleState::et
double et() const
transverse energy
Definition: ParticleState.h:119
reco::LeafCandidate::LeafCandidate
LeafCandidate()
Definition: LeafCandidate.h:33
reco::ParticleState::py
double py() const
y coordinate of momentum vector
Definition: ParticleState.h:133
reco::LeafCandidate::vertex
const Point & vertex() const override
vertex position (overwritten by PF...)
Definition: LeafCandidate.h:165
reco::ParticleState::setMassConstraint
void setMassConstraint()
set mass constraint flag
Definition: ParticleState.h:190
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
extraflags_cff.vtx
vtx
Definition: extraflags_cff.py:19
reco::ParticleState::setPdgId
void setPdgId(int pdgId)
Definition: ParticleState.h:180
reco::ParticleState::p4
const LorentzVector & p4() const
four-momentum Lorentz vector
Definition: ParticleState.h:106
reco::ParticleState::vertex
const Point & vertex() const
vertex position
Definition: ParticleState.h:168
reco::ParticleState::mass
double mass() const
mass
Definition: ParticleState.h:123
T
long double T
Definition: Basic3DVectorLD.h:48
Exception
Definition: hltDiff.cc:245
reco::LeafCandidate::masterClone
const CandidateBaseRef & masterClone() const override
Definition: LeafCandidate.cc:7
reco::ParticleState::pdgId
int pdgId() const
PDG identifier.
Definition: ParticleState.h:178
reco::ParticleState::pt
double pt() const
transverse momentum
Definition: ParticleState.h:137
reco::CandidatePtr
edm::Ptr< Candidate > CandidatePtr
persistent reference to an object in a collection of Candidate objects
Definition: CandidateFwd.h:25
reco::LeafCandidate::rapidity
double rapidity() const final
rapidity
Definition: LeafCandidate.h:154
reco::ParticleState::threeCharge
int threeCharge() const
electric charge
Definition: ParticleState.h:102
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
reco::ParticleState::setLongLived
void setLongLived()
set long lived flag
Definition: ParticleState.h:186
reco::ParticleState::momentum
Vector momentum() const
spatial momentum vector
Definition: ParticleState.h:110
reco::ParticleState::setPz
void setPz(double pz)
Definition: ParticleState.h:163
reco::LeafCandidate::pz
double pz() const final
z coordinate of momentum vector
Definition: LeafCandidate.h:144
edm::errors::UnimplementedFeature
Definition: EDMException.h:38
reco::ParticleState::boostToCM
Vector boostToCM() const
Definition: ParticleState.h:113
reco::ParticleState::energy
double energy() const
energy
Definition: ParticleState.h:117
reco::ParticleState::px
double px() const
x coordinate of momentum vector
Definition: ParticleState.h:131