#include <LeafCandidate.h>
Classes | |
struct | GCC11_FINAL |
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 const_iterator | begin () const |
first daughter const_iterator More... | |
virtual iterator | begin () |
first daughter iterator More... | |
template<typename S > | |
daughter_iterator< S >::type | beginFilter (const S &s) const |
virtual Vector | boostToCM () const GCC11_FINAL |
virtual int | charge () const GCC11_FINAL |
electric charge More... | |
virtual LeafCandidate * | clone () const |
returns a clone of the Candidate object More... | |
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 const_iterator | end () const |
last daughter const_iterator More... | |
virtual iterator | end () |
last daughter iterator More... | |
template<typename S > | |
daughter_iterator< S >::type | endFilter (const S &s) const |
virtual double | energy () const GCC11_FINAL |
energy More... | |
virtual double | et () const GCC11_FINAL |
transverse energy More... | |
virtual float | eta () const GCC11_FINAL |
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 () | |
default constructor More... | |
LeafCandidate (const Candidate &c) | |
template<typename P4 > | |
LeafCandidate (Charge q, const P4 &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from Any values More... | |
LeafCandidate (Charge q, const PtEtaPhiMass &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from values More... | |
LeafCandidate (Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from values More... | |
LeafCandidate (Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from values More... | |
virtual bool | longLived () const GCC11_FINAL |
is long lived? More... | |
virtual float | mass () const GCC11_FINAL |
mass More... | |
virtual bool | massConstraint () const GCC11_FINAL |
do mass constraint? More... | |
virtual float | massSqr () const GCC11_FINAL |
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 GCC11_FINAL |
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 GCC11_FINAL |
transverse mass More... | |
virtual double | mtSqr () const GCC11_FINAL |
transverse mass squared More... | |
template<typename T > | |
size_type | numberOf () const |
number of components More... | |
template<typename T , typename Tag > | |
size_type | numberOf () const |
number of components More... | |
virtual size_t | numberOfDaughters () const |
number of daughters More... | |
virtual size_t | numberOfMothers () const |
number of mothers More... | |
virtual size_t | numberOfSourceCandidatePtrs () const |
virtual double | p () const GCC11_FINAL |
magnitude of momentum vector More... | |
virtual const LorentzVector & | p4 () const GCC11_FINAL |
four-momentum Lorentz vector More... | |
virtual int | pdgId () const GCC11_FINAL |
PDG identifier. More... | |
virtual float | phi () const GCC11_FINAL |
momentum azimuthal angle More... | |
virtual const PolarLorentzVector & | polarP4 () const GCC11_FINAL |
four-momentum Lorentz vector More... | |
virtual float | pt () const GCC11_FINAL |
transverse momentum More... | |
virtual double | px () const GCC11_FINAL |
x coordinate of momentum vector More... | |
virtual double | py () const GCC11_FINAL |
y coordinate of momentum vector More... | |
virtual double | pz () const GCC11_FINAL |
z coordinate of momentum vector More... | |
virtual double | rapidity () const GCC11_FINAL |
rapidity More... | |
virtual void | setCharge (Charge q) GCC11_FINAL |
set electric charge More... | |
virtual void | setLongLived () GCC11_FINAL |
set long lived flag More... | |
virtual void | setMass (double m) GCC11_FINAL |
set particle mass More... | |
virtual void | setMassConstraint () GCC11_FINAL |
set mass constraint flag More... | |
virtual void | setP4 (const LorentzVector &p4) GCC11_FINAL |
set 4-momentum More... | |
virtual void | setP4 (const PolarLorentzVector &p4) GCC11_FINAL |
set 4-momentum More... | |
virtual void | setPdgId (int pdgId) GCC11_FINAL |
virtual void | setPz (double pz) GCC11_FINAL |
virtual void | setStatus (int status) GCC11_FINAL |
set status word More... | |
virtual void | setThreeCharge (Charge qx3) GCC11_FINAL |
set electric charge More... | |
virtual void | setVertex (const Point &vertex) |
set vertex More... | |
virtual CandidatePtr | sourceCandidatePtr (size_type i) const |
virtual int | status () const GCC11_FINAL |
status word More... | |
virtual double | theta () const GCC11_FINAL |
momentum polar angle More... | |
virtual int | threeCharge () const GCC11_FINAL |
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 GCC11_FINAL |
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 GCC11_FINAL |
rapidity More... | |
virtual | ~LeafCandidate () |
destructor More... | |
Public Member Functions inherited from reco::Candidate | |
template<typename S > | |
daughter_iterator< S >::type | beginFilter (const S &s) const |
Candidate () | |
default constructor More... | |
template<typename S > | |
daughter_iterator< S >::type | endFilter (const S &s) const |
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... | |
Static Public Attributes | |
static const unsigned int | longLivedTag = 65536 |
long lived flag More... | |
static const unsigned int | massConstraintTag = 131072 |
do mass constraint flag More... | |
Protected Member Functions | |
void | cacheCartesian () const |
set internal cache More... | |
void | cachePolar () const |
set internal cache More... | |
void | clearCache () const |
clear internal cache More... | |
virtual bool | overlap (const Candidate &) const |
check overlap with another Candidate More... | |
Protected Attributes | |
bool | cacheCartesianFixed_ |
bool | cachePolarFixed_ |
has cache been set? More... | |
float | eta_ |
float | mass_ |
LorentzVector | p4Cartesian_ |
internal cache for p4 More... | |
PolarLorentzVector | p4Polar_ |
internal cache for p4 More... | |
int | pdgId_ |
PDG identifier. More... | |
float | phi_ |
float | pt_ |
four-momentum Lorentz vector More... | |
Charge | qx3_ |
electric charge More... | |
int | status_ |
status word More... | |
Point | vertex_ |
vertex position More... | |
Private Types | |
typedef candidate::const_iterator_imp_specific < daughters > | const_iterator_imp_specific |
typedef candidate::iterator_imp_specific < daughters > | iterator_imp_specific |
Friends | |
class | ::OverlapChecker |
template<typename , typename , typename > | |
struct | component |
class | ShallowCloneCandidate |
class | ShallowClonePtrCandidate |
particle candidate with no constituent nor daughters
Definition at line 19 of file LeafCandidate.h.
typedef int reco::LeafCandidate::Charge |
electric charge type
Definition at line 24 of file LeafCandidate.h.
|
private |
Definition at line 370 of file LeafCandidate.h.
collection of daughter candidates
Definition at line 22 of file LeafCandidate.h.
typedef unsigned int reco::LeafCandidate::index |
Definition at line 34 of file LeafCandidate.h.
|
private |
Definition at line 372 of file LeafCandidate.h.
Lorentz vector.
Definition at line 26 of file LeafCandidate.h.
point in the space
Definition at line 30 of file LeafCandidate.h.
Lorentz vector.
Definition at line 28 of file LeafCandidate.h.
point in the space
Definition at line 32 of file LeafCandidate.h.
|
inline |
default constructor
Definition at line 37 of file LeafCandidate.h.
Referenced by clone().
|
inlineexplicit |
Definition at line 42 of file LeafCandidate.h.
|
inline |
constructor from Any values
Definition at line 50 of file LeafCandidate.h.
|
inline |
constructor from values
Definition at line 58 of file LeafCandidate.h.
|
inline |
constructor from values
Definition at line 65 of file LeafCandidate.h.
References qx3_.
|
inline |
constructor from values
Definition at line 73 of file LeafCandidate.h.
References qx3_.
|
virtual |
|
virtual |
first daughter const_iterator
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Definition at line 8 of file LeafCandidate.cc.
Referenced by beginFilter(), and ZeeCandidateFilter::filter().
|
virtual |
first daughter iterator
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Definition at line 16 of file LeafCandidate.cc.
|
inline |
Definition at line 307 of file LeafCandidate.h.
References begin(), and end().
|
inlinevirtual |
boost vector to boost a Lorentz vector to the particle center of mass system
Implements reco::Candidate.
Definition at line 130 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
|
inlineprotected |
set internal cache
Definition at line 350 of file LeafCandidate.h.
References cacheCartesianFixed_, cachePolar(), p4Cartesian_, and p4Polar_.
Referenced by boostToCM(), energy(), momentum(), p(), p4(), px(), py(), pz(), setPz(), and theta().
|
inlineprotected |
set internal cache
Definition at line 344 of file LeafCandidate.h.
References cachePolarFixed_, eta_, mass_, p4Polar_, phi_, and pt_.
Referenced by cacheCartesian(), et(), mt(), mtSqr(), polarP4(), and rapidity().
|
inlinevirtual |
electric charge
Implements reco::Candidate.
Definition at line 115 of file LeafCandidate.h.
References qx3_.
Referenced by EwkMuDQM::analyze(), ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), PFTester::analyze(), ElectronTagProbeAnalyzer::analyze(), EwkMuLumiMonitorDQM::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), TauMVATrainer::analyze(), HLTMuonMatchAndPlot::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWPFCandidateWithHitsProxyBuilder::build(), FWPFCandidate3DProxyBuilder::build(), egHLT::OffEle::charge(), reco::PFTau::dump(), RecoMuonValidator::MuonME::fill(), EwkElecTauHistManager::fillHistograms(), HLTOniaSource::fillOniaTriggerMEs(), WMuNuSelector::filter(), WZInterestingEventSelector::filter(), HSCPTreeBuilder::filter(), EMEnrichingFilterAlgo::filterIsoGenPar(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), pat::PATObject< ObjectType >::genParticleById(), MuonMETAlgo::GetMuDepDeltas(), HLTMuonTrackMassFilter::hltFilter(), reco::tau::disc::mainTrack(), GenParticleCustomSelector::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::operator<<(), overlap(), reco::PFTauDecayMode::PFTauDecayMode(), QuarkoniaTrackSelector::produce(), pat::L1MuonMatcher::produce(), ParticleReplacerClass::produce(), ClassBasedElectronID::result(), MuScleFitMuonSelector::selectMuons(), FWMuonDetailView::setTextInfo(), FWElectronDetailView::setTextInfo(), reco::PFCandidate::setTrackRef(), reco::tau::sumPFCandCharge(), PFRootEventManager::tauBenchmark(), and reco::PFCandidate::translateTypeToPdgId().
|
inlineprotected |
clear internal cache
Definition at line 357 of file LeafCandidate.h.
References cacheCartesianFixed_, and cachePolarFixed_.
Referenced by setMass().
|
inlinevirtual |
returns a clone of the Candidate object
Implements reco::Candidate.
Reimplemented in reco::PFJet, reco::CaloJet, reco::JPTJet, l1extra::L1EtMissParticle, reco::PFCandidate, reco::GsfElectron, pat::Jet, l1extra::L1MuonParticle, reco::GenJet, reco::SiStripElectron, l1extra::L1JetParticle, l1extra::L1EmParticle, pat::Tau, pat::Electron, pat::Muon, reco::PFTauDecayMode, reco::IsolatedPixelTrackCandidate, pat::Photon, pat::GenericParticle, pat::MET, reco::PFTau, reco::CompositeCandidate, pat::PFParticle, pat::CompositeCandidate, reco::NamedCompositeCandidate, reco::Photon, pat::Particle, reco::MET, pat::Lepton< reco::BaseTau >, pat::Lepton< reco::GsfElectron >, pat::Lepton< reco::Muon >, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::TrackJet, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::PFClusterJet, reco::ShallowClonePtrCandidate, reco::CompositeRefBaseCandidate, reco::VertexCompositeCandidate, reco::GenParticle, reco::RecoCandidate, reco::EcalIsolatedParticleCandidate, reco::BasicJet, reco::Muon, reco::CaloRecHitCandidate, reco::IsolatedPFCandidate, reco::PileUpPFCandidate, reco::RecoChargedCandidate, reco::RecoEcalCandidate, reco::RecoStandAloneMuonCandidate, reco::CandidateWithRef< Ref >, reco::RecoCaloTowerCandidate, reco::Electron, reco::BaseTau, and reco::CaloTau.
Definition at line 232 of file LeafCandidate.h.
References LeafCandidate().
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Reimplemented in pat::Jet, reco::CompositeCandidate, reco::NamedCompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Definition at line 57 of file LeafCandidate.cc.
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositeRefCandidateT< D >, reco::NamedCompositeCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::ShallowCloneCandidate, reco::CompositePtrCandidate, reco::ShallowClonePtrCandidate, reco::CompositeRefBaseCandidate, and reco::CompositeRefCandidate.
Definition at line 79 of file LeafCandidate.cc.
|
virtual |
return daughter with a specified role name
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, and reco::NamedCompositeCandidate.
Definition at line 71 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::CompositeCandidate, and reco::NamedCompositeCandidate.
Definition at line 65 of file LeafCandidate.cc.
References edm::hlt::Exception, and edm::errors::UnimplementedFeature.
|
virtual |
last daughter const_iterator
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Definition at line 12 of file LeafCandidate.cc.
Referenced by beginFilter(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), and endFilter().
|
virtual |
last daughter iterator
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Definition at line 20 of file LeafCandidate.cc.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 311 of file LeafCandidate.h.
References end().
|
inlinevirtual |
energy
Implements reco::Candidate.
Definition at line 134 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by StKinFitter::addKinFitInfo(), TtFullLepKinSolver::addKinSolInfo(), FBaseSimEvent::addParticles(), EwkElecDQM::analyze(), JetValidation::analyze(), DQMHcalDiJetsAlCaReco::analyze(), PFCandidateChecker::analyze(), QcdHighPtDQM::analyze(), HLTMonBTagMuSource::analyze(), HLTMonBTagIPSource::analyze(), IsolatedParticlesGeneratedJets::analyze(), SimplePhotonAnalyzer::analyze(), ResolutionCreator::analyze(), JPTJetAnalyzer::analyze(), PhotonValidator::analyze(), ZdcSimHitStudy::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(), TauElementsOperators::computeConeSize(), PileupJetIdAlgo::computeIdVariables(), CaloTowersCreationAlgo::convert(), JetPlusTrackCorrector::correctAA(), L1JPTOffsetCorrector::correction(), L6SLBCorrector::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(), PFEGammaAlgo::EvaluateGCorrMVA(), PFPhotonAlgo::EvaluateResMVA(), PFEGammaAlgo::EvaluateResMVA(), SoftPFElectronTagInfoProducer::fillElecProperties(), PFJetTesterUnCorr::fillMatchHists(), JPTJetTesterUnCorr::fillMatchHists(), PFJetTester::fillMatchHists(), JPTJetTester::fillMatchHists(), CaloJetTesterUnCorr::fillMatchHists(), CaloJetTester::fillMatchHists(), SoftPFMuonTagInfoProducer::fillMuonProperties(), PFRootEventManager::fillOutEventWithCaloTowers(), PFRootEventManager::fillOutEventWithPFCandidates(), FastL1Region::FillTower(), FastL1Region::FillTower_Scaled(), HSCPTreeBuilder::filter(), EMEnrichingFilterAlgo::filterIsoGenPar(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), PFJetIDSelectionFunctor::firstDataCuts(), TtSemiLepKinFitter::fit(), TtFullHadKinFitter::fit(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), PFJetBenchmark::gettrue(), CaloTower::hadP4(), reco::PFJet::HFEMEnergyFraction(), pat::Jet::HFEMEnergyFraction(), reco::PFJet::HFHadronEnergyFraction(), pat::Jet::HFHadronEnergyFraction(), HPSPFRecoTauAlgorithm::isNarrowTau(), JetMaker::makeSpecific(), reco::makeSpecific(), reco::tau::RecoTauIsolationMasking::mask(), MatchJet::matchCollections(), PFSpecificAlgo::mkSpecificPFMETData(), reco::PFJet::muonEnergyFraction(), pat::Jet::muonEnergyFraction(), reco::JPTJet::neutralEmEnergyFraction(), reco::PFJet::neutralEmEnergyFraction(), pat::Jet::neutralEmEnergyFraction(), reco::JPTJet::neutralHadronEnergyFraction(), reco::PFJet::neutralHadronEnergyFraction(), pat::Jet::neutralHadronEnergyFraction(), SmearedJetProducer_namespace::JetResolutionExtractorT< reco::PFJet >::operator()(), TtSemiLRSignalSelObservables::operator()(), reco::tau::RecoTauEnergyRecoveryPlugin::operator()(), hitfit::LeptonTranslatorBase< ALepton >::operator()(), SmearedJetProducer_namespace::JetResolutionExtractorT< pat::Jet >::operator()(), reco::operator<<(), CaloTower::p4(), reco::PFJet::photonEnergyFraction(), pat::Jet::photonEnergyFraction(), PFAlgo::processBlock(), FSRWeightProducer::produce(), CaloTowerCandidateCreator::produce(), CaloTowerCreatorForTauHLT::produce(), pf2pat::PFMETAlgo::produce(), JetPlusTrackProducer::produce(), CastorClusterProducer::produce(), JetPlusTrackProducerAA::produce(), JetIdSelector< T >::produce(), BoostedTopProducer::produce(), SmearedJetProducerT< T, Textractor >::produce(), TCTauAlgorithm::recalculateEnergy(), reco::tau::RecoTauIsolationMasking::resolution(), pf2pat::PFIsoDepositAlgo::sameParticle(), reco::Photon::setVertex(), reco::SoftLeptonTagInfo::taggingVariables(), and PFMETAnalyzer::validateMET().
|
inlinevirtual |
transverse energy
Implements reco::Candidate.
Definition at line 136 of file LeafCandidate.h.
References cachePolar(), and p4Polar_.
Referenced by StKinFitter::addKinFitInfo(), HLTTauDQMCaloPlotter::analyze(), EwkMuDQM::analyze(), EwkElecDQM::analyze(), PFTester::analyze(), DQMHcalDiJetsAlCaReco::analyze(), TopElectronHLTOfflineSource::analyze(), HLTMonBTagIPSource::analyze(), HLTMonBTagMuSource::analyze(), WenuPlots::analyze(), SimplePhotonAnalyzer::analyze(), EwkDQM::analyze(), PatPhotonSimpleAnalyzer::analyze(), L2TauAnalyzer::analyze(), SimplePi0DiscAnalyzer::analyze(), PhotonValidator::analyze(), JPTJetAnalyzer::analyze(), L25TauAnalyzer::analyze(), EgammaObjects::analyzeElectrons(), ExoticaDQM::analyzeEventInterpretation(), ExoticaDQM::analyzeMultiJets(), EgammaObjects::analyzePhotons(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWMETGlimpseProxyBuilder::build(), FWL1EtMissParticleGlimpseProxyBuilder::build(), FWPFCandidatesLegoProxyBuilder::build(), FWMET3DProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWMETProxyBuilder::buildViewType(), FWJetProxyBuilder::buildViewType(), reco::helper::JetIDHelper::calculate(), EmDQM::checkGeneratedParticlesRequirement(), TauElementsOperators::computeConeSize(), TCTauCorrector::correction(), JetPlusTrackCorrector::correction(), egHLT::OffPho::et(), egHLT::OffEle::et(), reco::tau::qcuts::etMin(), l1extra::L1EtMissParticle::etMiss(), TopDiLeptonOffline::MonitorEnsemble::fill(), TopElectronHLTOfflineSource::EleMEs::fill(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMBTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMuTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTriggerwrtMuonTrigger(), WMuNuValidator::filter(), doubleEMEnrichingFilterAlgo::filter(), WMuNuSelector::filter(), BCToEFilterAlgo::filter(), HighETPhotonsFilterAlgo::filter(), HeavyChHiggsToTauNuSkim::filter(), PhotonEnrichmentFilter::filter(), EMEnrichingFilterAlgo::filterIsoGenPar(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), ElectronVPlusJetsIDSelectionFunctor::firstDataCuts(), TtSemiLepKinFitter::fit(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), HiGammaJetSignalDef::IsIsolated(), HiGammaJetSignalDef::IsIsolatedJP(), HiGammaJetSignalDef::IsIsolatedPP(), HPSPFRecoTauAlgorithm::isNarrowTau(), JetVertexMain::Main(), L25TauAnalyzer::matchedToPFTau(), reco::MET::mEtSig(), reco::Jet::nCarrying(), CombinedSVComputer::operator()(), GhostTrackComputer::operator()(), TtDilepLRSignalSelObservables::operator()(), TtSemiLRSignalSelObservables::operator()(), TtHadLRSignalSelObservables::CompareET::operator()(), TtSemiLRSignalSelObservables::CompareET::operator()(), PhotonValidator::sortPhotons::operator()(), L25TauAnalyzer::printInfo(), reco::JPTJet::printJet(), PFCandidateChecker::printJets(), DistortedMETProducer::produce(), L2TauRelaxingIsolationSelector::produce(), L2TauModularIsolationSelector::produce(), L2TauIsolationSelector::produce(), ParticleTowerProducer::produce(), HiL1Subtractor::produce(), JetPlusTrackCorrector::rebuildJta(), FWPhotonDetailView::setTextInfo(), FWElectronDetailView::setTextInfo(), PFElectronSelector::spring11Cuts(), and reco::SoftLeptonTagInfo::taggingVariables().
|
inlinevirtual |
momentum pseudorapidity
Implements reco::Candidate.
Definition at line 159 of file LeafCandidate.h.
References eta_.
Referenced by reco::tau::disc::AbsEta(), reco::tau::RecoTauPiZeroStripPlugin2::addCandsToStrip(), ZIterativeAlgorithmWithFit::addEvent(), StKinFitter::addKinFitInfo(), FWMuonDetailView::addSceneInfo(), FWElectronDetailView::addSceneInfo(), GlbMuQualityCutsAnalysis::analyze(), ZMuPtScaleAnalyzer::analyze(), FlavorJetCorrectionExample::analyze(), PartonJetCorrectionExample::analyze(), HLTTauDQMCaloPlotter::analyze(), EwkElecDQM::analyze(), EwkMuDQM::analyze(), ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), CMSDAS11DijetAnalyzer::analyze(), JetValidation::analyze(), RPCRecHitProbability::analyze(), PFTester::analyze(), RPCMonitorDigi::analyze(), JetTagMVATrainer::analyze(), PFJetTesterUnCorr::analyze(), ElectronTagProbeAnalyzer::analyze(), CaloJetTesterUnCorr::analyze(), JPTJetTesterUnCorr::analyze(), CaloJetTester::analyze(), PFJetTester::analyze(), JPTJetTester::analyze(), EwkMuLumiMonitorDQM::analyze(), testAnalyzer::analyze(), DQMHcalDiJetsAlCaReco::analyze(), PFCandidateChecker::analyze(), TopElectronHLTOfflineSource::analyze(), ZMuMuIsolationAnalyzer::analyze(), HLTMonBTagMuSource::analyze(), HLTMonBTagIPSource::analyze(), WenuPlots::analyze(), MuonEnergyDepositAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), IsolatedParticlesGeneratedJets::analyze(), QcdPhotonsDQM::analyze(), PatPhotonSimpleAnalyzer::analyze(), EwkDQM::analyze(), L2TauAnalyzer::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), SimplePi0DiscAnalyzer::analyze(), MuTriggerAnalyzer::analyze(), gamma_radiative_analyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), JPTJetAnalyzer::analyze(), PhotonValidator::analyze(), JetTagMVAExtractor::analyze(), L25TauAnalyzer::analyze(), TopHLTDiMuonDQM::analyze(), ZdcSimHitStudy::analyze(), HLTMuonMatchAndPlot::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), JetTagPlotter::analyzeTag(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), AlignmentMuonSelector::basicCuts(), ZToMuMuGammaAnalyzer::basicMuonSelection(), FWJetLegoProxyBuilder::build(), FWL1JetParticleLegoProxyBuilder::build(), FWL1MuonParticleLegoProxyBuilder::build(), FWCaloTowerDetailView::build(), FWPhotonLegoProxyBuilder::build(), FWMuonLegoProxyBuilder::build(), FWMuonDetailView::build(), FWGenParticleLegoProxyBuilder::build(), FWElectronDetailView::build(), FWPFCandidatesLegoProxyBuilder::build(), FWMET3DProxyBuilder::build(), pf2pat::PFIsoDepositAlgo::buildIsoDeposit(), FWMETProxyBuilder::buildViewType(), reco::helper::JetMuonHitsIDHelper::calculate(), JetPlusTrackProducerAA::calculateBGtracksJet(), FWMuonBuilder::calculateField(), 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(), JetPlusTrackCorrector::correction(), PFCandWithSuperClusterExtractor::depositFromObject(), muonisolation::CaloExtractorByAssociator::deposits(), reco::GenJet::detectorEta(), MuonTaggerNoIP::discriminator(), PFTauDiscriminants::Eta::doComputation(), metsig::SignAlgoResolutions::ElectronPtResolution(), reco::tau::disc::Eta(), egHLT::OffPho::eta(), egHLT::OffEle::eta(), reco::Jet::etaPhiStatistics(), metsig::SignAlgoResolutions::evalPF(), metsig::SignAlgoResolutions::evalPFJet(), ZGlobalVsSAIsolationAnalyzer::evaluate(), pat::JetCorrFactorsProducer::evaluate(), PFPhotonAlgo::EvaluateGCorrMVA(), PFEGammaAlgo::EvaluateGCorrMVA(), TauDiscriminationAgainstMuon< TauType, TauDiscriminator >::evaluateMuonVeto(), PFPhotonAlgo::EvaluateResMVA(), PFEGammaAlgo::EvaluateResMVA(), PFJetMonitor::fill(), PFCandidateManager::fill(), TopHLTSingleLepton::MonitorEnsemble::fill(), TopElectronHLTOfflineSource::EleMEs::fill(), RecoMuonValidator::MuonME::fill(), ZeePlots::fillEleClassesPlots(), ZeeCalibration::fillEleInfo(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), objMon< T >::fillL1MCMatch(), JPTJetTesterUnCorr::fillMatchHists(), PFJetTesterUnCorr::fillMatchHists(), PFJetTester::fillMatchHists(), JPTJetTester::fillMatchHists(), CaloJetTesterUnCorr::fillMatchHists(), CaloJetTester::fillMatchHists(), objMon< T >::fillMC(), objMon< T >::fillOffMCMatch(), MatchMETBenchmark::fillOne(), METBenchmark::fillOne(), PFCandidateBenchmark::fillOne(), PFMETMonitor::fillOne(), HLTOniaSource::fillOniaTriggerMEs(), objMon< T >::fillOnMCMatch(), PFRootEventManager::fillOutEventWithPFCandidates(), FastL1Region::FillTower(), FastL1Region::FillTower_Scaled(), WMuNuValidator::filter(), doubleEMEnrichingFilterAlgo::filter(), WMuNuSelector::filter(), BCToEFilterAlgo::filter(), HeavyChHiggsToTauNuSkim::filter(), PhotonEnrichmentFilter::filter(), WZInterestingEventSelector::filter(), reco::CentralityProducer::filter(), HSCPTreeBuilder::filter(), EMEnrichingFilterAlgo::filterIsoGenPar(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), CalibratableTest::findCandidatesInDeltaR(), TtFullLepHypGenMatch::findMatchingLepton(), PFJetIDSelectionFunctor::firstDataCuts(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), calib::CalibElectron::getCalibModulesWeights(), TxCalculator::getCTx(), dRxyCalculator::getDRxy(), TxyCalculator::getHollSxy(), TxCalculator::getJct(), TxCalculator::getJt(), ParticleTowerProducer::getNearestTower(), TxyCalculator::getNumLocalTracks(), getTheTauJet(), TxCalculator::getTx(), TxyCalculator::getTxy(), objMon< T >::hasBPartonInCone(), HLTMuonTrackMassFilter::hltFilter(), EtaPtBin::inBin(), CosmicSplitterValidation::is_gold_muon(), EcalDeadCellDeltaRFilter::isCloseToBadEcalChannel(), muon::isGoodMuon(), cms::MuonTCMETValueMapProducer::isGoodMuon(), MuonIdProducer::isGoodRPCMuon(), MuonIdProducer::isGoodTrackerMuon(), MuTriggerAnalyzer::IsMuMatchedToHLTMu(), BPhysicsOniaDQM::isMuonInAccept(), BTagHLTOfflineSource::isMuonJet(), McSelector::isSelected(), BTagHLTOfflineSource::isVBTFMuon(), main(), JetVertexMain::Main(), fireworks::makeEveJetCone(), SignCaloSpecificAlgo::makeVectorOutOfCaloTowers(), L1MuonMatcherAlgo::match(), reco::modules::HICaloCompatibleTrackSelector::matchByDrAllowReuse(), FWCaloTowerSliceSelector::matchCell(), reco::RecoTauPiZero::maxDeltaEta(), objMon< T >::monitorL1(), objMon< T >::monitorOffline(), objMon< T >::monitorOnline(), ZToMuMuGammaAnalyzer::muonSelection(), ElectronMVAEstimator::mva(), AntiElectronIDMVA2::MVAValue(), AntiElectronIDMVA3::MVAValue(), muonisolation::CaloExtractor::noiseEcal(), muonisolation::CaloExtractorByAssociator::noiseEcal(), muonisolation::CaloExtractorByAssociator::noiseHcal(), AcceptJet::operator()(), GenParticleCustomSelector::operator()(), WPlusJetsEventSelector::operator()(), reco::tau::RecoTauEnergyRecoveryPlugin::operator()(), hitfit::LeptonTranslatorBase< ALepton >::operator()(), hitfit::JetTranslatorBase< AJet >::operator()(), reco::operator<<(), operator<<(), passesElectronId(), passesElectronPreId(), ZToMuMuGammaAnalyzer::photonSelection(), reco::tau::disc::PiZeroEta(), reco::GenericJet::print(), reco::GenJet::print(), reco::Jet::print(), PFJetBenchmark::printGenJet(), L25TauAnalyzer::printInfo(), reco::JPTJet::printJet(), PFCandidateChecker::printJets(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), JetTracksAssociationDRVertex::produce(), QuarkoniaTrackSelector::produce(), DistortedPFCandProducer::produce(), JetTracksAssociationDRVertexAssigned::produce(), DistortedMuonProducerFromDB::produce(), JetTracksAssociationDRCalo::produce(), DistortedMuonProducer::produce(), JetVetoedTracksAssociationDRVertex::produce(), CaloTowerCandidateCreator::produce(), CaloMuonMerger::produce(), cms::MuonMETValueMapProducer::produce(), CaloTowerCreatorForTauHLT::produce(), ParticleTowerProducer::produce(), MuonReSeeder::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), OutsideInMuonSeeder::produce(), PileupJetIdProducer::produce(), HiL1Subtractor::produce(), CastorClusterProducer::produce(), JetIdSelector< T >::produce(), JetPartonMatcher::produce(), SmearedJetProducerT< T, Textractor >::produce(), AcceptJet::ratio(), JetPlusTrackCorrector::rebuildJta(), PFRootEventManager::reconstructGenJets(), reco::tau::RecoTauIsolationMasking::resolution(), ElectronLikelihood::result(), ElectronLikelihood::resultLog(), PFPhotonAlgo::RunPFPhoton(), pf2pat::PFIsoDepositAlgo::sameParticle(), FWCaloTowerDetailView::setTextInfo(), FWPhotonDetailView::setTextInfo(), FWMuonDetailView::setTextInfo(), FWElectronDetailView::setTextInfo(), GenericMVAJetTagComputer::taggingVariables(), reco::SoftLeptonTagInfo::taggingVariables(), reco::tau::disc::TrackEta(), and CaloSpecificAlgo::update_sumEtInpHF_MExInpHF_MEyInpHF_sumEtInmHF_MExInmHF_MEyInmHF().
|
virtual |
fill SMatrix
Implements reco::Candidate.
Reimplemented in reco::VertexCompositeCandidate.
Definition at line 100 of file LeafCandidate.cc.
References edm::hlt::Exception, and edm::errors::UnimplementedFeature.
Referenced by vertexCovariance().
|
inline |
get a component
Definition at line 271 of file LeafCandidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), and masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), PFTauDiscriminants::PFTauDiscriminantManager::fillOutlierObjects(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), ElectronLikelihood::getInputVar(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
inline |
get a component
Definition at line 276 of file LeafCandidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), and masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
get a component
Definition at line 281 of file LeafCandidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), i, and masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
get a component
Definition at line 286 of file LeafCandidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), i, and masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
|
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::ShallowCloneCandidate.
Definition at line 30 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::ShallowClonePtrCandidate.
Definition at line 34 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::Muon, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 115 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 119 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::GsfElectron, reco::SiStripElectron, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::Electron.
Definition at line 105 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::Muon, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 109 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::Jet, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 121 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::Muon, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 107 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::Photon, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 117 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::Muon, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 111 of file LeafCandidate.cc.
|
virtual |
Implements reco::Candidate.
Reimplemented in reco::Muon, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 113 of file LeafCandidate.cc.
|
inlinevirtual |
is long lived?
Implements reco::Candidate.
Definition at line 223 of file LeafCandidate.h.
References longLivedTag, and status_.
|
inlinevirtual |
mass
Implements reco::Candidate.
Definition at line 138 of file LeafCandidate.h.
References mass_.
Referenced by ZMuPtScaleAnalyzer::analyze(), HPSPFRecoTauAlgorithm::buildThreeProngs(), PileupJetIdAlgo::computeIdVariables(), JetPlusTrackCorrector::correction(), PFRecoTauCorrectedInvariantMassProducer::discriminate(), PFTauDiscriminants::InvariantMassOfSignal::doComputation(), HSCPTreeBuilder::filter(), reco::tau::disc::InvariantMassOfSignal(), reco::tau::disc::Mass(), AntiElectronIDMVA2::MVAValue(), AntiElectronIDMVA3::MVAValue(), CATopJetHelper::operator()(), reco::operator<<(), WeakEffectsWeightProducer::produce(), DistortedPFCandProducer::produce(), DistortedMuonProducer::produce(), DistortedMuonProducerFromDB::produce(), ISRGammaWeightProducer::produce(), FSRWeightProducer::produce(), and PdfWeightProducer::produce().
|
inlinevirtual |
do mass constraint?
Implements reco::Candidate.
Definition at line 229 of file LeafCandidate.h.
References massConstraintTag, and status_.
Referenced by CandKinematicVertexFitter::fill().
|
inlinevirtual |
mass squared
Implements reco::Candidate.
Definition at line 140 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::ShallowCloneCandidate.
Definition at line 24 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::ShallowClonePtrCandidate.
Definition at line 39 of file LeafCandidate.cc.
References edm::hlt::Exception.
|
inline |
cast master clone reference to a concrete type
Definition at line 268 of file LeafCandidate.h.
References masterClone().
|
inlinevirtual |
spatial momentum vector
Implements reco::Candidate.
Definition at line 127 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by MultiTrackValidatorGenPs::analyze(), L25TauAnalyzer::analyze(), PFTauExtractor::depositFromObject(), PFTauDiscriminants::MainTrackAngle::doComputation(), PFTauDiscriminants::TrackAngle::doComputation(), PFTauDiscriminants::PiZeroAngle::doComputation(), PFTauDiscriminants::OutlierAngle::doComputation(), PFTauDiscriminants::ChargedOutlierAngle::doComputation(), PFTauDiscriminants::NeutralOutlierAngle::doComputation(), PF_PU_AssoMapAlgos::FindV0Vertex(), reco::TrackSelector::operator()(), MuonWithPFIsoProducer::produce(), SecondaryVertexProducer::produce(), SoftLepton::refineJetAxis(), reco::GsfElectron::setCorrectedEcalEnergy(), and reco::Photon::setVertex().
return mother at a given position (throws an exception)
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositeRefCandidate, reco::CompositePtrCandidate, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Definition at line 61 of file LeafCandidate.cc.
|
inlinevirtual |
transverse mass
Implements reco::Candidate.
Definition at line 143 of file LeafCandidate.h.
References cachePolar(), and p4Polar_.
Referenced by reco::WMuNuCandidate::massT(), and reco::WMuNuCandidatePtr::massT().
|
inlinevirtual |
transverse mass squared
Implements reco::Candidate.
Definition at line 145 of file LeafCandidate.h.
References cachePolar(), and p4Polar_.
|
inline |
number of components
Definition at line 291 of file LeafCandidate.h.
References hasMasterClone(), and masterClone().
|
inline |
number of components
Definition at line 296 of file LeafCandidate.h.
References hasMasterClone(), and masterClone().
|
virtual |
number of daughters
Implements reco::Candidate.
Reimplemented in pat::Jet, reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Definition at line 45 of file LeafCandidate.cc.
|
virtual |
number of mothers
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositeRefCandidate, reco::CompositePtrCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Definition at line 49 of file LeafCandidate.cc.
|
inlinevirtual |
return the number of source Candidates ( the candidates used to construct this Candidate)
Implements reco::Candidate.
Reimplemented in reco::PFTau, pat::Electron, pat::Muon, reco::PFCandidate, and reco::CompositePtrCandidate.
Definition at line 107 of file LeafCandidate.h.
|
protectedvirtual |
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::SiStripElectron, reco::IsolatedPixelTrackCandidate, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeCandidate, reco::GenJet, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::GenMET, reco::CaloMET, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, reco::CompositeRefBaseCandidate, reco::MET, reco::TrackJet, reco::CaloTau, reco::PFClusterJet, reco::Electron, reco::GenParticle, reco::BaseTau, reco::BasicJet, reco::CaloRecHitCandidate, reco::RecoChargedCandidate, reco::RecoEcalCandidate, reco::RecoStandAloneMuonCandidate, reco::CandidateWithRef< Ref >, reco::RecoCaloTowerCandidate, and reco::RecoCandidate.
Definition at line 53 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 132 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by EwkMuDQM::analyze(), ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), HiggsDQM::analyze(), JPTJetAnalyzer::analyze(), JetTagPlotter::analyzeTag(), AlignmentMuonSelector::basicCuts(), PFMuonAlgo::cleanPunchThroughAndFakes(), reco::Jet::detectorP4(), CaloTower::emP4(), RecoMuonValidator::MuonME::fill(), HLTOniaSource::fillOniaTriggerMEs(), GreedyMuonPFCandidateFilter::filter(), HSCPTreeBuilder::filter(), CaloTower::hadP4(), HLTMuonTrackMassFilter::hltFilter(), BPhysicsOniaDQM::isMuonInAccept(), RecoSelector::isSelected(), AcceptJet::operator()(), reco::tau::RecoTauEnergyRecoveryPlugin::operator()(), CaloTower::p4(), CaloTower::p4_HO(), reco::Jet::physicsP4(), reco::GenericJet::print(), reco::GenJet::print(), reco::Jet::print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), QuarkoniaTrackSelector::produce(), PFRootEventManager::reconstructGenJets(), and reco::PFCandidate::setVertex().
|
inlinevirtual |
four-momentum Lorentz vector
Implements reco::Candidate.
Definition at line 123 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by reco::tau::RecoTauConstructor::addPiZero(), PFCandConnector::analyseNuclearWPrim(), PFCandConnector::analyseNuclearWSec(), HLTTauDQMCaloPlotter::analyze(), HLTTauDQMTrkPlotter::analyze(), CMSDAS11DijetAnalyzer::analyze(), JetAnaPythia< Jet >::analyze(), EwkMuLumiMonitorDQM::analyze(), QcdHighPtDQM::analyze(), ResolutionCreator::analyze(), MuonPFAnalyzer::analyze(), MuTriggerAnalyzer::analyze(), L25TauAnalyzer::analyze(), TTbarSpinCorrHepMCAnalyzer::analyze(), TTbar_Kinematics::analyze(), HLTMuonMatchAndPlot::analyze(), HPSPFRecoTauAlgorithm::associateIsolationCandidates(), TtSemiLepJetComb::bOverLightQPt(), TtSemiLepJetComb::bQuarkVar(), CaloRecoTauAlgorithm::buildCaloTau(), pf2pat::PFIsoDepositAlgo::buildIsoDeposit(), HPSPFRecoTauAlgorithm::buildThreeProngs(), reco::tau::disc::ChargedOutlierAngle(), TtSemiLepJetComb::compareBNeutrino(), TtSemiLepJetComb::compareLeptonNeutrino(), TtSemiLepJetComb::compareTopNeutrino(), TtSemiLepJetComb::compareWNeutrino(), TtFullHadKinFitter::KinFit::corJet(), pat::Jet::correctedJet(), pat::Jet::correctedP4(), pat::Tau::correctedP4(), pat::Tau::correctedTauJet(), TauJetCorrector::correction(), ZSPJPTJetCorrector::correction(), LXXXCorrector::correction(), JetPlusTrackCorrector::correction(), PFElectronTranslator::createGsfElectrons(), reco::tau::disc::Dalitz2(), TtSemiLepJetComb::deduceMothers(), PFRecoTauDiscriminationByHPSSelection::discriminate(), PFTauDiscriminants::InvariantMassOfSignalWithFiltered::doComputation(), CaloTower::emEt(), ErsatzMEt::ersatzFabrik(), CaloTower::et(), JetPartonMatcher::fillAlgoritDefinition(), SoftPFElectronTagInfoProducer::fillElecProperties(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), SoftPFMuonTagInfoProducer::fillMuonProperties(), JetPartonMatcher::fillPhysicsDefinition(), HLTRHemisphere::filter(), pat::CaloJetSelector::filter(), L2TauModularIsolationProducer::getECALHits(), L2TauNarrowConeIsolationProducer::getECALHits(), L2TauModularIsolationProducer::getHCALHits(), L2TauNarrowConeIsolationProducer::getHCALHits(), GeneratorTau::getOpeningAngle(), L2TauModularIsolationProducer::getPFClusters(), GeneratorTau::getVisNuAngle(), CaloTower::hadEt(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), reco::tau::RecoTauIsolationMasking::inCone(), pat::Jet::initializeJEC(), pat::Tau::initializeJEC(), reco::tau::disc::JetTauDR(), TtSemiLepJetComb::lightQVar(), reco::tau::disc::MainTrackAngle(), L2TauAnalyzer::match(), L25TauAnalyzer::match(), L25TauAnalyzer::matchedToPFTau(), HLTTauDQMTrkPlotter::matchJet(), HLTTauDQMCaloPlotter::matchJet(), ZToMuMuGammaAnalyzer::mumuGammaInvMass(), ZToMuMuGammaAnalyzer::mumuInvMass(), MuonMETAlgo::MuonMETAlgo_run(), reco::tau::disc::NeutralOutlierAngle(), TtSemiLepJetComb::neutrinoVar(), reco::tau::disc::OpeningAngle3D(), reco::tau::disc::OpeningDeltaR(), TtDilepLRSignalSelObservables::operator()(), reco::tau::RecoTauPhotonFilter::operator()(), PFJetMETcorrInputProducer_namespace::RawJetExtractorT< pat::Jet >::operator()(), CaloJetMETcorrInputProducer_namespace::RawJetExtractorT< pat::Jet >::operator()(), SmearedJetProducer_namespace::GenJetMatcherT< pat::Jet >::operator()(), CorrectJet::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), TtHadLRJetCombObservables::operator()(), reco::tau::RecoTauEnergyRecoveryPlugin2::operator()(), TtSemiLRJetCombObservables::operator()(), SmearedJetProducer_namespace::JetResolutionExtractorT< pat::Jet >::operator()(), CalculateHLT::operator()(), SmearedJetProducer_namespace::RawJetExtractorT< pat::Jet >::operator()(), JetIDSelectionFunctor::operator()(), CaloTower::outerEt(), reco::tau::disc::OutlierAngle(), overlap(), CaloTower::p(), CaloTower::p4(), reco::PFTauDecayMode::PFTauDecayMode(), reco::tau::disc::PiZeroAngle(), reco::RecoTauPiZero::print(), QuarkoniaTrackSelector::produce(), L1HLTTauMatching::produce(), ISRGammaWeightProducer::produce(), Type0PFMETcorrInputProducer::produce(), MuonProducer::produce(), TruthTauDecayModeProducer::produce(), ParticleReplacerClass::produce(), TCTauAlgorithm::recalculateEnergy(), TtSemiLepJetComb::relativePtHadronicTop(), reco::PFCandidate::rescaleMomentum(), reco::Jet::scaleEnergy(), reco::GsfElectron::setCorrectedEcalEnergy(), reco::Photon::setCorrectedEnergy(), setP4(), reco::Photon::setP4(), reco::Muon::setPFP4(), reco::tau::sumPFCandP4(), PFRootEventManager::tauBenchmark(), reco::tau::disc::TrackAngle(), SelectReplacementCandidates::transformMuMu2TauTau(), and pat::TriggerObjectStandAlone::triggerObject().
|
inlinevirtual |
PDG identifier.
Implements reco::Candidate.
Definition at line 211 of file LeafCandidate.h.
References pdgId_.
Referenced by FBaseSimEvent::addParticles(), EWKSystUnc::analyze(), zPdfUnc::analyze(), ZLONLOHistogrammer::analyze(), ZMuPtScaleAnalyzer::analyze(), JetAnaPythia< Jet >::analyze(), PFTester::analyze(), ResolutionCreator::analyze(), TTbarSpinCorrHepMCAnalyzer::analyze(), ZdcSimHitStudy::analyze(), TopDecaySubset::checkShowerModel(), GeneratorTau::computeDecayMode(), TopGenEvent::daughterQuarkOfTop(), GeneratorTau::decayToPDGClassification(), CandKinematicVertexFitter::fill(), TopDecaySubset::fillListing(), objMon< T >::fillMC(), doubleEMEnrichingFilterAlgo::filter(), BCToEFilterAlgo::filter(), HighETPhotonsFilterAlgo::filter(), HSCPTreeBuilder::filter(), EMEnrichingFilterAlgo::filterIsoGenPar(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), InputGenJetsParticleSelector::fromResonance(), pat::PATObject< ObjectType >::genParticleById(), PFJetBenchmark::gettrue(), GenParticlesHelper::hasAncestor(), objMon< T >::hasBPartonInCone(), BCToEFilterAlgo::isBCBaryon(), doubleEMEnrichingFilterAlgo::isBCBaryon(), BCToEFilterAlgo::isBCMeson(), doubleEMEnrichingFilterAlgo::isBCMeson(), HiGammaJetSignalDef::IsIsolated(), HiPhotonType::IsPrompt(), McSelector::isSelected(), JetMaker::makeSpecific(), reco::makeSpecific(), BasicGenParticleValidation::matchParticles(), objMon< T >::monitorL1(), objMon< T >::monitorOffline(), objMon< T >::monitorOnline(), reco::RecoTauPiZero::numberOfElectrons(), reco::RecoTauPiZero::numberOfGammas(), GenParticleCustomSelector::operator()(), TtDilepLRSignalSelObservables::operator()(), reco::GenJet::print(), PFJetBenchmark::printGenJet(), WeakEffectsWeightProducer::produce(), ISRGammaWeightProducer::produce(), ISRWeightProducer::produce(), FSRWeightProducer::produce(), PdfWeightProducer::produce(), InputGenJetsParticleSelector::produce(), PartonSelector::produce(), ParticleReplacerClass::produce(), JetPartonMatcher::produce(), PFRootEventManager::reconstructGenJets(), setPdgId(), SelectReplacementCandidates::transformMuMu2TauTau(), and pat::TriggerObjectStandAlone::triggerObject().
|
inlinevirtual |
momentum azimuthal angle
Implements reco::Candidate.
Definition at line 155 of file LeafCandidate.h.
References phi_.
Referenced by reco::WMuNuCandidate::acop(), reco::tau::RecoTauPiZeroStripPlugin2::addCandsToStrip(), ZIterativeAlgorithmWithFit::addEvent(), FWMuonDetailView::addSceneInfo(), FWElectronDetailView::addSceneInfo(), FlavorJetCorrectionExample::analyze(), PartonJetCorrectionExample::analyze(), HLTTauDQMCaloPlotter::analyze(), EwkElecDQM::analyze(), ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), EwkMuDQM::analyze(), CMSDAS11DijetAnalyzer::analyze(), JetValidation::analyze(), RPCRecHitProbability::analyze(), PFTester::analyze(), CaloTowerAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), CaloJetTesterUnCorr::analyze(), JPTJetTesterUnCorr::analyze(), PFJetTesterUnCorr::analyze(), CaloJetTester::analyze(), PFJetTester::analyze(), JPTJetTester::analyze(), EwkMuLumiMonitorDQM::analyze(), METTester::analyze(), DQMHcalDiJetsAlCaReco::analyze(), PFCandidateChecker::analyze(), ZMuMuIsolationAnalyzer::analyze(), HLTMonBTagIPSource::analyze(), HLTMonBTagMuSource::analyze(), WenuPlots::analyze(), SimplePhotonAnalyzer::analyze(), IsolatedParticlesGeneratedJets::analyze(), PatPhotonSimpleAnalyzer::analyze(), QcdPhotonsDQM::analyze(), EwkDQM::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), SimplePi0DiscAnalyzer::analyze(), myJetAna::analyze(), ZMuMu_Radiative_analyzer::analyze(), JPTJetAnalyzer::analyze(), PhotonValidator::analyze(), L25TauAnalyzer::analyze(), TopHLTDiMuonDQM::analyze(), ZdcSimHitStudy::analyze(), HLTMuonMatchAndPlot::analyze(), ErsatzMEt::analyze(), ExoticaDQM::analyzeMultiJets(), JetTagPlotter::analyzeTag(), JetTracksAssociationXtrpCalo::associateInputTracksToJet(), AlignmentMuonSelector::basicCuts(), FWJetLegoProxyBuilder::build(), FWL1EtMissParticleLegoProxyBuilder::build(), FWL1JetParticleLegoProxyBuilder::build(), FWL1MuonParticleLegoProxyBuilder::build(), FWL1EtMissParticleGlimpseProxyBuilder::build(), FWMETGlimpseProxyBuilder::build(), FWMETLegoProxyBuilder::build(), FWCaloTowerDetailView::build(), FWPhotonLegoProxyBuilder::build(), FWMuonLegoProxyBuilder::build(), FWMuonDetailView::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(), reco::helper::CastorJetIDHelper::calculate(), reco::helper::JetMuonHitsIDHelper::calculate(), GlobalHaloAlgo::Calculate(), JetPlusTrackProducerAA::calculateBGtracksJet(), PFMETBenchmark::calculateQuantities(), AlignmentTwoBodyDecayTrackSelector::checkMETAcoplanarity(), L6SLBCorrector::correction(), JetPlusTrackCorrector::correction(), METManager::coutTailEvents(), EMEnrichingFilterAlgo::deltaRxyAtEE(), doubleEMEnrichingFilterAlgo::deltaRxyAtEE(), PFCandWithSuperClusterExtractor::depositFromObject(), muonisolation::CaloExtractorByAssociator::deposits(), EcalDeadCellDeltaRFilter::dPhiToMETfunc(), reco::Jet::etaphiMoment(), reco::Jet::etaPhiStatistics(), metsig::SignAlgoResolutions::evalPF(), metsig::SignAlgoResolutions::evalPFJet(), ZGlobalVsSAIsolationAnalyzer::evaluate(), pat::JetCorrFactorsProducer::evaluate(), PFPhotonAlgo::EvaluateGCorrMVA(), PFEGammaAlgo::EvaluateGCorrMVA(), TauDiscriminationAgainstMuon< TauType, TauDiscriminator >::evaluateMuonVeto(), PFPhotonAlgo::EvaluateResMVA(), PFEGammaAlgo::EvaluateResMVA(), PFJetMonitor::fill(), PFCandidateManager::fill(), TopElectronHLTOfflineSource::EleMEs::fill(), RecoMuonValidator::MuonME::fill(), ZeeCalibration::fillEleInfo(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), objMon< T >::fillL1MCMatch(), JPTJetTesterUnCorr::fillMatchHists(), PFJetTesterUnCorr::fillMatchHists(), PFJetTester::fillMatchHists(), CaloJetTesterUnCorr::fillMatchHists(), JPTJetTester::fillMatchHists(), CaloJetTester::fillMatchHists(), objMon< T >::fillMC(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMBTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMuTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTriggerwrtMuonTrigger(), MuCorrMETAnalyzer::fillMonitorElement(), TcMETAnalyzer::fillMonitorElement(), PFMETAnalyzer::fillMonitorElement(), METAnalyzer::fillMonitorElement(), CaloMETAnalyzer::fillMonitorElementTriggered(), objMon< T >::fillOffMCMatch(), MatchMETBenchmark::fillOne(), METBenchmark::fillOne(), PFCandidateBenchmark::fillOne(), PFMETMonitor::fillOne(), HLTOniaSource::fillOniaTriggerMEs(), objMon< T >::fillOnMCMatch(), PFRootEventManager::fillOutEventWithPFCandidates(), WMuNuValidator::filter(), HeavyChHiggsToTauNuSkim::filter(), WZInterestingEventSelector::filter(), HSCPTreeBuilder::filter(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), CalibratableTest::findCandidatesInDeltaR(), TtFullLepHypGenMatch::findMatchingLepton(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), TxCalculator::getCTx(), dRxyCalculator::getDRxy(), TxyCalculator::getHollSxy(), TxCalculator::getJct(), TxCalculator::getJt(), ParticleTowerProducer::getNearestTower(), TxyCalculator::getNumLocalTracks(), TxCalculator::getTx(), TxyCalculator::getTxy(), objMon< T >::hasBPartonInCone(), HLTMuonTrackMassFilter::hltFilter(), EcalDeadCellDeltaRFilter::isCloseToBadEcalChannel(), BTagHLTOfflineSource::isMuonJet(), main(), JetVertexMain::Main(), fireworks::makeEveJetCone(), SignCaloSpecificAlgo::makeVectorOutOfCaloTowers(), L1MuonMatcherAlgo::match(), FWCaloTowerSliceSelector::matchCell(), objMon< T >::monitorL1(), objMon< T >::monitorOffline(), objMon< T >::monitorOnline(), AntiElectronIDMVA2::MVAValue(), AntiElectronIDMVA3::MVAValue(), WPlusJetsEventSelector::operator()(), reco::tau::RecoTauEnergyRecoveryPlugin::operator()(), reco::operator<<(), operator<<(), egHLT::OffPho::phi(), egHLT::OffEle::phi(), MuonIdProducer::phiOfMuonIneteractionRegion(), reco::Jet::phiphiMoment(), reco::GenericJet::print(), reco::GenJet::print(), reco::Jet::print(), PFJetBenchmark::printGenJet(), L25TauAnalyzer::printInfo(), reco::JPTJet::printJet(), PFCandidateChecker::printJets(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), JetTracksAssociationDRVertex::produce(), DistortedMETProducer::produce(), JetTracksAssociationDRVertexAssigned::produce(), DistortedPFCandProducer::produce(), DistortedMuonProducerFromDB::produce(), JetTracksAssociationDRCalo::produce(), DistortedMuonProducer::produce(), JetVetoedTracksAssociationDRVertex::produce(), FSRWeightProducer::produce(), CaloTowerCandidateCreator::produce(), CaloTowerCreatorForTauHLT::produce(), ParticleTowerProducer::produce(), MuonReSeeder::produce(), pf2pat::PFMETAlgo::produce(), cms::AlCaDiJetsProducer::produce(), OutsideInMuonSeeder::produce(), PileupJetIdProducer::produce(), CastorClusterProducer::produce(), JetPartonMatcher::produce(), SmearedJetProducerT< T, Textractor >::produce(), AcceptJet::ratio(), JetPlusTrackCorrector::rebuildJta(), PFRootEventManager::reconstructGenJets(), reco::tau::RecoTauIsolationMasking::resolution(), FWCaloTowerDetailView::setTextInfo(), FWMuonDetailView::setTextInfo(), FWPhotonDetailView::setTextInfo(), FWElectronDetailView::setTextInfo(), pat::LeptonJetIsolationAngle::spaceAngle(), reco::SoftLeptonTagInfo::taggingVariables(), pat::MET::uncorrectedPhi(), CaloSpecificAlgo::update_sumEtInpHF_MExInpHF_MEyInpHF_sumEtInmHF_MExInmHF_MEyInmHF(), and PFMETAnalyzer::validateMET().
|
inlinevirtual |
four-momentum Lorentz vector
Implements reco::Candidate.
Definition at line 125 of file LeafCandidate.h.
References cachePolar(), and p4Polar_.
Referenced by pat::L1MuonMatcher::produce().
|
inlinevirtual |
transverse momentum
Implements reco::Candidate.
Definition at line 153 of file LeafCandidate.h.
References pt_.
Referenced by StKinFitter::addKinFitInfo(), GlbMuQualityCutsAnalysis::analyze(), FlavorJetCorrectionExample::analyze(), PartonJetCorrectionExample::analyze(), HLTTauDQMCaloPlotter::analyze(), EwkElecDQM::analyze(), EwkMuDQM::analyze(), ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), CMSDAS11DijetAnalyzer::analyze(), JetValidation::analyze(), RPCRecHitProbability::analyze(), RPCMonitorDigi::analyze(), JetTagMVATrainer::analyze(), ElectronTagProbeAnalyzer::analyze(), SUSYDQMAnalyzer::analyze(), CaloJetTesterUnCorr::analyze(), JPTJetTesterUnCorr::analyze(), PFJetTesterUnCorr::analyze(), CaloJetTester::analyze(), PFJetTester::analyze(), JPTJetTester::analyze(), EwkMuLumiMonitorDQM::analyze(), METTester::analyze(), testAnalyzer::analyze(), QcdHighPtDQM::analyze(), ZMuMuIsolationAnalyzer::analyze(), IsolatedParticlesGeneratedJets::analyze(), QcdPhotonsDQM::analyze(), EwkDQM::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), myJetAna::analyze(), MuonPFAnalyzer::analyze(), MuTriggerAnalyzer::analyze(), HiggsDQM::analyze(), gamma_radiative_analyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), JPTJetAnalyzer::analyze(), JetTagMVAExtractor::analyze(), HLTMuonMatchAndPlot::analyze(), ErsatzMEt::analyze(), ZToMuMuGammaAnalyzer::analyze(), BeamHaloAnalyzer::analyze(), TrackIPTagPlotter::analyzeTag(), JetTagPlotter::analyzeTag(), 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(), reco::tau::disc::ChargedOutlierPt(), PFAlgo::checkCleaning(), pat::MET::checkUncor_(), PFMuonAlgo::cleanMismeasured(), PFMuonAlgo::cleanPunchThroughAndFakes(), MuonPFAnalyzer::combRelIso(), CMSDAS11DijetAnalyzer::compare_JetPt(), CMSDAS11DijetTestAnalyzer::compare_JetPt(), PileupJetIdAlgo::computeIdVariables(), reco::Jet::constituentEtaPhiSpread(), reco::Jet::constituentPtDistribution(), LXXXCorrector::correction(), L1FastjetCorrector::correction(), L1OffsetCorrector::correction(), L6SLBCorrector::correction(), JetPlusTrackCorrector::correction(), TCMETAlgo::correctSumEtForMuon(), METManager::coutTailEvents(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), PFCandWithSuperClusterExtractor::depositFromObject(), PFTauDiscriminants::Pt::doComputation(), reco::PFTau::dump(), WZInterestingEventSelector::electronSelection(), reco::tau::disc::EMFraction(), metsig::SignAlgoResolutions::evalPFJet(), pat::JetCorrFactorsProducer::evaluate(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), PFJetMonitor::fill(), PFCandidateManager::fill(), TopSingleLepton::MonitorEnsemble::fill(), TopHLTSingleLepton::MonitorEnsemble::fill(), TopDiLeptonOffline::MonitorEnsemble::fill(), RecoMuonValidator::MuonME::fill(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), objMon< T >::fillL1MCMatch(), JPTJetTesterUnCorr::fillMatchHists(), PFJetTesterUnCorr::fillMatchHists(), PFJetTester::fillMatchHists(), JPTJetTester::fillMatchHists(), CaloJetTesterUnCorr::fillMatchHists(), CaloJetTester::fillMatchHists(), objMon< T >::fillMC(), JetMETHLTOfflineSource::fillMEforMonAllTriggerwrtMuonTrigger(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), MuCorrMETAnalyzer::fillMonitorElement(), TcMETAnalyzer::fillMonitorElement(), PFMETAnalyzer::fillMonitorElement(), METAnalyzer::fillMonitorElement(), CaloMETAnalyzer::fillMonitorElementTriggered(), objMon< T >::fillOffMCMatch(), MatchMETBenchmark::fillOne(), METBenchmark::fillOne(), PFCandidateBenchmark::fillOne(), PFMETMonitor::fillOne(), HLTOniaSource::fillOniaTriggerMEs(), objMon< T >::fillOnMCMatch(), myFilter::filter(), WMuNuValidator::filter(), reco::tau::RecoTauPhotonFilter::filter(), WMuNuSelector::filter(), InconsistentMuonPFCandidateFilter::filter(), NJetsMC::filter(), WZInterestingEventSelector::filter(), LeptonRecoSkim::filter(), reco::CentralityProducer::filter(), HSCPTreeBuilder::filter(), MuonVPlusJetsIDSelectionFunctor::firstDataCuts(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), getTheElectron(), getTheMuon(), getTheTauJet(), PFCandidateChecker::greaterPt(), PFRootEventManager::highPtPFCandidate(), HLTHcalNoiseFilter::hltFilter(), HLTDiMuonGlbTrkFilter::hltFilter(), HLTMuonTrackMassFilter::hltFilter(), EtaPtBin::inBin(), 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(), McSelector::isSelected(), RecoSelector::isSelected(), BTagHLTOfflineSource::isVBTFMuon(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), main(), reco::modules::HICaloCompatibleTrackSelector::matchByDrAllowReuse(), pat::MHT::mht(), objMon< T >::monitorL1(), objMon< T >::monitorOffline(), objMon< T >::monitorOnline(), EwkMuLumiMonitorDQM::muIso(), ElectronMVAEstimator::mva(), AntiElectronIDMVA2::MVAValue(), AntiElectronIDMVA3::MVAValue(), reco::tau::disc::NeutralOutlierPt(), GenJetSort::operator()(), reco::TrackSelector::operator()(), AcceptJet::operator()(), GenParticleCustomSelector::operator()(), BasicJetSort::operator()(), WPlusJetsEventSelector::operator()(), SmearedJetProducer_namespace::GenJetMatcherT< pat::Jet >::operator()(), CaloJetSort::operator()(), L2TauJetsMerger::SorterByPt::operator()(), TtHadLRJetCombObservables::operator()(), TtSemiLepSignalSelMVATrainer::JetwithHigherPt::operator()(), WSelector::operator()(), WMuNuProducer::ComparePt::operator()(), TtSemiLRJetCombObservables::operator()(), reco::tau::RecoTauPiZeroStripPlugin::operator()(), AlignmentMuonSelector::ComparePt::operator()(), reco::tau::RecoTauPiZeroStripPlugin2::operator()(), HLTTauDQMCaloPlotter::SorterByPt::operator()(), CalculateHLT::operator()(), HPSPFRecoTauAlgorithm::HPSTauPtSorter::operator()(), MuScleFitUtils::byPt::operator()(), reco::operator<<(), reco::tau::disc::OutlierPt(), muon::overlap(), PhotonSelectorAlgo::passPhotonSelection(), ZToMuMuGammaAnalyzer::photonSelection(), reco::tau::disc::PiZeroPt(), PFMuonAlgo::postClean(), PFAlgo::postCleaning(), reco::GenericJet::print(), reco::GenJet::print(), reco::Jet::print(), PFRootEventManager::print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), DistortedPFCandProducer::produce(), MuonWithPFIsoProducer::produce(), QuarkoniaTrackSelector::produce(), DistortedMuonProducer::produce(), DistortedMuonProducerFromDB::produce(), L1HLTTauMatching::produce(), ISRWeightProducer::produce(), L2TauJetsProvider::produce(), CaloMuonMerger::produce(), MuonMETcorrInputProducer::produce(), cms::MuonMETValueMapProducer::produce(), InputGenJetsParticleSelector::produce(), MuonReSeeder::produce(), WMuNuProducer::produce(), AlCaHcalNoiseProducer::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), OutsideInMuonSeeder::produce(), PileupJetIdProducer::produce(), JetPartonMatcher::produce(), SmearedJetProducerT< T, Textractor >::produce(), reco::tau::disc::Pt(), egHLT::OffPho::pt(), reco::tau::qcuts::ptMin(), PFRootEventManager::reconstructGenJets(), ElectronLikelihood::result(), ElectronLikelihood::resultLog(), reco::tau::disc::ScaledOpeningDeltaR(), FWMuonDetailView::setTextInfo(), reco::tau::disc::SignalPtFraction(), MuonVPlusJetsIDSelectionFunctor::spring10Cuts(), PFMuonSelector::spring11Cuts(), MuonVPlusJetsIDSelectionFunctor::summer08Cuts(), reco::tau::sumPFCandPt(), GenericMVAJetTagComputer::taggingVariables(), reco::tau::disc::TrackPt(), PFMuonAlgo::tracksWithBetterMET(), pat::MET::uncorrectedPt(), PFMETAnalyzer::validateMET(), and CaloMETAnalyzer::validateMET().
|
inlinevirtual |
x coordinate of momentum vector
Implements reco::Candidate.
Definition at line 147 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by StKinFitter::addKinFitInfo(), TtFullLepKinSolver::addKinSolInfo(), FBaseSimEvent::addParticles(), EwkElecDQM::analyze(), EwkMuDQM::analyze(), EwkMuLumiMonitorDQM::analyze(), METTester::analyze(), myJetAna::analyze(), HiggsDQM::analyze(), JPTJetAnalyzer::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWPFCandidateWithHitsProxyBuilder::build(), FWPFCandidate3DProxyBuilder::build(), reco::FlavorHistoryEvent::cache(), pat::LeptonJetIsolationAngle::calculate(), MEzCalculator::Calculate(), METzCalculator::Calculate(), PFMETBenchmark::calculateQuantities(), PFAlgo::checkCleaning(), PFMuonAlgo::cleanMismeasured(), CorrectedPFMETProducer2::constructP4From(), CorrectedCaloMETProducer2::constructP4From(), L1JPTOffsetCorrector::correction(), JetPlusTrackCorrector::correction(), TCMETAlgo::correctMETforMuon(), SoftPFElectronTagInfoProducer::fillElecProperties(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), MuCorrMETAnalyzer::fillMonitorElement(), TcMETAnalyzer::fillMonitorElement(), PFMETAnalyzer::fillMonitorElement(), METAnalyzer::fillMonitorElement(), CaloMETAnalyzer::fillMonitorElementTriggered(), SoftPFMuonTagInfoProducer::fillMuonProperties(), 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(), reco::IsolatedTauTagInfo::leadingSignalTrack(), reco::WMuNuCandidate::massT(), MatchJet::matchCollections(), BasicGenParticleValidation::matchParticles(), TtSemiLRSignalSelObservables::operator()(), reco::tau::RecoTauEnergyRecoveryPlugin::operator()(), hitfit::METTranslatorBase< AMet >::operator()(), hitfit::LeptonTranslatorBase< ALepton >::operator()(), CalculateHLT::operator()(), PFMuonAlgo::postClean(), PFAlgo::postCleaning(), reco::GenericJet::print(), MEzCalculator::Print(), METzCalculator::Print(), reco::Jet::print(), PFRootEventManager::print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), MuonMETcorrInputProducer::produce(), WMuNuProducer::produce(), JetPlusTrackProducer::produce(), JetPlusTrackProducerAA::produce(), ParticleReplacerClass::produce(), BoostedTopProducer::produce(), METManager::propagateJEC(), TCTauAlgorithm::recalculateEnergy(), Type1PFMET::run(), pat::MET::setPtPhi_(), reco::MET::significance(), ImpactParameterAlgorithm::tag(), PFMuonAlgo::tracksWithBetterMET(), PFMETAnalyzer::validateMET(), CaloMETAnalyzer::validateMET(), and reco::WMuNuCandidatePtr::WMuNuCandidatePtr().
|
inlinevirtual |
y coordinate of momentum vector
Implements reco::Candidate.
Definition at line 149 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by StKinFitter::addKinFitInfo(), TtFullLepKinSolver::addKinSolInfo(), FBaseSimEvent::addParticles(), EwkMuDQM::analyze(), ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), EwkElecDQM::analyze(), EwkMuLumiMonitorDQM::analyze(), METTester::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), myJetAna::analyze(), HiggsDQM::analyze(), JPTJetAnalyzer::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWPFCandidateWithHitsProxyBuilder::build(), FWPFCandidate3DProxyBuilder::build(), reco::FlavorHistoryEvent::cache(), pat::LeptonJetIsolationAngle::calculate(), MEzCalculator::Calculate(), METzCalculator::Calculate(), PFMETBenchmark::calculateQuantities(), PFAlgo::checkCleaning(), PFMuonAlgo::cleanMismeasured(), CorrectedPFMETProducer2::constructP4From(), CorrectedCaloMETProducer2::constructP4From(), L1JPTOffsetCorrector::correction(), JetPlusTrackCorrector::correction(), TCMETAlgo::correctMETforMuon(), SoftPFElectronTagInfoProducer::fillElecProperties(), EwkElecTauHistManager::fillHistograms(), EwkMuTauHistManager::fillHistograms(), MuCorrMETAnalyzer::fillMonitorElement(), TcMETAnalyzer::fillMonitorElement(), PFMETAnalyzer::fillMonitorElement(), METAnalyzer::fillMonitorElement(), CaloMETAnalyzer::fillMonitorElementTriggered(), SoftPFMuonTagInfoProducer::fillMuonProperties(), 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(), reco::IsolatedTauTagInfo::leadingSignalTrack(), reco::WMuNuCandidate::massT(), MatchJet::matchCollections(), BasicGenParticleValidation::matchParticles(), TtSemiLRSignalSelObservables::operator()(), reco::tau::RecoTauEnergyRecoveryPlugin::operator()(), hitfit::METTranslatorBase< AMet >::operator()(), hitfit::LeptonTranslatorBase< ALepton >::operator()(), CalculateHLT::operator()(), PFMuonAlgo::postClean(), PFAlgo::postCleaning(), reco::GenericJet::print(), MEzCalculator::Print(), METzCalculator::Print(), reco::Jet::print(), PFRootEventManager::print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), MuonMETcorrInputProducer::produce(), WMuNuProducer::produce(), JetPlusTrackProducer::produce(), JetPlusTrackProducerAA::produce(), ParticleReplacerClass::produce(), BoostedTopProducer::produce(), METManager::propagateJEC(), TCTauAlgorithm::recalculateEnergy(), Type1PFMET::run(), pat::MET::setPtPhi_(), reco::MET::significance(), ImpactParameterAlgorithm::tag(), PFMuonAlgo::tracksWithBetterMET(), PFMETAnalyzer::validateMET(), and CaloMETAnalyzer::validateMET().
|
inlinevirtual |
z coordinate of momentum vector
Implements reco::Candidate.
Definition at line 151 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by StKinFitter::addKinFitInfo(), TtFullLepKinSolver::addKinSolInfo(), FBaseSimEvent::addParticles(), EwkMuDQM::analyze(), EwkElecDQM::analyze(), HiggsDQM::analyze(), JPTJetAnalyzer::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWPFCandidateWithHitsProxyBuilder::build(), FWPFCandidate3DProxyBuilder::build(), reco::FlavorHistoryEvent::cache(), pat::LeptonJetIsolationAngle::calculate(), MEzCalculator::Calculate(), METzCalculator::Calculate(), L1JPTOffsetCorrector::correction(), JetPlusTrackCorrector::correction(), EMEnrichingFilterAlgo::deltaRxyAtEE(), doubleEMEnrichingFilterAlgo::deltaRxyAtEE(), SoftPFElectronTagInfoProducer::fillElecProperties(), SoftPFMuonTagInfoProducer::fillMuonProperties(), HSCPTreeBuilder::filter(), TtSemiLepKinFitter::fit(), TtFullHadKinFitter::fit(), reco::GlobalHaloData::GetCorrectedCaloMET(), reco::IsolatedTauTagInfo::leadingSignalTrack(), MatchJet::matchCollections(), BasicGenParticleValidation::matchParticles(), TtSemiLRSignalSelObservables::operator()(), reco::tau::RecoTauEnergyRecoveryPlugin::operator()(), hitfit::LeptonTranslatorBase< ALepton >::operator()(), reco::GenericJet::print(), MEzCalculator::Print(), METzCalculator::Print(), reco::Jet::print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), WMuNuProducer::produce(), JetPlusTrackProducer::produce(), JetPlusTrackProducerAA::produce(), ParticleReplacerClass::produce(), BoostedTopProducer::produce(), TCTauAlgorithm::recalculateEnergy(), setPz(), and ImpactParameterAlgorithm::tag().
|
inlinevirtual |
rapidity
Implements reco::Candidate.
Definition at line 161 of file LeafCandidate.h.
References cachePolar(), and p4Polar_.
Referenced by y().
|
inlinevirtual |
set electric charge
Implements reco::Candidate.
Definition at line 117 of file LeafCandidate.h.
References qx3_.
Referenced by PFMuonAlgo::changeTrack(), MuonsFromRefitTracksProducer::cloneAndSwitchTrack(), converter::SuperClusterToCandidate::convert(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), pat::GenericParticle::fillInFrom(), MuScleFitFilter::filter(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::PFTauDecayMode::PFTauDecayMode(), TauGenJetProducer::produce(), GlobalMuonToMuonProducer::produce(), and reco::writeSpecific().
|
inlinevirtual |
set long lived flag
Implements reco::Candidate.
Definition at line 221 of file LeafCandidate.h.
References longLivedTag, and status_.
|
inlinevirtual |
set particle mass
Implements reco::Candidate.
Definition at line 186 of file LeafCandidate.h.
References clearCache(), m, and mass_.
Referenced by RecoTauPiZeroProducer::produce().
|
inlinevirtual |
set mass constraint flag
Implements reco::Candidate.
Definition at line 227 of file LeafCandidate.h.
References massConstraintTag, and status_.
|
inlinevirtual |
set 4-momentum
Implements reco::Candidate.
Definition at line 165 of file LeafCandidate.h.
References cacheCartesianFixed_, cachePolarFixed_, eta_, mass_, p4(), p4Cartesian_, p4Polar_, phi_, and pt_.
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(), pat::Jet::correctedJet(), pat::Tau::correctedTauJet(), pat::GenericParticle::fillInFrom(), pat::PATMuonProducer::fillMuon(), MuScleFitFilter::filter(), pat::Jet::initializeJEC(), pat::Tau::initializeJEC(), reco::tau::RecoTauPhotonFilter::operator()(), CorrectedMETProducer_namespace::CorrectedMETFactoryT< pat::MET >::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::PFTauDecayMode::PFTauDecayMode(), DistortedPFCandProducer::produce(), DistortedMuonProducer::produce(), DistortedMuonProducerFromDB::produce(), TCRecoTauProducer::produce(), GlobalMuonToMuonProducer::produce(), MuonProducer::produce(), ShiftedPFCandidateProducerForPFMEtMVA::produce(), ShiftedPFCandidateProducerForNoPileUpPFMEt::produce(), TCTauAlgorithm::recalculateEnergy(), HPSPFRecoTauAlgorithm::refitThreeProng(), reco::PFCandidate::rescaleMomentum(), PFPhotonAlgo::RunPFPhoton(), reco::Jet::scaleEnergy(), CandCommonVertexFitterBase::set(), PFCandCommonVertexFitterBase::set(), CandKinematicVertexFitter::set(), MEzCalculator::SetLepton(), MEzCalculator::SetMET(), METzCalculator::SetMET(), METzCalculator::SetMuon(), and SelectReplacementCandidates::transformMuMu2TauTau().
|
inlinevirtual |
set 4-momentum
Implements reco::Candidate.
Definition at line 176 of file LeafCandidate.h.
References cacheCartesianFixed_, cachePolarFixed_, eta_, mass_, p4(), p4Polar_, phi_, and pt_.
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 213 of file LeafCandidate.h.
References pdgId(), and pdgId_.
Referenced by converter::SuperClusterToCandidate::convert(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), GenParticleProducer::convertParticle(), pat::GenericParticle::fillInFrom(), reco::PFCandidate::PFCandidate(), reco::PFTauDecayMode::PFTauDecayMode(), IsolatedTauJetsSelector::produce(), L2TauJetsMerger::produce(), reco::RecoTauPiZero::RecoTauPiZero(), reco::PFCandidate::setParticleType(), and SelectReplacementCandidates::transformMuMu2TauTau().
|
inlinevirtual |
Implements reco::Candidate.
Definition at line 190 of file LeafCandidate.h.
References cacheCartesian(), eta_, mass_, p4Cartesian_, p4Polar_, phi_, pt_, and pz().
Referenced by BoostedTopProducer::produce().
|
inlinevirtual |
set status word
Implements reco::Candidate.
Definition at line 217 of file LeafCandidate.h.
References status(), 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 121 of file LeafCandidate.h.
References qx3_.
Referenced by GenParticleProducer::convertParticle().
|
inlinevirtual |
set vertex
Implements reco::Candidate.
Reimplemented in reco::Photon.
Definition at line 208 of file LeafCandidate.h.
References vertex(), and vertex_.
Referenced by MuonsFromRefitTracksProducer::cloneAndSwitchTrack(), converter::SuperClusterToCandidate::convert(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), GenParticleProducer::convertParticle(), pat::GenericParticle::fillInFrom(), L2TauPixelTrackMatch::produce(), GlobalMuonToMuonProducer::produce(), FastjetJetProducer::produceTrackJets(), HPSPFRecoTauAlgorithm::refitThreeProng(), CandCommonVertexFitterBase::set(), PFCandCommonVertexFitterBase::set(), CandKinematicVertexFitter::set(), and reco::V0Candidate::setVertex().
|
inlinevirtual |
return a Ptr to one of the source Candidates ( the candidates used to construct this Candidate)
Reimplemented from reco::Candidate.
Reimplemented in reco::PFTau, pat::Electron, pat::Muon, reco::PFCandidate, and reco::CompositePtrCandidate.
Definition at line 110 of file LeafCandidate.h.
|
inlinevirtual |
status word
Implements reco::Candidate.
Definition at line 215 of file LeafCandidate.h.
References status_.
Referenced by FBaseSimEvent::addParticles(), ZLONLOHistogrammer::analyze(), EWKSystUnc::analyze(), zPdfUnc::analyze(), ZMuPtScaleAnalyzer::analyze(), JetAnaPythia< Jet >::analyze(), ResolutionCreator::analyze(), TTbarSpinCorrHepMCAnalyzer::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), GeneratorTau::computeDecayMode(), GeneratorTau::computeStableDecayProducts(), GeneratorTau::decayToPDGClassification(), objMon< T >::fillMC(), doubleEMEnrichingFilterAlgo::filter(), HighETPhotonsFilterAlgo::filter(), BCToEFilterAlgo::filter(), HSCPTreeBuilder::filter(), EMEnrichingFilterAlgo::filterIsoGenPar(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), InputGenJetsParticleSelector::fromResonance(), pat::PATObject< ObjectType >::genParticleById(), GenParticlesHelper::hasAncestor(), HiGammaJetSignalDef::IsIsolated(), HiGammaJetSignalDef::IsIsolatedJP(), HiGammaJetSignalDef::IsIsolatedPP(), McSelector::isSelected(), objMon< T >::monitorL1(), objMon< T >::monitorOffline(), objMon< T >::monitorOnline(), GenParticleCustomSelector::operator()(), WeakEffectsWeightProducer::produce(), MCTrackMatcher::produce(), ISRGammaWeightProducer::produce(), FSRWeightProducer::produce(), ISRWeightProducer::produce(), PdfWeightProducer::produce(), InputGenJetsParticleSelector::produce(), PartonSelector::produce(), JetPartonMatcher::produce(), PFRootEventManager::reconstructGenJets(), and setStatus().
|
inlinevirtual |
momentum polar angle
Implements reco::Candidate.
Definition at line 157 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
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(), CaloTower::hadEt(), PFSpecificAlgo::mkSpecificPFMETData(), CaloTower::outerEt(), FSRWeightProducer::produce(), pf2pat::PFMETAlgo::produce(), pat::LeptonJetIsolationAngle::spaceAngle(), and PFMETAnalyzer::validateMET().
|
inlinevirtual |
electric charge
Implements reco::Candidate.
Definition at line 119 of file LeafCandidate.h.
References qx3_.
Referenced by TopDecaySubset::fillListing().
|
inlinevirtual |
vertex position (overwritten by PF...)
Implements reco::Candidate.
Reimplemented in reco::PFCandidate.
Definition at line 200 of file LeafCandidate.h.
References vertex_.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), MultiTrackValidatorGenPs::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), CorrectedPFMETProducer2::applyCorrection(), CorrectedCaloMETProducer2::applyCorrection(), PFTauExtractor::depositFromObject(), PFCandWithSuperClusterExtractor::depositFromObject(), reco::CaloJet::detectorP4(), ErsatzMEt::ersatzFabrik(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), TopDecaySubset::fillListing(), PF_PU_AssoMapAlgos::FindV0Vertex(), MuonMETAlgo::GetMuDepDeltas(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), fireworks::makeEveJetCone(), GenParticleCustomSelector::operator()(), CorrectedMETProducer_namespace::CorrectedMETFactoryT< reco::PFMET >::operator()(), CorrectJet::operator()(), CorrectedMETProducer_namespace::CorrectedMETFactoryT< reco::CaloMET >::operator()(), SmearedJetProducer_namespace::JetResolutionExtractorT< pat::Jet >::operator()(), overlap(), EgammaHLTTrackIsolation::photonIsolation(), reco::CaloJet::physicsP4(), ParticleReplacerClass::produce(), Type1PFMET::run(), reco::Photon::setVertex(), and setVertex().
|
virtual |
chi-squares
Implements reco::Candidate.
Reimplemented in reco::VertexCompositeCandidate.
Definition at line 83 of file LeafCandidate.cc.
|
virtual |
(i, j)-th element of error matrix, i, j = 0, ... 2
Implements reco::Candidate.
Reimplemented in reco::VertexCompositeCandidate.
Definition at line 95 of file LeafCandidate.cc.
References edm::hlt::Exception, and edm::errors::UnimplementedFeature.
|
inlinevirtual |
return SMatrix
Reimplemented from reco::Candidate.
Definition at line 250 of file LeafCandidate.h.
References fillVertexCovariance(), and 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.
Definition at line 87 of file LeafCandidate.cc.
|
virtual |
chi-squared divided by n.d.o.f.
Implements reco::Candidate.
Reimplemented in reco::VertexCompositeCandidate.
Definition at line 91 of file LeafCandidate.cc.
|
inlinevirtual |
x coordinate of vertex position
Implements reco::Candidate.
Reimplemented in reco::PFCandidate.
Definition at line 202 of file LeafCandidate.h.
References vertex_.
Referenced by FBaseSimEvent::addParticles(), WenuPlots::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), reco::PFTau::dump(), and ParticleReplacerParticleGun::produce().
|
inlinevirtual |
y coordinate of vertex position
Implements reco::Candidate.
Reimplemented in reco::PFCandidate.
Definition at line 204 of file LeafCandidate.h.
References vertex_.
Referenced by FBaseSimEvent::addParticles(), WenuPlots::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), reco::PFTau::dump(), and ParticleReplacerParticleGun::produce().
|
inlinevirtual |
z coordinate of vertex position
Implements reco::Candidate.
Reimplemented in reco::PFCandidate.
Definition at line 206 of file LeafCandidate.h.
References vertex_.
Referenced by FBaseSimEvent::addParticles(), WenuPlots::analyze(), ZMuMu_vtxAnalyzer::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), PFCandWithSuperClusterExtractor::depositFromObject(), reco::PFTau::dump(), BTagHLTOfflineSource::isVBTFMuon(), ParticleReplacerParticleGun::produce(), and egHLT::OffPho::zVtx().
|
inlinevirtual |
rapidity
Implements reco::Candidate.
Definition at line 163 of file LeafCandidate.h.
References rapidity().
Referenced by svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), geometryXMLparser.Alignable::pos(), and Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget().
|
friend |
Definition at line 364 of file LeafCandidate.h.
|
friend |
Definition at line 363 of file LeafCandidate.h.
|
friend |
Definition at line 365 of file LeafCandidate.h.
|
friend |
Definition at line 366 of file LeafCandidate.h.
|
mutableprotected |
Definition at line 342 of file LeafCandidate.h.
Referenced by cacheCartesian(), clearCache(), and setP4().
|
mutableprotected |
has cache been set?
Definition at line 342 of file LeafCandidate.h.
Referenced by cachePolar(), clearCache(), and setP4().
|
protected |
Definition at line 330 of file LeafCandidate.h.
Referenced by cachePolar(), eta(), setP4(), and setPz().
|
static |
long lived flag
Definition at line 219 of file LeafCandidate.h.
Referenced by longLived(), and setLongLived().
|
protected |
Definition at line 330 of file LeafCandidate.h.
Referenced by cachePolar(), mass(), massSqr(), setMass(), setP4(), and setPz().
|
static |
do mass constraint flag
Definition at line 225 of file LeafCandidate.h.
Referenced by massConstraint(), and setMassConstraint().
|
mutableprotected |
internal cache for p4
Definition at line 340 of file LeafCandidate.h.
Referenced by boostToCM(), cacheCartesian(), energy(), momentum(), p(), p4(), px(), py(), pz(), setP4(), setPz(), and theta().
|
mutableprotected |
internal cache for p4
Definition at line 338 of file LeafCandidate.h.
Referenced by cacheCartesian(), cachePolar(), et(), mt(), mtSqr(), polarP4(), rapidity(), setP4(), and setPz().
|
protected |
PDG identifier.
Definition at line 334 of file LeafCandidate.h.
Referenced by reco::PFCandidate::particleId(), pdgId(), and setPdgId().
|
protected |
Definition at line 330 of file LeafCandidate.h.
Referenced by cachePolar(), phi(), setP4(), and setPz().
|
protected |
four-momentum Lorentz vector
Definition at line 330 of file LeafCandidate.h.
Referenced by cachePolar(), pt(), setP4(), and setPz().
|
protected |
electric charge
Definition at line 328 of file LeafCandidate.h.
Referenced by charge(), LeafCandidate(), setCharge(), setThreeCharge(), and threeCharge().
|
protected |
status word
Definition at line 336 of file LeafCandidate.h.
Referenced by longLived(), massConstraint(), setLongLived(), setMassConstraint(), setStatus(), and status().
|
protected |
vertex position
Definition at line 332 of file LeafCandidate.h.
Referenced by reco::Photon::setVertex(), setVertex(), reco::PFCandidate::setVertex(), reco::PFCandidate::setVertexSource(), vertex(), reco::PFCandidate::vertex(), vx(), vy(), and vz().