#include <LeafCandidate.h>
Classes | |
struct | daughter_iterator |
Public Types | |
typedef int | Charge |
electric charge type | |
typedef CandidateCollection | daughters |
collection of daughter candidates | |
typedef unsigned int | index |
index type | |
typedef math::XYZTLorentzVector | LorentzVector |
Lorentz vector. | |
typedef math::XYZPoint | Point |
point in the space | |
typedef math::PtEtaPhiMLorentzVector | PolarLorentzVector |
Lorentz vector. | |
typedef math::XYZVector | Vector |
point in the space | |
Public Member Functions | |
virtual const_iterator | begin () const |
first daughter const_iterator | |
virtual iterator | begin () |
first daughter iterator | |
template<typename S > | |
daughter_iterator< S >::type | beginFilter (const S &s) const |
virtual Vector | boostToCM () const |
virtual int | charge () const |
electric charge | |
virtual LeafCandidate * | clone () const |
returns a clone of the Candidate object | |
virtual const Candidate * | daughter (const std::string &s) const |
return daughter with a specified role name | |
virtual const Candidate * | daughter (size_type) const |
return daughter at a given position (throws an exception) | |
virtual Candidate * | daughter (size_type) |
return daughter at a given position (throws an exception) | |
virtual Candidate * | daughter (const std::string &s) |
return daughter with a specified role name | |
virtual iterator | end () |
last daughter iterator | |
virtual const_iterator | end () const |
last daughter const_iterator | |
template<typename S > | |
daughter_iterator< S >::type | endFilter (const S &s) const |
virtual double | energy () const |
energy | |
virtual double | et () const |
transverse energy | |
virtual double | eta () const |
momentum pseudorapidity | |
virtual void | fillVertexCovariance (CovarianceMatrix &v) const |
fill SMatrix | |
template<typename T > | |
T | get () const |
get a component | |
template<typename T , typename Tag > | |
T | get () const |
get a component | |
template<typename T > | |
T | get (size_type i) const |
get a component | |
template<typename T , typename Tag > | |
T | get (size_type i) const |
get a component | |
virtual bool | hasMasterClone () const |
virtual bool | hasMasterClonePtr () const |
virtual bool | isCaloMuon () const |
virtual bool | isConvertedPhoton () const |
virtual bool | isElectron () const |
virtual bool | isGlobalMuon () const |
virtual bool | isJet () const |
virtual bool | isMuon () const |
virtual bool | isPhoton () const |
virtual bool | isStandAloneMuon () const |
virtual bool | isTrackerMuon () const |
LeafCandidate (Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from values | |
LeafCandidate (const Candidate &c) | |
LeafCandidate (Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from values | |
LeafCandidate () | |
default constructor | |
virtual bool | longLived () const |
is long lived? | |
virtual double | mass () const |
mass | |
virtual bool | massConstraint () const |
do mass constraint? | |
virtual double | massSqr () const |
mass squared | |
virtual const CandidateBaseRef & | masterClone () const |
virtual const CandidatePtr & | masterClonePtr () const |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type | |
virtual Vector | momentum () const |
spatial momentum vector | |
virtual const Candidate * | mother (size_type) const |
return mother at a given position (throws an exception) | |
virtual double | mt () const |
transverse mass | |
virtual double | mtSqr () const |
transverse mass squared | |
template<typename T > | |
size_type | numberOf () const |
number of components | |
template<typename T , typename Tag > | |
size_type | numberOf () const |
number of components | |
virtual size_t | numberOfDaughters () const |
number of daughters | |
virtual size_t | numberOfMothers () const |
number of mothers | |
virtual size_t | numberOfSourceCandidatePtrs () const |
virtual double | p () const |
magnitude of momentum vector | |
virtual const LorentzVector & | p4 () const |
four-momentum Lorentz vector | |
virtual int | pdgId () const |
PDG identifier. | |
virtual double | phi () const |
momentum azimuthal angle | |
virtual const PolarLorentzVector & | polarP4 () const |
four-momentum Lorentz vector | |
virtual double | pt () const |
transverse momentum | |
virtual double | px () const |
x coordinate of momentum vector | |
virtual double | py () const |
y coordinate of momentum vector | |
virtual double | pz () const |
z coordinate of momentum vector | |
virtual double | rapidity () const |
rapidity | |
virtual void | setCharge (Charge q) |
set electric charge | |
virtual void | setLongLived () |
set long lived flag | |
virtual void | setMass (double m) |
set particle mass | |
virtual void | setMassConstraint () |
set mass constraint flag | |
virtual void | setP4 (const LorentzVector &p4) |
set 4-momentum | |
virtual void | setP4 (const PolarLorentzVector &p4) |
set 4-momentum | |
virtual void | setPdgId (int pdgId) |
virtual void | setPz (double pz) |
virtual void | setStatus (int status) |
set status word | |
virtual void | setThreeCharge (Charge qx3) |
set electric charge | |
virtual void | setVertex (const Point &vertex) |
set vertex | |
virtual CandidatePtr | sourceCandidatePtr (size_type i) const |
virtual int | status () const |
status word | |
virtual double | theta () const |
momentum polar angle | |
virtual int | threeCharge () const |
electric charge | |
virtual const Point & | vertex () const |
vertex position | |
virtual double | vertexChi2 () const |
chi-squares | |
CovarianceMatrix | vertexCovariance () const |
return SMatrix | |
virtual double | vertexCovariance (int i, int j) const |
(i, j)-th element of error matrix, i, j = 0, ... 2 | |
virtual double | vertexNdof () const |
virtual double | vertexNormalizedChi2 () const |
chi-squared divided by n.d.o.f. | |
virtual double | vx () const |
x coordinate of vertex position | |
virtual double | vy () const |
y coordinate of vertex position | |
virtual double | vz () const |
z coordinate of vertex position | |
virtual double | y () const |
rapidity | |
virtual | ~LeafCandidate () |
destructor | |
Static Public Attributes | |
static const unsigned int | longLivedTag = 65536 |
long lived flag | |
static const unsigned int | massConstraintTag = 131072 |
do mass constraint flag | |
Protected Member Functions | |
void | cacheCartesian () const |
set internal cache | |
void | cachePolar () const |
set internal cache | |
void | clearCache () const |
clear internal cache | |
virtual bool | overlap (const Candidate &) const |
check overlap with another Candidate | |
Protected Attributes | |
edm::BoolCache | cacheCartesianFixed_ |
edm::BoolCache | cachePolarFixed_ |
has cache been set? | |
float | eta_ |
float | mass_ |
LorentzVector | p4Cartesian_ |
internal cache for p4 | |
PolarLorentzVector | p4Polar_ |
internal cache for p4 | |
int | pdgId_ |
PDG identifier. | |
float | phi_ |
float | pt_ |
four-momentum Lorentz vector | |
Charge | qx3_ |
electric charge | |
int | status_ |
status word | |
Point | vertex_ |
vertex position | |
Private Types | |
typedef candidate::const_iterator_imp_specific < daughters > | const_iterator_imp_specific |
typedef candidate::iterator_imp_specific < daughters > | iterator_imp_specific |
Friends | |
class | ::OverlapChecker |
struct | component |
class | ShallowCloneCandidate |
class | ShallowClonePtrCandidate |
particle candidate with no constituent nor daughters
Definition at line 18 of file LeafCandidate.h.
typedef int reco::LeafCandidate::Charge |
electric charge type
Reimplemented from reco::Candidate.
Definition at line 23 of file LeafCandidate.h.
typedef candidate::const_iterator_imp_specific<daughters> reco::LeafCandidate::const_iterator_imp_specific [private] |
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefBaseCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefCandidateT< GenParticleRefVector >.
Definition at line 352 of file LeafCandidate.h.
collection of daughter candidates
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefBaseCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefCandidateT< GenParticleRefVector >.
Definition at line 21 of file LeafCandidate.h.
typedef unsigned int reco::LeafCandidate::index |
typedef candidate::iterator_imp_specific<daughters> reco::LeafCandidate::iterator_imp_specific [private] |
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefBaseCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefCandidateT< GenParticleRefVector >.
Definition at line 354 of file LeafCandidate.h.
point in the space
Reimplemented from reco::Candidate.
Definition at line 29 of file LeafCandidate.h.
point in the space
Reimplemented from reco::Candidate.
Definition at line 31 of file LeafCandidate.h.
reco::LeafCandidate::LeafCandidate | ( | ) | [inline] |
default constructor
Definition at line 36 of file LeafCandidate.h.
Referenced by clone().
: qx3_(0), pt_(0), eta_(0), phi_(0), mass_(0), vertex_(0, 0, 0), pdgId_(0), status_(0), cachePolarFixed_( false ), cacheCartesianFixed_( false ) { }
reco::LeafCandidate::LeafCandidate | ( | const Candidate & | c | ) | [inline, explicit] |
reco::LeafCandidate::LeafCandidate | ( | Charge | q, |
const LorentzVector & | p4, | ||
const Point & | vtx = Point( 0, 0, 0 ) , |
||
int | pdgId = 0 , |
||
int | status = 0 , |
||
bool | integerCharge = true |
||
) | [inline] |
reco::LeafCandidate::LeafCandidate | ( | Charge | q, |
const PolarLorentzVector & | p4, | ||
const Point & | vtx = Point ( 0, 0, 0 ) , |
||
int | pdgId = 0 , |
||
int | status = 0 , |
||
bool | integerCharge = true |
||
) | [inline] |
LeafCandidate::~LeafCandidate | ( | ) | [virtual] |
Candidate::const_iterator LeafCandidate::begin | ( | void | ) | const [virtual] |
first daughter const_iterator
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefBaseCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefCandidateT< GenParticleRefVector >.
Definition at line 8 of file LeafCandidate.cc.
Referenced by CaloSpecificAlgo::addInfo(), beginFilter(), and ZeeCandidateFilter::filter().
{ return const_iterator( new const_iterator_imp_specific ); }
Candidate::iterator LeafCandidate::begin | ( | void | ) | [virtual] |
first daughter iterator
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefBaseCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefCandidateT< GenParticleRefVector >.
Definition at line 16 of file LeafCandidate.cc.
{ return iterator( new iterator_imp_specific ); }
daughter_iterator<S>::type reco::LeafCandidate::beginFilter | ( | const S & | s | ) | const [inline] |
Reimplemented from reco::Candidate.
Definition at line 289 of file LeafCandidate.h.
virtual Vector reco::LeafCandidate::boostToCM | ( | ) | const [inline, virtual] |
boost vector to boost a Lorentz vector to the particle center of mass system
Implements reco::Candidate.
Definition at line 115 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
{ cacheCartesian(); return p4Cartesian_.BoostToCM(); }
void reco::LeafCandidate::cacheCartesian | ( | ) | const [inline, protected] |
set internal cache
Definition at line 332 of file LeafCandidate.h.
References cacheCartesianFixed_, cachePolar(), p4Cartesian_, and p4Polar_.
Referenced by boostToCM(), energy(), momentum(), p(), p4(), px(), py(), pz(), setPz(), and theta().
{ if ( cacheCartesianFixed_ ) return; cachePolar(); p4Cartesian_ = p4Polar_; cacheCartesianFixed_ = true; }
void reco::LeafCandidate::cachePolar | ( | ) | const [inline, protected] |
set internal cache
Definition at line 326 of file LeafCandidate.h.
References cachePolarFixed_, eta_, mass_, p4Polar_, phi_, and pt_.
Referenced by cacheCartesian(), et(), mt(), mtSqr(), polarP4(), and rapidity().
{ if ( cachePolarFixed_ ) return; p4Polar_ = PolarLorentzVector( pt_, eta_, phi_, mass_ ); cachePolarFixed_ = true; }
virtual int reco::LeafCandidate::charge | ( | ) | const [inline, virtual] |
electric charge
Implements reco::Candidate.
Definition at line 100 of file LeafCandidate.h.
References qx3_.
Referenced by ElectronMcFakeValidator::analyze(), HLTMuonMatchAndPlot::analyze(), EwkMuLumiMonitorDQM::analyze(), ElectronMcSignalValidator::analyze(), TauMVATrainer::analyze(), PFTester::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), EwkMuDQM::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), HLTHiggsTruth::analyzeHWW2l(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWPFCandidate3DProxyBuilder::build(), egHLT::OffEle::charge(), reco::PFTau::dump(), RecoMuonValidatorPF::MuonME::fill(), RecoMuonValidator::MuonME::fill(), EwkElecTauHistManager::fillHistograms(), HLTOniaSource::fillOniaTriggerMEs(), HSCPTreeBuilder::filter(), WZInterestingEventSelector::filter(), WMuNuSelector::filter(), HLTMuonTrackMassFilter::filter(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), pat::PATObject< ObjectType >::genParticleById(), MuonMETAlgo::GetMuDepDeltas(), reco::tau::disc::mainTrack(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::operator<<(), overlap(), reco::PFTauDecayMode::PFTauDecayMode(), QuarkoniaTrackSelector::produce(), ClassBasedElectronID::result(), MuScleFitMuonSelector::selectMuons(), FWElectronDetailView::setTextInfo(), FWMuonDetailView::setTextInfo(), reco::PFCandidate::setTrackRef(), reco::tau::sumPFCandCharge(), PFRootEventManager::tauBenchmark(), and reco::PFCandidate::translateTypeToPdgId().
{ return qx3_ / 3; }
void reco::LeafCandidate::clearCache | ( | ) | const [inline, protected] |
clear internal cache
Definition at line 339 of file LeafCandidate.h.
References cacheCartesianFixed_, and cachePolarFixed_.
Referenced by setMass().
{ cachePolarFixed_ = false; cacheCartesianFixed_ = false; }
virtual LeafCandidate* reco::LeafCandidate::clone | ( | void | ) | const [inline, virtual] |
returns a clone of the Candidate object
Implements reco::Candidate.
Reimplemented in reco::CandidateWithRef< Ref >, reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefBaseCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::NamedCompositeCandidate, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, reco::VertexCompositeCandidate, reco::Electron, reco::GsfElectron, reco::Photon, reco::SiStripElectron, reco::EcalIsolatedParticleCandidate, reco::IsolatedPixelTrackCandidate, reco::GenParticle, reco::BasicJet, reco::CaloJet, reco::GenJet, reco::JPTJet, reco::PFClusterJet, reco::PFJet, reco::TrackJet, l1extra::L1EmParticle, l1extra::L1EtMissParticle, l1extra::L1JetParticle, l1extra::L1MuonParticle, reco::MET, reco::Muon, reco::IsolatedPFCandidate, reco::PFCandidate, reco::PileUpPFCandidate, pat::CompositeCandidate, pat::Electron, pat::GenericParticle, pat::Jet, pat::MET, pat::Muon, pat::Particle, pat::PFParticle, pat::Photon, pat::Tau, reco::CaloRecHitCandidate, reco::RecoCaloTowerCandidate, reco::RecoCandidate, reco::RecoChargedCandidate, reco::RecoEcalCandidate, reco::RecoStandAloneMuonCandidate, reco::BaseTau, reco::CaloTau, reco::PFTau, reco::PFTauDecayMode, reco::CompositeRefCandidateT< GenParticleRefVector >, pat::Lepton< reco::BaseTau >, pat::Lepton< reco::GsfElectron >, and pat::Lepton< reco::Muon >.
Definition at line 214 of file LeafCandidate.h.
References LeafCandidate().
{ return new LeafCandidate( *this ); }
Candidate * LeafCandidate::daughter | ( | const std::string & | s | ) | [virtual] |
return daughter with a specified role name
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, and reco::NamedCompositeCandidate.
Definition at line 71 of file LeafCandidate.cc.
References Exception, and edm::errors::UnimplementedFeature.
{ throw edm::Exception(edm::errors::UnimplementedFeature) << "This Candidate type does not implement daughter(std::string). " << "Please use CompositeCandidate or NamedCompositeCandidate.\n"; }
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefBaseCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::NamedCompositeCandidate, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefCandidateT< GenParticleRefVector >.
Definition at line 79 of file LeafCandidate.cc.
{
return 0;
}
const Candidate * LeafCandidate::daughter | ( | const std::string & | s | ) | const [virtual] |
return daughter with a specified role name
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, and reco::NamedCompositeCandidate.
Definition at line 65 of file LeafCandidate.cc.
References Exception, and edm::errors::UnimplementedFeature.
{ throw edm::Exception(edm::errors::UnimplementedFeature) << "This Candidate type does not implement daughter(std::string). " << "Please use CompositeCandidate or NamedCompositeCandidate.\n"; }
return daughter at a given position (throws an exception)
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefBaseCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::NamedCompositeCandidate, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, pat::Jet, and reco::CompositeRefCandidateT< GenParticleRefVector >.
Definition at line 57 of file LeafCandidate.cc.
{
return 0;
}
Candidate::const_iterator LeafCandidate::end | ( | void | ) | const [virtual] |
last daughter const_iterator
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefBaseCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefCandidateT< GenParticleRefVector >.
Definition at line 12 of file LeafCandidate.cc.
Referenced by beginFilter(), and endFilter().
{ return const_iterator( new const_iterator_imp_specific ); }
Candidate::iterator LeafCandidate::end | ( | void | ) | [virtual] |
last daughter iterator
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefBaseCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefCandidateT< GenParticleRefVector >.
Definition at line 20 of file LeafCandidate.cc.
{ return iterator( new iterator_imp_specific ); }
daughter_iterator<S>::type reco::LeafCandidate::endFilter | ( | const S & | s | ) | const [inline] |
Reimplemented from reco::Candidate.
Definition at line 293 of file LeafCandidate.h.
References end().
virtual double reco::LeafCandidate::energy | ( | ) | const [inline, virtual] |
energy
Implements reco::Candidate.
Reimplemented in reco::CastorTower.
Definition at line 119 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by StKinFitter::addKinFitInfo(), TtFullLepKinSolver::addKinSolInfo(), FBaseSimEvent::addParticles(), JetValidation::analyze(), PhotonValidator::analyze(), ResolutionCreator::analyze(), QcdHighPtDQM::analyze(), PatTauAnalyzer::analyze(), IsolatedParticlesGeneratedJets::analyze(), SimplePhotonAnalyzer::analyze(), HLTMonBTagIPSource::analyze(), DQMHcalDiJetsAlCaReco::analyze(), JPTJetAnalyzer::analyze(), EwkElecDQM::analyze(), HLTMonBTagMuSource::analyze(), PFCandidateChecker::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWMET3DProxyBuilder::build(), FWPFCandidatesLegoProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWJetProxyBuilder::buildViewType(), FWMETProxyBuilder::buildViewType(), reco::FlavorHistoryEvent::cache(), pat::CaloIsolationEnergy::calculate(), reco::helper::JetIDHelper::calculate(), MEzCalculator::Calculate(), reco::helper::CastorJetIDHelper::calculate(), pat::LeptonJetIsolationAngle::calculate(), reco::PFJet::chargedEmEnergyFraction(), pat::Jet::chargedEmEnergyFraction(), reco::JPTJet::chargedEmEnergyFraction(), pat::Jet::chargedHadronEnergyFraction(), reco::JPTJet::chargedHadronEnergyFraction(), reco::PFJet::chargedHadronEnergyFraction(), reco::PFJet::chargedMuEnergyFraction(), pat::Jet::chargedMuEnergyFraction(), reco::helper::JetIDHelper::classifyJetComponents(), TauElementsOperators::computeConeSize(), CaloTowersCreationAlgo::convert(), JetPlusTrackCorrector::correctAA(), JetPlusTrackCorrector::correction(), L1JPTOffsetCorrector::correction(), L6SLBCorrector::correction(), L1OffsetCorrector::correction(), pat::Jet::electronEnergyFraction(), reco::PFJet::electronEnergyFraction(), metsig::SignAlgoResolutions::ElectronPtResolution(), egHLT::OffEle::energy(), egHLT::OffPho::energy(), CaloTower::energyInHF(), CaloTower::energyInHO(), metsig::SignAlgoResolutions::evalPF(), JPTJetTester::fillMatchHists(), CaloJetTester::fillMatchHists(), PFJetTester::fillMatchHists(), PFRootEventManager::fillOutEventWithCaloTowers(), PFRootEventManager::fillOutEventWithPFCandidates(), FastL1Region::FillTower(), FastL1Region::FillTower_Scaled(), HSCPTreeBuilder::filter(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterIsoGenPar(), PFJetIDSelectionFunctor::firstDataCuts(), TtFullHadKinFitter::fit(), TtSemiLepKinFitter::fit(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), PFJetBenchmark::gettrue(), CaloTower::hadP4(), reco::PFJet::HFEMEnergyFraction(), pat::Jet::HFEMEnergyFraction(), reco::PFJet::HFHadronEnergyFraction(), pat::Jet::HFHadronEnergyFraction(), HPSPFRecoTauAlgorithm::isNarrowTau(), main(), JetMaker::makeSpecific(), MatchJet::matchCollections(), reco::PFJet::muonEnergyFraction(), pat::Jet::muonEnergyFraction(), reco::PFJet::neutralEmEnergyFraction(), reco::JPTJet::neutralEmEnergyFraction(), pat::Jet::neutralEmEnergyFraction(), reco::PFJet::neutralHadronEnergyFraction(), reco::JPTJet::neutralHadronEnergyFraction(), pat::Jet::neutralHadronEnergyFraction(), TtSemiLRSignalSelObservables::operator()(), GenJetQualifier::operator()(), reco::operator<<(), CaloTower::p4(), pat::Jet::photonEnergyFraction(), reco::PFJet::photonEnergyFraction(), PFAlgoTestBenchElectrons::processBlock(), pf2pat::PFMETAlgo::produce(), JetIdSelector< T >::produce(), JetPlusTrackProducerAA::produce(), JetPlusTrackProducer::produce(), CaloTowerCreatorForTauHLT::produce(), CastorClusterProducer::produce(), FSRWeightProducer::produce(), CaloTowerCandidateCreator::produce(), TCTauAlgorithm::recalculateEnergy(), reco::tau::RecoTauIsolationMasking::resolution(), pf2pat::PFIsoDepositAlgo::sameParticle(), reco::Photon::setVertex(), reco::SoftLeptonTagInfo::taggingVariables(), and PFMETAnalyzer::validateMET().
{ cacheCartesian(); return p4Cartesian_.E(); }
virtual double reco::LeafCandidate::et | ( | ) | const [inline, virtual] |
transverse energy
Implements reco::Candidate.
Definition at line 121 of file LeafCandidate.h.
References cachePolar(), and p4Polar_.
Referenced by StKinFitter::addKinFitInfo(), PhotonValidator::analyze(), L2TauAnalyzer::analyze(), TopElectronHLTOfflineSource::analyze(), PatPhotonSimpleAnalyzer::analyze(), WenuPlots::analyze(), PFTester::analyze(), EwkMuDQM::analyze(), HLTMonBTagIPSource::analyze(), SimplePhotonAnalyzer::analyze(), JPTJetAnalyzer::analyze(), DQMHcalDiJetsAlCaReco::analyze(), HLTTauDQMCaloPlotter::analyze(), SimplePi0DiscAnalyzer::analyze(), EwkElecDQM::analyze(), HLTMonBTagMuSource::analyze(), L25TauAnalyzer::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWMET3DProxyBuilder::build(), FWL1EtMissParticleGlimpseProxyBuilder::build(), FWPFCandidatesLegoProxyBuilder::build(), FWMETGlimpseProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWJetProxyBuilder::buildViewType(), FWMETProxyBuilder::buildViewType(), reco::helper::JetIDHelper::calculate(), EmDQM::checkGeneratedParticlesRequirement(), TauElementsOperators::computeConeSize(), JetPlusTrackCorrector::correction(), TCTauCorrector::correction(), egHLT::OffEle::et(), egHLT::OffPho::et(), reco::tau::qcuts::etMin(), l1extra::L1EtMissParticle::etMiss(), TopDiLeptonOffline::MonitorEnsemble::fill(), TopElectronHLTOfflineSource::EleMEs::fill(), WMuNuSelector::filter(), PhotonEnrichmentFilter::filter(), WMuNuValidator::filter(), HeavyChHiggsToTauNuSkim::filter(), HighETPhotonsFilterAlgo::filter(), BCToEFilterAlgo::filter(), doubleEMEnrichingFilterAlgo::filter(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), ElectronVPlusJetsIDSelectionFunctor::firstDataCuts(), TtSemiLepKinFitter::fit(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), HiGammaJetSignalDef::IsIsolated(), HiGammaJetSignalDef::IsIsolatedJP(), HiGammaJetSignalDef::IsIsolatedPP(), HPSPFRecoTauAlgorithm::isNarrowTau(), JetVertexMain::Main(), L25TauAnalyzer::matchedToPFTau(), reco::MET::mEtSig(), reco::Jet::nCarrying(), TtSemiLRSignalSelObservables::operator()(), PhotonValidator::sortPhotons::operator()(), TtHadLRSignalSelObservables::CompareET::operator()(), TtSemiLRSignalSelObservables::CompareET::operator()(), TtDilepLRSignalSelObservables::operator()(), L25TauAnalyzer::printInfo(), PFCandidateChecker::printJets(), L2TauIsolationSelector::produce(), L2TauRelaxingIsolationSelector::produce(), L2TauModularIsolationSelector::produce(), JetEnergyShift::produce(), JetPlusTrackCorrector::rebuildJta(), FWElectronDetailView::setTextInfo(), FWPhotonDetailView::setTextInfo(), PFElectronSelector::spring11Cuts(), and reco::SoftLeptonTagInfo::taggingVariables().
{ cachePolar(); return p4Polar_.Et(); }
virtual double reco::LeafCandidate::eta | ( | ) | const [inline, virtual] |
momentum pseudorapidity
Implements reco::Candidate.
Reimplemented in reco::CastorTower, and reco::EcalIsolatedParticleCandidate.
Definition at line 143 of file LeafCandidate.h.
References eta_.
Referenced by reco::tau::disc::AbsEta(), ZIterativeAlgorithmWithFit::addEvent(), CaloSpecificAlgo::addInfo(), StKinFitter::addKinFitInfo(), FWMuonDetailView::addSceneInfo(), FWElectronDetailView::addSceneInfo(), ZMuMuIsolationAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), JetValidation::analyze(), GsfElectronDataAnalyzer::analyze(), HLTMuonMatchAndPlot::analyze(), PhotonValidator::analyze(), GlbMuQualityCutsAnalysis::analyze(), L2TauAnalyzer::analyze(), ZMuPtScaleAnalyzer::analyze(), TopElectronHLTOfflineSource::analyze(), EwkMuLumiMonitorDQM::analyze(), PatPhotonSimpleAnalyzer::analyze(), RPCRecHitProbability::analyze(), JPTJetTester::analyze(), PatZjetsJetAnalyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), testAnalyzer::analyze(), WenuPlots::analyze(), ElectronMcSignalValidator::analyze(), FlavorJetCorrectionExample::analyze(), GsfElectronMCFakeAnalyzer::analyze(), RPCMonitorDigi::analyze(), PFTester::analyze(), PartonJetCorrectionExample::analyze(), ElectronTagProbeAnalyzer::analyze(), PatTauAnalyzer::analyze(), EwkMuDQM::analyze(), IsolatedParticlesGeneratedJets::analyze(), CMSDAS11DijetAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), HLTMonBTagIPSource::analyze(), SimplePi0DiscAnalyzer::analyze(), JPTJetAnalyzer::analyze(), DQMHcalDiJetsAlCaReco::analyze(), HLTTauDQMCaloPlotter::analyze(), PFJetTester::analyze(), gamma_radiative_analyzer::analyze(), TopHLTDiMuonDQM::analyze(), EwkElecDQM::analyze(), CaloJetTester::analyze(), MuTriggerAnalyzer::analyze(), HLTMonBTagMuSource::analyze(), L25TauAnalyzer::analyze(), PFCandidateChecker::analyze(), GsfElectronFakeAnalyzer::analyze(), MuonEnergyDepositAnalyzer::analyze(), EgammaObjects::analyzeElectrons(), EgammaObjects::analyzePhotons(), JetTagPlotter::analyzeTag(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), AlignmentMuonSelector::basicCuts(), FWMuonDetailView::build(), FWL1MuonParticleLegoProxyBuilder::build(), FWL1JetParticleLegoProxyBuilder::build(), FWElectronDetailView::build(), FWMET3DProxyBuilder::build(), FWPhotonLegoProxyBuilder::build(), FWMuonLegoProxyBuilder::build(), FWJetLegoProxyBuilder::build(), FWPFCandidatesLegoProxyBuilder::build(), FWCaloTowerDetailView::build(), pf2pat::PFIsoDepositAlgo::buildIsoDeposit(), FWMETProxyBuilder::buildViewType(), reco::helper::JetMuonHitsIDHelper::calculate(), JetPlusTrackProducerAA::calculateBGtracksJet(), FWMuonBuilder::calculateField(), JetPlusTrackCorrector::canCorrect(), ElectronClassification::classify(), JetPlusTrackCorrector::correctAA(), JetPlusTrackCorrector::correction(), L1FastjetCorrector::correction(), L6SLBCorrector::correction(), L1OffsetCorrector::correction(), LXXXCorrector::correction(), muonisolation::CaloExtractorByAssociator::deposits(), reco::GenJet::detectorEta(), PFTauDiscriminants::Eta::doComputation(), metsig::SignAlgoResolutions::ElectronPtResolution(), egHLT::OffEle::eta(), reco::tau::disc::Eta(), egHLT::OffPho::eta(), reco::Jet::etaPhiStatistics(), metsig::SignAlgoResolutions::evalPF(), metsig::SignAlgoResolutions::evalPFJet(), ZGlobalVsSAIsolationAnalyzer::evaluate(), TauDiscriminationAgainstMuon< TauType, TauDiscriminator >::evaluateMuonVeto(), PFCandidateManager::fill(), RecoMuonValidatorPF::MuonME::fill(), RecoMuonValidator::MuonME::fill(), TopElectronHLTOfflineSource::EleMEs::fill(), PFJetMonitor::fill(), ZeePlots::fillEleClassesPlots(), ZeeCalibration::fillEleInfo(), EwkMuTauHistManager::fillHistograms(), EwkElecTauHistManager::fillHistograms(), objMon< T >::fillL1MCMatch(), JPTJetTester::fillMatchHists(), CaloJetTester::fillMatchHists(), PFJetTester::fillMatchHists(), objMon< T >::fillMC(), objMon< T >::fillOffMCMatch(), MatchMETBenchmark::fillOne(), METBenchmark::fillOne(), PFMETMonitor::fillOne(), PFCandidateBenchmark::fillOne(), HLTOniaSource::fillOniaTriggerMEs(), objMon< T >::fillOnMCMatch(), PFRootEventManager::fillOutEventWithPFCandidates(), FastL1Region::FillTower(), FastL1Region::FillTower_Scaled(), HSCPTreeBuilder::filter(), WMuNuSelector::filter(), WZInterestingEventSelector::filter(), WMuNuValidator::filter(), PhotonEnrichmentFilter::filter(), HeavyChHiggsToTauNuSkim::filter(), HLTMuonTrackMassFilter::filter(), reco::CentralityProducer::filter(), BCToEFilterAlgo::filter(), doubleEMEnrichingFilterAlgo::filter(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), CalibratableTest::findCandidatesInDeltaR(), TtFullLepHypGenMatch::findMatchingLepton(), PFJetIDSelectionFunctor::firstDataCuts(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), calib::CalibElectron::getCalibModulesWeights(), TxCalculator::getCTx(), dRxyCalculator::getDRxy(), TxyCalculator::getHollSxy(), TxCalculator::getJct(), TxCalculator::getJt(), TxyCalculator::getNumLocalTracks(), getTheTauJet(), TxCalculator::getTx(), TxyCalculator::getTxy(), objMon< T >::hasBPartonInCone(), EtaPtBin::inBin(), CosmicSplitterValidation::is_gold_muon(), SoftElectronCandProducer::isClean(), SoftPFElectronProducer::isClean(), cms::MuonTCMETValueMapProducer::isGoodMuon(), muon::isGoodMuon(), MuonIdProducer::isGoodTrackerMuon(), BPhysicsOniaDQM::isMuonInAccept(), BTagHLTOfflineSource::isMuonJet(), McSelector::isSelected(), BTagHLTOfflineSource::isVBTFMuon(), main(), JetVertexMain::Main(), fireworks::makeEveJetCone(), SignCaloSpecificAlgo::makeVectorOutOfCaloTowers(), L1MuonMatcherAlgo::match(), FWCaloTowerSliceSelector::matchCell(), reco::RecoTauPiZero::maxDeltaEta(), objMon< T >::monitorL1(), objMon< T >::monitorOffline(), objMon< T >::monitorOnline(), muonisolation::CaloExtractor::noiseEcal(), muonisolation::CaloExtractorByAssociator::noiseEcal(), muonisolation::CaloExtractorByAssociator::noiseHcal(), AcceptJet::operator()(), WPlusJetsEventSelector::operator()(), reco::operator<<(), operator<<(), passesElectronId(), passesElectronPreId(), reco::tau::disc::PiZeroEta(), PFAlgo::postMuonCleaning(), reco::GenJet::print(), reco::Jet::print(), reco::GenericJet::print(), PFJetBenchmark::printGenJet(), L25TauAnalyzer::printInfo(), PFCandidateChecker::printJets(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), JetPartonMatcher::produce(), QuarkoniaTrackSelector::produce(), JetIdSelector< T >::produce(), CaloMuonMerger::produce(), cms::MuonMETValueMapProducer::produce(), JetVetoedTracksAssociationDRVertex::produce(), JetTracksAssociationDRVertex::produce(), JetTracksAssociationDRCalo::produce(), CaloTowerCreatorForTauHLT::produce(), CastorClusterProducer::produce(), CaloTowerCandidateCreator::produce(), AcceptJet::ratio(), JetPlusTrackCorrector::rebuildJta(), PFRootEventManager::reconstructGenJets(), reco::tau::RecoTauIsolationMasking::resolution(), ElectronLikelihood::result(), ElectronLikelihood::resultLog(), pf2pat::PFIsoDepositAlgo::sameParticle(), FWCaloTowerDetailView::setTextInfo(), FWElectronDetailView::setTextInfo(), FWPhotonDetailView::setTextInfo(), FWMuonDetailView::setTextInfo(), reco::SoftLeptonTagInfo::taggingVariables(), and reco::tau::disc::TrackEta().
{ return eta_; }
void LeafCandidate::fillVertexCovariance | ( | CovarianceMatrix & | v | ) | const [virtual] |
fill SMatrix
Implements reco::Candidate.
Reimplemented in reco::VertexCompositeCandidate.
Definition at line 100 of file LeafCandidate.cc.
References Exception, and edm::errors::UnimplementedFeature.
Referenced by vertexCovariance().
{ throw edm::Exception(edm::errors::UnimplementedFeature) << "reco::ConcreteCandidate does not implement vertex covariant matrix.\n"; }
T reco::LeafCandidate::get | ( | void | ) | const [inline] |
get a component
Reimplemented from reco::Candidate.
Definition at line 253 of file LeafCandidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), and masterClone().
Referenced by PFTauDiscriminants::PFTauDiscriminantManager::fillOutlierObjects(), cms::HICFTSfromL1orL2::FTSfromL2(), and ElectronLikelihood::getInputVar().
{ if ( hasMasterClone() ) return masterClone()->get<T>(); else return reco::get<T>( * this ); }
T reco::LeafCandidate::get | ( | void | ) | const [inline] |
get a component
Reimplemented from reco::Candidate.
Definition at line 258 of file LeafCandidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), and masterClone().
{ if ( hasMasterClone() ) return masterClone()->get<T, Tag>(); else return reco::get<T, Tag>( * this ); }
get a component
Reimplemented from reco::Candidate.
Definition at line 263 of file LeafCandidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), i, and masterClone().
{ if ( hasMasterClone() ) return masterClone()->get<T>( i ); else return reco::get<T>( * this, i ); }
get a component
Reimplemented from reco::Candidate.
Definition at line 268 of file LeafCandidate.h.
References edm::RefToBase< T >::get(), hasMasterClone(), i, and masterClone().
{ if ( hasMasterClone() ) return masterClone()->get<T, Tag>( i ); else return reco::get<T, Tag>( * this, i ); }
bool LeafCandidate::hasMasterClone | ( | ) | const [virtual] |
returns true if this candidate has a reference to a master clone. This only happens if the concrete Candidate type is ShallowCloneCandidate
Implements reco::Candidate.
Reimplemented in reco::ShallowCloneCandidate.
Definition at line 30 of file LeafCandidate.cc.
Referenced by get(), and numberOf().
{ return false; }
bool LeafCandidate::hasMasterClonePtr | ( | ) | const [virtual] |
returns true if this candidate has a ptr to a master clone. This only happens if the concrete Candidate type is ShallowClonePtrCandidate
Implements reco::Candidate.
Reimplemented in reco::ShallowClonePtrCandidate.
Definition at line 34 of file LeafCandidate.cc.
{ return false; }
bool LeafCandidate::isCaloMuon | ( | ) | const [virtual] |
Implements reco::Candidate.
Reimplemented in reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::Muon.
Definition at line 115 of file LeafCandidate.cc.
{ return false; }
bool LeafCandidate::isConvertedPhoton | ( | ) | const [virtual] |
Implements reco::Candidate.
Reimplemented in reco::ShallowCloneCandidate, and reco::ShallowClonePtrCandidate.
Definition at line 119 of file LeafCandidate.cc.
{ return false; }
bool LeafCandidate::isElectron | ( | ) | const [virtual] |
Implements reco::Candidate.
Reimplemented in reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, reco::Electron, reco::GsfElectron, and reco::SiStripElectron.
Definition at line 105 of file LeafCandidate.cc.
{ return false; }
bool LeafCandidate::isGlobalMuon | ( | ) | const [virtual] |
Implements reco::Candidate.
Reimplemented in reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::Muon.
Definition at line 109 of file LeafCandidate.cc.
{ return false; }
bool LeafCandidate::isJet | ( | ) | const [virtual] |
Implements reco::Candidate.
Reimplemented in reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::Jet.
Definition at line 121 of file LeafCandidate.cc.
{ return false; }
bool LeafCandidate::isMuon | ( | ) | const [virtual] |
Implements reco::Candidate.
Reimplemented in reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::Muon.
Definition at line 107 of file LeafCandidate.cc.
{ return false; }
bool LeafCandidate::isPhoton | ( | ) | const [virtual] |
Implements reco::Candidate.
Reimplemented in reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::Photon.
Definition at line 117 of file LeafCandidate.cc.
{ return false; }
bool LeafCandidate::isStandAloneMuon | ( | ) | const [virtual] |
Implements reco::Candidate.
Reimplemented in reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::Muon.
Definition at line 111 of file LeafCandidate.cc.
{ return false; }
bool LeafCandidate::isTrackerMuon | ( | ) | const [virtual] |
Implements reco::Candidate.
Reimplemented in reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::Muon.
Definition at line 113 of file LeafCandidate.cc.
{ return false; }
virtual bool reco::LeafCandidate::longLived | ( | ) | const [inline, virtual] |
is long lived?
Implements reco::Candidate.
Definition at line 206 of file LeafCandidate.h.
References longLivedTag, and status_.
{ return status_ & longLivedTag; }
virtual double reco::LeafCandidate::mass | ( | ) | const [inline, virtual] |
mass
Implements reco::Candidate.
Definition at line 123 of file LeafCandidate.h.
References mass_.
Referenced by ZMuPtScaleAnalyzer::analyze(), JPTJetAnalyzer::analyze(), HPSPFRecoTauAlgorithm::buildThreeProngs(), JetPlusTrackCorrector::correction(), PFRecoTauCorrectedInvariantMassProducer::discriminate(), PFTauDiscriminants::InvariantMassOfSignal::doComputation(), HSCPTreeBuilder::filter(), reco::tau::disc::InvariantMassOfSignal(), reco::tau::disc::Mass(), reco::operator<<(), WeakEffectsWeightProducer::produce(), ISRGammaWeightProducer::produce(), PdfWeightProducer::produce(), FSRWeightProducer::produce(), and PatJPsiProducer::produce().
{ return mass_; }
virtual bool reco::LeafCandidate::massConstraint | ( | ) | const [inline, virtual] |
do mass constraint?
Implements reco::Candidate.
Definition at line 212 of file LeafCandidate.h.
References massConstraintTag, and status_.
{ return status_ & massConstraintTag; }
virtual double reco::LeafCandidate::massSqr | ( | ) | const [inline, virtual] |
mass squared
Implements reco::Candidate.
Definition at line 125 of file LeafCandidate.h.
References mass_.
Referenced by EwkElecDQM::analyze().
const CandidateBaseRef & LeafCandidate::masterClone | ( | ) | const [virtual] |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowCloneCandidate
Implements reco::Candidate.
Reimplemented in reco::ShallowCloneCandidate.
Definition at line 24 of file LeafCandidate.cc.
References Exception.
Referenced by get(), masterRef(), and numberOf().
{ throw cms::Exception("Invalid Reference") << "this Candidate has no master clone reference." << "Can't call masterClone() method.\n"; }
const CandidatePtr & LeafCandidate::masterClonePtr | ( | ) | const [virtual] |
returns ptr to master clone, if existing. Throws an exception unless the concrete Candidate type is ShallowClonePtrCandidate
Implements reco::Candidate.
Reimplemented in reco::ShallowClonePtrCandidate.
Definition at line 39 of file LeafCandidate.cc.
References Exception.
{ throw cms::Exception("Invalid Reference") << "this Candidate has no master clone ptr." << "Can't call masterClonePtr() method.\n"; }
Ref reco::LeafCandidate::masterRef | ( | ) | const [inline] |
cast master clone reference to a concrete type
Reimplemented from reco::Candidate.
Definition at line 250 of file LeafCandidate.h.
References masterClone().
{ return masterClone().template castTo<Ref>(); }
virtual Vector reco::LeafCandidate::momentum | ( | ) | const [inline, virtual] |
spatial momentum vector
Implements reco::Candidate.
Definition at line 112 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by PFTauExtractor::depositFromObject(), PFTauDiscriminants::MainTrackAngle::doComputation(), PFTauDiscriminants::TrackAngle::doComputation(), PFTauDiscriminants::PiZeroAngle::doComputation(), PFTauDiscriminants::ChargedOutlierAngle::doComputation(), PFTauDiscriminants::NeutralOutlierAngle::doComputation(), PFTauDiscriminants::OutlierAngle::doComputation(), reco::TrackSelector::operator()(), reco::GsfElectron::setCorrectedEcalEnergy(), and reco::Photon::setVertex().
{ cacheCartesian(); return p4Cartesian_.Vect(); }
return mother at a given position (throws an exception)
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefBaseCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefCandidateT< GenParticleRefVector >.
Definition at line 61 of file LeafCandidate.cc.
{
return 0;
}
virtual double reco::LeafCandidate::mt | ( | ) | const [inline, virtual] |
transverse mass
Implements reco::Candidate.
Definition at line 127 of file LeafCandidate.h.
References cachePolar(), and p4Polar_.
Referenced by reco::WMuNuCandidate::massT(), and reco::WMuNuCandidatePtr::massT().
{ cachePolar(); return p4Polar_.Mt(); }
virtual double reco::LeafCandidate::mtSqr | ( | ) | const [inline, virtual] |
transverse mass squared
Implements reco::Candidate.
Definition at line 129 of file LeafCandidate.h.
References cachePolar(), and p4Polar_.
{ cachePolar(); return p4Polar_.Mt2(); }
size_type reco::LeafCandidate::numberOf | ( | ) | const [inline] |
number of components
Reimplemented from reco::Candidate.
Definition at line 278 of file LeafCandidate.h.
References hasMasterClone(), and masterClone().
{ if ( hasMasterClone() ) return masterClone()->numberOf<T, Tag>(); else return reco::numberOf<T, Tag>( * this ); }
size_type reco::LeafCandidate::numberOf | ( | ) | const [inline] |
number of components
Reimplemented from reco::Candidate.
Definition at line 273 of file LeafCandidate.h.
References hasMasterClone(), and masterClone().
{ if ( hasMasterClone() ) return masterClone()->numberOf<T>(); else return reco::numberOf<T>( * this ); }
size_t LeafCandidate::numberOfDaughters | ( | ) | const [virtual] |
number of daughters
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefBaseCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, pat::Jet, and reco::CompositeRefCandidateT< GenParticleRefVector >.
Definition at line 45 of file LeafCandidate.cc.
{
return 0;
}
size_t LeafCandidate::numberOfMothers | ( | ) | const [virtual] |
number of mothers
Implements reco::Candidate.
Reimplemented in reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefBaseCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, and reco::CompositeRefCandidateT< GenParticleRefVector >.
Definition at line 49 of file LeafCandidate.cc.
{
return 0;
}
virtual size_t reco::LeafCandidate::numberOfSourceCandidatePtrs | ( | ) | const [inline, virtual] |
return the number of source Candidates ( the candidates used to construct this Candidate)
Implements reco::Candidate.
Reimplemented in reco::CompositePtrCandidate, reco::PFCandidate, pat::Electron, pat::Muon, and reco::PFTau.
Definition at line 92 of file LeafCandidate.h.
{ return 0;}
bool LeafCandidate::overlap | ( | const Candidate & | o | ) | const [protected, virtual] |
check overlap with another Candidate
Implements reco::Candidate.
Reimplemented in reco::CandidateWithRef< Ref >, reco::CompositeCandidate, reco::CompositePtrCandidate, reco::CompositeRefBaseCandidate, reco::CompositeRefCandidate, reco::CompositeRefCandidateT< D >, reco::ShallowCloneCandidate, reco::ShallowClonePtrCandidate, reco::Electron, reco::GsfElectron, reco::Photon, reco::SiStripElectron, reco::IsolatedPixelTrackCandidate, reco::GenParticle, reco::BasicJet, reco::CaloJet, reco::GenJet, reco::JPTJet, reco::PFClusterJet, reco::PFJet, reco::TrackJet, reco::CaloMET, reco::GenMET, reco::MET, reco::Muon, reco::PFCandidate, reco::CaloRecHitCandidate, reco::RecoCaloTowerCandidate, reco::RecoCandidate, reco::RecoChargedCandidate, reco::RecoEcalCandidate, reco::RecoStandAloneMuonCandidate, reco::BaseTau, reco::CaloTau, reco::PFTau, and reco::CompositeRefCandidateT< GenParticleRefVector >.
Definition at line 53 of file LeafCandidate.cc.
References charge(), reco::Candidate::charge(), p4(), reco::Candidate::p4(), vertex(), and reco::Candidate::vertex().
virtual double reco::LeafCandidate::p | ( | ) | const [inline, virtual] |
magnitude of momentum vector
Implements reco::Candidate.
Definition at line 117 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by ElectronMcFakeValidator::analyze(), GsfElectronDataAnalyzer::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), EwkMuDQM::analyze(), GsfElectronMCAnalyzer::analyze(), JPTJetAnalyzer::analyze(), HiggsDQM::analyze(), GsfElectronFakeAnalyzer::analyze(), JetTagPlotter::analyzeTag(), AlignmentMuonSelector::basicCuts(), reco::Jet::detectorP4(), CaloTower::emP4(), RecoMuonValidator::MuonME::fill(), HLTOniaSource::fillOniaTriggerMEs(), HSCPTreeBuilder::filter(), HLTMuonTrackMassFilter::filter(), CaloTower::hadP4(), BPhysicsOniaDQM::isMuonInAccept(), RecoSelector::isSelected(), AcceptJet::operator()(), CaloTower::p4(), CaloTower::p4_HO(), reco::Jet::physicsP4(), PFAlgo::postMuonCleaning(), reco::GenJet::print(), reco::Jet::print(), reco::GenericJet::print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), QuarkoniaTrackSelector::produce(), PFRootEventManager::reconstructGenJets(), and reco::PFCandidate::setVertex().
{ cacheCartesian(); return p4Cartesian_.P(); }
virtual const LorentzVector& reco::LeafCandidate::p4 | ( | ) | const [inline, virtual] |
four-momentum Lorentz vector
Implements reco::Candidate.
Definition at line 108 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by reco::tau::RecoTauConstructor::addPiZero(), PFCandConnector::analyseNuclearWPrim(), PFCandConnector::analyseNuclearWSec(), HLTMuonMatchAndPlot::analyze(), ResolutionCreator::analyze(), JetAnaPythia< Jet >::analyze(), EwkMuLumiMonitorDQM::analyze(), QcdHighPtDQM::analyze(), CMSDAS11DijetAnalyzer::analyze(), HLTTauDQMCaloPlotter::analyze(), L25TauAnalyzer::analyze(), MuTriggerAnalyzer::analyze(), HPSPFRecoTauAlgorithm::associateIsolationCandidates(), TtSemiLepJetComb::bOverLightQPt(), TtSemiLepJetComb::bQuarkVar(), TtSemiLepHypWMassDeltaTopMass::buildHypo(), pf2pat::PFIsoDepositAlgo::buildIsoDeposit(), HPSPFRecoTauAlgorithm::buildThreeProngs(), reco::tau::disc::ChargedOutlierAngle(), TtSemiLepJetComb::compareBNeutrino(), TtSemiLepJetComb::compareLeptonNeutrino(), TtSemiLepJetComb::compareTopNeutrino(), TtSemiLepJetComb::compareWNeutrino(), TtFullHadKinFitter::KinFit::corJet(), pat::Jet::correctedJet(), pat::Tau::correctedP4(), pat::Jet::correctedP4(), pat::Tau::correctedTauJet(), ZSPJPTJetCorrector::correction(), JetPlusTrackCorrector::correction(), TauJetCorrector::correction(), LXXXCorrector::correction(), PFElectronTranslator::createGsfElectrons(), reco::tau::disc::Dalitz2(), TtSemiLepJetComb::deduceMothers(), PFRecoTauDiscriminationByHPSSelection::discriminate(), PFTauDiscriminants::InvariantMassOfSignalWithFiltered::doComputation(), CaloTower::emEt(), ErsatzMEt::ersatzFabrik(), CaloTower::et(), JetPartonMatcher::fillAlgoritDefinition(), EwkMuTauHistManager::fillHistograms(), EwkElecTauHistManager::fillHistograms(), JetPartonMatcher::fillPhysicsDefinition(), pat::CaloJetSelector::filter(), HLTDiMuonGlbTrkFilter::filter(), HLTMuonTrackMassFilter::filter(), L2TauModularIsolationProducer::getECALHits(), L2TauNarrowConeIsolationProducer::getECALHits(), L2TauModularIsolationProducer::getHCALHits(), L2TauNarrowConeIsolationProducer::getHCALHits(), GeneratorTau::getOpeningAngle(), L2TauModularIsolationProducer::getPFClusters(), GeneratorTau::getVisNuAngle(), CaloTower::hadEt(), reco::tau::RecoTauIsolationMasking::inCone(), pat::Tau::initializeJEC(), pat::Jet::initializeJEC(), reco::tau::disc::JetTauDR(), TtSemiLepJetComb::lightQVar(), reco::tau::disc::MainTrackAngle(), L2TauAnalyzer::match(), L25TauAnalyzer::match(), HLTTauDQMCaloPlotter::match(), L25TauAnalyzer::matchedToPFTau(), HLTTauDQMCaloPlotter::matchJet(), HLTTauDQMTrkPlotter::matchJet(), MuonMETAlgo::MuonMETAlgo_run(), reco::tau::disc::NeutralOutlierAngle(), TtSemiLepJetComb::neutrinoVar(), reco::tau::disc::OpeningAngle3D(), reco::tau::disc::OpeningDeltaR(), reco::tau::RecoTauPhotonFilter::operator()(), TtHadLRJetCombObservables::operator()(), TtDilepLRSignalSelObservables::operator()(), CorrectJet::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), TtSemiLRJetCombObservables::operator()(), JetIDSelectionFunctor::operator()(), CaloTower::outerEt(), reco::tau::disc::OutlierAngle(), overlap(), CaloTower::p(), CaloTower::p4(), egHLT::OffPho::p4(), reco::PFTauDecayMode::PFTauDecayMode(), reco::tau::disc::PiZeroAngle(), reco::RecoTauPiZero::print(), QuarkoniaTrackSelector::produce(), PFRecoTauDecayModeDeterminator::produce(), TruthTauDecayModeProducer::produce(), ISRGammaWeightProducer::produce(), MuonProducer::produce(), TCTauAlgorithm::recalculateEnergy(), TtSemiLepJetComb::relativePtHadronicTop(), reco::PFCandidate::rescaleMomentum(), reco::Jet::scaleEnergy(), reco::GsfElectron::setCorrectedEcalEnergy(), setP4(), reco::Muon::setPFP4(), reco::tau::sumPFCandP4(), PFRootEventManager::tauBenchmark(), reco::tau::disc::TrackAngle(), and pat::TriggerObjectStandAlone::triggerObject().
{ cacheCartesian(); return p4Cartesian_; }
virtual int reco::LeafCandidate::pdgId | ( | ) | const [inline, virtual] |
PDG identifier.
Implements reco::Candidate.
Definition at line 194 of file LeafCandidate.h.
References pdgId_.
Referenced by FBaseSimEvent::addParticles(), ResolutionCreator::analyze(), JetAnaPythia< Jet >::analyze(), ZMuPtScaleAnalyzer::analyze(), PFTester::analyze(), zPdfUnc::analyze(), EWKSystUnc::analyze(), ZLONLOHistogrammer::analyze(), TopDecaySubset::checkShowerModel(), GeneratorTau::computeDecayMode(), TopGenEvent::daughterQuarkOfTop(), GeneratorTau::decayToPDGClassification(), TopDecaySubset::fillListing(), objMon< T >::fillMC(), HSCPTreeBuilder::filter(), HighETPhotonsFilterAlgo::filter(), BCToEFilterAlgo::filter(), doubleEMEnrichingFilterAlgo::filter(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), GenParticlesHelper::findParticles(), InputGenJetsParticleSelector::fromResonance(), pat::PATObject< ObjectType >::genParticleById(), PFJetBenchmark::gettrue(), GenParticlesHelper::hasAncestor(), objMon< T >::hasBPartonInCone(), BCToEFilterAlgo::isBCBaryon(), doubleEMEnrichingFilterAlgo::isBCBaryon(), doubleEMEnrichingFilterAlgo::isBCMeson(), BCToEFilterAlgo::isBCMeson(), HiGammaJetSignalDef::IsIsolated(), HiPhotonType::IsPrompt(), McSelector::isSelected(), JetMaker::makeSpecific(), BasicGenParticleValidation::matchParticles(), objMon< T >::monitorL1(), objMon< T >::monitorOffline(), objMon< T >::monitorOnline(), reco::RecoTauPiZero::numberOfElectrons(), reco::RecoTauPiZero::numberOfGammas(), TtDilepLRSignalSelObservables::operator()(), PartonQualifier::operator()(), reco::GenJet::print(), PFJetBenchmark::printGenJet(), JetPartonMatcher::produce(), PartonSelector::produce(), InputGenJetsParticleSelector::produce(), WeakEffectsWeightProducer::produce(), ISRWeightProducer::produce(), ISRGammaWeightProducer::produce(), FSRWeightProducer::produce(), PdfWeightProducer::produce(), MuonProducer::produce(), PFRootEventManager::reconstructGenJets(), setPdgId(), and pat::TriggerObjectStandAlone::triggerObject().
{ return pdgId_; }
virtual double reco::LeafCandidate::phi | ( | ) | const [inline, virtual] |
momentum azimuthal angle
Implements reco::Candidate.
Reimplemented in reco::CastorTower, reco::EcalIsolatedParticleCandidate, and pat::MHT.
Definition at line 139 of file LeafCandidate.h.
References phi_.
Referenced by reco::WMuNuCandidate::acop(), ZIterativeAlgorithmWithFit::addEvent(), CaloSpecificAlgo::addInfo(), FWElectronDetailView::addSceneInfo(), FWMuonDetailView::addSceneInfo(), ZMuMuIsolationAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), METTester::analyze(), HLTMuonMatchAndPlot::analyze(), GsfElectronDataAnalyzer::analyze(), JetValidation::analyze(), PhotonValidator::analyze(), EwkMuLumiMonitorDQM::analyze(), ErsatzMEt::analyze(), RPCRecHitProbability::analyze(), PatPhotonSimpleAnalyzer::analyze(), JPTJetTester::analyze(), PatZjetsJetAnalyzer::analyze(), WenuPlots::analyze(), ZMuMu_Radiative_analyzer::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), FlavorJetCorrectionExample::analyze(), PFTester::analyze(), ElectronTagProbeAnalyzer::analyze(), PartonJetCorrectionExample::analyze(), IsolatedParticlesGeneratedJets::analyze(), EwkMuDQM::analyze(), PatTauAnalyzer::analyze(), HLTMonBTagIPSource::analyze(), GsfElectronMCAnalyzer::analyze(), SimplePhotonAnalyzer::analyze(), CMSDAS11DijetAnalyzer::analyze(), HLTTauDQMCaloPlotter::analyze(), DQMHcalDiJetsAlCaReco::analyze(), JPTJetAnalyzer::analyze(), SimplePi0DiscAnalyzer::analyze(), PFJetTester::analyze(), EwkElecDQM::analyze(), TopHLTDiMuonDQM::analyze(), CaloJetTester::analyze(), L25TauAnalyzer::analyze(), HLTMonBTagMuSource::analyze(), CaloTowerAnalyzer::analyze(), PFCandidateChecker::analyze(), GsfElectronFakeAnalyzer::analyze(), myJetAna::analyze(), JetTagPlotter::analyzeTag(), JetTracksAssociationXtrpCalo::associateInputTracksToJet(), AlignmentMuonSelector::basicCuts(), FWMuonDetailView::build(), FWL1MuonParticleLegoProxyBuilder::build(), FWL1JetParticleLegoProxyBuilder::build(), FWL1JetParticleProxyBuilder::build(), FWMET3DProxyBuilder::build(), FWElectronDetailView::build(), FWL1EmParticleProxyBuilder::build(), FWPhotonLegoProxyBuilder::build(), FWL1EtMissParticleLegoProxyBuilder::build(), FWMuonLegoProxyBuilder::build(), FWJetLegoProxyBuilder::build(), FWL1EtMissParticleGlimpseProxyBuilder::build(), FWL1EtMissParticleProxyBuilder::build(), FWL1MuonParticleProxyBuilder::build(), FWCaloTowerDetailView::build(), FWMETLegoProxyBuilder::build(), FWPFCandidatesLegoProxyBuilder::build(), FWMETGlimpseProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), pf2pat::PFIsoDepositAlgo::buildIsoDeposit(), FWPhotonProxyBuilder::buildViewType(), FWJetProxyBuilder::buildViewType(), FWMETProxyBuilder::buildViewType(), FWElectronProxyBuilder::buildViewType(), GlobalHaloAlgo::Calculate(), reco::helper::CastorJetIDHelper::calculate(), reco::helper::JetMuonHitsIDHelper::calculate(), JetPlusTrackProducerAA::calculateBGtracksJet(), PFMETBenchmark::calculateQuantities(), AlignmentTwoBodyDecayTrackSelector::checkMETAcoplanarity(), JetPlusTrackCorrector::correction(), L6SLBCorrector::correction(), METManager::coutTailEvents(), EMEnrichingFilterAlgo::deltaRxyAtEE(), doubleEMEnrichingFilterAlgo::deltaRxyAtEE(), muonisolation::CaloExtractorByAssociator::deposits(), reco::Jet::etaphiMoment(), reco::Jet::etaPhiStatistics(), metsig::SignAlgoResolutions::evalPF(), metsig::SignAlgoResolutions::evalPFJet(), ZGlobalVsSAIsolationAnalyzer::evaluate(), TauDiscriminationAgainstMuon< TauType, TauDiscriminator >::evaluateMuonVeto(), PFCandidateManager::fill(), RecoMuonValidator::MuonME::fill(), TopElectronHLTOfflineSource::EleMEs::fill(), PFJetMonitor::fill(), ZeeCalibration::fillEleInfo(), EwkMuTauHistManager::fillHistograms(), EwkElecTauHistManager::fillHistograms(), objMon< T >::fillL1MCMatch(), JPTJetTester::fillMatchHists(), CaloJetTester::fillMatchHists(), PFJetTester::fillMatchHists(), objMon< T >::fillMC(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMBTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMuTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTriggerwrtMuonTrigger(), CaloMETAnalyzer::fillMonitorElement(), MuCorrMETAnalyzer::fillMonitorElement(), METAnalyzer::fillMonitorElement(), PFMETAnalyzer::fillMonitorElement(), TcMETAnalyzer::fillMonitorElement(), objMon< T >::fillOffMCMatch(), MatchMETBenchmark::fillOne(), METBenchmark::fillOne(), PFMETMonitor::fillOne(), PFCandidateBenchmark::fillOne(), HLTOniaSource::fillOniaTriggerMEs(), objMon< T >::fillOnMCMatch(), PFRootEventManager::fillOutEventWithPFCandidates(), HSCPTreeBuilder::filter(), WZInterestingEventSelector::filter(), WMuNuValidator::filter(), HeavyChHiggsToTauNuSkim::filter(), HLTMuonTrackMassFilter::filter(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), CalibratableTest::findCandidatesInDeltaR(), TtFullLepHypGenMatch::findMatchingLepton(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), TxCalculator::getCTx(), dRxyCalculator::getDRxy(), TxyCalculator::getHollSxy(), TxCalculator::getJct(), TxCalculator::getJt(), TxyCalculator::getNumLocalTracks(), TxCalculator::getTx(), TxyCalculator::getTxy(), objMon< T >::hasBPartonInCone(), SoftElectronCandProducer::isClean(), SoftPFElectronProducer::isClean(), BTagHLTOfflineSource::isMuonJet(), JetVertexMain::Main(), main(), fireworks::makeEveJetCone(), SignCaloSpecificAlgo::makeVectorOutOfCaloTowers(), L1MuonMatcherAlgo::match(), FWCaloTowerSliceSelector::matchCell(), objMon< T >::monitorL1(), objMon< T >::monitorOffline(), objMon< T >::monitorOnline(), JetIDStudiesSelector::operator()(), WPlusJetsEventSelector::operator()(), reco::operator<<(), operator<<(), egHLT::OffPho::phi(), egHLT::OffEle::phi(), MuonIdProducer::phiOfMuonIneteractionRegion(), reco::Jet::phiphiMoment(), reco::GenJet::print(), reco::GenericJet::print(), reco::Jet::print(), PFJetBenchmark::printGenJet(), L25TauAnalyzer::printInfo(), PFCandidateChecker::printJets(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), JetPartonMatcher::produce(), pf2pat::PFMETAlgo::produce(), JetTracksAssociationDRCalo::produce(), JetTracksAssociationDRVertex::produce(), CaloTowerCreatorForTauHLT::produce(), JetVetoedTracksAssociationDRVertex::produce(), CastorClusterProducer::produce(), cms::AlCaDiJetsProducer::produce(), FSRWeightProducer::produce(), CaloTowerCandidateCreator::produce(), AcceptJet::ratio(), JetPlusTrackCorrector::rebuildJta(), PFRootEventManager::reconstructGenJets(), reco::tau::RecoTauIsolationMasking::resolution(), FWCaloTowerDetailView::setTextInfo(), FWElectronDetailView::setTextInfo(), FWPhotonDetailView::setTextInfo(), FWMuonDetailView::setTextInfo(), pat::LeptonJetIsolationAngle::spaceAngle(), reco::SoftLeptonTagInfo::taggingVariables(), pat::MET::uncorrectedPhi(), and PFMETAnalyzer::validateMET().
{ return phi_; }
virtual const PolarLorentzVector& reco::LeafCandidate::polarP4 | ( | ) | const [inline, virtual] |
four-momentum Lorentz vector
Implements reco::Candidate.
Definition at line 110 of file LeafCandidate.h.
References cachePolar(), and p4Polar_.
{ cachePolar(); return p4Polar_; }
double LeafCandidate::pt | ( | ) | const [virtual] |
transverse momentum
Implements reco::Candidate.
Reimplemented in reco::SiStripElectron.
Definition at line 127 of file LeafCandidate.cc.
References pt_.
Referenced by StKinFitter::addKinFitInfo(), METTester::analyze(), ElectronMcFakeValidator::analyze(), ZMuMuIsolationAnalyzer::analyze(), HLTMuonMatchAndPlot::analyze(), GsfElectronDataAnalyzer::analyze(), JetValidation::analyze(), GlbMuQualityCutsAnalysis::analyze(), BeamHaloAnalyzer::analyze(), EwkMuLumiMonitorDQM::analyze(), ErsatzMEt::analyze(), JPTJetTester::analyze(), RPCRecHitProbability::analyze(), PatZjetsJetAnalyzer::analyze(), ElectronMcSignalValidator::analyze(), testAnalyzer::analyze(), ZMuMu_Radiative_analyzer::analyze(), RPCMonitorDigi::analyze(), SUSYDQMAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), FlavorJetCorrectionExample::analyze(), QcdHighPtDQM::analyze(), ElectronTagProbeAnalyzer::analyze(), PartonJetCorrectionExample::analyze(), IsolatedParticlesGeneratedJets::analyze(), EwkMuDQM::analyze(), PatTauAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), CMSDAS11DijetAnalyzer::analyze(), PFJetTester::analyze(), HLTTauDQMCaloPlotter::analyze(), JPTJetAnalyzer::analyze(), CaloJetTester::analyze(), EwkElecDQM::analyze(), gamma_radiative_analyzer::analyze(), HiggsDQM::analyze(), MuTriggerAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), myJetAna::analyze(), HLTHiggsTruth::analyzeHWW2l(), JetTagPlotter::analyzeTag(), AlignmentMuonSelector::basicCuts(), FWL1JetParticleProxyBuilder::build(), FWL1EmParticleProxyBuilder::build(), FWL1EtMissParticleProxyBuilder::build(), FWL1MuonParticleProxyBuilder::build(), FWPFCandidatesLegoProxyBuilder::build(), HPSPFRecoTauAlgorithm::buildThreeProngs(), reco::helper::JetIDHelper::calculate(), GlobalHaloAlgo::Calculate(), pat::LeptonJetIsolationAngle::calculate(), FWMuonBuilder::calculateField(), PFMETBenchmark::calculateQuantities(), reco::tau::disc::ChargedOutlierPt(), PFAlgo::checkCleaning(), pat::MET::checkUncor_(), CMSDAS11DijetAnalyzer::compare_JetPt(), CMSDAS11DijetTestAnalyzer::compare_JetPt(), JetPlusTrackCorrector::correction(), L1FastjetCorrector::correction(), L6SLBCorrector::correction(), LXXXCorrector::correction(), TCMETAlgo::correctSumEtForMuon(), METManager::coutTailEvents(), CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), PFTauDiscriminants::Pt::doComputation(), reco::PFTau::dump(), WZInterestingEventSelector::electronSelection(), reco::tau::disc::EMFraction(), metsig::SignAlgoResolutions::evalPFJet(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), PFCandidateManager::fill(), TopSingleLepton::MonitorEnsemble::fill(), RecoMuonValidatorPF::MuonME::fill(), RecoMuonValidator::MuonME::fill(), TopDiLeptonOffline::MonitorEnsemble::fill(), PFJetMonitor::fill(), EwkMuTauHistManager::fillHistograms(), EwkElecTauHistManager::fillHistograms(), objMon< T >::fillL1MCMatch(), JPTJetTester::fillMatchHists(), CaloJetTester::fillMatchHists(), PFJetTester::fillMatchHists(), objMon< T >::fillMC(), JetMETHLTOfflineSource::fillMEforEffAllTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMBTrigger(), JetMETHLTOfflineSource::fillMEforEffWrtMuTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTrigger(), JetMETHLTOfflineSource::fillMEforMonAllTriggerwrtMuonTrigger(), JetMETHLTOfflineSource::fillMEforTriggerNTfired(), CaloMETAnalyzer::fillMonitorElement(), MuCorrMETAnalyzer::fillMonitorElement(), METAnalyzer::fillMonitorElement(), PFMETAnalyzer::fillMonitorElement(), TcMETAnalyzer::fillMonitorElement(), objMon< T >::fillOffMCMatch(), MatchMETBenchmark::fillOne(), METBenchmark::fillOne(), PFMETMonitor::fillOne(), PFCandidateBenchmark::fillOne(), HLTOniaSource::fillOniaTriggerMEs(), objMon< T >::fillOnMCMatch(), HLTHcalNoiseFilter::filter(), HSCPTreeBuilder::filter(), WZInterestingEventSelector::filter(), WMuNuSelector::filter(), LeptonRecoSkim::filter(), HLTDiMuonGlbTrkFilter::filter(), WMuNuValidator::filter(), reco::tau::RecoTauPhotonFilter::filter(), HLTMuonTrackMassFilter::filter(), NJetsMC::filter(), reco::CentralityProducer::filter(), myFilter::filter(), MuonVPlusJetsIDSelectionFunctor::firstDataCuts(), FWLegoEvePFCandidate::FWLegoEvePFCandidate(), getTheElectron(), getTheMuon(), getTheTauJet(), PFCandidateChecker::greaterPt(), PFRootEventManager::highPtPFCandidate(), EtaPtBin::inBin(), SoftElectronCandProducer::isClean(), SoftPFElectronProducer::isClean(), cms::MuonTCMETValueMapProducer::isGoodCaloMuon(), cms::MuonTCMETValueMapProducer::isGoodMuon(), muon::isGoodMuon(), MuonIdProducer::isGoodTrackerMuon(), HiGammaJetSignalDef::IsIsolated(), MuTriggerAnalyzer::IsMuMatchedToHLTMu(), BPhysicsOniaDQM::isMuonInAccept(), reco::tau::disc::IsolationChargedSumHard(), reco::tau::disc::IsolationChargedSumSoft(), reco::tau::disc::IsolationECALSumHard(), reco::tau::disc::IsolationECALSumSoft(), RecoSelector::isSelected(), McSelector::isSelected(), BTagHLTOfflineSource::isVBTFMuon(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), main(), pat::MHT::mht(), objMon< T >::monitorL1(), objMon< T >::monitorOffline(), objMon< T >::monitorOnline(), EwkMuLumiMonitorDQM::muIso(), reco::tau::disc::NeutralOutlierPt(), CaloJetSort::operator()(), L2TauJetsMerger::SorterByPt::operator()(), AcceptJet::operator()(), TtHadLRJetCombObservables::operator()(), TtSemiLepSignalSelMVATrainer::JetwithHigherPt::operator()(), HPSPFRecoTauAlgorithm::HPSTauPtSorter::operator()(), WMuNuProducer::ComparePt::operator()(), BasicJetSort::operator()(), reco::tau::RecoTauPiZeroStripPlugin::operator()(), MuScleFitUtils::byPt::operator()(), GenJetSort::operator()(), AlignmentMuonSelector::ComparePt::operator()(), WSelector::operator()(), WPlusJetsEventSelector::operator()(), HLTTauDQMCaloPlotter::SorterByPt::operator()(), TtSemiLRJetCombObservables::operator()(), reco::operator<<(), reco::tau::disc::OutlierPt(), muon::overlap(), PhotonSelectorAlgo::passPhotonSelection(), reco::tau::disc::PiZeroPt(), PFAlgo::postCleaning(), PFAlgo::postMuonCleaning(), PatJetAnalyzer::print(), reco::GenJet::print(), reco::GenericJet::print(), reco::Jet::print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), PFJetBenchmark::process(), QuarkoniaTrackSelector::produce(), WMuNuProducer::produce(), JetPartonMatcher::produce(), AlCaHcalNoiseProducer::produce(), InputGenJetsParticleSelector::produce(), CaloMuonMerger::produce(), cms::MuonMETValueMapProducer::produce(), ISRWeightProducer::produce(), L2TauJetsProvider::produce(), reco::tau::disc::Pt(), egHLT::OffPho::pt(), reco::tau::qcuts::ptMin(), PFRootEventManager::reconstructGenJets(), ElectronLikelihood::result(), ElectronLikelihood::resultLog(), reco::tau::disc::ScaledOpeningDeltaR(), FWMuonDetailView::setTextInfo(), reco::tau::disc::SignalPtFraction(), MuonVPlusJetsIDSelectionFunctor::spring10Cuts(), PFMuonSelector::spring11Cuts(), MuonVPlusJetsIDSelectionFunctor::summer08Cuts(), reco::tau::sumPFCandPt(), reco::tau::disc::TrackPt(), pat::MET::uncorrectedPt(), CaloMETAnalyzer::validateMET(), and PFMETAnalyzer::validateMET().
{ return pt_; }
virtual double reco::LeafCandidate::px | ( | ) | const [inline, virtual] |
x coordinate of momentum vector
Implements reco::Candidate.
Definition at line 131 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by StKinFitter::addKinFitInfo(), TtFullLepKinSolver::addKinSolInfo(), FBaseSimEvent::addParticles(), METTester::analyze(), EwkMuLumiMonitorDQM::analyze(), JPTJetTester::analyze(), EwkMuDQM::analyze(), PFJetTester::analyze(), JPTJetAnalyzer::analyze(), CaloJetTester::analyze(), EwkElecDQM::analyze(), HiggsDQM::analyze(), myJetAna::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWPFCandidate3DProxyBuilder::build(), reco::FlavorHistoryEvent::cache(), pat::LeptonJetIsolationAngle::calculate(), MEzCalculator::Calculate(), PFMETBenchmark::calculateQuantities(), PFAlgo::checkCleaning(), JetPlusTrackCorrector::correction(), L1JPTOffsetCorrector::correction(), TCMETAlgo::correctMETforMuon(), EwkMuTauHistManager::fillHistograms(), EwkElecTauHistManager::fillHistograms(), CaloMETAnalyzer::fillMonitorElement(), MuCorrMETAnalyzer::fillMonitorElement(), PFMETAnalyzer::fillMonitorElement(), METAnalyzer::fillMonitorElement(), TcMETAnalyzer::fillMonitorElement(), MatchMETBenchmark::fillOne(), METBenchmark::fillOne(), PFMETMonitor::fillOne(), FastL1Region::FillTower(), FastL1Region::FillTower_Scaled(), HSCPTreeBuilder::filter(), WMuNuSelector::filter(), WMuNuValidator::filter(), TtFullHadKinFitter::fit(), TtSemiLepKinFitter::fit(), reco::GlobalHaloData::GetCorrectedCaloMET(), InvariantMassAlgorithm::getMinimumClusterDR(), reco::IsolatedTauTagInfo::leadingSignalTrack(), main(), reco::WMuNuCandidate::massT(), MatchJet::matchCollections(), BasicGenParticleValidation::matchParticles(), TtSemiLRSignalSelObservables::operator()(), PFAlgo::postCleaning(), PFAlgo::postMuonCleaning(), MEzCalculator::Print(), reco::Jet::print(), reco::GenericJet::print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), WMuNuProducer::produce(), InvariantMass< T1, T2 >::produce(), JetPlusTrackProducerAA::produce(), JetPlusTrackProducer::produce(), JetEnergyShift::produce(), METManager::propagateJEC(), TCTauAlgorithm::recalculateEnergy(), EcalTDigitizer< ESDigitizerTraits >::run(), TauMETAlgo::run(), pat::MET::setPtPhi_(), reco::MET::significance(), ImpactParameterAlgorithm::tag(), CaloMETAnalyzer::validateMET(), PFMETAnalyzer::validateMET(), and reco::WMuNuCandidatePtr::WMuNuCandidatePtr().
{ cacheCartesian(); return p4Cartesian_.Px(); }
virtual double reco::LeafCandidate::py | ( | ) | const [inline, virtual] |
y coordinate of momentum vector
Implements reco::Candidate.
Definition at line 133 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by StKinFitter::addKinFitInfo(), TtFullLepKinSolver::addKinSolInfo(), FBaseSimEvent::addParticles(), ElectronMcFakeValidator::analyze(), METTester::analyze(), GsfElectronDataAnalyzer::analyze(), EwkMuLumiMonitorDQM::analyze(), JPTJetTester::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), EwkMuDQM::analyze(), GsfElectronMCAnalyzer::analyze(), JPTJetAnalyzer::analyze(), PFJetTester::analyze(), EwkElecDQM::analyze(), CaloJetTester::analyze(), HiggsDQM::analyze(), GsfElectronFakeAnalyzer::analyze(), myJetAna::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWPFCandidate3DProxyBuilder::build(), reco::FlavorHistoryEvent::cache(), MEzCalculator::Calculate(), pat::LeptonJetIsolationAngle::calculate(), PFMETBenchmark::calculateQuantities(), PFAlgo::checkCleaning(), JetPlusTrackCorrector::correction(), L1JPTOffsetCorrector::correction(), TCMETAlgo::correctMETforMuon(), EwkMuTauHistManager::fillHistograms(), EwkElecTauHistManager::fillHistograms(), CaloMETAnalyzer::fillMonitorElement(), MuCorrMETAnalyzer::fillMonitorElement(), METAnalyzer::fillMonitorElement(), PFMETAnalyzer::fillMonitorElement(), TcMETAnalyzer::fillMonitorElement(), MatchMETBenchmark::fillOne(), METBenchmark::fillOne(), PFMETMonitor::fillOne(), FastL1Region::FillTower(), FastL1Region::FillTower_Scaled(), HSCPTreeBuilder::filter(), WMuNuSelector::filter(), WMuNuValidator::filter(), TtFullHadKinFitter::fit(), TtSemiLepKinFitter::fit(), reco::GlobalHaloData::GetCorrectedCaloMET(), InvariantMassAlgorithm::getMinimumClusterDR(), reco::IsolatedTauTagInfo::leadingSignalTrack(), main(), reco::WMuNuCandidate::massT(), MatchJet::matchCollections(), BasicGenParticleValidation::matchParticles(), TtSemiLRSignalSelObservables::operator()(), PFAlgo::postCleaning(), PFAlgo::postMuonCleaning(), MEzCalculator::Print(), reco::GenericJet::print(), reco::Jet::print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), WMuNuProducer::produce(), InvariantMass< T1, T2 >::produce(), JetPlusTrackProducerAA::produce(), JetPlusTrackProducer::produce(), JetEnergyShift::produce(), METManager::propagateJEC(), TCTauAlgorithm::recalculateEnergy(), EcalTDigitizer< ESDigitizerTraits >::run(), TauMETAlgo::run(), pat::MET::setPtPhi_(), reco::MET::significance(), ImpactParameterAlgorithm::tag(), CaloMETAnalyzer::validateMET(), and PFMETAnalyzer::validateMET().
{ cacheCartesian(); return p4Cartesian_.Py(); }
virtual double reco::LeafCandidate::pz | ( | ) | const [inline, virtual] |
z coordinate of momentum vector
Implements reco::Candidate.
Reimplemented in reco::SiStripElectron.
Definition at line 135 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by StKinFitter::addKinFitInfo(), TtFullLepKinSolver::addKinSolInfo(), FBaseSimEvent::addParticles(), EwkMuDQM::analyze(), JPTJetAnalyzer::analyze(), EwkElecDQM::analyze(), HiggsDQM::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), FWPFCandidate3DProxyBuilder::build(), reco::FlavorHistoryEvent::cache(), MEzCalculator::Calculate(), pat::LeptonJetIsolationAngle::calculate(), JetPlusTrackCorrector::correction(), L1JPTOffsetCorrector::correction(), EMEnrichingFilterAlgo::deltaRxyAtEE(), doubleEMEnrichingFilterAlgo::deltaRxyAtEE(), HSCPTreeBuilder::filter(), TtFullHadKinFitter::fit(), TtSemiLepKinFitter::fit(), reco::GlobalHaloData::GetCorrectedCaloMET(), InvariantMassAlgorithm::getMinimumClusterDR(), reco::IsolatedTauTagInfo::leadingSignalTrack(), main(), MatchJet::matchCollections(), BasicGenParticleValidation::matchParticles(), TtSemiLRSignalSelObservables::operator()(), MEzCalculator::Print(), reco::Jet::print(), reco::GenericJet::print(), PFJetBenchmark::printGenJet(), PFJetBenchmark::printPFJet(), WMuNuProducer::produce(), InvariantMass< T1, T2 >::produce(), JetPlusTrackProducerAA::produce(), JetPlusTrackProducer::produce(), TCTauAlgorithm::recalculateEnergy(), and ImpactParameterAlgorithm::tag().
{ cacheCartesian(); return p4Cartesian_.Pz(); }
virtual double reco::LeafCandidate::rapidity | ( | ) | const [inline, virtual] |
rapidity
Implements reco::Candidate.
Definition at line 145 of file LeafCandidate.h.
References cachePolar(), and p4Polar_.
Referenced by y().
{ cachePolar(); return p4Polar_.Rapidity(); }
virtual void reco::LeafCandidate::setCharge | ( | Charge | q | ) | [inline, virtual] |
set electric charge
Implements reco::Candidate.
Definition at line 102 of file LeafCandidate.h.
References qx3_.
Referenced by MuonsFromRefitTracksProducer::cloneAndSwitchTrack(), converter::SuperClusterToCandidate::convert(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), pat::GenericParticle::fillInFrom(), MuScleFitFilter::filter(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::PFTauDecayMode::PFTauDecayMode(), GlobalMuonToMuonProducer::produce(), TauGenJetProducer::produce(), and reco::writeSpecific().
virtual void reco::LeafCandidate::setLongLived | ( | ) | [inline, virtual] |
set long lived flag
Implements reco::Candidate.
Definition at line 204 of file LeafCandidate.h.
References longLivedTag, and status_.
{ status_ |= longLivedTag; }
virtual void reco::LeafCandidate::setMass | ( | double | m | ) | [inline, virtual] |
set particle mass
Implements reco::Candidate.
Definition at line 170 of file LeafCandidate.h.
References clearCache(), m, and mass_.
Referenced by PFRecoTauDecayModeDeterminator::produce(), and RecoTauPiZeroProducer::produce().
{ mass_ = m; clearCache(); }
virtual void reco::LeafCandidate::setMassConstraint | ( | ) | [inline, virtual] |
set mass constraint flag
Implements reco::Candidate.
Definition at line 210 of file LeafCandidate.h.
References massConstraintTag, and status_.
{ status_ |= massConstraintTag;}
virtual void reco::LeafCandidate::setP4 | ( | const LorentzVector & | p4 | ) | [inline, virtual] |
set 4-momentum
Implements reco::Candidate.
Definition at line 149 of file LeafCandidate.h.
References cacheCartesianFixed_, cachePolarFixed_, eta_, mass_, p4(), p4Cartesian_, p4Polar_, phi_, and pt_.
Referenced by EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), HPSPFRecoTauAlgorithm::buildPFTau(), MuonsFromRefitTracksProducer::cloneAndSwitchTrack(), converter::SuperClusterToCandidate::convert(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), GenParticleProducer::convertParticle(), TtFullHadKinFitter::KinFit::corJet(), pat::Jet::correctedJet(), pat::Tau::correctedTauJet(), pat::GenericParticle::fillInFrom(), pat::PATMuonProducer::fillMuon(), MuScleFitFilter::filter(), pat::Tau::initializeJEC(), pat::Jet::initializeJEC(), reco::tau::RecoTauPhotonFilter::operator()(), reco::tau::RecoTauTwoProngFilter::operator()(), reco::PFTauDecayMode::PFTauDecayMode(), GlobalMuonToMuonProducer::produce(), TCRecoTauProducer::produce(), DistortedPFCandProducer::produce(), DistortedMuonProducerFromDB::produce(), MuScleFitMuonProducer::produce(), TCTauAlgorithm::recalculateEnergy(), HPSPFRecoTauAlgorithm::refitThreeProng(), reco::PFCandidate::rescaleMomentum(), reco::Jet::scaleEnergy(), CandCommonVertexFitterBase::set(), CandKinematicVertexFitter::set(), PFCandCommonVertexFitterBase::set(), MEzCalculator::SetLepton(), MEzCalculator::SetMET(), and reco::Photon::setVertex().
{ p4Cartesian_ = p4; p4Polar_ = p4; pt_ = p4Polar_.pt(); eta_ = p4Polar_.eta(); phi_ = p4Polar_.phi(); mass_ = p4Polar_.mass(); cachePolarFixed_ = true; cacheCartesianFixed_ = true; }
virtual void reco::LeafCandidate::setP4 | ( | const PolarLorentzVector & | p4 | ) | [inline, virtual] |
set 4-momentum
Implements reco::Candidate.
Definition at line 160 of file LeafCandidate.h.
References cacheCartesianFixed_, cachePolarFixed_, eta_, mass_, p4(), p4Polar_, phi_, and pt_.
virtual void reco::LeafCandidate::setPdgId | ( | int | pdgId | ) | [inline, virtual] |
Implements reco::Candidate.
Definition at line 196 of file LeafCandidate.h.
References pdgId(), and pdgId_.
Referenced by converter::SuperClusterToCandidate::convert(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), GenParticleProducer::convertParticle(), pat::GenericParticle::fillInFrom(), reco::PFCandidate::PFCandidate(), reco::PFTauDecayMode::PFTauDecayMode(), L2TauJetsMerger::produce(), IsolatedTauJetsSelector::produce(), reco::RecoTauPiZero::RecoTauPiZero(), and reco::PFCandidate::setParticleType().
virtual void reco::LeafCandidate::setPz | ( | double | pz | ) | [inline, virtual] |
Implements reco::Candidate.
Definition at line 174 of file LeafCandidate.h.
References cacheCartesian(), eta_, mass_, p4Cartesian_, p4Polar_, phi_, and pt_.
{ cacheCartesian(); p4Cartesian_.SetPz(pz); p4Polar_ = p4Cartesian_; pt_ = p4Polar_.pt(); eta_ = p4Polar_.eta(); phi_ = p4Polar_.phi(); mass_ = p4Polar_.mass(); }
virtual void reco::LeafCandidate::setStatus | ( | int | status | ) | [inline, virtual] |
set status word
Implements reco::Candidate.
Definition at line 200 of file LeafCandidate.h.
References status(), and status_.
Referenced by GenParticleProducer::convertParticle(), pat::GenericParticle::fillInFrom(), and reco::PFTauDecayMode::PFTauDecayMode().
virtual void reco::LeafCandidate::setThreeCharge | ( | Charge | qx3 | ) | [inline, virtual] |
set electric charge
Implements reco::Candidate.
Definition at line 106 of file LeafCandidate.h.
References qx3_.
Referenced by GenParticleProducer::convertParticle().
{ qx3_ = qx3; }
virtual void reco::LeafCandidate::setVertex | ( | const Point & | vertex | ) | [inline, virtual] |
set vertex
Implements reco::Candidate.
Reimplemented in reco::Photon.
Definition at line 192 of file LeafCandidate.h.
References vertex(), and vertex_.
Referenced by MuonsFromRefitTracksProducer::cloneAndSwitchTrack(), converter::SuperClusterToCandidate::convert(), converter::StandAloneMuonTrackToCandidate::convert(), converter::TrackToCandidate::convert(), GenParticleProducer::convertParticle(), pat::GenericParticle::fillInFrom(), GlobalMuonToMuonProducer::produce(), FastjetJetProducer::produceTrackJets(), HPSPFRecoTauAlgorithm::refitThreeProng(), CandCommonVertexFitterBase::set(), CandKinematicVertexFitter::set(), and PFCandCommonVertexFitterBase::set().
virtual CandidatePtr reco::LeafCandidate::sourceCandidatePtr | ( | size_type | i | ) | const [inline, virtual] |
return a Ptr to one of the source Candidates ( the candidates used to construct this Candidate)
Reimplemented from reco::Candidate.
Reimplemented in reco::CompositePtrCandidate, reco::PFCandidate, pat::Electron, pat::Muon, and reco::PFTau.
Definition at line 95 of file LeafCandidate.h.
{ return CandidatePtr(); }
virtual int reco::LeafCandidate::status | ( | ) | const [inline, virtual] |
status word
Implements reco::Candidate.
Definition at line 198 of file LeafCandidate.h.
References status_.
Referenced by FBaseSimEvent::addParticles(), ResolutionCreator::analyze(), JetAnaPythia< Jet >::analyze(), ZMuPtScaleAnalyzer::analyze(), zPdfUnc::analyze(), ZLONLOHistogrammer::analyze(), EWKSystUnc::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), GeneratorTau::computeDecayMode(), GeneratorTau::computeStableDecayProducts(), GeneratorTau::decayToPDGClassification(), objMon< T >::fillMC(), HSCPTreeBuilder::filter(), HighETPhotonsFilterAlgo::filter(), BCToEFilterAlgo::filter(), doubleEMEnrichingFilterAlgo::filter(), doubleEMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterIsoGenPar(), EMEnrichingFilterAlgo::filterPhotonElectronSeed(), doubleEMEnrichingFilterAlgo::filterPhotonElectronSeed(), GenParticlesHelper::findParticles(), InputGenJetsParticleSelector::fromResonance(), pat::PATObject< ObjectType >::genParticleById(), GenParticlesHelper::hasAncestor(), HiGammaJetSignalDef::IsIsolated(), HiGammaJetSignalDef::IsIsolatedJP(), HiGammaJetSignalDef::IsIsolatedPP(), McSelector::isSelected(), objMon< T >::monitorL1(), objMon< T >::monitorOffline(), objMon< T >::monitorOnline(), PartonQualifier::operator()(), JetPartonMatcher::produce(), PartonSelector::produce(), InputGenJetsParticleSelector::produce(), WeakEffectsWeightProducer::produce(), ISRWeightProducer::produce(), ISRGammaWeightProducer::produce(), PdfWeightProducer::produce(), FSRWeightProducer::produce(), PFRootEventManager::reconstructGenJets(), and setStatus().
{ return status_; }
virtual double reco::LeafCandidate::theta | ( | ) | const [inline, virtual] |
momentum polar angle
Implements reco::Candidate.
Definition at line 141 of file LeafCandidate.h.
References cacheCartesian(), and p4Cartesian_.
Referenced by FWMuonDetailView::addSceneInfo(), FWElectronDetailView::addSceneInfo(), FWL1JetParticleProxyBuilder::build(), FWMET3DProxyBuilder::build(), FWL1EmParticleProxyBuilder::build(), FWL1MuonParticleProxyBuilder::build(), FWL1EtMissParticleProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWJetProxyBuilder::buildViewType(), FWMETProxyBuilder::buildViewType(), EMEnrichingFilterAlgo::deltaRxyAtEE(), doubleEMEnrichingFilterAlgo::deltaRxyAtEE(), CaloTower::emEt(), metsig::SignAlgoResolutions::evalPF(), CaloTower::hadEt(), CaloTower::outerEt(), pf2pat::PFMETAlgo::produce(), FSRWeightProducer::produce(), pat::LeptonJetIsolationAngle::spaceAngle(), and PFMETAnalyzer::validateMET().
{ cacheCartesian(); return p4Cartesian_.Theta(); }
virtual int reco::LeafCandidate::threeCharge | ( | ) | const [inline, virtual] |
electric charge
Implements reco::Candidate.
Definition at line 104 of file LeafCandidate.h.
References qx3_.
Referenced by TopDecaySubset::fillListing().
{ return qx3_; }
virtual const Point& reco::LeafCandidate::vertex | ( | ) | const [inline, virtual] |
vertex position
Implements reco::Candidate.
Reimplemented in reco::PFCandidate.
Definition at line 184 of file LeafCandidate.h.
References vertex_.
Referenced by ElectronMcFakeValidator::analyze(), ElectronMcSignalValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), ElectronTagProbeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), PFTauExtractor::depositFromObject(), reco::CaloJet::detectorP4(), ErsatzMEt::ersatzFabrik(), MuonVPlusJetsIDSelectionFunctor::fall10Cuts(), TopDecaySubset::fillListing(), MuonMETAlgo::GetMuDepDeltas(), MuonVPlusJetsIDSelectionFunctor::kitQCDCuts(), fireworks::makeEveJetCone(), CorrectJet::operator()(), overlap(), EgammaHLTTrackIsolation::photonIsolation(), reco::CaloJet::physicsP4(), EcalTDigitizer< ESDigitizerTraits >::run(), TauMETAlgo::run(), setVertex(), and reco::Photon::setVertex().
{ return vertex_; }
double LeafCandidate::vertexChi2 | ( | ) | const [virtual] |
chi-squares
Implements reco::Candidate.
Reimplemented in reco::VertexCompositeCandidate.
Definition at line 83 of file LeafCandidate.cc.
{
return 0;
}
CovarianceMatrix reco::LeafCandidate::vertexCovariance | ( | ) | const [inline, virtual] |
return SMatrix
Reimplemented from reco::Candidate.
Definition at line 232 of file LeafCandidate.h.
References fillVertexCovariance(), and m.
{ CovarianceMatrix m; fillVertexCovariance(m); return m; }
double LeafCandidate::vertexCovariance | ( | int | i, |
int | j | ||
) | const [virtual] |
(i, j)-th element of error matrix, i, j = 0, ... 2
Implements reco::Candidate.
Reimplemented in reco::VertexCompositeCandidate.
Definition at line 95 of file LeafCandidate.cc.
References Exception, and edm::errors::UnimplementedFeature.
{ throw edm::Exception(edm::errors::UnimplementedFeature) << "reco::ConcreteCandidate does not implement vertex covariant matrix.\n"; }
double LeafCandidate::vertexNdof | ( | ) | const [virtual] |
Number of degrees of freedom Meant to be Double32_t for soft-assignment fitters: tracks may contribute to the vertex with fractional weights. The ndof is then = to the sum of the track weights. see e.g. CMS NOTE-2006/032, CMS NOTE-2004/002
Implements reco::Candidate.
Reimplemented in reco::VertexCompositeCandidate.
Definition at line 87 of file LeafCandidate.cc.
{
return 0;
}
double LeafCandidate::vertexNormalizedChi2 | ( | ) | const [virtual] |
chi-squared divided by n.d.o.f.
Implements reco::Candidate.
Reimplemented in reco::VertexCompositeCandidate.
Definition at line 91 of file LeafCandidate.cc.
{
return 0;
}
virtual double reco::LeafCandidate::vx | ( | ) | const [inline, virtual] |
x coordinate of vertex position
Implements reco::Candidate.
Reimplemented in reco::PFCandidate.
Definition at line 186 of file LeafCandidate.h.
References vertex_.
Referenced by FBaseSimEvent::addParticles(), WenuPlots::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), and reco::PFTau::dump().
{ return vertex_.X(); }
virtual double reco::LeafCandidate::vy | ( | ) | const [inline, virtual] |
y coordinate of vertex position
Implements reco::Candidate.
Reimplemented in reco::PFCandidate.
Definition at line 188 of file LeafCandidate.h.
References vertex_.
Referenced by FBaseSimEvent::addParticles(), WenuPlots::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), and reco::PFTau::dump().
{ return vertex_.Y(); }
virtual double reco::LeafCandidate::vz | ( | ) | const [inline, virtual] |
z coordinate of vertex position
Implements reco::Candidate.
Reimplemented in reco::PFCandidate.
Definition at line 190 of file LeafCandidate.h.
References vertex_.
Referenced by FBaseSimEvent::addParticles(), WenuPlots::analyze(), ZMuMu_vtxAnalyzer::analyze(), EMEnrichingFilterAlgo::applyBFieldCurv(), doubleEMEnrichingFilterAlgo::applyBFieldCurv(), reco::PFTau::dump(), BTagHLTOfflineSource::isVBTFMuon(), and egHLT::OffPho::zVtx().
{ return vertex_.Z(); }
virtual double reco::LeafCandidate::y | ( | ) | const [inline, virtual] |
rapidity
Implements reco::Candidate.
Reimplemented in reco::CastorTower.
Definition at line 147 of file LeafCandidate.h.
References rapidity().
{ return rapidity(); }
friend class ::OverlapChecker [friend] |
Reimplemented from reco::Candidate.
Definition at line 346 of file LeafCandidate.h.
friend struct component [friend] |
Reimplemented from reco::Candidate.
Reimplemented in reco::RecoCandidate.
Definition at line 345 of file LeafCandidate.h.
friend class ShallowCloneCandidate [friend] |
Reimplemented from reco::Candidate.
Definition at line 347 of file LeafCandidate.h.
friend class ShallowClonePtrCandidate [friend] |
Reimplemented from reco::Candidate.
Definition at line 348 of file LeafCandidate.h.
edm::BoolCache reco::LeafCandidate::cacheCartesianFixed_ [mutable, protected] |
Definition at line 324 of file LeafCandidate.h.
Referenced by cacheCartesian(), clearCache(), and setP4().
edm::BoolCache reco::LeafCandidate::cachePolarFixed_ [mutable, protected] |
has cache been set?
Definition at line 324 of file LeafCandidate.h.
Referenced by cachePolar(), clearCache(), and setP4().
float reco::LeafCandidate::eta_ [protected] |
Reimplemented in reco::EcalIsolatedParticleCandidate.
Definition at line 312 of file LeafCandidate.h.
Referenced by cachePolar(), eta(), setP4(), and setPz().
const unsigned int reco::LeafCandidate::longLivedTag = 65536 [static] |
long lived flag
Definition at line 202 of file LeafCandidate.h.
Referenced by longLived(), and setLongLived().
float reco::LeafCandidate::mass_ [protected] |
Definition at line 312 of file LeafCandidate.h.
Referenced by cachePolar(), mass(), massSqr(), setMass(), setP4(), and setPz().
const unsigned int reco::LeafCandidate::massConstraintTag = 131072 [static] |
do mass constraint flag
Definition at line 208 of file LeafCandidate.h.
Referenced by massConstraint(), and setMassConstraint().
LorentzVector reco::LeafCandidate::p4Cartesian_ [mutable, protected] |
internal cache for p4
Definition at line 322 of file LeafCandidate.h.
Referenced by boostToCM(), cacheCartesian(), energy(), momentum(), p(), p4(), px(), py(), pz(), setP4(), setPz(), and theta().
PolarLorentzVector reco::LeafCandidate::p4Polar_ [mutable, protected] |
internal cache for p4
Definition at line 320 of file LeafCandidate.h.
Referenced by cacheCartesian(), cachePolar(), et(), mt(), mtSqr(), polarP4(), rapidity(), setP4(), and setPz().
int reco::LeafCandidate::pdgId_ [protected] |
PDG identifier.
Definition at line 316 of file LeafCandidate.h.
Referenced by reco::PFCandidate::particleId(), pdgId(), and setPdgId().
float reco::LeafCandidate::phi_ [protected] |
Reimplemented in reco::EcalIsolatedParticleCandidate.
Definition at line 312 of file LeafCandidate.h.
Referenced by cachePolar(), phi(), setP4(), and setPz().
float reco::LeafCandidate::pt_ [protected] |
four-momentum Lorentz vector
Reimplemented in reco::SiStripElectron.
Definition at line 312 of file LeafCandidate.h.
Referenced by cachePolar(), pt(), setP4(), and setPz().
Charge reco::LeafCandidate::qx3_ [protected] |
electric charge
Definition at line 310 of file LeafCandidate.h.
Referenced by charge(), LeafCandidate(), setCharge(), setThreeCharge(), and threeCharge().
int reco::LeafCandidate::status_ [protected] |
status word
Definition at line 318 of file LeafCandidate.h.
Referenced by longLived(), massConstraint(), setLongLived(), setMassConstraint(), setStatus(), and status().
Point reco::LeafCandidate::vertex_ [protected] |
vertex position
Definition at line 314 of file LeafCandidate.h.
Referenced by reco::PFCandidate::setVertex(), setVertex(), reco::Photon::setVertex(), reco::PFCandidate::setVertexSource(), vertex(), reco::PFCandidate::vertex(), vx(), vy(), and vz().