#include <LeafCandidate.h>
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 | |
virtual Vector | boostToCM () const |
virtual int | charge () const |
electric charge More... | |
virtual LeafCandidate * | clone () const |
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) |
virtual const Candidate * | daughter (size_type) const |
return daughter at a given position (throws an exception) More... | |
virtual Candidate * | daughter (size_type) |
return daughter at a given position (throws an exception) More... | |
virtual Candidate * | daughter (const std::string &s) |
return daughter with a specified role name More... | |
virtual const Candidate * | daughter (const std::string &s) const |
return daughter with a specified role name More... | |
virtual double | energy () const |
energy More... | |
virtual double | et () const |
transverse energy More... | |
virtual double | et2 () const |
transverse energy squared (use this for cut!) More... | |
virtual double | eta () const |
momentum pseudorapidity More... | |
virtual void | fillVertexCovariance (CovarianceMatrix &v) const |
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... | |
virtual bool | hasMasterClone () const |
virtual bool | hasMasterClonePtr () const |
virtual bool | isCaloMuon () const |
virtual bool | isConvertedPhoton () const |
virtual bool | isElectron () const |
virtual bool | isGlobalMuon () const |
virtual bool | isJet () const |
virtual bool | isMuon () const |
virtual bool | isPhoton () const |
virtual bool | isStandAloneMuon () const |
virtual bool | isTrackerMuon () const |
LeafCandidate () | |
LeafCandidate (const Candidate &c) | |
template<typename... Args> | |
LeafCandidate (Args &&...args) | |
LeafCandidate (LeafCandidate &rh) | |
LeafCandidate (LeafCandidate &&)=default | |
LeafCandidate (LeafCandidate const &)=default | |
virtual bool | longLived () const |
is long lived? More... | |
virtual double | mass () const |
mass More... | |
virtual bool | massConstraint () const |
do mass constraint? More... | |
virtual double | massSqr () const |
mass squared More... | |
virtual const CandidateBaseRef & | masterClone () const |
virtual const CandidatePtr & | masterClonePtr () const |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
virtual Vector | momentum () const |
spatial momentum vector More... | |
virtual const Candidate * | mother (size_type) const |
return mother at a given position (throws an exception) More... | |
virtual double | mt () const |
transverse mass More... | |
virtual double | mtSqr () const |
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... | |
virtual size_t | numberOfDaughters () const |
number of daughters More... | |
virtual size_t | numberOfMothers () const |
number of mothers More... | |
virtual size_t | numberOfSourceCandidatePtrs () const |
LeafCandidate & | operator= (LeafCandidate &&)=default |
LeafCandidate & | operator= (LeafCandidate const &)=default |
virtual double | p () const |
magnitude of momentum vector More... | |
virtual const LorentzVector & | p4 () const |
four-momentum Lorentz vector More... | |
virtual int | pdgId () const |
PDG identifier. More... | |
virtual double | phi () const |
momentum azimuthal angle More... | |
virtual const PolarLorentzVector & | polarP4 () const |
four-momentum Lorentz vector More... | |
virtual double | pt () const |
transverse momentum More... | |
virtual double | px () const |
x coordinate of momentum vector More... | |
virtual double | py () const |
y coordinate of momentum vector More... | |
virtual double | pz () const |
z coordinate of momentum vector More... | |
virtual double | rapidity () const |
rapidity More... | |
virtual void | setCharge (Charge q) |
set electric charge More... | |
virtual void | setLongLived () |
virtual void | setMass (double m) |
set particle mass More... | |
virtual void | setMassConstraint () |
virtual void | setP4 (const LorentzVector &p4) |
set 4-momentum More... | |
virtual void | setP4 (const PolarLorentzVector &p4) |
set 4-momentum More... | |
virtual void | setPdgId (int pdgId) |
virtual void | setPz (double pz) |
virtual void | setStatus (int status) |
set status word More... | |
virtual void | setThreeCharge (Charge qx3) |
set electric charge More... | |
virtual void | setVertex (const Point &vertex) |
set vertex More... | |
virtual CandidatePtr | sourceCandidatePtr (size_type i) const |
virtual int | status () const |
status word More... | |
virtual double | theta () const |
momentum polar angle More... | |
virtual int | threeCharge () const |
electric charge More... | |
virtual const Point & | vertex () const |
vertex position (overwritten by PF...) More... | |
virtual double | vertexChi2 () const |
chi-squares More... | |
virtual double | vertexCovariance (int i, int j) const |
(i, j)-th element of error matrix, i, j = 0, ... 2 More... | |
CovarianceMatrix | vertexCovariance () const |
return SMatrix More... | |
virtual double | vertexNdof () const |
virtual double | vertexNormalizedChi2 () const |
chi-squared divided by n.d.o.f. More... | |
virtual double | vx () const |
x coordinate of vertex position More... | |
virtual double | vy () const |
y coordinate of vertex position More... | |
virtual double | vz () const |
z coordinate of vertex position More... | |
virtual double | y () const |
rapidity More... | |
virtual | ~LeafCandidate () |
destructor More... | |
Public Member Functions inherited from reco::Candidate | |
const_iterator | begin () const |
first daughter const_iterator More... | |
iterator | begin () |
first daughter iterator More... | |
virtual const Track * | bestTrack () const |
Candidate () | |
default constructor More... | |
virtual float | dxyError () const |
uncertainty on dxy More... | |
virtual float | dzError () const |
uncertainty on dz More... | |
const_iterator | end () const |
last daughter const_iterator More... | |
iterator | end () |
last daughter 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 | |
virtual bool | overlap (const Candidate &) const |
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 |
particle candidate with no constituent nor daughters
Definition at line 16 of file LeafCandidate.h.
typedef int reco::LeafCandidate::Charge |
electric charge type
Definition at line 21 of file LeafCandidate.h.
collection of daughter candidates
Definition at line 19 of file LeafCandidate.h.
typedef unsigned int reco::LeafCandidate::index |
Definition at line 31 of file LeafCandidate.h.
Lorentz vector.
Definition at line 23 of file LeafCandidate.h.
point in the space
Definition at line 27 of file LeafCandidate.h.
Lorentz vector.
Definition at line 25 of file LeafCandidate.h.
point in the space
Definition at line 29 of file LeafCandidate.h.
|
inline |
|
inlineexplicit |
Definition at line 36 of file LeafCandidate.h.
|
inlineexplicit |
Definition at line 40 of file LeafCandidate.h.
|
inline |
Definition at line 43 of file LeafCandidate.h.
|
default |
|
default |
|
virtual |
|
inlinevirtual |
boost vector to boost a Lorentz vector to the particle center of mass system
Implements reco::Candidate.
Definition at line 106 of file LeafCandidate.h.
References reco::ParticleState::boostToCM(), and m_state.
|
inlinevirtual |
electric charge
Implements reco::Candidate.
Definition at line 91 of file LeafCandidate.h.
References reco::ParticleState::charge(), and m_state.
Referenced by PFTester::analyze(), GenMuonRadCorrAnalyzer::analyze(), ElectronMcSignalValidator::analyze(), ElectronTagProbeAnalyzer::analyze(), EwkMuDQM::analyze(), AcceptanceHistoProducer::analyze(), EwkMuLumiMonitorDQM::analyze(), ElectronMcFakeValidator::analyze(), AnaL1CaloCleaner::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), AnaMuonCaloCleaner::analyze(), TestMuonCaloCleaner::analyze(), HLTMuonMatchAndPlot::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWPFCandidateWithHitsProxyBuilder::build(), FWPFCandidate3DProxyBuilder::build(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), egHLT::OffEle::charge(), reco::PFTau::dump(), RecoMuonValidator::MuonME::fill(), EwkElecTauHistManager::fillHistograms(), WMuNuSelector::filter(), WZInterestingEventSelector::filter(), HSCPTreeBuilder::filter(), EMEnrichingFilterAlgo::filterIsoGenPar(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), pat::PATObject< ObjectType >::genParticleById(), MuonMETAlgo::GetMuDepDeltas(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), heppy::CMGMuonCleanerBySegmentsAlgo::isBetterMuon(), reco::tau::disc::mainTrack(), GenParticleCustomSelector::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::operator<<(), reco::LeafRefCandidateT::overlap(), overlap(), reco::PFTauDecayMode::PFTauDecayMode(), reco::PFRecoTauChargedHadron::print(), PFAlgo::processBlock(), QuarkoniaTrackSelector::produce(), RegressionEnergyPatElectronProducer::produce(), pat::PATLostTracks::produce(), pat::L1MuonMatcher::produce(), ClassBasedElectronID::result(), MuScleFitMuonSelector::selectMuons(), GsfElectronAlgo::setPixelMatchInfomation(), FWMuonDetailView::setTextInfo(), FWPFCandidateDetailView::setTextInfo(), FWElectronDetailView::setTextInfo(), reco::PFCandidate::setTrackRef(), reco::tau::sumPFCandCharge(), and reco::PFCandidate::translateTypeToPdgId().
|
inlinevirtual |
returns a clone of the Candidate object
Implements reco::Candidate.
Reimplemented in reco::PFJet, reco::CaloJet, reco::JPTJet, reco::PFCandidate, l1extra::L1EtMissParticle, reco::GsfElectron, pat::Jet, l1extra::L1MuonParticle, reco::GenJet, reco::IsolatedPixelTrackCandidate, pat::Tau, reco::SiStripElectron, l1extra::L1JetParticle, l1extra::L1EmParticle, pat::Electron, reco::PFTauDecayMode, pat::MET, pat::Muon, pat::Photon, reco::HcalIsolatedTrackCandidate, reco::PFTau, pat::GenericParticle, reco::MET, reco::CompositeCandidate, pat::PFParticle, reco::Photon, pat::CompositeCandidate, reco::NamedCompositeCandidate, pat::Particle, reco::CompositeRefCandidateT< D >, reco::TrackJet, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, pat::Lepton< reco::BaseTau >, pat::Lepton< reco::GsfElectron >, pat::Lepton< reco::Muon >, reco::ShallowCloneCandidate, reco::PFClusterJet, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::ShallowClonePtrCandidate, reco::VertexCompositeCandidate, reco::VertexCompositePtrCandidate, reco::GenParticle, reco::CompositeRefBaseCandidate, reco::EcalIsolatedParticleCandidate, reco::RecoCandidate, reco::BasicJet, reco::Muon, reco::IsolatedPFCandidate, reco::PileUpPFCandidate, reco::CaloRecHitCandidate, reco::RecoChargedCandidate, reco::RecoEcalCandidate, reco::RecoStandAloneMuonCandidate, reco::CandidateWithRef< Ref >, reco::RecoCaloTowerCandidate, reco::Electron, reco::BaseTau, reco::CaloTau, reco::RecoPFClusterRefCandidate, and reco::RecoChargedRefCandidate.
Definition at line 180 of file LeafCandidate.h.
References LeafCandidate().
|
inline |
Definition at line 61 of file LeafCandidate.h.
References m_state.
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Reimplemented in pat::Jet, reco::NamedCompositeCandidate, reco::LeafRefCandidateT, reco::CompositeCandidate, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, reco::ShallowCloneCandidate, reco::CompositePtrCandidate, reco::ShallowClonePtrCandidate, reco::CompositeRefBaseCandidate, and reco::CompositeRefCandidate.
Definition at line 40 of file LeafCandidate.cc.
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Reimplemented in reco::LeafRefCandidateT, reco::NamedCompositeCandidate, reco::CompositeCandidate, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, reco::ShallowCloneCandidate, reco::CompositePtrCandidate, reco::ShallowClonePtrCandidate, reco::CompositeRefBaseCandidate, and reco::CompositeRefCandidate.
Definition at line 62 of file LeafCandidate.cc.
|
virtual |
return daughter with a specified role name
Implements reco::Candidate.
Reimplemented in reco::LeafRefCandidateT, reco::CompositeCandidate, and reco::NamedCompositeCandidate.
Definition at line 54 of file LeafCandidate.cc.
References edm::hlt::Exception, and edm::errors::UnimplementedFeature.
|
virtual |
return daughter with a specified role name
Implements reco::Candidate.
Reimplemented in reco::LeafRefCandidateT, reco::CompositeCandidate, and reco::NamedCompositeCandidate.
Definition at line 48 of file LeafCandidate.cc.
References edm::hlt::Exception, and edm::errors::UnimplementedFeature.
|
inlinevirtual |
energy
Implements reco::Candidate.
Definition at line 110 of file LeafCandidate.h.
References reco::ParticleState::energy(), and m_state.
Referenced by StKinFitter::addKinFitInfo(), TtFullLepKinSolver::addKinSolInfo(), FBaseSimEvent::addParticles(), JetValidation::analyze(), PatTauAnalyzer::analyze(), QcdHighPtDQM::analyze(), EwkElecDQM::analyze(), DQMHcalDiJetsAlCaReco::analyze(), PFCandidateChecker::analyze(), IsolatedParticlesGeneratedJets::analyze(), SimplePhotonAnalyzer::analyze(), ResolutionCreator::analyze(), ZdcSimHitStudy::analyze(), PhotonValidator::analyze(), DiJetAnalyzer::analyze(), GammaJetAnalysis::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWPFCandidatesLegoProxyBuilder::build(), FWMET3DProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWMETProxyBuilder::buildViewType(), FWJetProxyBuilder::buildViewType(), reco::FlavorHistoryEvent::cache(), reco::helper::CastorJetIDHelper::calculate(), reco::helper::JetIDHelper::calculate(), pat::CaloIsolationEnergy::calculate(), pat::LeptonJetIsolationAngle::calculate(), MEzCalculator::Calculate(), METzCalculator::Calculate(), 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(), reco::helper::JetIDHelper::classifyJetComponents(), compGenParticleP4afterRad(), TauElementsOperators::computeConeSize(), PileupJetIdAlgo::computeIdVariables(), JetPlusTrackCorrector::correctAA(), L1FastjetCorrector::correction(), L1JPTOffsetCorrector::correction(), L1OffsetCorrector::correction(), L6SLBCorrector::correction(), L1FastjetCorrectorImpl::correction(), L1JPTOffsetCorrectorImpl::correction(), L1OffsetCorrectorImpl::correction(), L6SLBCorrectorImpl::correction(), JetPlusTrackCorrector::correction(), MuonTaggerNoIP::discriminator(), reco::PFJet::electronEnergyFraction(), pat::Jet::electronEnergyFraction(), metsig::SignAlgoResolutions::ElectronPtResolution(), egHLT::OffPho::energy(), egHLT::OffEle::energy(), CaloTower::energyInHF(), CaloTower::energyInHO(), metsig::SignAlgoResolutions::evalPF(), pat::JetCorrFactorsProducer::evaluate(), PFPhotonAlgo::EvaluateGCorrMVA(), PFPhotonAlgo::EvaluateResMVA(), AdHocNTupler::fill(), FastL1Region::FillTower(), FastL1Region::FillTower_Scaled(), HSCPTreeBuilder::filter(), EMEnrichingFilterAlgo::filterIsoGenPar(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), findGenParticleForMCEmbedding(), 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(), HPSPFRecoTauAlgorithm::isNarrowTau(), TauValidation::leadingPionP4(), main(), reco::tau::RecoTauIsolationMasking::mask(), MatchJet::matchCollections(), TauValidation::motherP4(), reco::PFJet::muonEnergyFraction(), pat::Jet::muonEnergyFraction(), reco::JPTJet::neutralEmEnergyFraction(), reco::PFJet::neutralEmEnergyFraction(), pat::Jet::neutralEmEnergyFraction(), reco::JPTJet::neutralHadronEnergyFraction(), reco::PFJet::neutralHadronEnergyFraction(), pat::Jet::neutralHadronEnergyFraction(), AcceptJet::operator()(), SmearedJetProducer_namespace::JetResolutionExtractorT< reco::PFJet >::operator()(), TtSemiLRSignalSelObservables::operator()(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), hitfit::LeptonTranslatorBase< ALepton >::operator()(), SmearedJetProducer_namespace::JetResolutionExtractorT< pat::Jet >::operator()(), reco::operator<<(), CaloTower::p4(), passPFLooseId(), reco::PFMETProducerMVA::passPFLooseId(), GammaJetAnalysis::pfEcalIso(), reco::PFJet::photonEnergyFraction(), pat::Jet::photonEnergyFraction(), PFAlgo::processBlock(), FSRWeightProducer::produce(), CaloTowerCandidateCreator::produce(), EgammaHLTCaloTowerProducer::produce(), EgammaHLTPFNeutralIsolationProducer::produce(), pf2pat::PFMETAlgo::produce(), GenParticlesFromZsSelectorForMCEmbedding::produce(), CaloTowerCreatorForTauHLT::produce(), JetPlusTrackProducer::produce(), NoPileUpPFMEtDataProducer::produce(), SmearedPFCandidateProducerForPFNoPUMEtT< T, Textractor >::produce(), CastorClusterProducer::produce(), JetPlusTrackProducerAA::produce(), JetIdSelector< T >::produce(), BoostedTopProducer::produce(), SmearedJetProducerT< T, Textractor >::produce(), reco::tau::RecoTauIsolationMasking::resolution(), pf2pat::PFIsoDepositAlgo::sameParticle(), TauValidation::spinEffectsZH(), reco::TemplatedSoftLeptonTagInfo< REF >::taggingVariables(), TauValidation::visibleTauEnergy(), and heppy::FSRWeightAlgo::weight().
|
inlinevirtual |
transverse energy
Implements reco::Candidate.
Definition at line 112 of file LeafCandidate.h.
References reco::ParticleState::et(), and m_state.
Referenced by StKinFitter::addKinFitInfo(), PFTester::analyze(), EwkMuDQM::analyze(), EwkElecDQM::analyze(), DQMHcalDiJetsAlCaReco::analyze(), PatPhotonSimpleAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), EwkDQM::analyze(), WenuPlots::analyze(), SimplePi0DiscAnalyzer::analyze(), HigPhotonJetHLTOfflineSource::analyze(), PhotonValidator::analyze(), DiJetAnalyzer::analyze(), GammaJetAnalysis::analyze(), EgammaObjects::analyzeElectrons(), ExoticaDQM::analyzeMonoElectrons(), ExoticaDQM::analyzeMonoJets(), ExoticaDQM::analyzeMonoMuons(), ExoticaDQM::analyzeMonoPhotons(), EgammaObjects::analyzePhotons(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWL1EtMissParticleGlimpseProxyBuilder::build(), FWMETGlimpseProxyBuilder::build(), FWPFCandidatesLegoProxyBuilder::build(), FWMET3DProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWMETProxyBuilder::buildViewType(), FWJetProxyBuilder::buildViewType(), razor::CalcMTR(), reco::helper::JetIDHelper::calculate(), EmDQM::checkGeneratedParticlesRequirement(), TauElementsOperators::computeConeSize(), JetPlusTrackCorrector::correction(), egHLT::OffPho::et(), egHLT::OffEle::et(), reco::tau::qcuts::etMin_cand(), l1extra::L1EtMissParticle::etMiss(), HLTOfflineDQMTopDiLepton::MonitorDiLepton::fill(), TopDiLeptonOffline::MonitorEnsemble::fill(), AdHocNTupler::fill(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), METAnalyzer::fillMonitorElement(), WMuNuValidator::filter(), doubleEMEnrichingFilterAlgo::filter(), BCToEFilterAlgo::filter(), HighETPhotonsFilterAlgo::filter(), HeavyChHiggsToTauNuSkim::filter(), WMuNuSelector::filter(), PhotonEnrichmentFilter::filter(), reco::tau::RecoTauQualityCuts::filterGammaCand(), EMEnrichingFilterAlgo::filterIsoGenPar(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), reco::tau::RecoTauQualityCuts::filterNeutralHadronCand(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), ElectronVPlusJetsIDSelectionFunctor::firstDataCuts(), TtSemiLepKinFitter::fit(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), WtoLNuSelector::getMt(), HiGammaJetSignalDef::IsIsolated(), HiGammaJetSignalDef::IsIsolatedJP(), HiGammaJetSignalDef::IsIsolatedPP(), HPSPFRecoTauAlgorithm::isNarrowTau(), JetVertexMain::Main(), reco::MET::mEtSig(), TtDilepLRSignalSelObservables::operator()(), TtSemiLRSignalSelObservables::operator()(), TtHadLRSignalSelObservables::CompareET::operator()(), TtSemiLRSignalSelObservables::CompareET::operator()(), reco::JPTJet::printJet(), PFCandidateChecker::printJets(), DistortedMETProducer::produce(), ParticleTowerProducer::produce(), JetEnergyShift::produce(), HiL1Subtractor::produce(), JetPlusTrackCorrector::rebuildJta(), L1GObject::setEt(), l1t::CaloTower::setEtEm(), l1t::CaloTower::setEtHad(), l1t::CaloTower::setHwEtEm(), l1t::CaloTower::setHwEtHad(), FWPhotonDetailView::setTextInfo(), FWElectronDetailView::setTextInfo(), PFElectronSelector::spring11Cuts(), and reco::TemplatedSoftLeptonTagInfo< REF >::taggingVariables().
|
inlinevirtual |
transverse energy squared (use this for cut!)
Implements reco::Candidate.
Definition at line 114 of file LeafCandidate.h.
References reco::ParticleState::et2(), and m_state.
|
inlinevirtual |
momentum pseudorapidity
Implements reco::Candidate.
Definition at line 137 of file LeafCandidate.h.
References reco::ParticleState::eta(), and m_state.
Referenced by Particle.Particle::__str__(), Muon.Muon::absEffAreaIso(), reco::tau::disc::AbsEta(), reco::tau::RecoTauPiZeroStripPlugin2::addCandsToStrip(), reco::tau::RecoTauPiZeroStripPlugin3::addCandsToStrip(), ZIterativeAlgorithmWithFit::addEvent(), StKinFitter::addKinFitInfo(), reco::tau::RecoTauConstructor::addPiZero(), FWMuonDetailView::addSceneInfo(), FWElectronDetailView::addSceneInfo(), reco::tau::RecoTauConstructor::addTauChargedHadron(), GlbMuQualityCutsAnalysis::analyze(), ZMuPtScaleAnalyzer::analyze(), FlavorJetCorrectionExample::analyze(), PartonJetCorrectionExample::analyze(), CMSDAS11DijetAnalyzer::analyze(), JetValidation::analyze(), PatTauAnalyzer::analyze(), PatZjetsJetAnalyzer::analyze(), PFTester::analyze(), RPCRecHitProbability::analyze(), ElectronMcSignalValidator::analyze(), ElectronTagProbeAnalyzer::analyze(), EwkMuDQM::analyze(), RPCMonitorDigi::analyze(), testAnalyzer::analyze(), EwkElecDQM::analyze(), AcceptanceHistoProducer::analyze(), DQMHcalDiJetsAlCaReco::analyze(), PFCandidateChecker::analyze(), ZMuMuIsolationAnalyzer::analyze(), EwkMuLumiMonitorDQM::analyze(), ElectronMcFakeValidator::analyze(), QcdPhotonsDQM::analyze(), PatPhotonSimpleAnalyzer::analyze(), IsolatedParticlesGeneratedJets::analyze(), SimplePhotonAnalyzer::analyze(), AnaL1CaloCleaner::analyze(), EwkDQM::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronDataAnalyzer::analyze(), WenuPlots::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), JetTester::analyze(), SimplePi0DiscAnalyzer::analyze(), MuTriggerAnalyzer::analyze(), gamma_radiative_analyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), TopSingleLeptonHLTValidation::analyze(), AnaMuonCaloCleaner::analyze(), DQMExample_Step1::analyze(), TopDiLeptonHLTValidation::analyze(), ZdcSimHitStudy::analyze(), PhotonValidator::analyze(), HLTMuonMatchAndPlot::analyze(), JetTester_HeavyIons::analyze(), IsoTrackCalibration::analyze(), JetAnalyzer_HeavyIons::analyze(), DiJetAnalyzer::analyze(), JetAnalyzer::analyze(), GammaJetAnalysis::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), B2GDQM::analyzeSemiE(), B2GDQM::analyzeSemiMu(), JetTagPlotter::analyzeTag(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), reco::tau::RecoTauVertexAssociator::associatedVertex(), HPSPFRecoTauAlgorithm::associateIsolationCandidates(), AlignmentMuonSelector::basicCuts(), ZToMuMuGammaAnalyzer::basicMuonSelection(), FWJetLegoProxyBuilder::build(), FWCaloTowerDetailView::build(), FWL1JetParticleLegoProxyBuilder::build(), FWL1MuonParticleLegoProxyBuilder::build(), FWPhotonLegoProxyBuilder::build(), FWMuonDetailView::build(), FWMuonLegoProxyBuilder::build(), FWGenParticleLegoProxyBuilder::build(), FWElectronDetailView::build(), FWPFCandidatesLegoProxyBuilder::build(), FWMET3DProxyBuilder::build(), pf2pat::PFIsoDepositAlgo::buildIsoDeposit(), FWMETProxyBuilder::buildViewType(), reco::helper::JetMuonHitsIDHelper::calculate(), JetPlusTrackProducerAA::calculateBGtracksJet(), FWMuonBuilder::calculateField(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), QGTagger::calcVariables(), JetPlusTrackCorrector::canCorrect(), hitfit::LeptonTranslatorBase< ALepton >::CheckEta(), hitfit::JetTranslatorBase< AJet >::CheckEta(), ElectronClassification::classify(), PFMuonAlgo::cleanPunchThroughAndFakes(), PileupJetIdAlgo::computeIdVariables(), JetPlusTrackCorrector::correctAA(), LXXXCorrector::correction(), L1FastjetCorrector::correction(), L1OffsetCorrector::correction(), L6SLBCorrector::correction(), LXXXCorrectorImpl::correction(), L1FastjetCorrectorImpl::correction(), L1OffsetCorrectorImpl::correction(), L6SLBCorrectorImpl::correction(), JetPlusTrackCorrector::correction(), DiJetAnalyzer::deltaR(), GammaJetAnalysis::deltaR(), PFCandWithSuperClusterExtractor::depositFromObject(), muonisolation::CaloExtractorByAssociator::deposits(), reco::GenJet::detectorEta(), PFRecoTauDiscriminationByHPSSelection::discriminate(), MuonTaggerNoIP::discriminator(), ElectronMaker::electronIsoValuePF(), metsig::SignAlgoResolutions::ElectronPtResolution(), FWPFCandidateDetailView::eta(), reco::tau::disc::Eta(), egHLT::OffPho::eta(), egHLT::OffEle::eta(), metsig::SignAlgoResolutions::evalPF(), metsig::SignAlgoResolutions::evalPFJet(), ZGlobalVsSAIsolationAnalyzer::evaluate(), pat::JetCorrFactorsProducer::evaluate(), PFPhotonAlgo::EvaluateGCorrMVA(), PFPhotonAlgo::EvaluateResMVA(), PFIsolationEstimator::fGetIsolationInRings(), PFJetMonitor::fill(), PFCandidateManager::fill(), L1ValidatorHists::Fill(), TopSingleLepton::MonitorEnsemble::fill(), SingleTopTChannelLepton::MonitorEnsemble::fill(), RecoMuonValidator::MuonME::fill(), AdHocNTupler::fill(), ZeePlots::fillEleClassesPlots(), ZeeCalibration::fillEleInfo(), PFMuonCaloCleaner::fillEnergyDepositMap(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), METAnalyzer::fillMonitorElement(), MatchMETBenchmark::fillOne(), PFCandidateBenchmark::fillOne(), METBenchmark::fillOne(), PFMETMonitor::fillOne(), FastL1Region::FillTower(), FastL1Region::FillTower_Scaled(), WMuNuValidator::filter(), doubleEMEnrichingFilterAlgo::filter(), BCToEFilterAlgo::filter(), HeavyChHiggsToTauNuSkim::filter(), WMuNuSelector::filter(), PhotonEnrichmentFilter::filter(), WZInterestingEventSelector::filter(), HSCPTreeBuilder::filter(), EMEnrichingFilterAlgo::filterIsoGenPar(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), L1Validator::FindBest(), CalibratableTest::findCandidatesInDeltaR(), TtFullLepHypGenMatch::findMatchingLepton(), PFJetIDSelectionFunctor::firstDataCuts(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), calib::CalibElectron::getCalibModulesWeights(), reco::tau::RecoTauVertexAssociator::getLeadTrack(), ParticleTowerProducer::getNearestTower(), getTheTauJet(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), EtaPtBin::inBin(), CosmicSplitterValidation::is_gold_muon(), PFPhotonIsolationCalculator::isChargedParticleVetoed(), PFIsolationEstimator::isChargedParticleVetoed(), EcalDeadCellDeltaRFilter::isCloseToBadEcalChannel(), PFEGammaFilters::isElectronSafeForJetMET(), muon::isGoodMuon(), cms::MuonTCMETValueMapProducer::isGoodMuon(), MuonIdProducer::isGoodRPCMuon(), MuonIdProducer::isGoodTrackerMuon(), MuTriggerAnalyzer::IsMuMatchedToHLTMu(), BPhysicsOniaDQM::isMuonInAccept(), PFPhotonIsolationCalculator::isNeutralParticleVetoed(), PFIsolationEstimator::isNeutralParticleVetoed(), EGammaMvaEleEstimator::isoMvaValue(), PFPhotonIsolationCalculator::isPhotonParticleVetoed(), PFIsolationEstimator::isPhotonParticleVetoed(), FWPFCandidateDetailView::isPntInRng(), McSelector::isSelected(), Jet.Jet::jetID(), main(), JetVertexMain::Main(), fireworks::makeEveJetCone(), SignCaloSpecificAlgo::makeVectorOutOfCaloTowers(), L1MuonMatcherAlgo::match(), reco::modules::HICaloCompatibleTrackSelector::matchByDrAllowReuse(), PFPhotonIsolationCalculator::matchPFObject(), PFIsolationEstimator::matchPFObject(), reco::RecoTauPiZero::maxDeltaEta(), DQMExample_Step1::MediumEle(), ZToMuMuGammaAnalyzer::muonSelection(), ElectronMVAEstimator::mva(), SoftElectronMVAEstimator::mva(), AntiElectronIDMVA5::MVAValue(), muonisolation::CaloExtractor::noiseEcal(), muonisolation::CaloExtractorByAssociator::noiseEcal(), muonisolation::CaloExtractorByAssociator::noiseHcal(), AcceptJet::operator()(), GenParticleCustomSelector::operator()(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), WPlusJetsEventSelector::operator()(), reco::tau::PFRecoTauChargedHadronFromTrackPlugin::operator()(), hitfit::LeptonTranslatorBase< ALepton >::operator()(), hitfit::JetTranslatorBase< AJet >::operator()(), reco::operator<<(), operator<<(), PFEGammaFilters::passElectronSelection(), passesElectronId(), passesElectronPreId(), passPFLooseId(), reco::PFMETProducerMVA::passPFLooseId(), ElectronMaker::PFIsolation2012(), reco::tau::disc::PiZeroEta(), reco::GenericJet::print(), reco::PFRecoTauChargedHadron::print(), reco::GenJet::print(), reco::RecoTauPiZero::print(), PFJetBenchmark::printGenJet(), reco::JPTJet::printJet(), PFCandidateChecker::printJets(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), PFAlgo::processBlock(), JetTracksAssociationDRVertex::produce(), JetTracksAssociationDRVertexAssigned::produce(), JetTracksAssociationDRCalo::produce(), JetVetoedTracksAssociationDRVertex::produce(), DistortedMuonProducerFromDB::produce(), QuarkoniaTrackSelector::produce(), DistortedMuonProducer::produce(), DistortedPFCandProducer::produce(), RegressionEnergyPatElectronProducer::produce(), CaloMuonMerger::produce(), PileupJPTJetIdProducer::produce(), CaloTowerCandidateCreator::produce(), EgammaHLTCaloTowerProducer::produce(), MuonReSeeder::produce(), ParticleTowerProducer::produce(), GenParticlesFromZsSelectorForMCEmbedding::produce(), CaloTowerCreatorForTauHLT::produce(), OutsideInMuonSeeder::produce(), BoostedTauSeedsProducer::produce(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), CastorClusterProducer::produce(), PileupJetIdProducer::produce(), HiL1Subtractor::produce(), reco::CentralityProducer::produce(), JetIdSelector< T >::produce(), JetPartonMatcher::produce(), SmearedJetProducerT< T, Textractor >::produce(), Jet.Jet::puJetId(), AcceptJet::ratio(), JetPlusTrackCorrector::rebuildJta(), reco::tau::RecoTauIsolationMasking::resolution(), ElectronLikelihood::result(), ElectronLikelihood::resultLog(), PFPhotonAlgo::RunPFPhoton(), pf2pat::PFIsoDepositAlgo::sameParticle(), L1GObject::setEta(), reco::HcalIsolatedTrackCandidate::SetEtaPhiEcal(), reco::IsolatedPixelTrackCandidate::setEtaPhiEcal(), reco::HcalIsolatedTrackCandidate::SetEtaPhiHcal(), reco::HcalIsolatedTrackCandidate::setL1(), FWCaloTowerDetailView::setTextInfo(), FWMuonDetailView::setTextInfo(), FWPhotonDetailView::setTextInfo(), FWPFCandidateDetailView::setTextInfo(), FWElectronDetailView::setTextInfo(), MVAJetIdMaker::SetVars(), cms::MuonMETValueMapProducer::should_type_MuonCandidateValuesUsed(), GenericMVAJetTagComputer::taggingVariables(), reco::TemplatedSoftLeptonTagInfo< REF >::taggingVariables(), reco::tau::disc::TrackEta(), and CaloSpecificAlgo::update_sumEtInpHF_MExInpHF_MEyInpHF_sumEtInmHF_MExInmHF_MEyInmHF().
|
virtual |
fill SMatrix
Implements reco::Candidate.
Reimplemented in reco::VertexCompositeCandidate, and reco::VertexCompositePtrCandidate.
Definition at line 83 of file LeafCandidate.cc.
References edm::hlt::Exception, and edm::errors::UnimplementedFeature.
Referenced by vertexCovariance().
|
inline |
get a component
Definition at line 219 of file LeafCandidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), and masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), AdHocNTupler::fill(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), ElectronLikelihood::getInputVar(), betterConfigParser.BetterConfigParser::getResultingSection(), HLTDiMuonGlbTrkFilter::hltFilter(), PFJetMETcorrInputProducerT< T, Textractor >::produce(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
inline |
get a component
Definition at line 224 of file LeafCandidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), and masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
get a component
Definition at line 229 of file LeafCandidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), i, and masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
get a component
Definition at line 234 of file LeafCandidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), i, and masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), rrapi.RRApi::columns(), rrapi.RRApi::count(), rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), rrapi.RRApi::reports(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), rrapi.RRApi::templates(), and rrapi.RRApi::workspaces().
|
virtual |
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::LeafRefCandidateT, and reco::ShallowCloneCandidate.
Definition at line 13 of file LeafCandidate.cc.
Referenced by get(), and numberOf().
|
virtual |
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::LeafRefCandidateT, and reco::ShallowClonePtrCandidate.
Definition at line 17 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::Muon, reco::LeafRefCandidateT, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 98 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::LeafRefCandidateT, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 102 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::GsfElectron, reco::LeafRefCandidateT, reco::SiStripElectron, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::Electron.
Definition at line 88 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::Muon, reco::LeafRefCandidateT, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 92 of file LeafCandidate.cc.
Referenced by Muon.Muon::muonID().
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::LeafRefCandidateT, reco::Jet, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 104 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::Muon, reco::LeafRefCandidateT, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 90 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::LeafRefCandidateT, reco::Photon, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 100 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::Muon, reco::LeafRefCandidateT, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 94 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::Muon, reco::LeafRefCandidateT, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 96 of file LeafCandidate.cc.
|
inlinevirtual |
is long lived?
Implements reco::Candidate.
Definition at line 172 of file LeafCandidate.h.
References reco::ParticleState::longLived(), and m_state.
|
inlinevirtual |
mass
Implements reco::Candidate.
Definition at line 116 of file LeafCandidate.h.
References m_state, and reco::ParticleState::mass().
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), ZMuPtScaleAnalyzer::analyze(), HPSPFRecoTauAlgorithm::buildThreeProngs(), PileupJetIdAlgo::computeIdVariables(), JetPlusTrackCorrector::correction(), HSCPTreeBuilder::filter(), V0Fitter::fitAll(), reco::tau::disc::InvariantMassOfSignal(), reco::tau::disc::Mass(), massSqr(), AntiElectronIDMVA5::MVAValue(), CATopJetHelper::operator()(), CAWZJetHelperUser::operator()(), CATopJetHelperUser::operator()(), reco::operator<<(), reco::PFRecoTauChargedHadron::print(), WeakEffectsWeightProducer::produce(), DistortedMuonProducerFromDB::produce(), DistortedPFCandProducer::produce(), DistortedMuonProducer::produce(), ISRGammaWeightProducer::produce(), FSRWeightProducer::produce(), PdfWeightProducer::produce(), BoostedTauSeedsProducer::produce(), PatJPsiProducer::produce(), and heppy::FSRWeightAlgo::weight().
|
inlinevirtual |
do mass constraint?
Implements reco::Candidate.
Definition at line 177 of file LeafCandidate.h.
References m_state, and reco::ParticleState::massConstraint().
Referenced by CandKinematicVertexFitter::fill().
|
inlinevirtual |
mass squared
Implements reco::Candidate.
Definition at line 118 of file LeafCandidate.h.
References mass().
Referenced by EwkElecDQM::analyze().
|
virtual |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowCloneCandidate
Implements reco::Candidate.
Reimplemented in reco::LeafRefCandidateT, and reco::ShallowCloneCandidate.
Definition at line 7 of file LeafCandidate.cc.
References edm::hlt::Exception.
Referenced by get(), masterRef(), and numberOf().
|
virtual |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowClonePtrCandidate
Implements reco::Candidate.
Reimplemented in reco::LeafRefCandidateT, and reco::ShallowClonePtrCandidate.
Definition at line 22 of file LeafCandidate.cc.
References edm::hlt::Exception.
|
inline |
cast master clone reference to a concrete type
Definition at line 216 of file LeafCandidate.h.
References masterClone().
|
inlinevirtual |
spatial momentum vector
Implements reco::Candidate.
Definition at line 103 of file LeafCandidate.h.
References m_state, and reco::ParticleState::momentum().
Referenced by MultiTrackValidatorGenPs::analyze(), closestJet(), PFTauExtractor::depositFromObject(), CandidateBoostedDoubleSecondaryVertexComputer::discriminator(), PF_PU_AssoMapAlgos::FindV0Vertex(), reco::TrackSelector::operator()(), CombinedSVComputer::operator()(), GammaJetAnalysis::pfEcalIso(), GammaJetAnalysis::pfTkIsoWithVertex(), MuonWithPFIsoProducerCopy::produce(), MuonWithPFIsoProducer::produce(), EgammaHLTPFChargedIsolationProducer::produce(), EgammaHLTPFNeutralIsolationProducer::produce(), SoftPFMuonTagInfoProducer::produce(), SoftPFElectronTagInfoProducer::produce(), TemplatedSecondaryVertexProducer< IPTI, VTX >::produce(), SoftLepton::refineJetAxis(), and reco::GsfElectron::setCorrectedEcalEnergy().
return mother at a given position (throws an exception)
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositeRefCandidate, reco::LeafRefCandidateT, reco::CompositePtrCandidate, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Definition at line 44 of file LeafCandidate.cc.
|
inlinevirtual |
transverse mass
Implements reco::Candidate.
Definition at line 121 of file LeafCandidate.h.
References m_state, and reco::ParticleState::mt().
Referenced by reco::WMuNuCandidate::massT(), and reco::WMuNuCandidatePtr::massT().
|
inlinevirtual |
transverse mass squared
Implements reco::Candidate.
Definition at line 123 of file LeafCandidate.h.
References m_state, and reco::ParticleState::mtSqr().
|
inline |
number of components
Definition at line 239 of file LeafCandidate.h.
References hasMasterClone(), and masterClone().
|
inline |
number of components
Definition at line 244 of file LeafCandidate.h.
References hasMasterClone(), and masterClone().
|
virtual |
number of daughters
Implements reco::Candidate.
Reimplemented in pat::Jet, reco::LeafRefCandidateT, reco::CompositeCandidate, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, reco::ShallowCloneCandidate, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Definition at line 28 of file LeafCandidate.cc.
|
virtual |
number of mothers
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositeRefCandidate, reco::LeafRefCandidateT, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, reco::ShallowCloneCandidate, reco::CompositePtrCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Definition at line 32 of file LeafCandidate.cc.
|
inlinevirtual |
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, reco::LeafRefCandidateT, and reco::CompositePtrCandidate.
Definition at line 83 of file LeafCandidate.h.
|
default |
Referenced by reco::PFCandidate::operator=().
|
default |
|
privatevirtual |
check overlap with another Candidate
Implements reco::Candidate.
Reimplemented in reco::Photon, reco::PFCandidate, reco::Muon, reco::PFTau, reco::PFJet, reco::CaloJet, reco::GsfElectron, reco::JPTJet, reco::LeafRefCandidateT, reco::IsolatedPixelTrackCandidate, reco::SiStripElectron, reco::HcalIsolatedTrackCandidate, reco::GenParticle, reco::GenJet, reco::GenMET, reco::CaloMET, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, reco::CompositeCandidate, reco::MET, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, reco::TrackJet, reco::CaloTau, reco::CompositeRefBaseCandidate, reco::PFClusterJet, reco::Electron, reco::BaseTau, reco::BasicJet, reco::CaloRecHitCandidate, reco::CandidateWithRef< Ref >, reco::RecoChargedCandidate, reco::RecoEcalCandidate, reco::RecoStandAloneMuonCandidate, reco::RecoCaloTowerCandidate, and reco::RecoCandidate.
Definition at line 36 of file LeafCandidate.cc.
References reco::Candidate::charge(), charge(), reco::Candidate::p4(), p4(), reco::Candidate::vertex(), and vertex().
|
inlinevirtual |
magnitude of momentum vector
Implements reco::Candidate.
Definition at line 108 of file LeafCandidate.h.
References m_state, and reco::ParticleState::p().
Referenced by ElectronMcSignalValidator::analyze(), EwkMuDQM::analyze(), ElectronMcFakeValidator::analyze(), AnaL1CaloCleaner::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), HiggsDQM::analyze(), AnaMuonCaloCleaner::analyze(), DiJetAnalyzer::analyze(), GammaJetAnalysis::analyze(), JetTagPlotter::analyzeTag(), AlignmentMuonSelector::basicCuts(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), PFMuonAlgo::cleanPunchThroughAndFakes(), CaloTower::emP4(), RecoMuonValidator::MuonME::fill(), GreedyMuonPFCandidateFilter::filter(), HSCPTreeBuilder::filter(), CaloTower::hadP4(), HLTMuonTrackMassFilter::hltFilter(), BPhysicsOniaDQM::isMuonInAccept(), RecoSelector::isSelected(), TauValidation::leadingPionP4(), SoftElectronMVAEstimator::mva(), EGammaMvaEleEstimator::mvaValue(), EGammaMvaEleEstimatorCSA14::mvaValue(), AcceptJet::operator()(), CaloTower::p4(), CaloTower::p4_HO(), PFMuonAlgo::postClean(), reco::GenericJet::print(), reco::GenJet::print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), QuarkoniaTrackSelector::produce(), RegressionEnergyPatElectronProducer::produce(), and CalibratedElectronProducer::produce().
|
inlinevirtual |
four-momentum Lorentz vector
Implements reco::Candidate.
Definition at line 99 of file LeafCandidate.h.
References m_state, and reco::ParticleState::p4().
Referenced by reco::tau::RecoTauConstructor::addPiZero(), reco::tau::RecoTauConstructor::addTauChargedHadron(), PFCandConnector::analyseNuclearWPrim(), PFCandConnector::analyseNuclearWSec(), CMSDAS11DijetAnalyzer::analyze(), JetAnaPythia< Jet >::analyze(), QcdHighPtDQM::analyze(), GenMuonRadCorrAnalyzer::analyze(), EmbeddingKineReweightNtupleProducer::analyze(), EwkMuLumiMonitorDQM::analyze(), AnaL1CaloCleaner::analyze(), ResolutionCreator::analyze(), MuonPFAnalyzer::analyze(), MuTriggerAnalyzer::analyze(), TTbarSpinCorrHepMCAnalyzer::analyze(), HLTMuonMatchAndPlot::analyze(), B2GDQM::analyzeSemiMu(), TtSemiLepJetComb::bOverLightQPt(), TtSemiLepJetComb::bQuarkVar(), FWVertexCandidateProxyBuilder::build(), CaloRecoTauAlgorithm::buildCaloTau(), pf2pat::PFIsoDepositAlgo::buildIsoDeposit(), HPSPFRecoTauAlgorithm::buildThreeProngs(), reco::tau::disc::ChargedOutlierAngle(), TtSemiLepJetComb::compareBNeutrino(), TtSemiLepJetComb::compareLeptonNeutrino(), TtSemiLepJetComb::compareTopNeutrino(), TtSemiLepJetComb::compareWNeutrino(), compGenParticleP4afterRad(), PFMEtSignInterfaceBase::compResolution(), TtFullHadKinFitter::KinFit::corJet(), pat::Jet::correctedP4(), pat::Tau::correctedP4(), TauJetCorrector::correction(), ZSPJPTJetCorrector::correction(), LXXXCorrector::correction(), LXXXCorrectorImpl::correction(), JetPlusTrackCorrector::correction(), PFElectronTranslator::createGsfElectrons(), reco::tau::disc::Dalitz2(), TtSemiLepJetComb::deduceMothers(), PFRecoTauDiscriminationByHPSSelection::discriminate(), PFRecoTauDiscriminationByIsolation::discriminate(), CandidateBoostedDoubleSecondaryVertexComputer::discriminator(), Tau.Tau::dxy_approx(), Tau.Tau::dz(), CaloTower::emEt(), ErsatzMEt::ersatzFabrik(), CaloTower::et(), JetPartonMatcher::fillAlgoritDefinition(), PFMuonCaloCleaner::fillEnergyDepositMap(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), TopDecaySubset::fillListing(), JetPartonMatcher::fillPhysicsDefinition(), pat::CaloJetSelector::filter(), GenMuonRadiationFilter::filter(), HLTRHemisphere::filter(), GeneratorTau::getOpeningAngle(), TauSpinnerCMS::GetRecoDaughters(), GeneratorTau::getVisNuAngle(), CaloTower::hadEt(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), reco::tau::RecoTauIsolationMasking::inCone(), Jet.Jet::jetID(), reco::tau::disc::JetTauDR(), TtSemiLepJetComb::lightQVar(), reco::tau::disc::MainTrackAngle(), ZToMuMuGammaAnalyzer::mumuGammaInvMass(), ZToMuMuGammaAnalyzer::mumuInvMass(), MuonMETAlgo::MuonMETAlgo_run(), reco::tau::disc::NeutralOutlierAngle(), TtSemiLepJetComb::neutrinoVar(), reco::tau::disc::OpeningAngle3D(), reco::tau::disc::OpeningDeltaR(), reco::tau::RecoTauPhotonFilter::operator()(), TtDilepLRSignalSelObservables::operator()(), SmearedJetProducer_namespace::GenJetMatcherT< pat::Jet >::operator()(), CorrectJet::operator()(), PFJetMETcorrInputProducer_namespace::RawJetExtractorT< pat::Jet >::operator()(), CaloJetMETcorrInputProducer_namespace::RawJetExtractorT< pat::Jet >::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), TtHadLRJetCombObservables::operator()(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), reco::tau::RecoTauEnergyRecoveryPlugin2::operator()(), TtSemiLRJetCombObservables::operator()(), SmearedJetProducer_namespace::JetResolutionExtractorT< pat::Jet >::operator()(), Calculate::operator()(), CalculateHLT::operator()(), SmearedJetProducer_namespace::RawJetExtractorT< pat::Jet >::operator()(), JetIDSelectionFunctor::operator()(), CaloTower::outerEt(), reco::tau::disc::OutlierAngle(), reco::LeafRefCandidateT::overlap(), overlap(), CaloTower::p(), CaloTower::p4(), reco::PFTauDecayMode::PFTauDecayMode(), reco::tau::disc::PiZeroAngle(), QuarkoniaTrackSelector::produce(), L1HLTTauMatching::produce(), ISRGammaWeightProducer::produce(), DeltaBetaWeights::produce(), Type0PFMETcorrInputProducer::produce(), SoftPFMuonTagInfoProducer::produce(), HLTMETCleanerUsingJetID::produce(), SoftPFElectronTagInfoProducer::produce(), TruthTauDecayModeProducer::produce(), MuonProducer::produce(), reco::PFMETProducerMVA::produce(), TauSpinnerCMS::readParticlesfromReco(), TtSemiLepJetComb::relativePtHadronicTop(), reco::PFCandidate::rescaleMomentum(), reco::GsfElectron::setCorrectedEcalEnergy(), reco::tau::sumPFCandP4(), reco::tau::disc::TrackAngle(), SelectReplacementCandidates::transformMuMu2TauTau(), and pat::TriggerObjectStandAlone::triggerObject().
|
inlinevirtual |
PDG identifier.
Implements reco::Candidate.
Definition at line 161 of file LeafCandidate.h.
References m_state, and reco::ParticleState::pdgId().
Referenced by Particle.Particle::__str__(), MCTruthHelper< P >::absPdgId(), FBaseSimEvent::addParticles(), TopDecaySubset::addRadiation(), TauDecay_GenParticle::AddRadInfo(), ZLONLOHistogrammer::analyze(), EWKSystUnc::analyze(), zPdfUnc::analyze(), ZMuPtScaleAnalyzer::analyze(), JetAnaPythia< Jet >::analyze(), PFTester::analyze(), TauDecay_GenParticle::Analyze(), AcceptanceHistoProducer::analyze(), ResolutionCreator::analyze(), AnaL1CaloCleaner::analyze(), TTbarSpinCorrHepMCAnalyzer::analyze(), ZdcSimHitStudy::analyze(), L1Validator::analyze(), TauDecay_GenParticle::AnalyzeTau(), reco::PFCandidate::bestTrack(), TopDecaySubset::checkShowerModel(), compGenParticleP4afterRad(), GeneratorTau::computeDecayMode(), TauValidation::countParticles(), TopGenEvent::daughterQuarkOfTop(), GeneratorTau::decayToPDGClassification(), PFIsolationEstimator::fGetIsolationInRings(), CandKinematicVertexFitter::fill(), TopDecaySubset::fillListing(), HeavyQuarkFromMPIFilterAlgo::filter(), doubleEMEnrichingFilterAlgo::filter(), HighETPhotonsFilterAlgo::filter(), BCToEFilterAlgo::filter(), HSCPTreeBuilder::filter(), EMEnrichingFilterAlgo::filterIsoGenPar(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), TauValidation::findFSRandBrem(), TopDecaySubset::findLastParticleInChain(), TauValidation::findMother(), TauValidation::FindPhotosFSR(), TauValidation::findTauList(), pat::PATObject< ObjectType >::genParticleById(), TauSpinnerCMS::GetLastSelf(), TauValidation::GetMother(), TauValidation::GetMothers(), TauSpinnerCMS::GetRecoDaughters(), PFJetBenchmark::gettrue(), GenParticlesHelper::hasAncestor(), BCToEFilterAlgo::isBCBaryon(), doubleEMEnrichingFilterAlgo::isBCBaryon(), BCToEFilterAlgo::isBCMeson(), doubleEMEnrichingFilterAlgo::isBCMeson(), TauSpinnerCMS::isFirst(), HiGammaJetSignalDef::IsIsolated(), TauValidation::isLastTauinChain(), HiPhotonType::IsPrompt(), McSelector::isSelected(), TauValidation::leadingPionP4(), BasicGenParticleValidation::matchParticles(), PFPhotonIsolationCalculator::matchPFObject(), PFIsolationEstimator::matchPFObject(), reco::RecoTauPiZero::numberOfElectrons(), reco::RecoTauPiZero::numberOfGammas(), GenParticleCustomSelector::operator()(), TtDilepLRSignalSelObservables::operator()(), reco::PFCandidate::particleId(), MCTruthHelper< P >::pdgId(), reco::PFRecoTauChargedHadron::print(), reco::GenJet::print(), PFJetBenchmark::printGenJet(), WeakEffectsWeightProducer::produce(), ISRGammaWeightProducer::produce(), FSRWeightProducer::produce(), ISRWeightProducer::produce(), PdfWeightProducer::produce(), HLTTauMCProducer::produce(), pat::PATPackedCandidateProducer::produce(), PartonSelector::produce(), JetPartonMatcher::produce(), TauSpinnerCMS::readParticlesfromReco(), setPdgId(), TauValidation::spinEffectsZH(), TauValidation::tauMother(), SelectReplacementCandidates::transformMuMu2TauTau(), pat::TriggerObjectStandAlone::triggerObject(), TauValidation::visibleTauEnergy(), and heppy::FSRWeightAlgo::weight().
|
inlinevirtual |
momentum azimuthal angle
Implements reco::Candidate.
Definition at line 133 of file LeafCandidate.h.
References m_state, and reco::ParticleState::phi().
Referenced by Particle.Particle::__str__(), reco::WMuNuCandidate::acop(), reco::tau::RecoTauPiZeroStripPlugin2::addCandsToStrip(), reco::tau::RecoTauPiZeroStripPlugin3::addCandsToStrip(), ZIterativeAlgorithmWithFit::addEvent(), reco::tau::RecoTauConstructor::addPiZero(), FWMuonDetailView::addSceneInfo(), FWElectronDetailView::addSceneInfo(), reco::tau::RecoTauConstructor::addTauChargedHadron(), FlavorJetCorrectionExample::analyze(), PartonJetCorrectionExample::analyze(), CMSDAS11DijetAnalyzer::analyze(), JetValidation::analyze(), PatTauAnalyzer::analyze(), PatZjetsJetAnalyzer::analyze(), PFTester::analyze(), RPCRecHitProbability::analyze(), CaloTowerAnalyzer::analyze(), ElectronMcSignalValidator::analyze(), ElectronTagProbeAnalyzer::analyze(), EwkMuDQM::analyze(), EwkElecDQM::analyze(), PFCandidateChecker::analyze(), DQMHcalDiJetsAlCaReco::analyze(), ZMuMuIsolationAnalyzer::analyze(), EwkMuLumiMonitorDQM::analyze(), QcdPhotonsDQM::analyze(), ElectronMcFakeValidator::analyze(), PatPhotonSimpleAnalyzer::analyze(), IsolatedParticlesGeneratedJets::analyze(), SimplePhotonAnalyzer::analyze(), EwkDQM::analyze(), AnaL1CaloCleaner::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronDataAnalyzer::analyze(), WenuPlots::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), JetTester::analyze(), SimplePi0DiscAnalyzer::analyze(), myJetAna::analyze(), ZMuMu_Radiative_analyzer::analyze(), METTester::analyze(), DQMExample_Step1::analyze(), AnaMuonCaloCleaner::analyze(), HigPhotonJetHLTOfflineSource::analyze(), ZdcSimHitStudy::analyze(), PhotonValidator::analyze(), HLTMuonMatchAndPlot::analyze(), JetTester_HeavyIons::analyze(), JetAnalyzer_HeavyIons::analyze(), DiJetAnalyzer::analyze(), JetAnalyzer::analyze(), ErsatzMEt::analyze(), GammaJetAnalysis::analyze(), ExoticaDQM::analyzeMonoElectrons(), ExoticaDQM::analyzeMonoJets(), ExoticaDQM::analyzeMonoMuons(), ExoticaDQM::analyzeMonoPhotons(), B2GDQM::analyzeSemiE(), B2GDQM::analyzeSemiMu(), JetTagPlotter::analyzeTag(), reco::tau::RecoTauVertexAssociator::associatedVertex(), JetTracksAssociationXtrpCalo::associateInputTracksToJet(), HPSPFRecoTauAlgorithm::associateIsolationCandidates(), AlignmentMuonSelector::basicCuts(), FWJetLegoProxyBuilder::build(), FWCaloTowerDetailView::build(), FWL1EtMissParticleGlimpseProxyBuilder::build(), FWL1EtMissParticleLegoProxyBuilder::build(), FWL1JetParticleLegoProxyBuilder::build(), FWL1MuonParticleLegoProxyBuilder::build(), FWMETGlimpseProxyBuilder::build(), FWMETLegoProxyBuilder::build(), FWPhotonLegoProxyBuilder::build(), FWMuonDetailView::build(), FWMuonLegoProxyBuilder::build(), FWL1EmParticleProxyBuilder::build(), FWL1EtMissParticleProxyBuilder::build(), FWL1JetParticleProxyBuilder::build(), FWL1MuonParticleProxyBuilder::build(), FWGenParticleLegoProxyBuilder::build(), FWElectronDetailView::build(), FWPFCandidatesLegoProxyBuilder::build(), FWMET3DProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), pf2pat::PFIsoDepositAlgo::buildIsoDeposit(), FWPhotonProxyBuilder::buildViewType(), FWElectronProxyBuilder::buildViewType(), FWMETProxyBuilder::buildViewType(), FWJetProxyBuilder::buildViewType(), GammaJetAnalysis::calc_dPhi(), reco::helper::CastorJetIDHelper::calculate(), reco::helper::JetMuonHitsIDHelper::calculate(), GlobalHaloAlgo::Calculate(), JetPlusTrackProducerAA::calculateBGtracksJet(), PFMETBenchmark::calculateQuantities(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), QGTagger::calcVariables(), AlignmentTwoBodyDecayTrackSelector::checkMETAcoplanarity(), L6SLBCorrector::correction(), L6SLBCorrectorImpl::correction(), JetPlusTrackCorrector::correction(), DiJetAnalyzer::deltaR(), GammaJetAnalysis::deltaR(), EMEnrichingFilterAlgo::deltaRxyAtEE(), doubleEMEnrichingFilterAlgo::deltaRxyAtEE(), PFCandWithSuperClusterExtractor::depositFromObject(), muonisolation::CaloExtractorByAssociator::deposits(), PFRecoTauDiscriminationByHPSSelection::discriminate(), EcalDeadCellDeltaRFilter::dPhiToMETfunc(), ElectronMaker::electronIsoValuePF(), metsig::SignAlgoResolutions::evalPF(), metsig::SignAlgoResolutions::evalPFJet(), ZGlobalVsSAIsolationAnalyzer::evaluate(), pat::JetCorrFactorsProducer::evaluate(), PFPhotonAlgo::EvaluateGCorrMVA(), PFPhotonAlgo::EvaluateResMVA(), PFIsolationEstimator::fGetIsolationInRings(), PFJetMonitor::fill(), PFCandidateManager::fill(), L1ValidatorHists::Fill(), RecoMuonValidator::MuonME::fill(), AdHocNTupler::fill(), ZeeCalibration::fillEleInfo(), PFMuonCaloCleaner::fillEnergyDepositMap(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), METAnalyzer::fillMonitorElement(), MatchMETBenchmark::fillOne(), PFCandidateBenchmark::fillOne(), METBenchmark::fillOne(), PFMETMonitor::fillOne(), WMuNuValidator::filter(), HeavyChHiggsToTauNuSkim::filter(), WZInterestingEventSelector::filter(), HSCPTreeBuilder::filter(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), L1Validator::FindBest(), CalibratableTest::findCandidatesInDeltaR(), TtFullLepHypGenMatch::findMatchingLepton(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), reco::tau::RecoTauVertexAssociator::getLeadTrack(), WtoLNuSelector::getMt(), ParticleTowerProducer::getNearestTower(), HLTMuonTrackMassFilter::hltFilter(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), PFPhotonIsolationCalculator::isChargedParticleVetoed(), PFIsolationEstimator::isChargedParticleVetoed(), EcalDeadCellDeltaRFilter::isCloseToBadEcalChannel(), PFPhotonIsolationCalculator::isNeutralParticleVetoed(), PFIsolationEstimator::isNeutralParticleVetoed(), EGammaMvaEleEstimator::isoMvaValue(), PFPhotonIsolationCalculator::isPhotonParticleVetoed(), PFIsolationEstimator::isPhotonParticleVetoed(), FWPFCandidateDetailView::isPntInRng(), main(), JetVertexMain::Main(), fireworks::makeEveJetCone(), SignCaloSpecificAlgo::makeVectorOutOfCaloTowers(), L1MuonMatcherAlgo::match(), PFPhotonIsolationCalculator::matchPFObject(), PFIsolationEstimator::matchPFObject(), AntiElectronIDMVA5::MVAValue(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), WPlusJetsEventSelector::operator()(), reco::tau::PFRecoTauChargedHadronFromTrackPlugin::operator()(), JetIDStudiesSelector::operator()(), reco::operator<<(), operator<<(), ElectronMaker::PFIsolation2012(), FWPFCandidateDetailView::phi(), egHLT::OffPho::phi(), egHLT::OffEle::phi(), MuonIdProducer::phiOfMuonIneteractionRegion(), reco::GenericJet::print(), reco::PFRecoTauChargedHadron::print(), reco::GenJet::print(), reco::RecoTauPiZero::print(), PFJetBenchmark::printGenJet(), reco::JPTJet::printJet(), PFCandidateChecker::printJets(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), PFAlgo::processBlock(), JetTracksAssociationDRVertex::produce(), JetTracksAssociationDRVertexAssigned::produce(), JetTracksAssociationDRCalo::produce(), DistortedMETProducer::produce(), JetVetoedTracksAssociationDRVertex::produce(), DistortedMuonProducerFromDB::produce(), DistortedPFCandProducer::produce(), DistortedMuonProducer::produce(), RegressionEnergyPatElectronProducer::produce(), FSRWeightProducer::produce(), CaloTowerCandidateCreator::produce(), PileupJPTJetIdProducer::produce(), EgammaHLTCaloTowerProducer::produce(), MuonReSeeder::produce(), ParticleTowerProducer::produce(), pf2pat::PFMETAlgo::produce(), NoPileUpPFMEtProducer::produce(), GenParticlesFromZsSelectorForMCEmbedding::produce(), pat::PATPackedCandidateProducer::produce(), CaloTowerCreatorForTauHLT::produce(), OutsideInMuonSeeder::produce(), BoostedTauSeedsProducer::produce(), PileupJetIdProducer::produce(), CastorClusterProducer::produce(), reco::PFMETProducerMVA::produce(), JetPartonMatcher::produce(), SmearedJetProducerT< T, Textractor >::produce(), AcceptJet::ratio(), JetPlusTrackCorrector::rebuildJta(), reco::tau::RecoTauIsolationMasking::resolution(), reco::HcalIsolatedTrackCandidate::SetEtaPhiEcal(), reco::IsolatedPixelTrackCandidate::setEtaPhiEcal(), reco::HcalIsolatedTrackCandidate::SetEtaPhiHcal(), reco::HcalIsolatedTrackCandidate::setL1(), L1GObject::setPhi(), FWCaloTowerDetailView::setTextInfo(), FWMuonDetailView::setTextInfo(), FWPhotonDetailView::setTextInfo(), FWPFCandidateDetailView::setTextInfo(), FWElectronDetailView::setTextInfo(), pat::LeptonJetIsolationAngle::spaceAngle(), reco::TemplatedSoftLeptonTagInfo< REF >::taggingVariables(), reco::IsolatedPixelTrackCandidate::towerIndex(), CaloSpecificAlgo::update_sumEtInpHF_MExInpHF_MEyInpHF_sumEtInmHF_MExInmHF_MEyInmHF(), and heppy::FSRWeightAlgo::weight().
|
inlinevirtual |
four-momentum Lorentz vector
Implements reco::Candidate.
Definition at line 101 of file LeafCandidate.h.
References m_state, and reco::ParticleState::polarP4().
Referenced by pat::L1MuonMatcher::produce(), and pat::PATPackedCandidateProducer::produce().
|
inlinevirtual |
transverse momentum
Implements reco::Candidate.
Definition at line 131 of file LeafCandidate.h.
References m_state, and reco::ParticleState::pt().
Referenced by Particle.Particle::__str__(), DiObject.DiMuon::__str__(), reco::tau::RecoTauPiZeroStripPlugin3::addCandsToStrip(), StKinFitter::addKinFitInfo(), reco::tau::RecoTauConstructor::addPiZero(), reco::tau::RecoTauConstructor::addTauChargedHadron(), GlbMuQualityCutsAnalysis::analyze(), FlavorJetCorrectionExample::analyze(), PartonJetCorrectionExample::analyze(), CMSDAS11DijetAnalyzer::analyze(), JetValidation::analyze(), PatTauAnalyzer::analyze(), PatZjetsJetAnalyzer::analyze(), RPCRecHitProbability::analyze(), QcdHighPtDQM::analyze(), ElectronMcSignalValidator::analyze(), SUSYDQMAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), EwkMuDQM::analyze(), RPCMonitorDigi::analyze(), testAnalyzer::analyze(), EwkElecDQM::analyze(), AcceptanceHistoProducer::analyze(), ZMuMuIsolationAnalyzer::analyze(), EwkMuLumiMonitorDQM::analyze(), ElectronMcFakeValidator::analyze(), QcdPhotonsDQM::analyze(), IsolatedParticlesGeneratedJets::analyze(), AnaL1CaloCleaner::analyze(), EwkDQM::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), MuonPFAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), JetTester::analyze(), myJetAna::analyze(), MuTriggerAnalyzer::analyze(), HiggsDQM::analyze(), gamma_radiative_analyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), TopSingleLeptonHLTValidation::analyze(), METTester::analyze(), AnaMuonCaloCleaner::analyze(), DQMExample_Step1::analyze(), TopDiLeptonHLTValidation::analyze(), HLTMuonMatchAndPlot::analyze(), JetTester_HeavyIons::analyze(), IsoTrackCalibration::analyze(), JetAnalyzer_HeavyIons::analyze(), DiJetAnalyzer::analyze(), JetAnalyzer::analyze(), ErsatzMEt::analyze(), ZToMuMuGammaAnalyzer::analyze(), GammaJetAnalysis::analyze(), BeamHaloAnalyzer::analyze(), B2GDQM::analyzeSemiE(), B2GDQM::analyzeSemiMu(), JetTagPlotter::analyzeTag(), reco::tau::RecoTauVertexAssociator::associatedVertex(), AlignmentMuonSelector::basicCuts(), ZToMuMuGammaAnalyzer::basicMuonSelection(), FWL1EmParticleProxyBuilder::build(), FWL1EtMissParticleProxyBuilder::build(), FWL1JetParticleProxyBuilder::build(), FWL1MuonParticleProxyBuilder::build(), FWPFCandidatesLegoProxyBuilder::build(), HPSPFRecoTauAlgorithm::buildThreeProngs(), reco::helper::JetIDHelper::calculate(), pat::LeptonJetIsolationAngle::calculate(), GlobalHaloAlgo::Calculate(), FWMuonBuilder::calculateField(), PFMETBenchmark::calculateQuantities(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), Photon.Photon::calScaledIsoValue(), reco::tau::disc::ChargedOutlierPt(), PFAlgo::checkCleaning(), PFMuonAlgo::cleanMismeasured(), PFMuonAlgo::cleanPunchThroughAndFakes(), MuonPFAnalyzer::combRelIso(), CMSDAS11DijetAnalyzer::compare_JetPt(), CMSDAS11DijetTestAnalyzer::compare_JetPt(), PileupJetIdAlgo::computeIdVariables(), LXXXCorrector::correction(), L1FastjetCorrector::correction(), L1OffsetCorrector::correction(), L6SLBCorrector::correction(), LXXXCorrectorImpl::correction(), L1FastjetCorrectorImpl::correction(), L1OffsetCorrectorImpl::correction(), L6SLBCorrectorImpl::correction(), JetPlusTrackCorrector::correction(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), PFCandWithSuperClusterExtractor::depositFromObject(), reco::PFTau::dump(), WZInterestingEventSelector::electronSelection(), reco::tau::disc::EMFraction(), metsig::SignAlgoResolutions::evalPFJet(), pat::JetCorrFactorsProducer::evaluate(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), PFIsolationEstimator::fGetIsolationInRings(), PFJetMonitor::fill(), PFCandidateManager::fill(), L1ValidatorHists::Fill(), TopSingleLepton::MonitorEnsemble::fill(), SingleTopTChannelLepton::MonitorEnsemble::fill(), TopDiLeptonOffline::MonitorEnsemble::fill(), RecoMuonValidator::MuonME::fill(), AdHocNTupler::fill(), PFMuonCaloCleaner::fillEnergyDepositMap(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), METAnalyzer::fillMonitorElement(), MatchMETBenchmark::fillOne(), PFCandidateBenchmark::fillOne(), METBenchmark::fillOne(), PFMETMonitor::fillOne(), GEDPhotonProducer::fillPhotonCollection(), myFilter::filter(), reco::tau::RecoTauPhotonFilter::filter(), WMuNuValidator::filter(), InconsistentMuonPFCandidateFilter::filter(), WMuNuSelector::filter(), NJetsMC::filter(), WZInterestingEventSelector::filter(), LeptonRecoSkim::filter(), HSCPTreeBuilder::filter(), MuonVPlusJetsIDSelectionFunctor::firstDataCuts(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), reco::tau::RecoTauVertexAssociator::getLeadTrack(), getTheElectron(), getTheMuon(), getTheTauJet(), PFCandidateChecker::greaterPt(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTHcalNoiseFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), EtaPtBin::inBin(), heppy::CMGMuonCleanerBySegmentsAlgo::isBetterMuon(), PFPhotonIsolationCalculator::isChargedParticleVetoed(), PFIsolationEstimator::isChargedParticleVetoed(), cms::MuonTCMETValueMapProducer::isGoodCaloMuon(), muon::isGoodMuon(), cms::MuonTCMETValueMapProducer::isGoodMuon(), MuonIdProducer::isGoodRPCMuon(), MuonIdProducer::isGoodTrackerMuon(), HiGammaJetSignalDef::IsIsolated(), EwkMuLumiMonitorDQM::IsMuMatchedToHLTMu(), MuTriggerAnalyzer::IsMuMatchedToHLTMu(), BPhysicsOniaDQM::isMuonInAccept(), reco::tau::disc::IsolationChargedSumHard(), reco::tau::disc::IsolationChargedSumSoft(), reco::tau::disc::IsolationECALSumHard(), reco::tau::disc::IsolationECALSumSoft(), EGammaMvaEleEstimator::isoMvaValue(), PFEGammaFilters::isPhotonSafeForJetMET(), GsfElectronAlgo::isPreselected(), McSelector::isSelected(), RecoSelector::isSelected(), JetAnalyzer::jetSortingRule(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), main(), reco::modules::HICaloCompatibleTrackSelector::matchByDrAllowReuse(), PFPhotonIsolationCalculator::matchPFObject(), PFIsolationEstimator::matchPFObject(), DQMExample_Step1::MediumEle(), pat::MHT::mht(), EwkMuLumiMonitorDQM::muIso(), ElectronMVAEstimator::mva(), SoftElectronMVAEstimator::mva(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDTight(), EGammaMvaEleEstimator::mvaValue(), EGammaMvaEleEstimatorCSA14::mvaValue(), AntiElectronIDMVA5::MVAValue(), reco::tau::disc::NeutralOutlierPt(), reco::TrackSelector::operator()(), GenJetSort::operator()(), AcceptJet::operator()(), GenParticleCustomSelector::operator()(), BasicJetSort::operator()(), SmearedJetProducer_namespace::GenJetMatcherT< pat::Jet >::operator()(), CaloJetSort::operator()(), TtHadLRJetCombObservables::operator()(), L2TauJetsMerger::SorterByPt::operator()(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), WSelector::operator()(), TtSemiLepSignalSelMVATrainer::JetwithHigherPt::operator()(), WPlusJetsEventSelector::operator()(), TtSemiLRJetCombObservables::operator()(), WMuNuProducer::ComparePt::operator()(), reco::tau::RecoTauPiZeroStripPlugin::operator()(), reco::tau::PFRecoTauChargedHadronFromTrackPlugin::operator()(), AlignmentMuonSelector::ComparePt::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), reco::tau::RecoTauPiZeroStripPlugin3::operator()(), HPSPFRecoTauAlgorithm::HPSTauPtSorter::operator()(), DiJetAnalyzer::JetCorretPairComp::operator()(), MuScleFitUtils::byPt::operator()(), GammaJetAnalysis::PFJetCorretPairComp::operator()(), GammaJetAnalysis::PhotonPairComp::operator()(), reco::operator<<(), reco::tau::disc::OutlierPt(), muon::overlap(), PFEGammaFilters::passElectronSelection(), PhotonSelectorAlgo::passPhotonSelection(), PFEGammaFilters::passPhotonSelection(), EgammaCutBasedEleId::PassTriggerCuts(), GammaJetAnalysis::pfEcalIso(), GammaJetAnalysis::pfTkIsoWithVertex(), reco::tau::disc::PiZeroPt(), PFMuonAlgo::postClean(), PFAlgo::postCleaning(), reco::GenericJet::print(), PatJetAnalyzer::print(), reco::PFRecoTauChargedHadron::print(), reco::GenJet::print(), reco::RecoTauPiZero::print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), PFAlgo::processBlock(), MuonWithPFIsoProducerCopy::produce(), MuonWithPFIsoProducer::produce(), DistortedMuonProducerFromDB::produce(), DistortedMuonProducer::produce(), DistortedPFCandProducer::produce(), QuarkoniaTrackSelector::produce(), RegressionEnergyPatElectronProducer::produce(), L1HLTTauMatching::produce(), ISRWeightProducer::produce(), CaloMuonMerger::produce(), PileupJPTJetIdProducer::produce(), QjetsAdder::produce(), MuonReSeeder::produce(), MuonMETcorrInputProducer::produce(), EgammaHLTPFChargedIsolationProducer::produce(), EgammaHLTPFNeutralIsolationProducer::produce(), SoftPFMuonTagInfoProducer::produce(), SoftPFElectronTagInfoProducer::produce(), NoPileUpPFMEtProducer::produce(), pat::PATPackedCandidateProducer::produce(), GenParticlesFromZsSelectorForMCEmbedding::produce(), WMuNuProducer::produce(), OutsideInMuonSeeder::produce(), BoostedTauSeedsProducer::produce(), AlCaHcalNoiseProducer::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), PileupJetIdProducer::produce(), reco::CentralityProducer::produce(), reco::PFMETProducerMVA::produce(), JetPartonMatcher::produce(), SmearedJetProducerT< T, Textractor >::produce(), reco::tau::disc::Pt(), egHLT::OffPho::pt(), reco::tau::qcuts::ptMin_cand(), MuonIsolationDQM::RecordData(), Lepton.Lepton::relEffAreaIso(), Lepton.Lepton::relIso(), ElectronLikelihood::result(), ElectronLikelihood::resultLog(), reco::tau::disc::ScaledOpeningDeltaR(), reco::HcalIsolatedTrackCandidate::setL1(), FWMuonDetailView::setTextInfo(), FWPFCandidateDetailView::setTextInfo(), MVAJetIdMaker::SetVars(), cms::MuonMETValueMapProducer::should_type_MuonCandidateValuesUsed(), reco::tau::disc::SignalPtFraction(), MuonVPlusJetsIDSelectionFunctor::spring10Cuts(), MuonVPlusJetsIDSelectionFunctor::summer08Cuts(), reco::tau::sumPFCandPt(), GenericMVAJetTagComputer::taggingVariables(), EgammaCutBasedEleId::TestWP(), PFMuonSelector::TopPag12LjetsCuts(), reco::tau::disc::TrackPt(), and PFMuonAlgo::tracksWithBetterMET().
|
inlinevirtual |
x coordinate of momentum vector
Implements reco::Candidate.
Definition at line 125 of file LeafCandidate.h.
References m_state, and reco::ParticleState::px().
Referenced by StKinFitter::addKinFitInfo(), TtFullLepKinSolver::addKinSolInfo(), FBaseSimEvent::addParticles(), EwkMuDQM::analyze(), EwkElecDQM::analyze(), EwkMuLumiMonitorDQM::analyze(), myJetAna::analyze(), HiggsDQM::analyze(), METTester::analyze(), DiJetAnalyzer::analyze(), JetAnalyzer::analyze(), GammaJetAnalysis::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWPFCandidateWithHitsProxyBuilder::build(), FWPFCandidate3DProxyBuilder::build(), reco::FlavorHistoryEvent::cache(), razor::CalcMTR(), pat::LeptonJetIsolationAngle::calculate(), MEzCalculator::Calculate(), METzCalculator::Calculate(), PFMETBenchmark::calculateQuantities(), PFAlgo::checkCleaning(), PFMuonAlgo::cleanMismeasured(), AddCorrectionsToGenericMET::constructP4From(), L1JPTOffsetCorrector::correction(), L1JPTOffsetCorrectorImpl::correction(), JetPlusTrackCorrector::correction(), AdHocNTupler::fill(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), METAnalyzer::fillMonitorElement(), MatchMETBenchmark::fillOne(), METBenchmark::fillOne(), PFMETMonitor::fillOne(), FastL1Region::FillTower(), FastL1Region::FillTower_Scaled(), WMuNuValidator::filter(), WMuNuSelector::filter(), HSCPTreeBuilder::filter(), TtSemiLepKinFitter::fit(), TtFullHadKinFitter::fit(), reco::GlobalHaloData::GetCorrectedCaloMET(), PFMuonAlgo::getMinMaxMET2(), metsig::METSignificance::getSignificance(), PFPhotonIsolationCalculator::isChargedParticleVetoed(), PFIsolationEstimator::isChargedParticleVetoed(), TauValidation::leadingPionP4(), reco::IsolatedTauTagInfo::leadingSignalTrack(), main(), reco::WMuNuCandidate::massT(), MatchJet::matchCollections(), BasicGenParticleValidation::matchParticles(), TauValidation::motherP4(), TtSemiLRSignalSelObservables::operator()(), hitfit::METTranslatorBase< AMet >::operator()(), hitfit::LeptonTranslatorBase< ALepton >::operator()(), Calculate::operator()(), CalculateHLT::operator()(), PFMuonAlgo::postClean(), PFAlgo::postCleaning(), reco::GenericJet::print(), MEzCalculator::Print(), METzCalculator::Print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), L1ExtraMEtMixerPlugin::produce(), MuonMETcorrInputProducer::produce(), SoftPFMuonTagInfoProducer::produce(), SoftPFElectronTagInfoProducer::produce(), NoPileUpPFMEtProducer::produce(), WMuNuProducer::produce(), JetEnergyShift::produce(), JetPlusTrackProducer::produce(), JetPlusTrackProducerAA::produce(), reco::PFMETProducerMVA::produce(), BoostedTopProducer::produce(), pat::PATMETSlimmer::OneMETShift::readAndSet(), Type1PFMET::run(), pat::MET::setCorShift(), 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(), ImpactParameterAlgorithm::tag(), PFMuonAlgo::tracksWithBetterMET(), TauValidation::visibleTauEnergy(), and reco::WMuNuCandidatePtr::WMuNuCandidatePtr().
|
inlinevirtual |
y coordinate of momentum vector
Implements reco::Candidate.
Definition at line 127 of file LeafCandidate.h.
References m_state, and reco::ParticleState::py().
Referenced by StKinFitter::addKinFitInfo(), TtFullLepKinSolver::addKinSolInfo(), FBaseSimEvent::addParticles(), ElectronMcSignalValidator::analyze(), EwkMuDQM::analyze(), EwkElecDQM::analyze(), EwkMuLumiMonitorDQM::analyze(), ElectronMcFakeValidator::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), myJetAna::analyze(), HiggsDQM::analyze(), METTester::analyze(), DiJetAnalyzer::analyze(), JetAnalyzer::analyze(), GammaJetAnalysis::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWPFCandidateWithHitsProxyBuilder::build(), FWPFCandidate3DProxyBuilder::build(), reco::FlavorHistoryEvent::cache(), razor::CalcMTR(), pat::LeptonJetIsolationAngle::calculate(), MEzCalculator::Calculate(), METzCalculator::Calculate(), PFMETBenchmark::calculateQuantities(), PFAlgo::checkCleaning(), PFMuonAlgo::cleanMismeasured(), AddCorrectionsToGenericMET::constructP4From(), L1JPTOffsetCorrector::correction(), L1JPTOffsetCorrectorImpl::correction(), JetPlusTrackCorrector::correction(), AdHocNTupler::fill(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), METAnalyzer::fillMonitorElement(), MatchMETBenchmark::fillOne(), METBenchmark::fillOne(), PFMETMonitor::fillOne(), FastL1Region::FillTower(), FastL1Region::FillTower_Scaled(), WMuNuValidator::filter(), WMuNuSelector::filter(), HSCPTreeBuilder::filter(), TtSemiLepKinFitter::fit(), TtFullHadKinFitter::fit(), reco::GlobalHaloData::GetCorrectedCaloMET(), PFMuonAlgo::getMinMaxMET2(), metsig::METSignificance::getSignificance(), PFPhotonIsolationCalculator::isChargedParticleVetoed(), PFIsolationEstimator::isChargedParticleVetoed(), TauValidation::leadingPionP4(), reco::IsolatedTauTagInfo::leadingSignalTrack(), main(), reco::WMuNuCandidate::massT(), MatchJet::matchCollections(), BasicGenParticleValidation::matchParticles(), TauValidation::motherP4(), TtSemiLRSignalSelObservables::operator()(), hitfit::METTranslatorBase< AMet >::operator()(), hitfit::LeptonTranslatorBase< ALepton >::operator()(), Calculate::operator()(), CalculateHLT::operator()(), PFMuonAlgo::postClean(), PFAlgo::postCleaning(), reco::GenericJet::print(), MEzCalculator::Print(), METzCalculator::Print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), L1ExtraMEtMixerPlugin::produce(), MuonMETcorrInputProducer::produce(), SoftPFMuonTagInfoProducer::produce(), SoftPFElectronTagInfoProducer::produce(), NoPileUpPFMEtProducer::produce(), WMuNuProducer::produce(), JetEnergyShift::produce(), JetPlusTrackProducer::produce(), JetPlusTrackProducerAA::produce(), reco::PFMETProducerMVA::produce(), BoostedTopProducer::produce(), pat::PATMETSlimmer::OneMETShift::readAndSet(), Type1PFMET::run(), pat::MET::setCorShift(), 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(), ImpactParameterAlgorithm::tag(), PFMuonAlgo::tracksWithBetterMET(), and TauValidation::visibleTauEnergy().
|
inlinevirtual |
z coordinate of momentum vector
Implements reco::Candidate.
Definition at line 129 of file LeafCandidate.h.
References m_state, and reco::ParticleState::pz().
Referenced by StKinFitter::addKinFitInfo(), TtFullLepKinSolver::addKinSolInfo(), FBaseSimEvent::addParticles(), EwkMuDQM::analyze(), EwkElecDQM::analyze(), HiggsDQM::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWPFCandidateWithHitsProxyBuilder::build(), FWPFCandidate3DProxyBuilder::build(), reco::FlavorHistoryEvent::cache(), pat::LeptonJetIsolationAngle::calculate(), MEzCalculator::Calculate(), METzCalculator::Calculate(), L1JPTOffsetCorrector::correction(), L1JPTOffsetCorrectorImpl::correction(), JetPlusTrackCorrector::correction(), EMEnrichingFilterAlgo::deltaRxyAtEE(), doubleEMEnrichingFilterAlgo::deltaRxyAtEE(), AdHocNTupler::fill(), HSCPTreeBuilder::filter(), TtSemiLepKinFitter::fit(), TtFullHadKinFitter::fit(), reco::GlobalHaloData::GetCorrectedCaloMET(), TauValidation::leadingPionP4(), reco::IsolatedTauTagInfo::leadingSignalTrack(), main(), MatchJet::matchCollections(), BasicGenParticleValidation::matchParticles(), TauValidation::motherP4(), TtSemiLRSignalSelObservables::operator()(), hitfit::LeptonTranslatorBase< ALepton >::operator()(), reco::GenericJet::print(), MEzCalculator::Print(), METzCalculator::Print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), SoftPFMuonTagInfoProducer::produce(), SoftPFElectronTagInfoProducer::produce(), WMuNuProducer::produce(), JetPlusTrackProducer::produce(), JetPlusTrackProducerAA::produce(), BoostedTopProducer::produce(), setPz(), TauValidation::spinEffectsZH(), ImpactParameterAlgorithm::tag(), and TauValidation::visibleTauEnergy().
|
inlinevirtual |
rapidity
Implements reco::Candidate.
Definition at line 139 of file LeafCandidate.h.
References m_state, and reco::ParticleState::rapidity().
Referenced by y().
|
inlinevirtual |
set electric charge
Implements reco::Candidate.
Definition at line 93 of file LeafCandidate.h.
References m_state, and reco::ParticleState::setCharge().
Referenced by PFMuonAlgo::changeTrack(), MuonsFromRefitTracksProducer::cloneAndSwitchTrack(), converter::SuperClusterToCandidate::convert(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), pat::GenericParticle::fillInFrom(), PFEGammaAlgo::fillPFCandidates(), MuScleFitFilter::filter(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::PFTauDecayMode::PFTauDecayMode(), PFAlgo::processBlock(), TauGenJetProducer::produce(), GlobalMuonToMuonProducer::produce(), MuonProducer::produce(), and reco::writeSpecific().
|
inlinevirtual |
long lived flag set long lived flag
Implements reco::Candidate.
Definition at line 170 of file LeafCandidate.h.
References m_state, and reco::ParticleState::setLongLived().
|
inlinevirtual |
set particle mass
Implements reco::Candidate.
Definition at line 147 of file LeafCandidate.h.
References visualization-live-secondInstance_cfg::m, m_state, and reco::ParticleState::setMass().
Referenced by RecoTauPiZeroProducer::produce().
|
inlinevirtual |
do mass constraint flag set mass constraint flag
Implements reco::Candidate.
Definition at line 175 of file LeafCandidate.h.
References m_state, and reco::ParticleState::setMassConstraint().
|
inlinevirtual |
set 4-momentum
Implements reco::Candidate.
Definition at line 143 of file LeafCandidate.h.
References m_state, and reco::ParticleState::setP4().
Referenced by EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), HPSPFRecoTauAlgorithm::buildPFTau(), PFMuonAlgo::changeTrack(), MuonsFromRefitTracksProducer::cloneAndSwitchTrack(), converter::SuperClusterToCandidate::convert(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), GenParticleProducer::convertParticle(), TtFullHadKinFitter::KinFit::corJet(), PFRecoTauDiscriminationByIsolation::discriminate(), pat::GenericParticle::fillInFrom(), pat::PATMuonProducer::fillMuon(), PFEGammaAlgo::fillPFCandidates(), MuScleFitFilter::filter(), L1GObject::initialize(), reco::tau::RecoTauPhotonFilter::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::tau::PFRecoTauEnergyAlgorithmPlugin::operator()(), TemplatedSecondaryVertexProducer< IPTI, VTX >::SVBuilder::operator()(), reco::PFTauDecayMode::PFTauDecayMode(), PFAlgo::processBlock(), l1t::Stage2Layer2EGammaAlgorithmFirmwareImp1::processEvent(), DistortedMuonProducerFromDB::produce(), DistortedMuonProducer::produce(), DistortedPFCandProducer::produce(), GlobalMuonToMuonProducer::produce(), DeltaBetaWeights::produce(), PuppiProducer::produce(), HLTMETCleanerUsingJetID::produce(), ShiftedPFCandidateProducerByMatchedObject::produce(), NoPileUpPFMEtProducer::produce(), pat::PATJetUpdater::produce(), ShiftedPFCandidateProducerForPFMVAMEt::produce(), NoPileUpPFMEtDataProducer::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), ShiftedPFCandidateProducerForPFNoPUMEt::produce(), SoftKillerProducer::produce(), SmearedPFCandidateProducerForPFNoPUMEtT< T, Textractor >::produce(), MuonProducer::produce(), reco::PFMETProducerMVA::produce(), HPSPFRecoTauAlgorithm::refitThreeProng(), reco::PFCandidate::rescaleMomentum(), PFPhotonAlgo::RunPFPhoton(), CandCommonVertexFitterBase::set(), PFCandCommonVertexFitterBase::set(), CandKinematicVertexFitter::set(), reco::tau::setChargedHadronP4(), MEzCalculator::SetLepton(), MEzCalculator::SetMET(), METzCalculator::SetMET(), METzCalculator::SetMuon(), and SelectReplacementCandidates::transformMuMu2TauTau().
|
inlinevirtual |
set 4-momentum
Implements reco::Candidate.
Definition at line 145 of file LeafCandidate.h.
References m_state, and reco::ParticleState::setP4().
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 163 of file LeafCandidate.h.
References m_state, pdgId(), and reco::ParticleState::setPdgId().
Referenced by converter::SuperClusterToCandidate::convert(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), GenParticleProducer::convertParticle(), pat::GenericParticle::fillInFrom(), PFEGammaAlgo::fillPFCandidates(), V0Fitter::fitAll(), reco::PFCandidate::PFCandidate(), reco::PFRecoTauChargedHadron::PFRecoTauChargedHadron(), reco::PFTauDecayMode::PFTauDecayMode(), L2TauJetsMerger::produce(), reco::RecoTauPiZero::RecoTauPiZero(), reco::PFCandidate::setParticleType(), and SelectReplacementCandidates::transformMuMu2TauTau().
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 148 of file LeafCandidate.h.
References m_state, pz(), and reco::ParticleState::setPz().
Referenced by BoostedTopProducer::produce().
|
inlinevirtual |
set status word
Implements reco::Candidate.
Definition at line 167 of file LeafCandidate.h.
References m_state, reco::ParticleState::setStatus(), and status().
Referenced by GenParticleProducer::convertParticle(), pat::GenericParticle::fillInFrom(), reco::PFTauDecayMode::PFTauDecayMode(), and SelectReplacementCandidates::transformMuMu2TauTau().
|
inlinevirtual |
set electric charge
Implements reco::Candidate.
Definition at line 97 of file LeafCandidate.h.
References m_state, and reco::ParticleState::setThreeCharge().
Referenced by GenParticleProducer::convertParticle().
|
inlinevirtual |
set vertex
Implements reco::Candidate.
Reimplemented in reco::PFCandidate, and reco::Photon.
Definition at line 158 of file LeafCandidate.h.
References m_state, and reco::ParticleState::setVertex().
Referenced by MuonsFromRefitTracksProducer::cloneAndSwitchTrack(), converter::SuperClusterToCandidate::convert(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), GenParticleProducer::convertParticle(), pat::GenericParticle::fillInFrom(), TemplatedSecondaryVertexProducer< IPTI, VTX >::SVBuilder::operator()(), L2TauPixelTrackMatch::produce(), GlobalMuonToMuonProducer::produce(), FastjetJetProducer::produceTrackJets(), HPSPFRecoTauAlgorithm::refitThreeProng(), CandCommonVertexFitterBase::set(), PFCandCommonVertexFitterBase::set(), CandKinematicVertexFitter::set(), reco::V0Candidate::setVertex(), reco::PFCandidate::setVertex(), and reco::PFCandidate::setVertexSource().
|
inlinevirtual |
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, reco::LeafRefCandidateT, and reco::CompositePtrCandidate.
Definition at line 86 of file LeafCandidate.h.
|
inlinevirtual |
status word
Implements reco::Candidate.
Definition at line 165 of file LeafCandidate.h.
References m_state, and reco::ParticleState::status().
Referenced by FBaseSimEvent::addParticles(), TauDecay_GenParticle::AddPi0Info(), EWKSystUnc::analyze(), zPdfUnc::analyze(), ZLONLOHistogrammer::analyze(), ZMuPtScaleAnalyzer::analyze(), JetAnaPythia< Jet >::analyze(), AcceptanceHistoProducer::analyze(), TauDecay_GenParticle::Analyze(), AnaL1CaloCleaner::analyze(), ResolutionCreator::analyze(), TTbarSpinCorrHepMCAnalyzer::analyze(), L1Validator::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), GeneratorTau::computeDecayMode(), GeneratorTau::computeStableDecayProducts(), GeneratorTau::decayToPDGClassification(), TopDecaySubset::fillListing(), HeavyQuarkFromMPIFilterAlgo::filter(), doubleEMEnrichingFilterAlgo::filter(), BCToEFilterAlgo::filter(), HighETPhotonsFilterAlgo::filter(), HSCPTreeBuilder::filter(), EMEnrichingFilterAlgo::filterIsoGenPar(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), TopDecaySubset::findLastParticleInChain(), reco::GenParticle::fromHardProcessFinalState(), pat::PATObject< ObjectType >::genParticleById(), GenParticlesHelper::hasAncestor(), HeavyQuarkFromMPIFilterAlgo::hasMPIAncestor(), reco::GenParticle::isDirectHardProcessTauDecayProductFinalState(), reco::GenParticle::isDirectPromptTauDecayProductFinalState(), HiGammaJetSignalDef::IsIsolated(), HiGammaJetSignalDef::IsIsolatedJP(), HiGammaJetSignalDef::IsIsolatedPP(), reco::GenParticle::isPromptFinalState(), McSelector::isSelected(), GenParticleCustomSelector::operator()(), WeakEffectsWeightProducer::produce(), MCTrackMatcher::produce(), ISRGammaWeightProducer::produce(), ISRWeightProducer::produce(), FSRWeightProducer::produce(), PdfWeightProducer::produce(), PartonSelector::produce(), pat::PATPackedGenParticleProducer::produce(), JetPartonMatcher::produce(), setStatus(), TauValidation::tauDecayChannel(), and heppy::FSRWeightAlgo::weight().
|
inlinevirtual |
momentum polar angle
Implements reco::Candidate.
Definition at line 135 of file LeafCandidate.h.
References m_state, and reco::ParticleState::theta().
Referenced by FWMuonDetailView::addSceneInfo(), FWElectronDetailView::addSceneInfo(), FWL1EtMissParticleProxyBuilder::build(), FWL1JetParticleProxyBuilder::build(), FWL1MuonParticleProxyBuilder::build(), FWL1EmParticleProxyBuilder::build(), FWMET3DProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWMETProxyBuilder::buildViewType(), FWJetProxyBuilder::buildViewType(), EMEnrichingFilterAlgo::deltaRxyAtEE(), doubleEMEnrichingFilterAlgo::deltaRxyAtEE(), CaloTower::emEt(), metsig::SignAlgoResolutions::evalPF(), FWECalPFCandidateProxyBuilder::getEt(), FWHCalPFCandidateProxyBuilder::getEt(), CaloTower::hadEt(), CaloTower::outerEt(), FSRWeightProducer::produce(), pf2pat::PFMETAlgo::produce(), pat::LeptonJetIsolationAngle::spaceAngle(), heppy::FSRWeightAlgo::weight(), and Tau.Tau::zImpact().
|
inlinevirtual |
electric charge
Implements reco::Candidate.
Definition at line 95 of file LeafCandidate.h.
References m_state, and reco::ParticleState::threeCharge().
Referenced by TopDecaySubset::fillListing().
|
inlinevirtual |
vertex position (overwritten by PF...)
Implements reco::Candidate.
Reimplemented in reco::PFCandidate.
Definition at line 150 of file LeafCandidate.h.
References m_state, and reco::ParticleState::vertex().
Referenced by MultiTrackValidatorGenPs::analyze(), ElectronMcSignalValidator::analyze(), ElectronTagProbeAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), PFMEtSignInterfaceBase::compResolution(), reco::TemplatedSecondaryVertex< SV >::computeDist2d(), reco::TemplatedSecondaryVertex< SV >::computeDist3d(), PFTauExtractor::depositFromObject(), PFCandWithSuperClusterExtractor::depositFromObject(), reco::CaloJet::detectorP4(), Tau.Tau::dxy(), ErsatzMEt::ersatzFabrik(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), TopDecaySubset::fillListing(), PF_PU_AssoMapAlgos::FindV0Vertex(), flightDirection(), AddCorrectionsToGenericMET::getCorrectedCaloMET(), AddCorrectionsToGenericMET::getCorrectedMET(), AddCorrectionsToGenericMET::getCorrectedPFMET(), MuonMETAlgo::GetMuDepDeltas(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), fireworks::makeEveJetCone(), GenParticleCustomSelector::operator()(), CorrectJet::operator()(), SmearedJetProducer_namespace::JetResolutionExtractorT< pat::Jet >::operator()(), reco::LeafRefCandidateT::overlap(), overlap(), EgammaHLTTrackIsolation::photonIsolation(), reco::CaloJet::physicsP4(), reco::VertexCompositePtrCandidate::position(), position(), pat::PATTrackAndVertexUnpacker::produce(), Type1PFMET::run(), and reco::PFCandidate::vertex().
|
virtual |
chi-squares
Implements reco::Candidate.
Reimplemented in reco::VertexCompositeCandidate, and reco::VertexCompositePtrCandidate.
Definition at line 66 of file LeafCandidate.cc.
|
virtual |
(i, j)-th element of error matrix, i, j = 0, ... 2
Implements reco::Candidate.
Reimplemented in reco::VertexCompositeCandidate, and reco::VertexCompositePtrCandidate.
Definition at line 78 of file LeafCandidate.cc.
References edm::hlt::Exception, and edm::errors::UnimplementedFeature.
|
inlinevirtual |
return SMatrix
Reimplemented from reco::Candidate.
Definition at line 198 of file LeafCandidate.h.
References fillVertexCovariance(), and visualization-live-secondInstance_cfg::m.
|
virtual |
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::VertexCompositeCandidate, and reco::VertexCompositePtrCandidate.
Definition at line 70 of file LeafCandidate.cc.
|
virtual |
chi-squared divided by n.d.o.f.
Implements reco::Candidate.
Reimplemented in reco::VertexCompositeCandidate, and reco::VertexCompositePtrCandidate.
Definition at line 74 of file LeafCandidate.cc.
|
inlinevirtual |
x coordinate of vertex position
Implements reco::Candidate.
Reimplemented in reco::PFCandidate.
Definition at line 152 of file LeafCandidate.h.
References m_state, and reco::ParticleState::vx().
Referenced by FBaseSimEvent::addParticles(), WenuPlots::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWSecVertexCandidateProxyBuilder::build(), FWVertexCandidateProxyBuilder::build(), reco::PFTau::dump(), and PFIsolationEstimator::fGetIsolationInRings().
|
inlinevirtual |
y coordinate of vertex position
Implements reco::Candidate.
Reimplemented in reco::PFCandidate.
Definition at line 154 of file LeafCandidate.h.
References m_state, and reco::ParticleState::vy().
Referenced by FBaseSimEvent::addParticles(), WenuPlots::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWSecVertexCandidateProxyBuilder::build(), FWVertexCandidateProxyBuilder::build(), reco::PFTau::dump(), and PFIsolationEstimator::fGetIsolationInRings().
|
inlinevirtual |
z coordinate of vertex position
Implements reco::Candidate.
Reimplemented in reco::PFCandidate.
Definition at line 156 of file LeafCandidate.h.
References m_state, and reco::ParticleState::vz().
Referenced by FBaseSimEvent::addParticles(), WenuPlots::analyze(), ZMuMu_vtxAnalyzer::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWSecVertexCandidateProxyBuilder::build(), FWVertexCandidateProxyBuilder::build(), HLTDoubletDZ< T1, T2 >::computeDZ(), PFCandWithSuperClusterExtractor::depositFromObject(), reco::PFTau::dump(), PFIsolationEstimator::fGetIsolationInRings(), and egHLT::OffPho::zVtx().
|
inlinevirtual |
rapidity
Implements reco::Candidate.
Definition at line 141 of file LeafCandidate.h.
References rapidity().
Referenced by svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), pat::PATPackedGenParticleProducer::produce(), pat::MET::shiftedP4(), and pat::MET::shiftedP4_74x().
|
friend |
Definition at line 268 of file LeafCandidate.h.
|
friend |
Definition at line 267 of file LeafCandidate.h.
|
friend |
Definition at line 269 of file LeafCandidate.h.
|
friend |
Definition at line 270 of file LeafCandidate.h.
|
private |
Definition at line 262 of file LeafCandidate.h.
Referenced by boostToCM(), charge(), construct(), energy(), et(), et2(), eta(), longLived(), mass(), massConstraint(), momentum(), mt(), mtSqr(), p(), p4(), pdgId(), phi(), polarP4(), pt(), px(), py(), pz(), rapidity(), setCharge(), setLongLived(), setMass(), setMassConstraint(), setP4(), setPdgId(), setPz(), setStatus(), setThreeCharge(), setVertex(), status(), theta(), threeCharge(), vertex(), vx(), vy(), and vz().