#include <Candidate.h>
Public Types | |
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 | |
const_iterator | begin () const |
first daughter const_iterator More... | |
iterator | begin () |
first daughter iterator More... | |
virtual const Track * | bestTrack () const |
virtual Vector | boostToCM () const =0 |
Candidate () | |
default constructor More... | |
virtual int | charge () const =0 |
electric charge More... | |
virtual Candidate * | clone () const =0 |
returns a clone of the Candidate object More... | |
virtual const Candidate * | daughter (size_type i) const =0 |
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) More... | |
virtual Candidate * | daughter (size_type i)=0 |
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 More... | |
virtual Candidate * | daughter (const std::string &s)=0 |
return daughter with a specified role name More... | |
virtual const Candidate * | daughter (const std::string &s) const =0 |
return daughter with a specified role name More... | |
virtual float | dxyError () const |
uncertainty on dxy More... | |
virtual float | dzError () const |
uncertainty on dz More... | |
const_iterator | end () const |
last daughter const_iterator More... | |
iterator | end () |
last daughter iterator More... | |
virtual double | energy () const =0 |
energy More... | |
virtual double | et () const =0 |
transverse energy More... | |
virtual double | et2 () const =0 |
transverse energy squared (use this for cut!) More... | |
virtual double | eta () const =0 |
momentum pseudorapidity More... | |
virtual void | fillVertexCovariance (CovarianceMatrix &v) const =0 |
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 =0 |
virtual bool | hasMasterClonePtr () const =0 |
virtual bool | isCaloMuon () const =0 |
virtual bool | isConvertedPhoton () const =0 |
virtual bool | isElectron () const =0 |
virtual bool | isGlobalMuon () const =0 |
virtual bool | isJet () const =0 |
virtual bool | isMuon () const =0 |
virtual bool | isPhoton () const =0 |
virtual bool | isStandAloneMuon () const =0 |
virtual bool | isTrackerMuon () const =0 |
virtual bool | longLived () const =0 |
is long lived? More... | |
virtual double | mass () const =0 |
mass More... | |
virtual bool | massConstraint () const =0 |
do mass constraint? More... | |
virtual double | massSqr () const =0 |
mass squared More... | |
virtual const CandidateBaseRef & | masterClone () const =0 |
virtual const CandidatePtr & | masterClonePtr () const =0 |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
virtual Vector | momentum () const =0 |
spatial momentum vector More... | |
virtual const Candidate * | mother (size_type i=0) const =0 |
return pointer to mother More... | |
virtual double | mt () const =0 |
transverse mass More... | |
virtual double | mtSqr () const =0 |
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_type | numberOfDaughters () const =0 |
number of daughters More... | |
virtual size_type | numberOfMothers () const =0 |
number of mothers (zero or one in most of but not all the cases) More... | |
virtual size_t | numberOfSourceCandidatePtrs () const =0 |
virtual double | p () const =0 |
magnitude of momentum vector More... | |
virtual const LorentzVector & | p4 () const =0 |
four-momentum Lorentz vector More... | |
virtual int | pdgId () const =0 |
PDG identifier. More... | |
virtual double | phi () const =0 |
momentum azimuthal angle More... | |
virtual const PolarLorentzVector & | polarP4 () const =0 |
four-momentum Lorentz vector More... | |
virtual double | pt () const =0 |
transverse momentum More... | |
virtual double | px () const =0 |
x coordinate of momentum vector More... | |
virtual double | py () const =0 |
y coordinate of momentum vector More... | |
virtual double | pz () const =0 |
z coordinate of momentum vector More... | |
virtual double | rapidity () const =0 |
rapidity More... | |
virtual void | setCharge (Charge q)=0 |
set electric charge More... | |
virtual void | setLongLived ()=0 |
set long lived flag More... | |
virtual void | setMass (double m)=0 |
set particle mass More... | |
virtual void | setMassConstraint ()=0 |
set mass constraint flag More... | |
virtual void | setP4 (const LorentzVector &p4)=0 |
set 4-momentum More... | |
virtual void | setP4 (const PolarLorentzVector &p4)=0 |
set 4-momentum More... | |
virtual void | setPdgId (int pdgId)=0 |
virtual void | setPz (double pz)=0 |
virtual void | setSourceCandidatePtr (const CandidatePtr &ptr) |
Set the ptr to the source Candidate. More... | |
virtual void | setStatus (int status)=0 |
set status word More... | |
virtual void | setThreeCharge (Charge qx3)=0 |
set electric charge More... | |
virtual void | setVertex (const Point &vertex)=0 |
set vertex More... | |
virtual CandidatePtr | sourceCandidatePtr (size_type i) const |
virtual int | status () const =0 |
status word More... | |
virtual double | theta () const =0 |
momentum polar angle More... | |
virtual int | threeCharge () const =0 |
electric charge More... | |
virtual const Point & | vertex () const =0 |
vertex position More... | |
virtual double | vertexChi2 () const =0 |
chi-squares More... | |
virtual double | vertexCovariance (int i, int j) const =0 |
(i, j)-th element of error matrix, i, j = 0, ... 2 More... | |
virtual CovarianceMatrix | vertexCovariance () const |
fill SMatrix More... | |
virtual double | vertexNdof () const =0 |
virtual double | vertexNormalizedChi2 () const =0 |
chi-squared divided by n.d.o.f. More... | |
virtual double | vx () const =0 |
x coordinate of vertex position More... | |
virtual double | vy () const =0 |
y coordinate of vertex position More... | |
virtual double | vz () const =0 |
z coordinate of vertex position More... | |
virtual double | y () const =0 |
rapidity More... | |
virtual | ~Candidate () |
destructor More... | |
Protected Member Functions | |
virtual bool | overlap (const Candidate &) const =0 |
check overlap with another Candidate More... | |
Friends | |
class | ::OverlapChecker |
template<typename , typename , typename > | |
struct | component |
class | ShallowCloneCandidate |
class | ShallowClonePtrCandidate |
abstract interface for physics objects
Definition at line 28 of file Candidate.h.
typedef int reco::Candidate::Charge |
electric charge type
Definition at line 35 of file Candidate.h.
Definition at line 31 of file Candidate.h.
covariance error matrix (3x3)
Definition at line 47 of file Candidate.h.
typedef unsigned int reco::Candidate::index |
index type
Definition at line 51 of file Candidate.h.
Definition at line 32 of file Candidate.h.
Lorentz vector.
Definition at line 37 of file Candidate.h.
typedef math::XYZPoint reco::Candidate::Point |
point in the space
Definition at line 41 of file Candidate.h.
Lorentz vector.
Definition at line 39 of file Candidate.h.
typedef size_t reco::Candidate::size_type |
Definition at line 30 of file Candidate.h.
point in the space
Definition at line 43 of file Candidate.h.
anonymous enum |
anonymous enum |
matix size
Enumerator | |
---|---|
size |
Definition at line 49 of file Candidate.h.
|
inline |
default constructor
Definition at line 54 of file Candidate.h.
References boostToCM(), charge(), clone(), energy(), et(), et2(), eta(), longLived(), funct::m, mass(), massConstraint(), massSqr(), momentum(), mt(), mtSqr(), p(), p4(), pdgId(), phi(), polarP4(), pt(), px(), py(), pz(), lumiQueryAPI::q, rapidity(), setCharge(), setLongLived(), setMass(), setMassConstraint(), setP4(), setPdgId(), setPz(), setStatus(), setThreeCharge(), setVertex(), status(), theta(), threeCharge(), vertex(), vx(), vy(), vz(), y(), and ~Candidate().
Referenced by pat::GenericParticle::clone(), GeneratorTau::computeStableDecayProducts(), GeneratorTau::decayToPDGClassification(), pat::GenericParticle::GenericParticle(), and GeneratorTau::getLeadTrack().
|
virtual |
|
inline |
first daughter const_iterator
Definition at line 144 of file Candidate.h.
Referenced by reco::CompositeCandidate::addDaughter(), reco::NamedCompositeCandidate::addDaughter(), TopDecaySubset::addDaughters(), TopDecaySubset::addRadiation(), JetCharge::charge(), TopDecaySubset::checkShowerModel(), TopDecaySubset::checkWBosons(), BPHDecayMomentum::clonesList(), PFElectronTranslator::correspondingDaughterCandidate(), PFPhotonTranslator::correspondingDaughterCandidate(), TtDecayChannelSelector::countProngs(), TopGenEvent::daughterQuarkOfTop(), JetMCTagUtils::EnergyRatioFromBHadrons(), JetMCTagUtils::EnergyRatioFromCHadrons(), BPHWriteSpecificDecay::fill(), TopDecaySubset::fillListing(), PFJetIDSelectionFunctor::firstDataCuts(), reco::GenJet::getGenConstituent(), CandMatcherBase< C1, C2 >::initMaps(), OverlapChecker::operator()(), TtDecayChannelSelector::operator()(), FastCandMatcher< C >::operator()(), CandMatcherBase< C1, C2 >::operator()(), TopDecaySubset::p4(), reco::TrackJet::resetCharge(), Booster::set(), TtSemiLepHypothesis::setNeutrino(), and TtDecayChannelSelector::tauDecay().
|
inline |
|
inlinevirtual |
Reimplemented in pat::PackedCandidate, reco::PFCandidate, pat::Muon, reco::Muon, reco::RecoCandidate, and reco::RecoChargedRefCandidate.
Definition at line 247 of file Candidate.h.
Referenced by reco::CandidatePtrTransientTrack::CandidatePtrTransientTrack(), PileupJetIdAlgo::computeIdVariables(), BPHTrackReference::getFromBT(), Muon.Muon::ptErr(), and PrimaryVertexSorting::score().
|
pure virtual |
boost vector to boost a Lorentz vector to the particle center of mass system
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate().
|
pure virtual |
electric charge
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by GlbMuQualityCutsAnalysis::analyze(), ZMassHistogrammer::analyze(), ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), ZMuMuPerformances::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), reco::tau::atECALEntrance(), PFRecoTauDiscriminationByIsolation::beginEvent(), FWCandidateProxyBuilder::build(), BPHPlusMinusCandidate::build(), HPSPFRecoTauAlgorithm::buildOneProng(), Candidate(), CandCombinerBase< OutputCollection, CandPtr >::combine(), NamedCandCombinerBase::combine(), PileupJetIdAlgo::computeIdVariables(), TtDecayChannelSelector::countProngs(), reco::isodeposit::IsoDepositExtractor::deposit(), reco::isodeposit::IsoDepositExtractor::deposits(), CandidateChargeBTagComputer::discriminator(), CandIsoDepositProducer::extractTrack(), pat::GenericParticle::fillInFrom(), CandidateBenchmark::fillOne(), reco::tau::RecoTauQualityCuts::filterCand(), reco::tau::RecoTauQualityCuts::filterChargedCand(), reco::PFTauDecayMode::filteredObjectCandidates(), TtDilepEvtSolutionMaker::HasPositiveCharge(), TtFullLepKinSolutionProducer::HasPositiveCharge(), TtDilepEvtSolutionMaker::LepDiffCharge(), TtFullLepKinSolutionProducer::LepDiffCharge(), MatcherUsingTracksAlgorithm::match(), MatcherByPullsAlgorithm::match(), reco::tau::qcuts::minTrackVertexWeight_cand(), ParametersDefinerForTP::momentum(), helpers::MCTruthPairSelector< T >::operator()(), PositionAtECalEntranceComputer::operator()(), reco::LeafCandidate::overlap(), pat::PackedGenParticle::overlap(), pat::PackedCandidate::overlap(), reco::PFRecoTauChargedHadron::PFRecoTauChargedHadron(), fireworks::prepareCandidate(), CandCombinerBase< OutputCollection, CandPtr >::preselect(), NamedCandCombinerBase::preselect(), printP4(), PseudoTopProducer::produce(), ColinsSoperVariablesComputer::produce(), pat::L1MuonMatcher::produce(), pat::HLTL1MuonMatcher::produce(), ZToLLEdmNtupleDumper::produce(), SoftKillerProducer::produce(), VertexTableProducer::produce(), L1TMicroGMTInputProducerFromGen::produce(), l1t::GenToInputProducer::produce(), BPHRecoBuilder::sameTrack(), AddFourMomenta::set(), PropagateToMuon::startingState(), MatcherUsingTracksAlgorithm::startingState(), reco::tau::sumPFCandCharge(), BPHDecayVertex::tTracks(), ParametersDefinerForTP::vertex(), BPHParticleChargeSelect::~BPHParticleChargeSelect(), BPHParticleNeutralVeto::~BPHParticleNeutralVeto(), and BPHPlusMinusCandidate::~BPHPlusMinusCandidate().
|
pure virtual |
returns a clone of the Candidate object
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::PFJet, reco::CaloJet, reco::JPTJet, reco::GenJet, reco::PFCandidate, l1extra::L1EtMissParticle, reco::GsfElectron, pat::Jet, reco::IsolatedPixelTrackCandidate, l1extra::L1MuonParticle, pat::Tau, reco::SiStripElectron, l1extra::L1JetParticle, l1extra::L1EmParticle, pat::Electron, reco::PFTauDecayMode, pat::Muon, pat::Photon, pat::MET, reco::HcalIsolatedTrackCandidate, reco::PFTau, pat::GenericParticle, reco::VertexCompositePtrCandidate, reco::MET, reco::CompositeCandidate, reco::Photon, pat::PFParticle, pat::CompositeCandidate, reco::NamedCompositeCandidate, pat::Particle, pat::Lepton< reco::BaseTau >, pat::Lepton< reco::GsfElectron >, pat::Lepton< reco::Muon >, reco::CompositeRefCandidateT< D >, reco::TrackJet, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::ShallowCloneCandidate, reco::PFClusterJet, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::ShallowClonePtrCandidate, reco::VertexCompositeCandidate, reco::GenParticle, reco::CompositeRefBaseCandidate, reco::EcalIsolatedParticleCandidate, reco::RecoCandidate, reco::BasicJet, reco::Muon, reco::IsolatedPFCandidate, reco::PileUpPFCandidate, reco::CaloRecHitCandidate, reco::CandidateWithRef< Ref >, reco::RecoChargedCandidate, reco::RecoEcalCandidate, reco::RecoStandAloneMuonCandidate, reco::RecoCaloTowerCandidate, reco::Electron, reco::BaseTau, reco::CaloTau, reco::RecoPFClusterRefCandidate, and reco::RecoChargedRefCandidate.
Referenced by reco::CompositeCandidate::addDaughter(), reco::NamedCompositeCandidate::addDaughter(), Candidate(), cloneDecayTree(), BPHDecayMomentum::clonesList(), BPHDecayMomentum::componentList(), and BPHMassSymSelect::~BPHMassSymSelect().
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode)
Implemented in pat::Jet, pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::NamedCompositeCandidate, reco::LeafRefCandidateT, reco::CompositeCandidate, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::ShallowCloneCandidate, reco::CompositePtrCandidate, reco::ShallowClonePtrCandidate, reco::CompositeRefBaseCandidate, and reco::CompositeRefCandidate.
Referenced by helper::CandDecayStoreManager::add(), ZMassHistogrammer::analyze(), ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), myFastSimVal::analyze(), testAnalyzer::analyze(), HLTMCtruth::analyze(), ZGlobalVsSAIsolationAnalyzer::analyze(), ZMuMuIsolationAnalyzer::analyze(), ZMuMuEfficiency::analyze(), ZMuMuSaMassHistogram::analyze(), ZMuMuAnalyzer::analyze(), ZMuMuPerformances::analyze(), MCEfficiencyAnalyzer::analyze(), ZMuMu_vtxAnalyzer::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), ZMuMuAnalyzer_cynematics::analyze(), ZMuMu_MCanalyzer::analyze(), gamma_radiative_analyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), MCAcceptanceAnalyzer::analyze(), ErsatzMEt::analyze(), TtFullLeptonicEvent::b(), TtFullHadronicEvent::b(), TtFullLeptonicEvent::bBar(), TtFullHadronicEvent::bBar(), BoostedDoubleSVProducer::calcNsubjettiness(), cloneDecayTree(), reco::CompositeCandidate::CompositeCandidate(), reco::ShallowClonePtrCandidate::daughter(), reco::ShallowCloneCandidate::daughter(), ParticleDecayDrawer::decay(), end(), CandCommonVertexFitterBase::fill(), PFCandCommonVertexFitterBase::fill(), CandKinematicVertexFitter::fill(), ZToMuMuFilter::filter(), reco::modules::JetFlavourIdentifier::findCandidates(), BPHDaughters::get(), PseudoTopProducer::getLast(), ZMuMuEfficiency::getParticleEta(), ZMuMuPerformances::getParticleEta(), ZMuMu_vtxAnalyzer::getParticleEta(), ZMuMu_efficiencyAnalyzer::getParticleEta(), ZMuMu_MCanalyzer::getParticleEta(), ZMuMuEfficiency::getParticleP4(), ZMuMuPerformances::getParticleP4(), ZMuMu_vtxAnalyzer::getParticleP4(), ZMuMu_efficiencyAnalyzer::getParticleP4(), ZMuMu_MCanalyzer::getParticleP4(), ZMuMuEfficiency::getParticlePhi(), ZMuMuPerformances::getParticlePhi(), ZMuMu_vtxAnalyzer::getParticlePhi(), ZMuMu_efficiencyAnalyzer::getParticlePhi(), ZMuMu_MCanalyzer::getParticlePhi(), ZMuMuEfficiency::getParticlePt(), ZMuMuPerformances::getParticlePt(), ZMuMu_vtxAnalyzer::getParticlePt(), ZMuMu_efficiencyAnalyzer::getParticlePt(), ZMuMu_MCanalyzer::getParticlePt(), MuScleFitMuonSelector::getStatus1Muon(), MuScleFitMuonSelector::getStatus3Muon(), TtSemiLeptonicEvent::hadronicDecayB(), TtSemiLeptonicEvent::hadronicDecayQuark(), TtSemiLeptonicEvent::hadronicDecayQuarkBar(), TtSemiLeptonicEvent::hadronicDecayW(), GenHFHadronMatcher::hasHadronDaughter(), ParticleDecayDrawer::hasValidDaughters(), ParticleTreeDrawer::hasValidDaughters(), helicityAngle(), invalidateTree(), PseudoTopProducer::isBHadron(), ZMuMuAnalyzer_cynematics::isContained(), TtFullLeptonicEvent::lepton(), TtFullLeptonicEvent::leptonBar(), TtSemiLeptonicEvent::leptonicDecayB(), TtSemiLeptonicEvent::leptonicDecayW(), TtFullHadronicEvent::lightP(), TtFullHadronicEvent::lightPBar(), TtFullHadronicEvent::lightQ(), TtFullHadronicEvent::lightQBar(), mcMuDaughter(), dimuonHLTFilterCheck::nDimuonsByType(), TtFullLeptonicEvent::neutrino(), TtFullLeptonicEvent::neutrinoBar(), ZMuMuOverlap::operator()(), CompositeCandSelector< Selector, T1, T2, nDau >::operator()(), GenJetParticleSelector::operator()(), modules::ZHLTMatchFilter::operator()(), ZSelector::operator()(), ZGoldenFilter::operator()(), ZToMuMuIsolationSelector< Isolator >::operator()(), ZToMuMuIsoDepositSelector< Isolator >::operator()(), reco::utilsNew::CandMatcher< C >::operator[](), reco::PFTauDecayMode::pfMasterClones(), ParticleTreeDrawer::printDecay(), GenParticles2HepMCConverter::produce(), ZToLLEdmNtupleDumper::produce(), TauSpinnerCMS::readParticlesfromReco(), tnp::TagProbePairMaker::run(), CandMassKinFitter::set(), TtSemiLeptonicEvent::singleLepton(), TtSemiLeptonicEvent::singleNeutrino(), InputGenJetsParticleSelector::testPartonChildren(), TtFullLeptonicEvent::wMinus(), TtFullHadronicEvent::wMinus(), TtFullLeptonicEvent::wPlus(), TtFullHadronicEvent::wPlus(), and zMCLeptonDaughters().
return daughter at a given position, i = 0, ... numberOfDaughters() - 1
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::LeafRefCandidateT, reco::NamedCompositeCandidate, reco::CompositeCandidate, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::ShallowCloneCandidate, reco::CompositePtrCandidate, reco::ShallowClonePtrCandidate, reco::CompositeRefBaseCandidate, and reco::CompositeRefCandidate.
|
pure virtual |
return daughter with a specified role name
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::LeafRefCandidateT, reco::CompositeCandidate, and reco::NamedCompositeCandidate.
|
pure virtual |
return daughter with a specified role name
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::LeafRefCandidateT, reco::CompositeCandidate, and reco::NamedCompositeCandidate.
|
inlinevirtual |
uncertainty on dxy
Reimplemented in pat::PackedCandidate, reco::PFCandidate, pat::IsolatedTrack, reco::RecoCandidate, and reco::RecoChargedRefCandidate.
Definition at line 252 of file Candidate.h.
References isCaloMuon(), isConvertedPhoton(), isElectron(), isGlobalMuon(), isJet(), isMuon(), isPhoton(), isStandAloneMuon(), isTrackerMuon(), and overlap().
|
inlinevirtual |
uncertainty on dz
Reimplemented in pat::PackedCandidate, reco::PFCandidate, pat::IsolatedTrack, reco::RecoCandidate, and reco::RecoChargedRefCandidate.
Definition at line 250 of file Candidate.h.
|
inline |
last daughter const_iterator
Definition at line 146 of file Candidate.h.
References numberOfDaughters().
Referenced by reco::CompositeCandidate::addDaughter(), reco::NamedCompositeCandidate::addDaughter(), TopDecaySubset::addDaughters(), TopDecaySubset::addRadiation(), JetCharge::charge(), TopDecaySubset::checkShowerModel(), TopDecaySubset::checkWBosons(), PFElectronTranslator::correspondingDaughterCandidate(), PFPhotonTranslator::correspondingDaughterCandidate(), TtDecayChannelSelector::countProngs(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), TopGenEvent::daughterQuarkOfTop(), JetMCTagUtils::EnergyRatioFromBHadrons(), JetMCTagUtils::EnergyRatioFromCHadrons(), TopDecaySubset::fillListing(), PFJetIDSelectionFunctor::firstDataCuts(), reco::GenJet::getGenConstituent(), CandMatcherBase< C1, C2 >::initMaps(), OverlapChecker::operator()(), TtDecayChannelSelector::operator()(), FastCandMatcher< C >::operator()(), CandMatcherBase< C1, C2 >::operator()(), TopDecaySubset::p4(), pat::TriggerObjectStandAlone::packPathNames(), reco::TrackJet::resetCharge(), Booster::set(), TtDecayChannelSelector::tauDecay(), and pat::TriggerObjectStandAlone::unpackPathNames().
|
inline |
last daughter iterator
Definition at line 150 of file Candidate.h.
References daughter(), mps_fire::i, mother(), numberOfDaughters(), numberOfMothers(), numberOfSourceCandidatePtrs(), alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
pure virtual |
energy
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by reco::tau::atECALEntrance(), FWCandidateLegoProxyBuilder::build(), BoostedDoubleSVProducer::calcNsubjettiness(), Candidate(), JetMCTagUtils::EnergyRatioFromBHadrons(), JetMCTagUtils::EnergyRatioFromCHadrons(), cms::SubEventGenJetProducer::inputTowers(), reco::makeSpecific(), reco::tau::RecoTauIsolationMasking::mask(), AntiElectronIDMVA6::MVAValue(), vEnergy::operator()(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), PseudoTopProducer::produce(), CastorFastTowerProducer::produce(), CastorFastClusterProducer::produce(), FSRWeightProducer::produce(), ColinsSoperVariablesComputer::produce(), QjetsAdder::produce(), TemplatedSecondaryVertexProducer< IPTI, VTX >::produce(), Jet.Jet::rawEnergy(), reco::tau::RecoTauIsolationMasking::resolution(), PFSpecificAlgo::run(), CandCommonVertexFitterBase::set(), PFCandCommonVertexFitterBase::set(), CandKinematicVertexFitter::set(), and heppy::FSRWeightAlgo::weight().
|
pure virtual |
transverse energy
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by FWCandidateLegoProxyBuilder::build(), ReflectedIterator::calculatePedestal(), MultipleAlgoIterator::calculatePedestal(), Candidate(), egammaisolation::EgammaTrackExtractor::deposit(), reco::tau::qcuts::etMin_cand(), GenericBenchmark::fill(), GenericBenchmark::fillHistos(), PFFilter::filter(), PFMETFilter::filter(), reco::tau::RecoTauQualityCuts::filterGammaCand(), reco::tau::RecoTauQualityCuts::filterNeutralHadronCand(), cms::SubEventGenJetProducer::inputTowers(), MultipleAlgoIterator::offsetCorrectJets(), ReflectedIterator::offsetCorrectJets(), CandOneToManyDeltaRMatcher::produce(), MultipleAlgoIterator::subtractPedestal(), and ReflectedIterator::subtractPedestal().
|
pure virtual |
transverse energy squared (use this for cut!)
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate().
|
pure virtual |
momentum pseudorapidity
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Particle.Particle::__str__(), BPHDaughterSelect::accept(), GenericBenchmark::accepted(), DimuonStatistics::analyze(), ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), HypothesisAnalyzer::analyze(), HLTMCtruth::analyze(), ZMuMuEfficiency::analyze(), dimuonHLTFilterCheck::analyze(), ZMuMuPerformances::analyze(), MCEfficiencyAnalyzer::analyze(), ZMuMu_vtxAnalyzer::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), ZMuMu_MCanalyzer::analyze(), gamma_radiative_analyzer::analyze(), MCAcceptanceAnalyzer::analyze(), FWCandidateLegoProxyBuilder::build(), btagbtvdeep::TrackInfoBuilder::buildTrackInfo(), Candidate(), CandMergerCleanOthersByDR::CandMergerCleanOthersByDR(), PileupJetIdAlgo::computeIdVariables(), egammaisolation::EgammaTrackExtractor::deposit(), GenericBenchmark::fill(), PFCandidateMonitor::fill(), PFJetMonitor::fill(), FWCandidateTowerProxyBuilder::fillCaloData(), GenericBenchmark::fillHistos(), CandidateBenchmark::fillOne(), MatchCandidateBenchmark::fillOne(), PFCandidateMonitor::fillOne(), ZToMuMuFilter::filter(), PFFilter::filter(), PFMETFilter::filter(), PFJetFilter::filter(), DYToMuMuGenFilter::filter(), BadParticleFilter::filter(), HLTMuonPlotter::findMatches(), HiGammaJetSignalDef::getDeltaR(), PhotonTkIsolation::getIso(), FWCandidateTowerSliceSelector::getItemEntryEtaPhi(), ZMuMuEfficiency::getParticleEta(), ZMuMuPerformances::getParticleEta(), ZMuMu_vtxAnalyzer::getParticleEta(), ZMuMu_efficiencyAnalyzer::getParticleEta(), ZMuMu_MCanalyzer::getParticleEta(), heppy::IsolationComputer::isoSumNeutralsWeighted(), heppy::IsolationComputer::isoSumRaw(), Jet.Jet::jetID(), MatcherByPullsAlgorithm::match(), PuppiPhoton::matchPFCandidate(), ZSelector::operator()(), AntiElectronDeadECAL::operator()(), operator<<(), HLTmmkkFilter::overlap(), HLTmmkFilter::overlap(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), printP4(), TtEvent::printParticle(), CastorFastTowerProducer::produce(), CandOneToManyDeltaRMatcher::produce(), CastorFastClusterProducer::produce(), GenParticles2HepMCConverter::produce(), ZMuMuUserDataOneTrack::produce(), ZMuMuUserData::produce(), CandMergerCleanOthersByDR::produce(), MultShiftMETcorrInputProducer::produce(), MultShiftMETcorrDBInputProducer::produce(), ZToLLEdmNtupleDumper::produce(), HFJetShowerShape::produce(), L1TMicroGMTInputProducerFromGen::produce(), l1t::GenToInputProducer::produce(), Jet.Jet::puJetId(), TrackingRegionsFromBeamSpotAndL2Tau::regions(), reco::tau::RecoTauIsolationMasking::resolution(), SetPtEtaPhi(), setPtEtaPhi(), MultiTrackValidator::tpDR(), MultiTrackValidator::trackDR(), and reco::tau::disc::TrackEta().
|
pure virtual |
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::VertexCompositePtrCandidate, and reco::VertexCompositeCandidate.
Referenced by vertexCovariance().
|
inline |
get a component
Definition at line 217 of file Candidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), and masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), ZMuMuSaMassHistogram::analyze(), ZMuMuPerformances::analyze(), dimuonHLTFilterCheck::analyze(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), EgammaTowerIsolationNew< NC >::compute(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), egammaisolation::EgammaRecHitExtractor::deposit(), egammaisolation::EgammaHcalExtractor::deposit(), egammaisolation::EgammaEcalExtractor::deposit(), egammaisolation::EgammaTowerExtractor::deposit(), ZGlobalVsSAIsolationAnalyzer::evaluate(), CandCommonVertexFitterBase::fill(), CandKinematicVertexFitter::fill(), betterConfigParser.BetterConfigParser::getCompares(), EgammaEcalIsolation::getEcalEtSum(), BPHTrackReference::getFromRC(), betterConfigParser.BetterConfigParser::getGeneral(), EgammaHcalIsolation::getHcalESum(), EgammaHcalIsolation::getHcalESumDepth1(), EgammaHcalIsolation::getHcalESumDepth2(), EgammaHcalIsolation::getHcalEtSum(), EgammaHcalIsolation::getHcalEtSumDepth1(), EgammaHcalIsolation::getHcalEtSumDepth2(), betterConfigParser.BetterConfigParser::getResultingSection(), EgammaRecHitIsolation::getSum_(), EgammaTowerIsolation::getTowerESum(), EgammaTowerIsolation::getTowerEtSum(), ZMuMuAnalyzer_cynematics::isContained(), reco::makeSpecific(), AntiElectronIDMVA6::MVAValue(), ZMuMuOverlap::operator()(), ZMuMuUserData::produce(), ZToLLEdmNtupleDumper::produce(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), CandMassKinFitter::set(), rrapi.RRApi::tables(), util.rrapi.RRApi::tables(), util.rrapi.RRApi::tags(), rrapi.RRApi::tags(), util.rrapi.RRApi::templates(), rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inline |
get a component
Definition at line 222 of file Candidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), and masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
get a component
Definition at line 227 of file Candidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), mps_fire::i, and masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
get a component
Definition at line 232 of file Candidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), mps_fire::i, and masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), rrapi.RRApi::data(), util.rrapi.RRApi::data(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), rrapi.RRApi::report(), util.rrapi.RRApi::report(), rrapi.RRApi::reports(), util.rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
pure virtual |
returns true if this candidate has a reference to a master clone. This only happens if the concrete Candidate type is ShallowCloneCandidate
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::LeafRefCandidateT, and reco::ShallowCloneCandidate.
Referenced by PFCandCommonVertexFitterBase::fill(), reco::GenJet::genParticle(), get(), reco::makeSpecific(), numberOf(), OverlapChecker::operator()(), FastCandMatcher< C >::operator()(), CandMatcherBase< C1, C2 >::operator()(), ZToMuMuIsolationSelector< Isolator >::operator()(), ZToMuMuIsoDepositSelector< Isolator >::operator()(), reco::utilsNew::CandMatcher< C >::operator[](), reco::PFTauDecayMode::pfMasterClones(), ZToLLEdmNtupleDumper::produce(), and vertexCovariance().
|
pure virtual |
returns true if this candidate has a ptr to a master clone. This only happens if the concrete Candidate type is ShallowClonePtrCandidate
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::LeafRefCandidateT, and reco::ShallowClonePtrCandidate.
Referenced by vertexCovariance().
|
pure virtual |
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::Muon, reco::LeafCandidate, reco::LeafRefCandidateT, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Referenced by dxyError(), reco::ShallowClonePtrCandidate::isCaloMuon(), and reco::ShallowCloneCandidate::isCaloMuon().
|
pure virtual |
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::LeafRefCandidateT, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Referenced by dxyError(), reco::ShallowClonePtrCandidate::isConvertedPhoton(), and reco::ShallowCloneCandidate::isConvertedPhoton().
|
pure virtual |
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::GsfElectron, reco::LeafRefCandidateT, reco::SiStripElectron, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::Electron.
Referenced by reco::PFMETProducerMVA::chargedEnFrac(), egammaisolation::EgammaTrackExtractor::deposit(), dxyError(), reco::ShallowClonePtrCandidate::isElectron(), reco::ShallowCloneCandidate::isElectron(), and reco::PFMETProducerMVA::istau().
|
pure virtual |
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::Muon, reco::LeafCandidate, reco::LeafRefCandidateT, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Referenced by GlbMuQualityCutsAnalysis::analyze(), ZMuMuEfficiency::analyze(), dimuonHLTFilterCheck::analyze(), ZMuMuPerformances::analyze(), ZMuMu_Radiative_analyzer::analyze(), dxyError(), reco::ShallowClonePtrCandidate::isGlobalMuon(), reco::ShallowCloneCandidate::isGlobalMuon(), Muon.Muon::muonID(), dimuonHLTFilterCheck::nDimuonsByType(), dimuonHLTFilterCheck::nMuonsByType(), modules::ZHLTMatchFilter::operator()(), and ZGoldenFilter::operator()().
|
pure virtual |
|
pure virtual |
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::Muon, reco::LeafCandidate, reco::LeafRefCandidateT, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Referenced by reco::PFMETProducerMVA::chargedEnFrac(), dxyError(), reco::ShallowClonePtrCandidate::isMuon(), reco::ShallowCloneCandidate::isMuon(), and reco::PFMETProducerMVA::istau().
|
pure virtual |
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::LeafRefCandidateT, reco::Photon, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Referenced by reco::PFMETProducerMVA::chargedEnFrac(), dxyError(), reco::ShallowClonePtrCandidate::isPhoton(), reco::ShallowCloneCandidate::isPhoton(), and reco::PFMETProducerMVA::istau().
|
pure virtual |
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::Muon, reco::LeafCandidate, reco::LeafRefCandidateT, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Referenced by GlbMuQualityCutsAnalysis::analyze(), ZMuMuPerformances::analyze(), dxyError(), reco::ShallowClonePtrCandidate::isStandAloneMuon(), reco::ShallowCloneCandidate::isStandAloneMuon(), dimuonHLTFilterCheck::nDimuonsByType(), dimuonHLTFilterCheck::nMuonsByType(), modules::ZHLTMatchFilter::operator()(), and ZGoldenFilter::operator()().
|
pure virtual |
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::Muon, reco::LeafCandidate, reco::LeafRefCandidateT, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Referenced by GlbMuQualityCutsAnalysis::analyze(), ZMuMuPerformances::analyze(), dxyError(), reco::ShallowClonePtrCandidate::isTrackerMuon(), reco::ShallowCloneCandidate::isTrackerMuon(), dimuonHLTFilterCheck::nDimuonsByType(), dimuonHLTFilterCheck::nMuonsByType(), and modules::ZHLTMatchFilter::operator()().
|
pure virtual |
is long lived?
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate(), and CandKinematicVertexFitter::set().
|
pure virtual |
mass
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), ZMassHistogrammer::analyze(), ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), HypothesisAnalyzer::analyze(), myFastSimVal::analyze(), ZMuMuEfficiency::analyze(), ZMuMuSaMassHistogram::analyze(), ZMuMuAnalyzer::analyze(), ZMuMuPerformances::analyze(), ZMuMu_vtxAnalyzer::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), ZMuMuAnalyzer_cynematics::analyze(), ZMuMu_MCanalyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), gamma_radiative_analyzer::analyze(), MCAcceptanceAnalyzer::analyze(), B2GDQM::analyzeJets(), BPHKinematicFit::buildParticles(), Candidate(), CandKinematicVertexFitter::fill(), ZToMuMuFilter::filter(), BPHDaughters::get(), main(), ZSelector::operator()(), operator<<(), TtEvent::printParticle(), FSRWeightProducer::produce(), GenParticles2HepMCConverter::produce(), ZMuMuUserDataOneTrack::produce(), ZMuMuUserData::produce(), pat::L1MuonMatcher::produce(), pat::HLTL1MuonMatcher::produce(), ZToLLEdmNtupleDumper::produce(), tnp::TagProbePairMaker::run(), CandMassKinFitter::set(), CandCommonVertexFitterBase::set(), PFCandCommonVertexFitterBase::set(), and heppy::FSRWeightAlgo::weight().
|
pure virtual |
do mass constraint?
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate().
|
pure virtual |
mass squared
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate().
|
pure virtual |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowCloneCandidate
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::LeafRefCandidateT, and reco::ShallowCloneCandidate.
Referenced by DimuonStatistics::analyze(), GlbMuQualityCutsAnalysis::analyze(), testAnalyzer::analyze(), ZMuMuIsolationAnalyzer::analyze(), ZMuMuEfficiency::analyze(), ZMuMuAnalyzer::analyze(), ZMuMuPerformances::analyze(), ZMuMu_vtxAnalyzer::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), ZMuMu_MCanalyzer::analyze(), ZMuMuAnalyzer_cynematics::analyze(), ZMuMu_Radiative_analyzer::analyze(), gamma_radiative_analyzer::analyze(), candidateIsolation(), ZGlobalVsSAIsolationAnalyzer::evaluate(), PFCandCommonVertexFitterBase::fill(), ZToMuMuFilter::filter(), reco::GenJet::genParticle(), get(), reco::makeSpecific(), masterRef(), numberOf(), OverlapChecker::operator()(), modules::ZHLTMatchFilter::operator()(), FastCandMatcher< C >::operator()(), CandMatcherBase< C1, C2 >::operator()(), ZToMuMuIsolationSelector< Isolator >::operator()(), ZToMuMuIsoDepositSelector< Isolator >::operator()(), reco::utilsNew::CandMatcher< C >::operator[](), reco::PFTauDecayMode::pfMasterClones(), DimuonMCMatcher::produce(), ZMuMuUserData::produce(), ZToLLEdmNtupleDumper::produce(), MuMuForEmbeddingSelector::produce(), tnp::TagProbePairMaker::run(), and vertexCovariance().
|
pure virtual |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowClonePtrCandidate
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::LeafRefCandidateT, and reco::ShallowClonePtrCandidate.
Referenced by vertexCovariance().
|
inline |
cast master clone reference to a concrete type
Definition at line 214 of file Candidate.h.
References masterClone().
|
pure virtual |
spatial momentum vector
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by PFRecoTauAlgorithm::buildPFTau(), btagbtvdeep::TrackInfoBuilder::buildTrackInfo(), Candidate(), reco::isodeposit::IsoDepositExtractor::deposit(), reco::isodeposit::IsoDepositExtractor::deposits(), CandIsoDepositProducer::extractTrack(), reco::TrackSelector::operator()(), JetCoreClusterSplitter::produce(), TrackingRegionsFromBeamSpotAndL2Tau::regions(), PixelUnpackingRegions::run(), and BPHRecoBuilder::sameTrack().
return pointer to mother
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::CompositeCandidate, reco::CompositeRefCandidate, reco::LeafRefCandidateT, reco::CompositePtrCandidate, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Referenced by EWKSystUnc::analyze(), ZLONLOHistogrammer::analyze(), zPdfUnc::analyze(), ZMuPtScaleAnalyzer::analyze(), ParticleDecayDrawer::analyze(), myFastSimVal::analyze(), ElectronMcSignalValidatorMiniAOD::analyze(), ElectronMcSignalValidator::analyze(), ResolutionCreator::analyze(), GsfElectronMCAnalyzer::analyze(), ErsatzMEt::analyze(), GenHFHadronMatcher::analyzeMothers(), ttHFGenFilter::analyzeMothersRecursive(), end(), EmbeddingLHEProducer::find_original_muon(), ttHFGenFilter::FindAllTopMothers(), GenHFHadronMatcher::findHadronJets(), InputGenJetsParticleSelector::fromResonance(), CandMCTagUtils::getAncestors(), FlavorHistoryProducer::getAncestors(), HeavyFlavorValidation::getMotherId(), PseudoTopProducer::isFromHadron(), reco::ShallowClonePtrCandidate::mother(), reco::ShallowCloneCandidate::mother(), ZMuMuIsolationAnalyzer::muTag(), FastCandMatcher< C >::operator()(), operator<<(), PseudoTopProducer::produce(), and GenParticles2HepMCConverter::produce().
|
pure virtual |
transverse mass
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate().
|
pure virtual |
transverse mass squared
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate().
|
inline |
number of components
Definition at line 237 of file Candidate.h.
References hasMasterClone(), and masterClone().
|
inline |
number of components
Definition at line 242 of file Candidate.h.
References hasMasterClone(), and masterClone().
|
pure virtual |
number of daughters
Implemented in pat::Jet, pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::LeafRefCandidateT, reco::CompositeCandidate, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::ShallowCloneCandidate, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Referenced by helper::CandDecayStoreManager::add(), ZMassHistogrammer::analyze(), ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), myFastSimVal::analyze(), ElectronMcSignalValidatorMiniAOD::analyze(), ElectronMcSignalValidator::analyze(), HLTMCtruth::analyze(), ZMuMuEfficiency::analyze(), MCEfficiencyAnalyzer::analyze(), gamma_radiative_analyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), MCAcceptanceAnalyzer::analyze(), ErsatzMEt::analyze(), reco::PFTauDecayMode::associatedChargedPFCandidates(), reco::PFTauDecayMode::associatedNeutralPFCandidates(), TopDecaySubset::checkShowerModel(), cloneDecayTree(), reco::CompositeCandidate::CompositeCandidate(), CandMatcher< C1, C2 >::compositePreselect(), ParticleDecayDrawer::decay(), end(), CandCommonVertexFitterBase::fill(), PFCandCommonVertexFitterBase::fill(), CandKinematicVertexFitter::fill(), ZToMuMuFilter::filter(), reco::PFTauDecayMode::filteredPFCandidates(), reco::modules::JetFlavourIdentifier::findCandidates(), PseudoTopProducer::getLast(), ZMuMuEfficiency::getParticleEta(), ZMuMuPerformances::getParticleEta(), ZMuMu_vtxAnalyzer::getParticleEta(), ZMuMu_efficiencyAnalyzer::getParticleEta(), ZMuMu_MCanalyzer::getParticleEta(), ZMuMuEfficiency::getParticleP4(), ZMuMuPerformances::getParticleP4(), ZMuMu_vtxAnalyzer::getParticleP4(), ZMuMu_efficiencyAnalyzer::getParticleP4(), ZMuMu_MCanalyzer::getParticleP4(), ZMuMuEfficiency::getParticlePhi(), ZMuMuPerformances::getParticlePhi(), ZMuMu_vtxAnalyzer::getParticlePhi(), ZMuMu_efficiencyAnalyzer::getParticlePhi(), ZMuMu_MCanalyzer::getParticlePhi(), ZMuMuEfficiency::getParticlePt(), ZMuMuPerformances::getParticlePt(), ZMuMu_vtxAnalyzer::getParticlePt(), ZMuMu_efficiencyAnalyzer::getParticlePt(), ZMuMu_MCanalyzer::getParticlePt(), MuScleFitMuonSelector::getStatus1Muon(), MuScleFitMuonSelector::getStatus3Muon(), GenHFHadronMatcher::hasHadronDaughter(), ParticleDecayDrawer::hasValidDaughters(), ParticleTreeDrawer::hasValidDaughters(), helicityAngle(), invalidateTree(), PseudoTopProducer::isBHadron(), ZMuMuAnalyzer_cynematics::isContained(), mcMuDaughter(), reco::ShallowClonePtrCandidate::numberOfDaughters(), reco::ShallowCloneCandidate::numberOfDaughters(), ZMuMuOverlap::operator()(), CompositeCandSelector< Selector, T1, T2, nDau >::operator()(), GenJetParticleSelector::operator()(), OverlapChecker::operator()(), modules::ZHLTMatchFilter::operator()(), FastCandMatcher< C >::operator()(), ZSelector::operator()(), CandMatcherBase< C1, C2 >::operator()(), ZGoldenFilter::operator()(), ZToMuMuIsolationSelector< Isolator >::operator()(), ZToMuMuIsoDepositSelector< Isolator >::operator()(), operator<<(), reco::utilsNew::CandMatcher< C >::operator[](), reco::PFTauDecayMode::pfMasterClones(), ParticleTreeDrawer::printDecay(), InputGenJetsParticleSelector::produce(), tnp::TagProbePairMaker::run(), CandMassKinFitter::set(), AddFourMomenta::set(), InputGenJetsParticleSelector::testPartonChildren(), and zMCLeptonDaughters().
|
pure virtual |
number of mothers (zero or one in most of but not all the cases)
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::CompositeCandidate, reco::CompositeRefCandidate, reco::LeafRefCandidateT, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::ShallowCloneCandidate, reco::CompositePtrCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Referenced by EWKSystUnc::analyze(), zPdfUnc::analyze(), ZLONLOHistogrammer::analyze(), ZMuPtScaleAnalyzer::analyze(), ResolutionCreator::analyze(), GenHFHadronMatcher::analyzeMothers(), ttHFGenFilter::analyzeMothersRecursive(), end(), ttHFGenFilter::FindAllTopMothers(), InputGenJetsParticleSelector::fromResonance(), CandMCTagUtils::getAncestors(), FlavorHistoryProducer::getAncestors(), PseudoTopProducer::isFromHadron(), reco::ShallowClonePtrCandidate::numberOfMothers(), reco::ShallowCloneCandidate::numberOfMothers(), FastCandMatcher< C >::operator()(), operator<<(), PseudoTopProducer::produce(), GenParticles2HepMCConverter::produce(), and FlavorHistoryProducer::produce().
|
pure virtual |
return the number of source Candidates ( the candidates used to construct this Candidate)
Implemented in pat::Photon, pat::PackedCandidate, pat::Tau, reco::PFTau, pat::Electron, pat::Muon, pat::PackedGenParticle, reco::PFCandidate, reco::LeafCandidate, reco::LeafRefCandidateT, and reco::CompositePtrCandidate.
Referenced by heppy::IsolationComputer::addVetos(), end(), heppy::IsolationComputer::isoSumNeutralsWeighted(), heppy::IsolationComputer::isoSumRaw(), and reco::PFCandidate::overlap().
|
protectedpure virtual |
check overlap with another Candidate
Implemented in pat::PackedCandidate, reco::Photon, reco::PFCandidate, pat::PackedGenParticle, reco::Muon, reco::LeafCandidate, reco::PFTau, reco::PFJet, reco::GsfElectron, reco::CaloJet, reco::IsolatedPixelTrackCandidate, reco::JPTJet, reco::LeafRefCandidateT, reco::GenJet, reco::SiStripElectron, reco::HcalIsolatedTrackCandidate, reco::GenParticle, reco::GenMET, reco::CaloMET, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeCandidate, reco::MET, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, reco::TrackJet, reco::CaloTau, reco::ME0Muon, reco::CompositeRefBaseCandidate, reco::PFClusterJet, reco::Electron, reco::BaseTau, reco::CandidateWithRef< Ref >, reco::BasicJet, reco::CaloRecHitCandidate, reco::RecoChargedCandidate, reco::RecoEcalCandidate, reco::RecoStandAloneMuonCandidate, reco::RecoCaloTowerCandidate, and reco::RecoCandidate.
Referenced by dxyError(), and OverlapChecker::operator()().
|
pure virtual |
magnitude of momentum vector
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by btagbtvdeep::TrackInfoBuilder::buildTrackInfo(), Candidate(), MatcherByPullsAlgorithm::match(), PseudoTopProducer::produce(), and Electron.Electron::ptErr().
|
pure virtual |
four-momentum Lorentz vector
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by reco::TrackKinematics::add(), ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), myFastSimVal::analyze(), MCAcceptanceAnalyzer::analyze(), HLTExoticaSubAnalysis::analyze(), ErsatzMEt::analyze(), EmbeddingLHEProducer::assign_4vector(), FWCandidateProxyBuilder::build(), HPSPFRecoTauAlgorithm::buildOneProng(), LeptonJetVarProducer< T >::calculatePtRatioRel(), BJetEnergyRegressionVarProducer< T >::calculatePtRatioRel(), BJetEnergyRegressionVarProducer< T >::calculatePtRatioRelSimple(), Candidate(), JetCharge::charge(), reco::PFMETProducerMVA::chargedFracInCone(), HiggsDQM::DistancePhi(), DQMExample_Step1::DistancePhi(), Tau.Tau::dxy_approx(), Tau.Tau::dz(), TopDecaySubset::fillListing(), reco::modules::JetFlavourIdentifier::findCandidates(), MuScleFitMuonSelector::findGenMuFromRes(), FlavorHistoryProducer::getClosestJet(), ZMuMuEfficiency::getParticleP4(), ZMuMuPerformances::getParticleP4(), ZMuMu_vtxAnalyzer::getParticleP4(), ZMuMu_efficiencyAnalyzer::getParticleP4(), ZMuMu_MCanalyzer::getParticleP4(), helicityAngle(), reco::tau::RecoTauIsolationMasking::inCone(), fftjetcms::FFTJetInterface::loadInputCollection(), ParametersDefinerForTP::momentum(), TransientVertex::operator reco::VertexCompositePtrCandidate(), ZSelector::operator()(), PositionAtECalEntranceComputer::operator()(), TemplatedSecondaryVertexProducer< IPTI, VTX >::SVBuilder::operator()(), reco::LeafCandidate::overlap(), pat::PackedGenParticle::overlap(), pat::PackedCandidate::overlap(), TopDecaySubset::p4(), Lepton.Lepton::p4WithFSR(), PseudoTopProducer::produce(), CandOneToManyDeltaRMatcher::produce(), L1HLTJetsMatching::produce(), PFJetsMatchedToFilteredCaloJetsProducer::produce(), HLTTriMuonIsolation::produce(), GenParticles2HepMCConverter::produce(), SoftKillerProducer::produce(), PrimaryVertexSorting::score(), CandMassKinFitter::set(), ApplyEnergyCorrection::set(), Booster::set(), AddFourMomenta::set(), reco::tau::RecoTauBuilderConePlugin::setTauQuantities(), reco::tau::RecoTauConstructor::sortAndCopyIntoTau(), reco::tau::sumPFCandP4(), pat::DiObjectProxy::totalP4(), ParametersDefinerForTP::vertex(), BPHMassSymSelect::~BPHMassSymSelect(), BPHParticleEtaSelect::~BPHParticleEtaSelect(), and BPHParticlePtSelect::~BPHParticlePtSelect().
|
pure virtual |
PDG identifier.
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Particle.Particle::__str__(), TopDecaySubset::addRadiation(), TauDecay_GenParticle::AddRadInfo(), EWKSystUnc::analyze(), ZMassHistogrammer::analyze(), zPdfUnc::analyze(), ZLONLOHistogrammer::analyze(), ZHistogrammer::analyze(), ZMuPtScaleAnalyzer::analyze(), ZMCHistogrammer::analyze(), myFastSimVal::analyze(), ElectronMcSignalValidatorMiniAOD::analyze(), ElectronMcSignalValidator::analyze(), HLTMCtruth::analyze(), ZMuMuEfficiency::analyze(), ResolutionCreator::analyze(), GsfElectronMCAnalyzer::analyze(), MCEfficiencyAnalyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), gamma_radiative_analyzer::analyze(), ErsatzMEt::analyze(), GenHFHadronMatcher::analyzeMothers(), reco::FlavorHistoryEvent::cache(), Candidate(), PFCandidateStripMerger::candidateMatches(), ZMuMuEfficiency::check_ifZmumu(), ZMuMuPerformances::check_ifZmumu(), ZMuMu_vtxAnalyzer::check_ifZmumu(), ZMuMu_efficiencyAnalyzer::check_ifZmumu(), ZMuMu_MCanalyzer::check_ifZmumu(), TopDecaySubset::checkShowerModel(), PileupJetIdAlgo::computeIdVariables(), ParticleDecayDrawer::decay(), CandCommonVertexFitterBase::fill(), PFCandCommonVertexFitterBase::fill(), CandKinematicVertexFitter::fill(), pat::GenericParticle::fillInFrom(), TopDecaySubset::fillListing(), BTagSkimMC::filter(), DYToMuMuGenFilter::filter(), BadParticleFilter::filter(), reco::tau::RecoTauQualityCuts::filterCandByType(), EmbeddingLHEProducer::find_original_muon(), ttHFGenFilter::FindAllTopMothers(), reco::modules::JetFlavourIdentifier::findCandidates(), GenHFHadronMatcher::findHadronJets(), TopDecaySubset::findLastParticleInChain(), TopDecaySubset::findPrimalW(), reco::flavour(), InputGenJetsParticleSelector::fromResonance(), PseudoTopProducer::getLast(), HeavyFlavorValidation::getMotherId(), ZMuMuEfficiency::getParticleEta(), ZMuMuPerformances::getParticleEta(), ZMuMu_vtxAnalyzer::getParticleEta(), ZMuMu_efficiencyAnalyzer::getParticleEta(), ZMuMu_MCanalyzer::getParticleEta(), ZMuMuEfficiency::getParticleP4(), ZMuMuPerformances::getParticleP4(), ZMuMu_vtxAnalyzer::getParticleP4(), ZMuMu_efficiencyAnalyzer::getParticleP4(), ZMuMu_MCanalyzer::getParticleP4(), ZMuMuEfficiency::getParticlePhi(), ZMuMuPerformances::getParticlePhi(), ZMuMu_vtxAnalyzer::getParticlePhi(), ZMuMu_efficiencyAnalyzer::getParticlePhi(), ZMuMu_MCanalyzer::getParticlePhi(), ZMuMuEfficiency::getParticlePt(), ZMuMuPerformances::getParticlePt(), ZMuMu_vtxAnalyzer::getParticlePt(), ZMuMu_efficiencyAnalyzer::getParticlePt(), ZMuMu_MCanalyzer::getParticlePt(), MuScleFitMuonSelector::getStatus1Muon(), MuScleFitMuonSelector::getStatus3Muon(), CandMCTagUtils::hasBottom(), CandMCTagUtils::hasCharm(), reco::tau::RecoTauIsolationMasking::inCone(), PseudoTopProducer::isBHadron(), reco::isElectron(), PseudoTopProducer::isFromHadron(), GenHFHadronMatcher::isHadron(), TauValidation::isLastTauinChain(), reco::isLepton(), CandMCTagUtils::isLightParton(), reco::isMuon(), reco::isNeutrino(), CandMCTagUtils::isParton(), HiPhotonType::IsPrompt(), reco::isTau(), reco::makeSpecific(), reco::tau::qcuts::mapAndCutByType(), PuppiPhoton::matchPFCandidate(), mcMuDaughter(), ZMuMuIsolationAnalyzer::muTag(), GenJetParticleSelector::operator()(), helpers::MCTruthPairSelector< T >::operator()(), FastCandMatcher< C >::operator()(), AntiElectronDeadECAL::operator()(), operator<<(), ParticleTreeDrawer::printDecay(), PseudoTopProducer::produce(), CastorFastTowerProducer::produce(), CastorFastClusterProducer::produce(), FSRWeightProducer::produce(), GenParticles2HepMCConverter::produce(), SoftPFMuonTagInfoProducer::produce(), InputGenJetsParticleSelector::produce(), MultShiftMETcorrInputProducer::produce(), MultShiftMETcorrDBInputProducer::produce(), Onia2MuMuPAT::produce(), PartonSelector::produce(), HFJetShowerShape::produce(), SoftKillerProducer::produce(), L1TMicroGMTInputProducerFromGen::produce(), FlavorHistoryProducer::produce(), l1t::GenToInputProducer::produce(), TauSpinnerCMS::readParticlesfromReco(), reco::tau::RecoTauIsolationMasking::resolution(), PFSpecificAlgo::run(), PrimaryVertexSorting::score(), TtDecayChannelSelector::search(), TtDecayChannelSelector::tauDecay(), InputGenJetsParticleSelector::testPartonChildren(), heppy::FSRWeightAlgo::weight(), and zMCLeptonDaughters().
|
pure virtual |
momentum azimuthal angle
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Particle.Particle::__str__(), fireworks::addStraightLineSegment(), ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), HLTMCtruth::analyze(), ZMuMuPerformances::analyze(), B2GDQM::analyzeJets(), FWCandidateLegoProxyBuilder::build(), Candidate(), CandMergerCleanOthersByDR::CandMergerCleanOthersByDR(), pat::DiObjectProxy::deltaPhi(), egammaisolation::EgammaTrackExtractor::deposit(), GenericBenchmark::fill(), PFCandidateMonitor::fill(), PFJetMonitor::fill(), FWCandidateTowerProxyBuilder::fillCaloData(), GenericBenchmark::fillHistos(), CandidateBenchmark::fillOne(), MatchCandidateBenchmark::fillOne(), PFCandidateMonitor::fillOne(), PFFilter::filter(), PFMETFilter::filter(), PFJetFilter::filter(), BadParticleFilter::filter(), HLTMuonPlotter::findMatches(), HiGammaJetSignalDef::getDeltaPhi(), HiGammaJetSignalDef::getDeltaR(), FWCandidateTowerSliceSelector::getItemEntryEtaPhi(), ZMuMuEfficiency::getParticlePhi(), ZMuMuPerformances::getParticlePhi(), ZMuMu_vtxAnalyzer::getParticlePhi(), ZMuMu_efficiencyAnalyzer::getParticlePhi(), ZMuMu_MCanalyzer::getParticlePhi(), MatcherByPullsAlgorithm::match(), PuppiPhoton::matchPFCandidate(), AntiElectronDeadECAL::operator()(), operator<<(), HLTmmkkFilter::overlap(), HLTmmkFilter::overlap(), ntupleDataFormat.Track::phiPull(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), printP4(), TtEvent::printParticle(), CastorFastTowerProducer::produce(), CandOneToManyDeltaRMatcher::produce(), CastorFastClusterProducer::produce(), FSRWeightProducer::produce(), ZMuMuUserData::produce(), ZMuMuUserDataOneTrack::produce(), CandMergerCleanOthersByDR::produce(), ZToLLEdmNtupleDumper::produce(), HFJetShowerShape::produce(), L1TMicroGMTInputProducerFromGen::produce(), l1t::GenToInputProducer::produce(), reco::tau::RecoTauIsolationMasking::resolution(), SetPtEtaPhi(), setPtEtaPhi(), MultiTrackValidator::tpDR(), MultiTrackValidator::trackDR(), and heppy::FSRWeightAlgo::weight().
|
pure virtual |
four-momentum Lorentz vector
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by ZMuMuSaMassHistogram::analyze(), Candidate(), pat::GenericParticle::fillInFrom(), ZMuMuUserData::produce(), and ZToLLEdmNtupleDumper::produce().
|
pure virtual |
transverse momentum
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), BPHDaughterSelect::accept(), GenericBenchmark::accepted(), fireworks::addStraightLineSegment(), DimuonStatistics::analyze(), GlbMuQualityCutsAnalysis::analyze(), ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), HypothesisAnalyzer::analyze(), BPHHistoSpecificDecay::analyze(), HLTMCtruth::analyze(), ZMuMuEfficiency::analyze(), dimuonHLTFilterCheck::analyze(), ZMuMuPerformances::analyze(), MCEfficiencyAnalyzer::analyze(), ZMuMu_vtxAnalyzer::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), ZMuMu_MCanalyzer::analyze(), gamma_radiative_analyzer::analyze(), MCAcceptanceAnalyzer::analyze(), TauTagValidation::analyze(), B2GDQM::analyzeJets(), GenHFHadronMatcher::analyzeMothers(), FWCandidateLegoProxyBuilder::build(), HPSPFRecoTauAlgorithm::buildOneProng(), PFRecoTauAlgorithm::buildPFTau(), pat::PATPackedCandidateProducer::calcDz(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), Candidate(), reco::PFMETProducerMVA::chargedFracInCone(), reco::tau::disc::ChargedOutlierPt(), PileupJetIdAlgo::computeIdVariables(), convertToPFCandidatePtr(), CandidateChargeBTagComputer::discriminator(), GenericBenchmark::fill(), PFCandidateMonitor::fill(), PFJetMonitor::fill(), CandidateBenchmark::fillOne(), MatchCandidateBenchmark::fillOne(), PFCandidateMonitor::fillOne(), ZToMuMuFilter::filter(), PFJetFilter::filter(), DYToMuMuGenFilter::filter(), BadParticleFilter::filter(), FWCandidateTowerProxyBuilder::getEt(), ZMuMuEfficiency::getParticlePt(), ZMuMuPerformances::getParticlePt(), ZMuMu_vtxAnalyzer::getParticlePt(), ZMuMu_efficiencyAnalyzer::getParticlePt(), ZMuMu_MCanalyzer::getParticlePt(), cms::SubEventGenJetProducer::inputTowers(), IsMuMatchedToHLTMu(), IsMuMatchedToHLTSingleMu(), reco::tau::disc::IsolationChargedSumHard(), reco::tau::disc::IsolationChargedSumSoft(), reco::tau::disc::IsolationECALSumHard(), reco::tau::disc::IsolationECALSumSoft(), fftjetcms::FFTJetInterface::loadInputCollection(), main(), MatcherByPullsAlgorithm::match(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), reco::tau::disc::NeutralOutlierPt(), GreaterByPtCandPtr::operator()(), reco::TrackSelector::operator()(), ZSelector::operator()(), AntiElectronDeadECAL::operator()(), GreaterByPtCandPtrUser::operator()(), HLTMuonPlotter::matchesByDescendingPt::operator()(), SortCandByDecreasingPt::operator()(), HLTMuonPlotter::MatchStruct::operator<(), operator<<(), HLTMuonPlotter::MatchStruct::operator>(), reco::tau::disc::OutlierPt(), HLTmmkkFilter::overlap(), HLTmmkFilter::overlap(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), printP4(), TtEvent::printParticle(), IsolationProducerForTracks::produce(), PseudoTopProducer::produce(), L1HLTJetsMatching::produce(), ZMuMuUserDataOneTrack::produce(), ZMuMuUserData::produce(), SoftPFMuonTagInfoProducer::produce(), pat::L1MuonMatcher::produce(), InputGenJetsParticleSelector::produce(), pat::HLTL1MuonMatcher::produce(), MultShiftMETcorrInputProducer::produce(), MultShiftMETcorrDBInputProducer::produce(), ZToLLEdmNtupleDumper::produce(), HFJetShowerShape::produce(), L1TMicroGMTInputProducerFromGen::produce(), l1t::GenToInputProducer::produce(), TemplatedSecondaryVertexProducer< IPTI, VTX >::produce(), TtDilepEvtSolutionMaker::PTComp(), TtFullLepKinSolutionProducer::PTComp(), Electron.Electron::ptErr(), reco::tau::qcuts::ptMin_cand(), ntupleDataFormat.Track::ptPull(), TrackingRegionsFromBeamSpotAndL2Tau::regions(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), PrimaryVertexSorting::score(), Jet.Jet::setCorrP4(), SetPtEtaPhi(), setPtEtaPhi(), reco::tau::RecoTauBuilderConePlugin::setTauQuantities(), reco::tau::RecoTauConstructor::sortAndCopyIntoTau(), reco::tau::sumPFCandPt(), and reco::tau::disc::TrackPt().
|
pure virtual |
x coordinate of momentum vector
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by reco::tau::atECALEntrance(), pat::PATPackedCandidateProducer::calcDz(), BoostedDoubleSVProducer::calcNsubjettiness(), FWInvMassDialog::Calculate(), Candidate(), GenericBenchmark::fill(), GenericBenchmark::fillHistos(), PFMETFilter::filter(), cms::SubEventGenJetProducer::inputTowers(), fireworks::prepareCandidate(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), PseudoTopProducer::produce(), JetCoreClusterSplitter::produce(), ColinsSoperVariablesComputer::produce(), QjetsAdder::produce(), TemplatedSecondaryVertexProducer< IPTI, VTX >::produce(), PrimaryVertexSorting::score(), PropagateToMuon::startingState(), and MatcherUsingTracksAlgorithm::startingState().
|
pure virtual |
y coordinate of momentum vector
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by reco::tau::atECALEntrance(), pat::PATPackedCandidateProducer::calcDz(), BoostedDoubleSVProducer::calcNsubjettiness(), FWInvMassDialog::Calculate(), Candidate(), GenericBenchmark::fill(), GenericBenchmark::fillHistos(), PFMETFilter::filter(), cms::SubEventGenJetProducer::inputTowers(), fireworks::prepareCandidate(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), PseudoTopProducer::produce(), JetCoreClusterSplitter::produce(), ColinsSoperVariablesComputer::produce(), QjetsAdder::produce(), TemplatedSecondaryVertexProducer< IPTI, VTX >::produce(), PrimaryVertexSorting::score(), PropagateToMuon::startingState(), and MatcherUsingTracksAlgorithm::startingState().
|
pure virtual |
z coordinate of momentum vector
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by reco::tau::atECALEntrance(), pat::PATPackedCandidateProducer::calcDz(), BoostedDoubleSVProducer::calcNsubjettiness(), FWInvMassDialog::Calculate(), Candidate(), cms::SubEventGenJetProducer::inputTowers(), fireworks::prepareCandidate(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), PseudoTopProducer::produce(), JetCoreClusterSplitter::produce(), ColinsSoperVariablesComputer::produce(), GenParticles2HepMCConverter::produce(), QjetsAdder::produce(), TemplatedSecondaryVertexProducer< IPTI, VTX >::produce(), PrimaryVertexSorting::score(), PropagateToMuon::startingState(), and MatcherUsingTracksAlgorithm::startingState().
|
pure virtual |
rapidity
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), B2GDQM::analyzeJets(), Candidate(), ZMuMuUserData::produce(), ZMuMuUserDataOneTrack::produce(), and ZToLLEdmNtupleDumper::produce().
|
pure virtual |
set electric charge
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate(), and AddFourMomenta::set().
|
pure virtual |
set long lived flag
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate().
|
pure virtual |
set particle mass
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate(), BPHDecayMomentum::clonesList(), BPHDecayMomentum::componentList(), and BPHMassSymSelect::~BPHMassSymSelect().
|
pure virtual |
set mass constraint flag
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate().
|
pure virtual |
set 4-momentum
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate(), CandMassKinFitter::set(), ApplyEnergyCorrection::set(), Booster::set(), CandCommonVertexFitterBase::set(), AddFourMomenta::set(), PFCandCommonVertexFitterBase::set(), CandKinematicVertexFitter::set(), and Jet.Jet::setCorrP4().
|
pure virtual |
|
pure virtual |
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate().
|
pure virtual |
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate().
|
inlinevirtual |
Set the ptr to the source Candidate.
necessary, to allow a parallel treatment of all candidates in PF2PAT. Does nothing for most Candidate classes, including CompositePtrCandidates, where the source information is in fact the collection of ptrs to daughters. For non-Composite Candidates, this function can be used to set the ptr to the source of the Candidate, which will allow to keep track of the reconstruction history.
Definition at line 182 of file Candidate.h.
References vertexChi2(), vertexCovariance(), vertexNdof(), and vertexNormalizedChi2().
|
pure virtual |
set status word
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate().
|
pure virtual |
set electric charge
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate().
|
pure virtual |
set vertex
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, and reco::Photon.
Referenced by Candidate(), CandCommonVertexFitterBase::set(), PFCandCommonVertexFitterBase::set(), and CandKinematicVertexFitter::set().
|
inlinevirtual |
return a Ptr to one of the source Candidates ( the candidates used to construct this Candidate)
Reimplemented in pat::Photon, pat::PackedCandidate, pat::Tau, reco::PFTau, pat::Electron, pat::Muon, pat::PackedGenParticle, reco::PFCandidate, reco::LeafCandidate, reco::LeafRefCandidateT, and reco::CompositePtrCandidate.
Definition at line 170 of file Candidate.h.
Referenced by heppy::IsolationComputer::addVetos(), heppy::IsolationComputer::isoSumNeutralsWeighted(), heppy::IsolationComputer::isoSumRaw(), and reco::PFCandidate::overlap().
|
pure virtual |
status word
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by ParticleTreeDrawer::accept(), ZMassHistogrammer::analyze(), ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), HLTMCtruth::analyze(), ZMuMuEfficiency::analyze(), MCEfficiencyAnalyzer::analyze(), ErsatzMEt::analyze(), ttHFGenFilter::analyzeMothersRecursive(), Candidate(), TopDecaySubset::checkShowerModel(), TtDecayChannelSelector::countProngs(), pat::GenericParticle::fillInFrom(), TopDecaySubset::fillListing(), BTagSkimMC::filter(), InputGenJetsParticleSelector::fromResonance(), ZMuMuEfficiency::getParticleEta(), ZMuMuPerformances::getParticleEta(), ZMuMu_vtxAnalyzer::getParticleEta(), ZMuMu_efficiencyAnalyzer::getParticleEta(), ZMuMu_MCanalyzer::getParticleEta(), ZMuMuEfficiency::getParticleP4(), ZMuMuPerformances::getParticleP4(), ZMuMu_vtxAnalyzer::getParticleP4(), ZMuMu_efficiencyAnalyzer::getParticleP4(), ZMuMu_MCanalyzer::getParticleP4(), ZMuMuEfficiency::getParticlePhi(), ZMuMuPerformances::getParticlePhi(), ZMuMu_vtxAnalyzer::getParticlePhi(), ZMuMu_efficiencyAnalyzer::getParticlePhi(), ZMuMu_MCanalyzer::getParticlePhi(), ZMuMuEfficiency::getParticlePt(), ZMuMuPerformances::getParticlePt(), ZMuMu_vtxAnalyzer::getParticlePt(), ZMuMu_efficiencyAnalyzer::getParticlePt(), ZMuMu_MCanalyzer::getParticlePt(), PseudoTopProducer::isFromHadron(), GenJetParticleSelector::operator()(), helpers::MCTruthPairSelector< T >::operator()(), FastCandMatcher< C >::operator()(), operator<<(), ParticleTreeDrawer::printInfo(), PseudoTopProducer::produce(), GenParticles2HepMCConverter::produce(), InputGenJetsParticleSelector::produce(), L1TMicroGMTInputProducerFromGen::produce(), FlavorHistoryProducer::produce(), l1t::GenToInputProducer::produce(), TtDecayChannelSelector::search(), ParticleDecayDrawer::select(), pat::Flags::test(), and zMCLeptonDaughters().
|
pure virtual |
momentum polar angle
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by fireworks::addStraightLineSegment(), ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), Candidate(), MatcherByPullsAlgorithm::match(), FSRWeightProducer::produce(), PFSpecificAlgo::run(), heppy::FSRWeightAlgo::weight(), and Tau.Tau::zImpact().
|
pure virtual |
electric charge
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by Candidate(), and TopDecaySubset::fillListing().
|
pure virtual |
vertex position
Implemented in pat::PackedCandidate, reco::PFCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by HLTExoticaSubAnalysis::analyze(), ExoticaDQM::analyzeDisplacedJets(), pat::helper::VertexingHelper::associate(), reco::tau::atECALEntrance(), HPSPFRecoTauAlgorithm::buildOneProng(), Candidate(), egammaisolation::EgammaTrackExtractor::deposit(), reco::isodeposit::IsoDepositExtractor::deposit(), reco::isodeposit::IsoDepositExtractor::deposits(), Tau.Tau::dxy(), CandIsoDepositProducer::extractTrack(), pat::GenericParticle::fillInFrom(), TopDecaySubset::fillListing(), PhotonTkIsolation::getIso(), MatcherByPullsAlgorithm::match(), ParametersDefinerForTP::momentum(), PositionAtECalEntranceComputer::operator()(), pat::VertexAssociationSelector::operator()(), reco::LeafCandidate::overlap(), pat::PackedGenParticle::overlap(), pat::PackedCandidate::overlap(), fireworks::prepareCandidate(), PseudoTopProducer::produce(), L1THLTTauMatching::produce(), L1HLTTauMatching::produce(), GenParticles2HepMCConverter::produce(), pat::VertexAssociationSelector::simpleAssociation(), and ParametersDefinerForTP::vertex().
|
pure virtual |
chi-squares
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::VertexCompositePtrCandidate, and reco::VertexCompositeCandidate.
Referenced by setSourceCandidatePtr().
|
pure virtual |
(i, j)-th element of error matrix, i, j = 0, ... 2
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::VertexCompositePtrCandidate, and reco::VertexCompositeCandidate.
|
inlinevirtual |
fill SMatrix
Reimplemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Definition at line 198 of file Candidate.h.
References fillVertexCovariance(), hasMasterClone(), hasMasterClonePtr(), funct::m, masterClone(), masterClonePtr(), and findQualityFiles::v.
Referenced by setSourceCandidatePtr().
|
pure 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
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::VertexCompositePtrCandidate, and reco::VertexCompositeCandidate.
Referenced by setSourceCandidatePtr().
|
pure virtual |
chi-squared divided by n.d.o.f.
Implemented in pat::PackedCandidate, pat::PackedGenParticle, reco::LeafCandidate, reco::VertexCompositePtrCandidate, and reco::VertexCompositeCandidate.
Referenced by ZToLLEdmNtupleDumper::produce(), and setSourceCandidatePtr().
|
pure virtual |
x coordinate of vertex position
Implemented in pat::PackedCandidate, reco::PFCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by myFastSimVal::analyze(), HLTMCtruth::analyze(), FWCandidateProxyBuilder::build(), Candidate(), ModelpMSSMFilter::filter(), MatcherByPullsAlgorithm::match(), pat::VertexAssociationSelector::operator()(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), PropagateToMuon::startingState(), and MatcherUsingTracksAlgorithm::startingState().
|
pure virtual |
y coordinate of vertex position
Implemented in pat::PackedCandidate, reco::PFCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by myFastSimVal::analyze(), HLTMCtruth::analyze(), FWCandidateProxyBuilder::build(), Candidate(), ModelpMSSMFilter::filter(), MatcherByPullsAlgorithm::match(), pat::VertexAssociationSelector::operator()(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), PropagateToMuon::startingState(), and MatcherUsingTracksAlgorithm::startingState().
|
pure virtual |
z coordinate of vertex position
Implemented in pat::PackedCandidate, reco::PFCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by myFastSimVal::analyze(), HLTMCtruth::analyze(), FWCandidateProxyBuilder::build(), Candidate(), HLTDoubletDZ< T1, T2 >::computeDZ(), MatcherByPullsAlgorithm::match(), pat::VertexAssociationSelector::operator()(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), HLTTriMuonIsolation::produce(), PropagateToMuon::startingState(), and MatcherUsingTracksAlgorithm::startingState().
|
pure virtual |
rapidity
Implemented in pat::PackedCandidate, pat::PackedGenParticle, and reco::LeafCandidate.
Referenced by svgfig.Ellipse::__repr__(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), Candidate(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
|
friend |
Definition at line 268 of file Candidate.h.
|
friend |
Definition at line 267 of file Candidate.h.
|
friend |
Definition at line 269 of file Candidate.h.
|
friend |
Definition at line 270 of file Candidate.h.