#include <Candidate.h>
Classes | |
struct | daughter_iterator |
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 | |
virtual const_iterator | begin () const =0 |
first daughter const_iterator More... | |
virtual iterator | begin ()=0 |
first daughter iterator More... | |
template<typename S > | |
daughter_iterator< S >::type | beginFilter (const S &s) 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 const_iterator | end () const =0 |
last daughter const_iterator More... | |
virtual iterator | end ()=0 |
last daughter iterator More... | |
template<typename S > | |
daughter_iterator< S >::type | endFilter (const S &s) const |
virtual double | energy () const =0 |
energy More... | |
virtual double | et () const =0 |
transverse energy More... | |
virtual float | 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 float | mass () const =0 |
mass More... | |
virtual bool | massConstraint () const =0 |
do mass constraint? More... | |
virtual float | 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 float | phi () const =0 |
momentum azimuthal angle More... | |
virtual const PolarLorentzVector & | polarP4 () const =0 |
four-momentum Lorentz vector More... | |
virtual float | 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 32 of file Candidate.h.
typedef int reco::Candidate::Charge |
electric charge type
Definition at line 39 of file Candidate.h.
Definition at line 35 of file Candidate.h.
covariance error matrix (3x3)
Definition at line 51 of file Candidate.h.
typedef unsigned int reco::Candidate::index |
index type
Definition at line 55 of file Candidate.h.
Definition at line 36 of file Candidate.h.
Lorentz vector.
Definition at line 41 of file Candidate.h.
typedef math::XYZPoint reco::Candidate::Point |
point in the space
Definition at line 45 of file Candidate.h.
Lorentz vector.
Definition at line 43 of file Candidate.h.
typedef size_t reco::Candidate::size_type |
Definition at line 34 of file Candidate.h.
point in the space
Definition at line 47 of file Candidate.h.
anonymous enum |
anonymous enum |
matix size
Enumerator | |
---|---|
size |
Definition at line 53 of file Candidate.h.
|
inline |
default constructor
Definition at line 58 of file Candidate.h.
Referenced by GeneratorTau::computeStableDecayProducts(), GeneratorTau::decayToPDGClassification(), and GeneratorTau::getLeadTrack().
|
virtual |
|
pure virtual |
first daughter const_iterator
Implemented in reco::LeafCandidate, reco::CompositeCandidate, reco::LeafRefCandidateT< T >, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Referenced by TopDecaySubset::addDaughters(), TopDecaySubset::addRadiation(), reco::ShallowCloneCandidate::begin(), beginFilter(), JetCharge::charge(), TopDecaySubset::checkWBosons(), TtDecayChannelSelector::countProngs(), JetMCTagUtils::EnergyRatioFromBHadrons(), JetMCTagUtils::EnergyRatioFromCHadrons(), TopDecaySubset::fillListing(), CandMatcherBase< C1, C2 >::initMaps(), OverlapChecker::operator()(), TtDecayChannelSelector::operator()(), FastCandMatcher< C >::operator()(), CandMatcherBase< C1, C2 >::operator()(), TopDecaySubset::p4(), CalibratedPatElectronProducer::produce(), Booster::set(), and TtDecayChannelSelector::tauDecay().
|
pure virtual |
first daughter iterator
Implemented in reco::LeafCandidate, reco::CompositeCandidate, reco::LeafRefCandidateT< T >, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
|
inline |
|
pure virtual |
boost vector to boost a Lorentz vector to the particle center of mass system
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
|
pure virtual |
electric charge
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by GlbMuQualityCutsAnalysis::analyze(), ZHistogrammer::analyze(), ZMassHistogrammer::analyze(), ZMCHistogrammer::analyze(), ZMuMuPerformances::analyze(), EmbeddingKineReweightNtupleProducer::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), MCEmbeddingValidationAnalyzer::analyze(), CandCombinerBase< OutputCollection, CandPtr >::combine(), TtDecayChannelSelector::countProngs(), reco::isodeposit::IsoDepositExtractor::deposit(), reco::isodeposit::IsoDepositExtractor::deposits(), HICaloUtil::EcalPhi(), CandIsoDepositProducer::extractTrack(), MuonDetCleaner::fillHitMap(), pat::GenericParticle::fillInFrom(), CandidateBenchmark::fillOne(), reco::PFTauDecayMode::filteredObjectCandidates(), getTrackDetMatchInfo(), TtDilepEvtSolutionMaker::HasPositiveCharge(), TtFullLepKinSolutionProducer::HasPositiveCharge(), TtDilepEvtSolutionMaker::LepDiffCharge(), TtFullLepKinSolutionProducer::LepDiffCharge(), MatcherUsingTracksAlgorithm::match(), MatcherByPullsAlgorithm::match(), ParametersDefinerForTP::momentum(), helpers::MCTruthPairSelector< T >::operator()(), EmbeddingKineReweightProducer::lutEntryType::operator()(), reco::LeafRefCandidateT< T >::overlap(), reco::LeafCandidate::overlap(), reco::PFRecoTauChargedHadron::PFRecoTauChargedHadron(), fireworks::prepareCandidate(), CandCombinerBase< OutputCollection, CandPtr >::preselect(), NamedCandCombinerBase::preselect(), pat::L1MuonMatcher::produce(), pat::HLTL1MuonMatcher::produce(), MCParticleReplacer::produce(), ZToLLEdmNtupleDumper::produce(), AddFourMomenta::set(), PropagateToMuon::startingState(), MatcherUsingTracksAlgorithm::startingState(), and ParametersDefinerForTP::vertex().
|
pure virtual |
returns a clone of the Candidate object
Implemented in reco::LeafCandidate, reco::PFJet, reco::CaloJet, reco::LeafRefCandidateT< T >, reco::JPTJet, l1extra::L1EtMissParticle, reco::PFCandidate, reco::GsfElectron, pat::Jet, l1extra::L1MuonParticle, reco::GenJet, reco::SiStripElectron, pat::Tau, l1extra::L1JetParticle, l1extra::L1EmParticle, pat::Electron, reco::PFTauDecayMode, pat::Muon, reco::IsolatedPixelTrackCandidate, pat::MET, pat::Photon, reco::PFTau, pat::GenericParticle, reco::CompositeCandidate, pat::PFParticle, reco::NamedCompositeCandidate, reco::Photon, pat::CompositeCandidate, reco::MET, pat::Particle, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::TrackJet, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, pat::Lepton< reco::BaseTau >, pat::Lepton< reco::GsfElectron >, pat::Lepton< reco::Muon >, reco::PFClusterJet, reco::ShallowClonePtrCandidate, reco::CompositeRefBaseCandidate, reco::VertexCompositeCandidate, reco::GenParticle, reco::EcalIsolatedParticleCandidate, reco::RecoCandidate, reco::BasicJet, reco::Muon, reco::IsolatedPFCandidate, reco::PileUpPFCandidate, reco::CaloRecHitCandidate, reco::RecoChargedCandidate, reco::RecoEcalCandidate, reco::RecoStandAloneMuonCandidate, reco::CandidateWithRef< Ref >, reco::RecoCaloTowerCandidate, reco::Electron, reco::BaseTau, and reco::CaloTau.
Referenced by reco::NamedCompositeCandidate::addDaughter(), reco::CompositeCandidate::addDaughter(), and cloneDecayTree().
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode)
Implemented in pat::Jet, reco::LeafCandidate, reco::CompositeCandidate, reco::LeafRefCandidateT< T >, reco::NamedCompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, reco::CompositeRefCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Referenced by helper::CandDecayStoreManager::add(), ZMassHistogrammer::analyze(), ZMCHistogrammer::analyze(), ZHistogrammer::analyze(), myFastSimVal::analyze(), ZMuMuEfficiency::analyze(), testAnalyzer::analyze(), HLTMCtruth::analyze(), ZGlobalVsSAIsolationAnalyzer::analyze(), ZMuMuPerformances::analyze(), ZMuMuIsolationAnalyzer::analyze(), ZMuMuSaMassHistogram::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), ZMuMu_vtxAnalyzer::analyze(), ZMuMuAnalyzer::analyze(), MCEfficiencyAnalyzer::analyze(), ZMuMuAnalyzer_cynematics::analyze(), ZMuMu_MCanalyzer::analyze(), gamma_radiative_analyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), MCAcceptanceAnalyzer::analyze(), ErsatzMEt::analyze(), TtFullLeptonicEvent::b(), TtFullLeptonicEvent::bBar(), cloneDecayTree(), reco::CompositeCandidate::CompositeCandidate(), reco::ShallowCloneCandidate::daughter(), ParticleDecayDrawer::decay(), CandCommonVertexFitterBase::fill(), PFCandCommonVertexFitterBase::fill(), CandKinematicVertexFitter::fill(), ZToMuMuFilter::filter(), reco::modules::JetFlavourIdentifier::findCandidates(), ZMuMuEfficiency::getParticleEta(), ZMuMuPerformances::getParticleEta(), ZMuMu_efficiencyAnalyzer::getParticleEta(), ZMuMu_vtxAnalyzer::getParticleEta(), ZMuMu_MCanalyzer::getParticleEta(), ZMuMuEfficiency::getParticleP4(), ZMuMuPerformances::getParticleP4(), ZMuMu_efficiencyAnalyzer::getParticleP4(), ZMuMu_vtxAnalyzer::getParticleP4(), ZMuMu_MCanalyzer::getParticleP4(), ZMuMuEfficiency::getParticlePhi(), ZMuMuPerformances::getParticlePhi(), ZMuMu_efficiencyAnalyzer::getParticlePhi(), ZMuMu_vtxAnalyzer::getParticlePhi(), ZMuMu_MCanalyzer::getParticlePhi(), ZMuMuEfficiency::getParticlePt(), ZMuMuPerformances::getParticlePt(), ZMuMu_efficiencyAnalyzer::getParticlePt(), ZMuMu_vtxAnalyzer::getParticlePt(), ZMuMu_MCanalyzer::getParticlePt(), MuScleFitMuonSelector::getStatus1Muon(), ParticleDecayDrawer::hasValidDaughters(), ParticleTreeDrawer::hasValidDaughters(), helicityAngle(), ZMuMuAnalyzer_cynematics::isContained(), TtFullLeptonicEvent::lepton(), TtFullLeptonicEvent::leptonBar(), 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(), AddFourMomenta::set(), TtFullLeptonicEvent::wMinus(), TtFullLeptonicEvent::wPlus(), and zMCLeptonDaughters().
return daughter at a given position, i = 0, ... numberOfDaughters() - 1
Implemented in reco::LeafCandidate, reco::LeafRefCandidateT< T >, reco::CompositeCandidate, reco::CompositeRefCandidateT< D >, reco::NamedCompositeCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, reco::ShallowCloneCandidate, reco::CompositePtrCandidate, reco::ShallowClonePtrCandidate, reco::CompositeRefBaseCandidate, and reco::CompositeRefCandidate.
|
pure virtual |
return daughter with a specified role name
Implemented in reco::LeafCandidate, reco::LeafRefCandidateT< T >, reco::CompositeCandidate, and reco::NamedCompositeCandidate.
|
pure virtual |
return daughter with a specified role name
Implemented in reco::LeafCandidate, reco::LeafRefCandidateT< T >, reco::CompositeCandidate, and reco::NamedCompositeCandidate.
|
pure virtual |
last daughter const_iterator
Implemented in reco::LeafCandidate, reco::CompositeCandidate, reco::LeafRefCandidateT< T >, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Referenced by TopDecaySubset::addDaughters(), FBaseSimEvent::addParticles(), TopDecaySubset::addRadiation(), beginFilter(), JetCharge::charge(), TopDecaySubset::checkWBosons(), TtDecayChannelSelector::countProngs(), Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), reco::ShallowCloneCandidate::end(), endFilter(), JetMCTagUtils::EnergyRatioFromBHadrons(), JetMCTagUtils::EnergyRatioFromCHadrons(), TopDecaySubset::fillListing(), CandMatcherBase< C1, C2 >::initMaps(), OverlapChecker::operator()(), TtDecayChannelSelector::operator()(), FastCandMatcher< C >::operator()(), CandMatcherBase< C1, C2 >::operator()(), TopDecaySubset::p4(), Booster::set(), and TtDecayChannelSelector::tauDecay().
|
pure virtual |
last daughter iterator
Implemented in reco::LeafCandidate, reco::CompositeCandidate, reco::LeafRefCandidateT< T >, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
|
pure virtual |
energy
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by FWCandidateLegoProxyBuilder::build(), reco::Jet::detectorP4(), JetMCTagUtils::EnergyRatioFromBHadrons(), JetMCTagUtils::EnergyRatioFromCHadrons(), PlotMakerL1::invariantMass(), PlotMakerReco::invariantMass(), vEnergy::operator()(), reco::Jet::physicsP4(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), CastorFastClusterProducer::produce(), CastorFastTowerProducer::produce(), FSRWeightProducer::produce(), FastJetFWLiteWrapper::run(), CandCommonVertexFitterBase::set(), PFCandCommonVertexFitterBase::set(), CandKinematicVertexFitter::set(), and CaloMETAnalyzer::validateMET().
|
pure virtual |
transverse energy
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by FWCandidateLegoProxyBuilder::build(), egammaisolation::EgammaTrackExtractor::deposit(), GenericBenchmark::fill(), GenericBenchmark::fillHistos(), PFFilter::filter(), PFMETFilter::filter(), myspace::greaterEt(), CMSMidpointAlgorithm::iterateCone(), CandOneToManyDeltaRMatcher::produce(), and CMSIterativeConeAlgorithm::run().
|
pure virtual |
momentum pseudorapidity
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by GenericBenchmark::accepted(), DimuonStatistics::analyze(), ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), HypothesisAnalyzer::analyze(), ZMuMuEfficiency::analyze(), HLTMCtruth::analyze(), ZMuMuPerformances::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), ZMuMu_vtxAnalyzer::analyze(), dimuonHLTFilterCheck::analyze(), MCEfficiencyAnalyzer::analyze(), ZMuMu_MCanalyzer::analyze(), gamma_radiative_analyzer::analyze(), MCAcceptanceAnalyzer::analyze(), TopValidation::analyze(), MCEmbeddingValidationAnalyzer::analyze(), FWCandidateLegoProxyBuilder::build(), egammaisolation::EgammaTrackExtractor::deposit(), HICaloUtil::EcalEta(), HICaloUtil::EcalPhi(), GenericBenchmark::fill(), PFCandidateMonitor::fill(), PFJetMonitor::fill(), GenericBenchmark::fillHistos(), MuonDetCleaner::fillHitMap(), CandidateBenchmark::fillOne(), MatchCandidateBenchmark::fillOne(), PFCandidateMonitor::fillOne(), ZToMuMuFilter::filter(), PFMETFilter::filter(), PFFilter::filter(), PFJetFilter::filter(), HLTMuonPlotter::findMatches(), HiGammaJetSignalDef::getDeltaR(), PhotonTkIsolation::getIso(), MuonTrackCleanerBase::getMuonMomentum(), ZMuMuEfficiency::getParticleEta(), ZMuMuPerformances::getParticleEta(), ZMuMu_efficiencyAnalyzer::getParticleEta(), ZMuMu_vtxAnalyzer::getParticleEta(), ZMuMu_MCanalyzer::getParticleEta(), CMSMidpointAlgorithm::iterateCone(), MatcherByPullsAlgorithm::match(), ZSelector::operator()(), EmbeddingKineReweightProducer::lutEntryType::operator()(), operator<<(), HLTmmkkFilter::overlap(), HLTmmkFilter::overlap(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), TtEvent::printParticle(), CastorFastClusterProducer::produce(), CastorFastTowerProducer::produce(), CandOneToManyDeltaRMatcher::produce(), ZMuMuUserData::produce(), ZMuMuUserDataOneTrack::produce(), ZmumuEvtSelEffCorrWeightProducer::produce(), MuonPFCandidateCleaner::produce(), EmbeddingKineReweightProducer::produce(), ZToLLEdmNtupleDumper::produce(), MuonTrackCleanerBase::produceTracks(), TrackingRegionsFromBeamSpotAndL2Tau::regions(), CMSIterativeConeAlgorithm::run(), and setPtEtaPhi().
|
pure virtual |
Implemented in reco::LeafRefCandidateT< T >, reco::LeafCandidate, and reco::VertexCompositeCandidate.
Referenced by vertexCovariance().
|
inline |
get a component
Definition at line 219 of file Candidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), and masterClone().
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), ZMuMuPerformances::analyze(), ZMuMuSaMassHistogram::analyze(), dimuonHLTFilterCheck::analyze(), MCEmbeddingValidationAnalyzer::analyze(), compGenParticleP4afterRad(), EgammaTowerIsolationNew< 1 >::compute(), egammaisolation::EgammaRecHitExtractor::deposit(), egammaisolation::EgammaHcalExtractor::deposit(), egammaisolation::EgammaEcalExtractor::deposit(), egammaisolation::EgammaTowerExtractor::deposit(), ZGlobalVsSAIsolationAnalyzer::evaluate(), CandCommonVertexFitterBase::fill(), CandKinematicVertexFitter::fill(), betterConfigParser.BetterConfigParser::getCompares(), EgammaEcalIsolation::getEcalEtSum(), 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(), JetMaker::makeSpecific(), reco::makeSpecific(), ZMuMuOverlap::operator()(), ZMuMuUserData::produce(), ZToLLEdmNtupleDumper::produce(), and CandMassKinFitter::set().
|
inline |
get a component
Definition at line 224 of file Candidate.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 229 of file Candidate.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 234 of file Candidate.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().
|
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 reco::LeafCandidate, reco::LeafRefCandidateT< T >, and reco::ShallowCloneCandidate.
Referenced by MCEmbeddingValidationAnalyzer::analyze(), PFCandCommonVertexFitterBase::fill(), reco::GenJet::genParticle(), get(), getSelMuons(), JetMaker::makeSpecific(), 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(), and ZToLLEdmNtupleDumper::produce().
|
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 reco::LeafCandidate, reco::LeafRefCandidateT< T >, and reco::ShallowClonePtrCandidate.
|
pure virtual |
Implemented in reco::LeafCandidate, reco::LeafRefCandidateT< T >, reco::Muon, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Referenced by reco::ShallowCloneCandidate::isCaloMuon().
|
pure virtual |
Implemented in reco::LeafCandidate, reco::LeafRefCandidateT< T >, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Referenced by reco::ShallowCloneCandidate::isConvertedPhoton().
|
pure virtual |
|
pure virtual |
Implemented in reco::LeafCandidate, reco::LeafRefCandidateT< T >, reco::Muon, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Referenced by GlbMuQualityCutsAnalysis::analyze(), ZMuMuEfficiency::analyze(), ZMuMuPerformances::analyze(), dimuonHLTFilterCheck::analyze(), ZMuMu_Radiative_analyzer::analyze(), reco::ShallowCloneCandidate::isGlobalMuon(), dimuonHLTFilterCheck::nDimuonsByType(), dimuonHLTFilterCheck::nMuonsByType(), modules::ZHLTMatchFilter::operator()(), and ZGoldenFilter::operator()().
|
pure virtual |
Implemented in reco::LeafCandidate, reco::LeafRefCandidateT< T >, reco::Jet, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Referenced by reco::ShallowCloneCandidate::isJet().
|
pure virtual |
Implemented in reco::LeafCandidate, reco::LeafRefCandidateT< T >, reco::Muon, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Referenced by reco::ShallowCloneCandidate::isMuon().
|
pure virtual |
Implemented in reco::LeafCandidate, reco::LeafRefCandidateT< T >, reco::Photon, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Referenced by reco::ShallowCloneCandidate::isPhoton().
|
pure virtual |
Implemented in reco::LeafCandidate, reco::Muon, reco::LeafRefCandidateT< T >, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Referenced by GlbMuQualityCutsAnalysis::analyze(), ZMuMuPerformances::analyze(), reco::ShallowCloneCandidate::isStandAloneMuon(), dimuonHLTFilterCheck::nDimuonsByType(), dimuonHLTFilterCheck::nMuonsByType(), modules::ZHLTMatchFilter::operator()(), and ZGoldenFilter::operator()().
|
pure virtual |
Implemented in reco::LeafCandidate, reco::LeafRefCandidateT< T >, reco::Muon, reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Referenced by GlbMuQualityCutsAnalysis::analyze(), ZMuMuPerformances::analyze(), reco::ShallowCloneCandidate::isTrackerMuon(), dimuonHLTFilterCheck::nDimuonsByType(), dimuonHLTFilterCheck::nMuonsByType(), and modules::ZHLTMatchFilter::operator()().
|
pure virtual |
is long lived?
Implemented in reco::LeafRefCandidateT< T >, and reco::LeafCandidate.
Referenced by CandKinematicVertexFitter::set().
|
pure virtual |
mass
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by ZHistogrammer::analyze(), ZMassHistogrammer::analyze(), ZMCHistogrammer::analyze(), HypothesisAnalyzer::analyze(), myFastSimVal::analyze(), ZMuMuEfficiency::analyze(), ZMuMuPerformances::analyze(), ZMuMuSaMassHistogram::analyze(), ZMuMu_vtxAnalyzer::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), ZMuMuAnalyzer::analyze(), ZMuMuAnalyzer_cynematics::analyze(), gamma_radiative_analyzer::analyze(), ZMuMu_MCanalyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), MCAcceptanceAnalyzer::analyze(), B2GDQM::analyzeEventInterpretation(), CandKinematicVertexFitter::fill(), ZToMuMuFilter::filter(), main(), ZSelector::operator()(), EmbeddingKineReweightProducer::lutEntryType::operator()(), operator<<(), TtEvent::printParticle(), FSRWeightProducer::produce(), ZMuMuUserData::produce(), ZMuMuUserDataOneTrack::produce(), pat::L1MuonMatcher::produce(), pat::HLTL1MuonMatcher::produce(), EmbeddingKineReweightProducer::produce(), ZToLLEdmNtupleDumper::produce(), tnp::TagProbePairMaker::run(), CandMassKinFitter::set(), CandCommonVertexFitterBase::set(), and PFCandCommonVertexFitterBase::set().
|
pure virtual |
do mass constraint?
Implemented in reco::LeafRefCandidateT< T >, and reco::LeafCandidate.
|
pure virtual |
mass squared
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
|
pure virtual |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowCloneCandidate
Implemented in reco::LeafCandidate, reco::LeafRefCandidateT< T >, and reco::ShallowCloneCandidate.
Referenced by DimuonStatistics::analyze(), GlbMuQualityCutsAnalysis::analyze(), ZMuMuEfficiency::analyze(), testAnalyzer::analyze(), ZMuMuPerformances::analyze(), ZMuMuIsolationAnalyzer::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), ZMuMu_vtxAnalyzer::analyze(), ZMuMuAnalyzer::analyze(), ZMuMuAnalyzer_cynematics::analyze(), ZMuMu_MCanalyzer::analyze(), gamma_radiative_analyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), MCEmbeddingValidationAnalyzer::analyze(), candidateIsolation(), ZGlobalVsSAIsolationAnalyzer::evaluate(), PFCandCommonVertexFitterBase::fill(), ZToMuMuFilter::filter(), reco::GenJet::genParticle(), get(), getSelMuons(), JetMaker::makeSpecific(), 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(), and tnp::TagProbePairMaker::run().
|
pure virtual |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowClonePtrCandidate
Implemented in reco::LeafCandidate, reco::LeafRefCandidateT< T >, and reco::ShallowClonePtrCandidate.
|
inline |
cast master clone reference to a concrete type
Definition at line 216 of file Candidate.h.
References masterClone().
|
pure virtual |
spatial momentum vector
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by reco::isodeposit::IsoDepositExtractor::deposit(), reco::isodeposit::IsoDepositExtractor::deposits(), reco::Jet::detectorP4(), CandIsoDepositProducer::extractTrack(), reco::Jet::physicsP4(), TrackingRegionsFromBeamSpotAndL2Tau::regions(), TauRegionalPixelSeedGenerator::regions(), and PixelUnpackingRegions::run().
return pointer to mother
Implemented in reco::LeafCandidate, reco::CompositeCandidate, reco::CompositeRefCandidate, reco::CompositePtrCandidate, reco::LeafRefCandidateT< T >, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Referenced by EWKSystUnc::analyze(), zPdfUnc::analyze(), ZLONLOHistogrammer::analyze(), ZMuPtScaleAnalyzer::analyze(), ParticleDecayDrawer::analyze(), myFastSimVal::analyze(), ElectronMcSignalValidator::analyze(), ResolutionCreator::analyze(), GsfElectronMCAnalyzer::analyze(), ErsatzMEt::analyze(), CandMCTagUtils::getAncestors(), FlavorHistoryProducer::getAncestors(), HeavyFlavorValidation::getMotherId(), McSelector::isSelected(), reco::ShallowCloneCandidate::mother(), ZMuMuIsolationAnalyzer::muTag(), FastCandMatcher< C >::operator()(), operator<<(), and GenParticles2HepMCConverter::produce().
|
pure virtual |
transverse mass
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
|
pure virtual |
transverse mass squared
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
|
inline |
number of components
Definition at line 239 of file Candidate.h.
References hasMasterClone(), and masterClone().
|
inline |
number of components
Definition at line 244 of file Candidate.h.
References hasMasterClone(), and masterClone().
|
pure virtual |
number of daughters
Implemented in pat::Jet, reco::LeafCandidate, reco::CompositeCandidate, reco::LeafRefCandidateT< T >, reco::CompositePtrCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Referenced by helper::CandDecayStoreManager::add(), ZHistogrammer::analyze(), ZMassHistogrammer::analyze(), ZMCHistogrammer::analyze(), myFastSimVal::analyze(), ZMuMuEfficiency::analyze(), HLTMCtruth::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(), CandCommonVertexFitterBase::fill(), PFCandCommonVertexFitterBase::fill(), CandKinematicVertexFitter::fill(), JetPartonMatcher::fillPhysicsDefinition(), ZToMuMuFilter::filter(), pat::PATSingleVertexSelector::filter_(), reco::PFTauDecayMode::filteredPFCandidates(), reco::modules::JetFlavourIdentifier::findCandidates(), ZMuMuEfficiency::getParticleEta(), ZMuMuPerformances::getParticleEta(), ZMuMu_efficiencyAnalyzer::getParticleEta(), ZMuMu_vtxAnalyzer::getParticleEta(), ZMuMu_MCanalyzer::getParticleEta(), ZMuMuEfficiency::getParticleP4(), ZMuMuPerformances::getParticleP4(), ZMuMu_efficiencyAnalyzer::getParticleP4(), ZMuMu_vtxAnalyzer::getParticleP4(), ZMuMu_MCanalyzer::getParticleP4(), ZMuMuEfficiency::getParticlePhi(), ZMuMuPerformances::getParticlePhi(), ZMuMu_efficiencyAnalyzer::getParticlePhi(), ZMuMu_vtxAnalyzer::getParticlePhi(), ZMuMu_MCanalyzer::getParticlePhi(), ZMuMuEfficiency::getParticlePt(), ZMuMuPerformances::getParticlePt(), ZMuMu_vtxAnalyzer::getParticlePt(), ZMuMu_efficiencyAnalyzer::getParticlePt(), ZMuMu_MCanalyzer::getParticlePt(), MuScleFitMuonSelector::getStatus1Muon(), ParticleDecayDrawer::hasValidDaughters(), ParticleTreeDrawer::hasValidDaughters(), helicityAngle(), ZMuMuAnalyzer_cynematics::isContained(), mcMuDaughter(), 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(), tnp::TagProbePairMaker::run(), CandMassKinFitter::set(), AddFourMomenta::set(), and zMCLeptonDaughters().
|
pure virtual |
number of mothers (zero or one in most of but not all the cases)
Implemented in reco::LeafCandidate, reco::CompositeCandidate, reco::CompositeRefCandidate, reco::LeafRefCandidateT< T >, reco::CompositePtrCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, reco::ShallowClonePtrCandidate, and reco::CompositeRefBaseCandidate.
Referenced by EWKSystUnc::analyze(), ZLONLOHistogrammer::analyze(), zPdfUnc::analyze(), ZMuPtScaleAnalyzer::analyze(), ResolutionCreator::analyze(), CandMCTagUtils::getAncestors(), FlavorHistoryProducer::getAncestors(), reco::ShallowCloneCandidate::numberOfMothers(), FastCandMatcher< C >::operator()(), operator<<(), GenParticles2HepMCConverter::produce(), and FlavorHistoryProducer::produce().
|
pure virtual |
return the number of source Candidates ( the candidates used to construct this Candidate)
Implemented in reco::PFTau, pat::Electron, pat::Muon, reco::PFCandidate, reco::LeafCandidate, reco::LeafRefCandidateT< T >, and reco::CompositePtrCandidate.
Referenced by reco::PFCandidate::overlap().
|
protectedpure virtual |
check overlap with another Candidate
Implemented in reco::Photon, reco::PFCandidate, reco::LeafCandidate, reco::LeafRefCandidateT< T >, reco::Muon, reco::PFTau, reco::PFJet, reco::CaloJet, reco::GsfElectron, reco::JPTJet, reco::SiStripElectron, reco::IsolatedPixelTrackCandidate, reco::CompositeRefCandidateT< D >, reco::CompositeRefCandidateT< GenParticleRefVector >, reco::CompositeRefCandidateT< reco::edm::RefVector >, 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::BaseTau, reco::GenParticle, reco::BasicJet, reco::CaloRecHitCandidate, reco::RecoChargedCandidate, reco::RecoEcalCandidate, reco::RecoStandAloneMuonCandidate, reco::CandidateWithRef< Ref >, reco::RecoCaloTowerCandidate, and reco::RecoCandidate.
Referenced by OverlapChecker::operator()().
|
pure virtual |
magnitude of momentum vector
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by MuonCaloCleanerByDistance::fillEnergyDepositMap(), and MatcherByPullsAlgorithm::match().
|
pure virtual |
four-momentum Lorentz vector
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), myFastSimVal::analyze(), EmbeddingKineReweightNtupleProducer::analyze(), MCAcceptanceAnalyzer::analyze(), ErsatzMEt::analyze(), MCEmbeddingValidationAnalyzer::analyze(), ProtoJet::calculateLorentzVectorERecombination(), JetCharge::charge(), MuonRadiationFilter::checkMuonRadiation(), HiggsDQM::DistancePhi(), DQMExample_Step1::DistancePhi(), JetPartonMatcher::fillAlgoritDefinition(), TopDecaySubset::fillListing(), JetPartonMatcher::fillPhysicsDefinition(), MuonRadiationFilter::filter(), reco::modules::JetFlavourIdentifier::findCandidates(), MuScleFitMuonSelector::findGenMuFromRes(), FlavorHistoryProducer::getClosestJet(), ZMuMuEfficiency::getParticleP4(), ZMuMuPerformances::getParticleP4(), ZMuMu_vtxAnalyzer::getParticleP4(), ZMuMu_efficiencyAnalyzer::getParticleP4(), ZMuMu_MCanalyzer::getParticleP4(), helicityAngle(), fftjetcms::FFTJetInterface::loadInputCollection(), ParametersDefinerForTP::momentum(), ZSelector::operator()(), reco::LeafRefCandidateT< T >::overlap(), reco::LeafCandidate::overlap(), TopDecaySubset::p4(), CandOneToManyDeltaRMatcher::produce(), L1HLTJetsMatching::produce(), PFJetsMatchedToFilteredCaloJetsProducer::produce(), GenParticles2HepMCConverter::produce(), MuonPFCandidateCleaner::produce(), MCParticleReplacer::produce(), CandMassKinFitter::set(), ApplyEnergyCorrection::set(), Booster::set(), AddFourMomenta::set(), pat::DiObjectProxy::totalP4(), and ParametersDefinerForTP::vertex().
|
pure virtual |
PDG identifier.
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by FBaseSimEvent::addParticles(), TopDecaySubset::addRadiation(), ZLONLOHistogrammer::analyze(), ZHistogrammer::analyze(), ZMassHistogrammer::analyze(), ZMCHistogrammer::analyze(), EWKSystUnc::analyze(), zPdfUnc::analyze(), ZMuPtScaleAnalyzer::analyze(), myFastSimVal::analyze(), ElectronMcSignalValidator::analyze(), ZMuMuEfficiency::analyze(), HLTMCtruth::analyze(), ResolutionCreator::analyze(), GsfElectronMCAnalyzer::analyze(), MCEfficiencyAnalyzer::analyze(), gamma_radiative_analyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), TopValidation::analyze(), ErsatzMEt::analyze(), ZMuMuEfficiency::check_ifZmumu(), ZMuMuPerformances::check_ifZmumu(), ZMuMu_vtxAnalyzer::check_ifZmumu(), ZMuMu_efficiencyAnalyzer::check_ifZmumu(), ZMuMu_MCanalyzer::check_ifZmumu(), TopDecaySubset::checkShowerModel(), ParticleDecayDrawer::decay(), CandCommonVertexFitterBase::fill(), PFCandCommonVertexFitterBase::fill(), CandKinematicVertexFitter::fill(), JetPartonMatcher::fillAlgoritDefinition(), pat::GenericParticle::fillInFrom(), TopDecaySubset::fillListing(), JetPartonMatcher::fillPhysicsDefinition(), BTagSkimMC::filter(), reco::modules::JetFlavourIdentifier::findCandidates(), reco::flavour(), 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(), CandMCTagUtils::hasBottom(), CandMCTagUtils::hasCharm(), reco::isElectron(), reco::isLepton(), reco::isMuon(), reco::isNeutrino(), HiPhotonType::IsPrompt(), McSelector::isSelected(), reco::isTau(), mcMuDaughter(), ZMuMuIsolationAnalyzer::muTag(), GenJetParticleSelector::operator()(), helpers::MCTruthPairSelector< T >::operator()(), FastCandMatcher< C >::operator()(), operator<<(), ParticleTreeDrawer::printDecay(), CastorFastTowerProducer::produce(), CastorFastClusterProducer::produce(), FSRWeightProducer::produce(), GenParticles2HepMCConverter::produce(), PartonSelector::produce(), FlavorHistoryProducer::produce(), TauSpinnerCMS::readParticlesfromReco(), TtDecayChannelSelector::search(), TtDecayChannelSelector::tauDecay(), InputGenJetsParticleSelector::testPartonChildren(), and zMCLeptonDaughters().
|
pure virtual |
momentum azimuthal angle
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by fireworks::addStraightLineSegment(), ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), HLTMCtruth::analyze(), ZMuMuPerformances::analyze(), MCEmbeddingValidationAnalyzer::analyze(), B2GDQM::analyzeEventInterpretation(), FWCandidateLegoProxyBuilder::build(), CaloMETAnalyzer::computeEmHaMET(), pat::DiObjectProxy::deltaPhi(), egammaisolation::EgammaTrackExtractor::deposit(), HICaloUtil::EcalPhi(), GenericBenchmark::fill(), PFCandidateMonitor::fill(), PFJetMonitor::fill(), GenericBenchmark::fillHistos(), MuonDetCleaner::fillHitMap(), CandidateBenchmark::fillOne(), MatchCandidateBenchmark::fillOne(), PFCandidateMonitor::fillOne(), PFFilter::filter(), PFMETFilter::filter(), PFJetFilter::filter(), HLTMuonPlotter::findMatches(), HiGammaJetSignalDef::getDeltaPhi(), HiGammaJetSignalDef::getDeltaR(), MuonTrackCleanerBase::getMuonMomentum(), ZMuMuEfficiency::getParticlePhi(), ZMuMuPerformances::getParticlePhi(), ZMuMu_efficiencyAnalyzer::getParticlePhi(), ZMuMu_vtxAnalyzer::getParticlePhi(), ZMuMu_MCanalyzer::getParticlePhi(), CMSMidpointAlgorithm::iterateCone(), MatcherByPullsAlgorithm::match(), operator<<(), HLTmmkkFilter::overlap(), HLTmmkFilter::overlap(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), TtEvent::printParticle(), CastorFastTowerProducer::produce(), CastorFastClusterProducer::produce(), CandOneToManyDeltaRMatcher::produce(), FSRWeightProducer::produce(), ZMuMuUserDataOneTrack::produce(), ZMuMuUserData::produce(), ZmumuEvtSelEffCorrWeightProducer::produce(), MuonPFCandidateCleaner::produce(), EmbeddingKineReweightProducer::produce(), ZToLLEdmNtupleDumper::produce(), MuonTrackCleanerBase::produceTracks(), CMSIterativeConeAlgorithm::run(), setPtEtaPhi(), and CaloMETAnalyzer::validateMET().
|
pure virtual |
four-momentum Lorentz vector
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by ZMuMuSaMassHistogram::analyze(), pat::GenericParticle::fillInFrom(), ZMuMuUserData::produce(), and ZToLLEdmNtupleDumper::produce().
|
pure virtual |
transverse momentum
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by GenericBenchmark::accepted(), fireworks::addStraightLineSegment(), DimuonStatistics::analyze(), ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), GlbMuQualityCutsAnalysis::analyze(), HypothesisAnalyzer::analyze(), ZMuMuEfficiency::analyze(), HLTMCtruth::analyze(), ZMuMuPerformances::analyze(), ZMuMu_efficiencyAnalyzer::analyze(), ZMuMu_vtxAnalyzer::analyze(), dimuonHLTFilterCheck::analyze(), MCEfficiencyAnalyzer::analyze(), ZMuMu_MCanalyzer::analyze(), gamma_radiative_analyzer::analyze(), MCAcceptanceAnalyzer::analyze(), TauTagValidation::analyze(), TopValidation::analyze(), MCEmbeddingValidationAnalyzer::analyze(), B2GDQM::analyzeEventInterpretation(), FWCandidateLegoProxyBuilder::build(), HICaloUtil::EcalPhi(), GenericBenchmark::fill(), PFCandidateMonitor::fill(), PFJetMonitor::fill(), JetPartonMatcher::fillAlgoritDefinition(), MuonDetCleaner::fillHitMap(), CandidateBenchmark::fillOne(), MatchCandidateBenchmark::fillOne(), PFCandidateMonitor::fillOne(), ZToMuMuFilter::filter(), PFJetFilter::filter(), MuonTrackCleanerBase::getMuonMomentum(), ZMuMuEfficiency::getParticlePt(), ZMuMuPerformances::getParticlePt(), ZMuMu_efficiencyAnalyzer::getParticlePt(), ZMuMu_vtxAnalyzer::getParticlePt(), ZMuMu_MCanalyzer::getParticlePt(), IsMuMatchedToHLTMu(), IsMuMatchedToHLTSingleMu(), fftjetcms::FFTJetInterface::loadInputCollection(), main(), MatcherByPullsAlgorithm::match(), ZSelector::operator()(), SortCandByDecreasingPt::operator()(), HLTMuonValidator::matchesByDescendingPt::operator()(), EmbeddingKineReweightProducer::lutEntryType::operator()(), HLTMuonPlotter::matchesByDescendingPt::operator()(), HLTMuonValidator::MatchStruct::operator<(), HLTMuonPlotter::MatchStruct::operator<(), operator<<(), HLTMuonValidator::MatchStruct::operator>(), HLTMuonPlotter::MatchStruct::operator>(), HLTmmkkFilter::overlap(), HLTmmkFilter::overlap(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), TtEvent::printParticle(), IsolationProducerForTracks::produce(), L1HLTJetsMatching::produce(), ZMuMuUserDataOneTrack::produce(), ZMuMuUserData::produce(), ZmumuEvtSelEffCorrWeightProducer::produce(), pat::L1MuonMatcher::produce(), pat::HLTL1MuonMatcher::produce(), MuonPFCandidateCleaner::produce(), EmbeddingKineReweightProducer::produce(), ZToLLEdmNtupleDumper::produce(), MuonTrackCleanerBase::produceTracks(), TtDilepEvtSolutionMaker::PTComp(), TtFullLepKinSolutionProducer::PTComp(), TrackingRegionsFromBeamSpotAndL2Tau::regions(), and setPtEtaPhi().
|
pure virtual |
x coordinate of momentum vector
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by FWInvMassDialog::Calculate(), GenericBenchmark::fill(), GenericBenchmark::fillHistos(), MuonDetCleaner::fillHitMap(), PFMETFilter::filter(), getTrackDetMatchInfo(), PlotMakerL1::invariantMass(), PlotMakerReco::invariantMass(), fireworks::prepareCandidate(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), FastJetFWLiteWrapper::run(), PropagateToMuon::startingState(), and MatcherUsingTracksAlgorithm::startingState().
|
pure virtual |
y coordinate of momentum vector
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by FWInvMassDialog::Calculate(), GenericBenchmark::fill(), GenericBenchmark::fillHistos(), MuonDetCleaner::fillHitMap(), PFMETFilter::filter(), getTrackDetMatchInfo(), PlotMakerL1::invariantMass(), PlotMakerReco::invariantMass(), fireworks::prepareCandidate(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), FastJetFWLiteWrapper::run(), PropagateToMuon::startingState(), and MatcherUsingTracksAlgorithm::startingState().
|
pure virtual |
z coordinate of momentum vector
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by FWInvMassDialog::Calculate(), MuonDetCleaner::fillHitMap(), getTrackDetMatchInfo(), PlotMakerL1::invariantMass(), PlotMakerReco::invariantMass(), fireworks::prepareCandidate(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), FastJetFWLiteWrapper::run(), PropagateToMuon::startingState(), and MatcherUsingTracksAlgorithm::startingState().
|
pure virtual |
rapidity
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), B2GDQM::analyzeEventInterpretation(), ZMuMuUserDataOneTrack::produce(), ZMuMuUserData::produce(), and ZToLLEdmNtupleDumper::produce().
|
pure virtual |
set electric charge
Implemented in reco::LeafRefCandidateT< T >, and reco::LeafCandidate.
Referenced by AddFourMomenta::set().
|
pure virtual |
set long lived flag
Implemented in reco::LeafRefCandidateT< T >, and reco::LeafCandidate.
|
pure virtual |
set particle mass
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
|
pure virtual |
set mass constraint flag
Implemented in reco::LeafRefCandidateT< T >, and reco::LeafCandidate.
|
pure virtual |
set 4-momentum
Implemented in reco::LeafRefCandidateT< T >, and reco::LeafCandidate.
Referenced by CandMassKinFitter::set(), ApplyEnergyCorrection::set(), Booster::set(), CandCommonVertexFitterBase::set(), AddFourMomenta::set(), PFCandCommonVertexFitterBase::set(), and CandKinematicVertexFitter::set().
|
pure virtual |
set 4-momentum
Implemented in reco::LeafRefCandidateT< T >, and reco::LeafCandidate.
|
pure virtual |
Implemented in reco::LeafRefCandidateT< T >, and reco::LeafCandidate.
|
pure virtual |
Implemented in reco::LeafRefCandidateT< T >, and reco::LeafCandidate.
|
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 184 of file Candidate.h.
|
pure virtual |
set status word
Implemented in reco::LeafRefCandidateT< T >, and reco::LeafCandidate.
|
pure virtual |
set electric charge
Implemented in reco::LeafRefCandidateT< T >, and reco::LeafCandidate.
|
pure virtual |
set vertex
Implemented in reco::PFCandidate, reco::LeafRefCandidateT< T >, reco::LeafCandidate, and reco::Photon.
Referenced by 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 reco::PFTau, pat::Electron, pat::Muon, reco::PFCandidate, reco::LeafCandidate, reco::CompositePtrCandidate, and reco::LeafRefCandidateT< T >.
Definition at line 172 of file Candidate.h.
Referenced by reco::PFCandidate::overlap().
|
pure virtual |
status word
Implemented in reco::LeafRefCandidateT< T >, and reco::LeafCandidate.
Referenced by ParticleTreeDrawer::accept(), FBaseSimEvent::addParticles(), ZMassHistogrammer::analyze(), ZHistogrammer::analyze(), ZMCHistogrammer::analyze(), ZMuMuEfficiency::analyze(), HLTMCtruth::analyze(), MCEfficiencyAnalyzer::analyze(), TopValidation::analyze(), ErsatzMEt::analyze(), TopDecaySubset::checkShowerModel(), TtDecayChannelSelector::countProngs(), JetPartonMatcher::fillAlgoritDefinition(), pat::GenericParticle::fillInFrom(), TopDecaySubset::fillListing(), JetPartonMatcher::fillPhysicsDefinition(), BTagSkimMC::filter(), 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(), GenJetParticleSelector::operator()(), helpers::MCTruthPairSelector< T >::operator()(), FastCandMatcher< C >::operator()(), operator<<(), ParticleTreeDrawer::printInfo(), GenParticles2HepMCConverter::produce(), FlavorHistoryProducer::produce(), TtDecayChannelSelector::search(), ParticleDecayDrawer::select(), pat::Flags::test(), and zMCLeptonDaughters().
|
pure virtual |
momentum polar angle
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by fireworks::addStraightLineSegment(), ZMCHistogrammer::analyze(), ZHistogrammer::analyze(), CaloMETAnalyzer::computeEmHaMET(), MuonCaloCleanerByDistance::fillEnergyDepositMap(), MatcherByPullsAlgorithm::match(), FSRWeightProducer::produce(), and CaloMETAnalyzer::validateMET().
|
pure virtual |
electric charge
Implemented in reco::LeafRefCandidateT< T >, and reco::LeafCandidate.
Referenced by TopDecaySubset::fillListing().
|
pure virtual |
vertex position
Implemented in reco::PFCandidate, reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by pat::helper::VertexingHelper::associate(), egammaisolation::EgammaTrackExtractor::deposit(), reco::isodeposit::IsoDepositExtractor::deposit(), reco::isodeposit::IsoDepositExtractor::deposits(), HICaloUtil::EcalEta(), HICaloUtil::EcalPhi(), CandIsoDepositProducer::extractTrack(), MuonDetCleaner::fillHitMap(), pat::GenericParticle::fillInFrom(), TopDecaySubset::fillListing(), pat::PATSingleVertexSelector::filter_(), PhotonTkIsolation::getIso(), getTrackDetMatchInfo(), MatcherByPullsAlgorithm::match(), ParametersDefinerForTP::momentum(), pat::VertexAssociationSelector::operator()(), reco::LeafRefCandidateT< T >::overlap(), reco::LeafCandidate::overlap(), fireworks::prepareCandidate(), GenParticles2HepMCConverter::produce(), MCParticleReplacer::produce(), pat::VertexAssociationSelector::simpleAssociation(), and ParametersDefinerForTP::vertex().
|
pure virtual |
chi-squares
Implemented in reco::LeafRefCandidateT< T >, reco::LeafCandidate, and reco::VertexCompositeCandidate.
Referenced by pat::PATSingleVertexSelector::filter_().
|
pure virtual |
(i, j)-th element of error matrix, i, j = 0, ... 2
Implemented in reco::LeafRefCandidateT< T >, reco::LeafCandidate, and reco::VertexCompositeCandidate.
Referenced by pat::PATSingleVertexSelector::filter_().
|
inlinevirtual |
fill SMatrix
Reimplemented in reco::LeafRefCandidateT< T >, and reco::LeafCandidate.
Definition at line 200 of file Candidate.h.
References fillVertexCovariance(), and m.
|
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 reco::LeafRefCandidateT< T >, reco::LeafCandidate, and reco::VertexCompositeCandidate.
Referenced by pat::PATSingleVertexSelector::filter_().
|
pure virtual |
chi-squared divided by n.d.o.f.
Implemented in reco::LeafRefCandidateT< T >, reco::LeafCandidate, and reco::VertexCompositeCandidate.
Referenced by ZToLLEdmNtupleDumper::produce().
|
pure virtual |
x coordinate of vertex position
Implemented in reco::PFCandidate, reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by FBaseSimEvent::addParticles(), myFastSimVal::analyze(), HLTMCtruth::analyze(), MatcherByPullsAlgorithm::match(), pat::VertexAssociationSelector::operator()(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), PropagateToMuon::startingState(), and MatcherUsingTracksAlgorithm::startingState().
|
pure virtual |
y coordinate of vertex position
Implemented in reco::PFCandidate, reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by FBaseSimEvent::addParticles(), myFastSimVal::analyze(), HLTMCtruth::analyze(), MatcherByPullsAlgorithm::match(), pat::VertexAssociationSelector::operator()(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), PropagateToMuon::startingState(), and MatcherUsingTracksAlgorithm::startingState().
|
pure virtual |
z coordinate of vertex position
Implemented in reco::PFCandidate, reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
Referenced by FBaseSimEvent::addParticles(), myFastSimVal::analyze(), HLTMCtruth::analyze(), pat::PATSingleVertexSelector::filter_(), HLTDoubletDZ< T1, T2 >::hltFilter(), MatcherByPullsAlgorithm::match(), pat::VertexAssociationSelector::operator()(), ParticleTreeDrawer::printInfo(), ParticleDecayDrawer::printP4(), PropagateToMuon::startingState(), and MatcherUsingTracksAlgorithm::startingState().
|
pure virtual |
rapidity
Implemented in reco::LeafCandidate, and reco::LeafRefCandidateT< T >.
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 277 of file Candidate.h.
|
friend |
Definition at line 276 of file Candidate.h.
|
friend |
Definition at line 278 of file Candidate.h.
|
friend |
Definition at line 279 of file Candidate.h.