Particle reconstructed by the particle flow algorithm. More...
#include <PFCandidate.h>
Public Member Functions | |
void | addElementInBlock (const reco::PFBlockRef &blockref, unsigned elementIndex) |
add an element to the current PFCandidate More... | |
const reco::Muon::MuonTrackType | bestMuonTrackType () const |
get the Best Muon Track Ref More... | |
virtual const reco::Track * | bestTrack () const |
virtual PFCandidate * | clone () const |
return a clone More... | |
reco::ConversionRef | conversionRef () const |
return a reference to the original conversion More... | |
double | deltaP () const |
uncertainty on 3-momentum More... | |
reco::PFDisplacedVertexRef | displacedVertexRef (Flags type) const |
virtual float | dxyError () const |
uncertainty on dxy More... | |
virtual float | dzError () const |
uncertainty on dz More... | |
double | ecalEnergy () const |
return corrected Ecal energy More... | |
reco::PFCandidateEGammaExtraRef | egammaExtraRef () const |
return a reference to the EGamma extra More... | |
reco::PFCandidateElectronExtraRef | electronExtraRef () const |
return a reference to the electron extra More... | |
const ElementsInBlocks & | elementsInBlocks () const |
bool | flag (Flags theFlag) const |
return a given flag More... | |
reco::GsfElectronRef | gsfElectronRef () const |
return a reference to the corresponding GsfElectron if any More... | |
reco::GsfTrackRef | gsfTrackRef () const |
double | hcalEnergy () const |
return corrected Hcal energy More... | |
double | hoEnergy () const |
return corrected Hcal energy More... | |
reco::MuonRef | muonRef () const |
float | mva_e_mu () const |
mva for electron-muon discrimination More... | |
float | mva_e_pi () const |
mva for electron-pion discrimination More... | |
float | mva_gamma_nh () const |
mva for neutral hadron - gamma discrimination More... | |
float | mva_Isolated () const |
float | mva_nothing_gamma () const |
mva for gamma detection More... | |
float | mva_nothing_nh () const |
mva for neutral hadron detection More... | |
float | mva_pi_mu () const |
mva for pi-muon discrimination More... | |
size_t | numberOfSourceCandidatePtrs () const |
PFCandidate & | operator= (PFCandidate const &) |
virtual ParticleType | particleId () const |
PFCandidate () | |
default constructor More... | |
PFCandidate (const PFCandidatePtr &sourcePtr) | |
constructor from a reference (keeps track of source relationship) More... | |
PFCandidate (Charge q, const LorentzVector &p4, ParticleType particleId) | |
PFCandidate (const PFCandidate &) | |
copy constructor More... | |
reco::PFCandidatePhotonExtraRef | photonExtraRef () const |
return a reference to the photon extra More... | |
reco::PhotonRef | photonRef () const |
return a reference to the corresponding Photon if any More... | |
const math::XYZPointF & | positionAtECALEntrance () const |
double | pS1Energy () const |
return corrected PS1 energy More... | |
double | pS2Energy () const |
return corrected PS2 energy More... | |
double | rawEcalEnergy () const |
return corrected Ecal energy More... | |
double | rawHcalEnergy () const |
return raw Hcal energy More... | |
double | rawHoEnergy () const |
return raw Hcal energy More... | |
void | rescaleMomentum (double rescaleFactor) |
particle momentum *= rescaleFactor More... | |
void | set_mva_e_mu (float mva) |
set mva for electron-muon discrimination More... | |
void | set_mva_e_pi (float mvaNI) |
void | set_mva_gamma_nh (float mva) |
set mva for neutral hadron - gamma discrimination More... | |
void | set_mva_Isolated (float mvaI) |
void | set_mva_nothing_gamma (float mva) |
set mva for gamma detection More... | |
void | set_mva_nothing_nh (float mva) |
set mva for neutral hadron detection More... | |
void | set_mva_pi_mu (float mva) |
set mva for pi-muon discrimination More... | |
void | setConversionRef (const reco::ConversionRef &ref) |
set ref to original reco conversion More... | |
void | setDeltaP (double dp) |
set uncertainty on momentum More... | |
void | setDisplacedVertexRef (const reco::PFDisplacedVertexRef &ref, Flags flag) |
set displaced vertex reference More... | |
void | setEcalEnergy (float eeRaw, float eeCorr) |
set corrected Ecal energy More... | |
void | setFlag (Flags theFlag, bool value) |
set a given flag More... | |
void | setGsfElectronRef (const reco::GsfElectronRef &ref) |
set GsfElectronRef More... | |
void | setGsfTrackRef (const reco::GsfTrackRef &ref) |
set gsftrack reference More... | |
void | setHcalEnergy (float ehRaw, float ehCorr) |
set corrected Hcal energy More... | |
void | setHoEnergy (float eoRaw, float eoCorr) |
set corrected Hcal energy More... | |
void | setMuonRef (const reco::MuonRef &ref) |
set muon reference More... | |
void | setMuonTrackType (const reco::Muon::MuonTrackType &type) |
set the Best Muon Track Ref More... | |
void | setParticleType (ParticleType type) |
set Particle Type More... | |
void | setPFEGammaExtraRef (const reco::PFCandidateEGammaExtraRef &ref) |
set the PF EGamma Extra Ref More... | |
void | setPFElectronExtraRef (const reco::PFCandidateElectronExtraRef &ref) |
set the PF Electron Extra Ref More... | |
void | setPFPhotonExtraRef (const reco::PFCandidatePhotonExtraRef &ref) |
set the PF Photon Extra Ref More... | |
void | setPhotonRef (const reco::PhotonRef &phRef) |
set ref to the corresponding reco::Photon if any More... | |
void | setPositionAtECALEntrance (const math::XYZPointF &pos) |
set position at ECAL entrance More... | |
void | setPs1Energy (float e1) |
set corrected PS1 energy More... | |
void | setPs2Energy (float e2) |
set corrected PS2 energy More... | |
void | setSourceCandidatePtr (const PFCandidatePtr &ptr) |
void | setSuperClusterRef (const reco::SuperClusterRef &scRef) |
void | setTrackRef (const reco::TrackRef &ref) |
set track reference More... | |
void | setV0Ref (const reco::VertexCompositeCandidateRef &ref) |
set ref to original reco conversion More... | |
virtual void | setVertex (const math::XYZPoint &p) |
set vertex More... | |
void | setVertexSource (PFVertexType vt) |
CandidatePtr | sourceCandidatePtr (size_type i) const |
reco::SuperClusterRef | superClusterRef () const |
return a reference to the corresponding SuperCluster if any More... | |
reco::TrackRef | trackRef () const |
ParticleType | translatePdgIdToType (int pdgid) const |
int | translateTypeToPdgId (ParticleType type) const |
reco::VertexCompositeCandidateRef | v0Ref () const |
return a reference to the original conversion More... | |
virtual const Point & | vertex () const |
vertex position (overwritten by PF...) More... | |
virtual double | vx () const |
x coordinate of vertex position More... | |
virtual double | vy () const |
y coordinate of vertex position More... | |
virtual double | vz () const |
z coordinate of vertex position More... | |
virtual | ~PFCandidate () |
destructor More... | |
Public Member Functions inherited from reco::CompositeCandidate | |
void | addDaughter (const Candidate &, const std::string &s="") |
add a clone of the passed candidate as daughter More... | |
void | addDaughter (std::auto_ptr< Candidate >, const std::string &s="") |
add a clone of the passed candidate as daughter More... | |
void | applyRoles () |
void | clearDaughters () |
clear daughters More... | |
void | clearRoles () |
CompositeCandidate (std::string name="") | |
default constructor More... | |
template<typename P4 > | |
CompositeCandidate (Charge q, const P4 &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true, std::string name="") | |
constructor from values More... | |
CompositeCandidate (const Candidate &p, const std::string &name="") | |
constructor from values More... | |
CompositeCandidate (const Candidate &p, const std::string &name, role_collection const &roles) | |
constructor from values More... | |
virtual const Candidate * | daughter (size_type) const |
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 (read only mode) More... | |
virtual Candidate * | daughter (size_type) |
return daughter at a given position, i = 0, ... numberOfDaughters() - 1 More... | |
virtual Candidate * | daughter (const std::string &s) |
return daughter with a specified role name More... | |
virtual const Candidate * | daughter (const std::string &s) const |
return daughter with a specified role name More... | |
virtual const Candidate * | mother (size_type i=0) const |
return pointer to mother More... | |
std::string | name () const |
get the name of the candidate More... | |
virtual size_type | numberOfDaughters () const |
number of daughters More... | |
virtual size_type | numberOfMothers () const |
number of mothers (zero or one in most of but not all the cases) More... | |
role_collection const & | roles () const |
get the roles More... | |
void | setName (std::string name) |
set the name of the candidate More... | |
void | setRoles (const role_collection &roles) |
set the roles More... | |
virtual | ~CompositeCandidate () |
destructor More... | |
Public Member Functions inherited from reco::LeafCandidate | |
virtual Vector | boostToCM () const final |
virtual int | charge () const final |
electric charge More... | |
void | construct (int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status) |
virtual double | energy () const final |
energy More... | |
virtual double | et () const final |
transverse energy More... | |
virtual double | et2 () const final |
transverse energy squared (use this for cut!) More... | |
virtual double | eta () const final |
momentum pseudorapidity More... | |
virtual void | fillVertexCovariance (CovarianceMatrix &v) const |
fill SMatrix More... | |
template<typename T > | |
T | get () const |
get a component More... | |
template<typename T , typename Tag > | |
T | get () const |
get a component More... | |
template<typename T > | |
T | get (size_type i) const |
get a component More... | |
template<typename T , typename Tag > | |
T | get (size_type i) const |
get a component More... | |
virtual bool | hasMasterClone () const |
virtual bool | hasMasterClonePtr () const |
virtual bool | isCaloMuon () const |
virtual bool | isConvertedPhoton () const |
virtual bool | isElectron () const |
virtual bool | isGlobalMuon () const |
virtual bool | isJet () const |
virtual bool | isMuon () const |
virtual bool | isPhoton () const |
virtual bool | isStandAloneMuon () const |
virtual bool | isTrackerMuon () const |
LeafCandidate () | |
LeafCandidate (const Candidate &c) | |
template<typename... Args> | |
LeafCandidate (Args &&...args) | |
LeafCandidate (LeafCandidate &rh) | |
LeafCandidate (LeafCandidate &&)=default | |
LeafCandidate (LeafCandidate const &)=default | |
virtual bool | longLived () const final |
is long lived? More... | |
virtual double | mass () const final |
mass More... | |
virtual bool | massConstraint () const final |
do mass constraint? More... | |
virtual double | massSqr () const final |
mass squared More... | |
virtual const CandidateBaseRef & | masterClone () const |
virtual const CandidatePtr & | masterClonePtr () const |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
virtual Vector | momentum () const final |
spatial momentum vector More... | |
virtual double | mt () const final |
transverse mass More... | |
virtual double | mtSqr () const final |
transverse mass squared More... | |
template<typename T > | |
size_type | numberOf () const |
number of components More... | |
template<typename T , typename Tag > | |
size_type | numberOf () const |
number of components More... | |
LeafCandidate & | operator= (LeafCandidate &&)=default |
LeafCandidate & | operator= (LeafCandidate const &)=default |
virtual double | p () const final |
magnitude of momentum vector More... | |
virtual const LorentzVector & | p4 () const final |
four-momentum Lorentz vector More... | |
virtual int | pdgId () const final |
PDG identifier. More... | |
virtual double | phi () const final |
momentum azimuthal angle More... | |
virtual const PolarLorentzVector & | polarP4 () const final |
four-momentum Lorentz vector More... | |
virtual double | pt () const final |
transverse momentum More... | |
virtual double | px () const final |
x coordinate of momentum vector More... | |
virtual double | py () const final |
y coordinate of momentum vector More... | |
virtual double | pz () const final |
z coordinate of momentum vector More... | |
virtual double | rapidity () const final |
rapidity More... | |
virtual void | setCharge (Charge q) final |
set electric charge More... | |
virtual void | setLongLived () final |
virtual void | setMass (double m) final |
set particle mass More... | |
virtual void | setMassConstraint () final |
virtual void | setP4 (const LorentzVector &p4) final |
set 4-momentum More... | |
virtual void | setP4 (const PolarLorentzVector &p4) final |
set 4-momentum More... | |
virtual void | setPdgId (int pdgId) final |
virtual void | setPz (double pz) final |
virtual void | setStatus (int status) final |
set status word More... | |
virtual void | setThreeCharge (Charge qx3) final |
set electric charge More... | |
virtual int | status () const final |
status word More... | |
virtual double | theta () const final |
momentum polar angle More... | |
virtual int | threeCharge () const final |
electric charge More... | |
virtual double | vertexChi2 () const |
chi-squares More... | |
virtual double | vertexCovariance (int i, int j) const |
(i, j)-th element of error matrix, i, j = 0, ... 2 More... | |
CovarianceMatrix | vertexCovariance () const final |
return SMatrix More... | |
virtual double | vertexNdof () const |
virtual double | vertexNormalizedChi2 () const |
chi-squared divided by n.d.o.f. More... | |
virtual double | y () const final |
rapidity More... | |
virtual | ~LeafCandidate () |
destructor More... | |
Public Member Functions inherited from reco::Candidate | |
const_iterator | begin () const |
first daughter const_iterator More... | |
iterator | begin () |
first daughter iterator More... | |
Candidate () | |
default constructor More... | |
const_iterator | end () const |
last daughter const_iterator More... | |
iterator | end () |
last daughter iterator More... | |
template<typename T > | |
T | get () const |
get a component More... | |
template<typename T , typename Tag > | |
T | get () const |
get a component More... | |
template<typename T > | |
T | get (size_type i) const |
get a component More... | |
template<typename T , typename Tag > | |
T | get (size_type i) const |
get a component More... | |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
template<typename T > | |
size_type | numberOf () const |
number of components More... | |
template<typename T , typename Tag > | |
size_type | numberOf () const |
number of components More... | |
virtual void | setSourceCandidatePtr (const CandidatePtr &ptr) |
Set the ptr to the source Candidate. More... | |
virtual | ~Candidate () |
destructor More... | |
Static Public Attributes | |
static const float | bigMva_ = -999. |
Private Member Functions | |
bool | flag (unsigned shift, unsigned flag) const |
bool | getRefInfo (unsigned int iMask, unsigned int iBit, edm::ProductID &oProdID, size_t &oIndex, size_t &aIndex) const |
virtual bool | overlap (const Candidate &) const |
Polymorphic overlap. More... | |
void | setFlag (unsigned shift, unsigned flag, bool value) |
void | storeRefInfo (unsigned int iMask, unsigned int iBit, bool iIsValid, const edm::RefCore &iCore, size_t iKey, const edm::EDProductGetter *) |
Private Attributes | |
Blocks | blocksStorage_ |
float | deltaP_ |
uncertainty on 3-momentum More... | |
float | ecalERatio_ |
corrected ECAL energy ratio (corrected/raw) More... | |
std::atomic< ElementsInBlocks * > | elementsInBlocks_ |
Elements | elementsStorage_ |
unsigned | flags_ |
all flags, packed (ecal regional, hcal regional, tracking) More... | |
const edm::EDProductGetter * | getter_ |
float | hcalERatio_ |
corrected HCAL energy ratio (corrected/raw) More... | |
float | hoERatio_ |
corrected HO energy ratio (corrected/raw) More... | |
reco::Muon::MuonTrackType | muonTrackType_ |
float | mva_e_mu_ |
mva for electron-muon discrimination More... | |
float | mva_e_pi_ |
mva for electron-pion discrimination More... | |
float | mva_gamma_nh_ |
mva for neutral hadron - gamma discrimination More... | |
float | mva_Isolated_ |
float | mva_nothing_gamma_ |
mva for gamma detection More... | |
float | mva_nothing_nh_ |
mva for neutral hadron detection More... | |
float | mva_pi_mu_ |
mva for pi-muon discrimination More... | |
math::XYZPointF | positionAtECALEntrance_ |
position at ECAL entrance, from the PFRecTrack More... | |
float | ps1Energy_ |
corrected PS1 energy More... | |
float | ps2Energy_ |
corrected PS2 energy More... | |
float | rawEcalEnergy_ |
raw ECAL energy More... | |
float | rawHcalEnergy_ |
raw HCAL energy More... | |
float | rawHoEnergy_ |
raw HO energy More... | |
std::vector< const void * > | refsCollectionCache_ |
std::vector< unsigned long long > | refsInfo_ |
PFCandidatePtr | sourcePtr_ |
reference to the source PFCandidate, if any More... | |
unsigned short | storedRefsBitPattern_ |
PFVertexType | vertexType_ |
Friends | |
std::ostream & | operator<< (std::ostream &out, const PFCandidate &c) |
Additional Inherited Members |
Particle reconstructed by the particle flow algorithm.
particle candidate from particle flow
Definition at line 39 of file PFCandidate.h.
Definition at line 388 of file PFCandidate.h.
typedef std::pair<reco::PFBlockRef, unsigned> reco::PFCandidate::ElementInBlock |
return indices of elements used in the block
return elements return elements in blocks
Definition at line 385 of file PFCandidate.h.
typedef std::vector<unsigned> reco::PFCandidate::Elements |
Definition at line 389 of file PFCandidate.h.
typedef std::vector< ElementInBlock > reco::PFCandidate::ElementsInBlocks |
Definition at line 386 of file PFCandidate.h.
Definition at line 55 of file PFCandidate.h.
particle types
Enumerator | |
---|---|
X | |
h | |
e | |
mu | |
gamma | |
h0 | |
h_HF | |
egamma_HF |
Definition at line 44 of file PFCandidate.h.
Enumerator | |
---|---|
kCandVertex | |
kTrkVertex | |
kComMuonVertex | |
kSAMuonVertex | |
kTrkMuonVertex | |
kGSFVertex | |
kTPFMSMuonVertex | |
kPickyMuonVertex | |
kDYTMuonVertex |
Definition at line 76 of file PFCandidate.h.
PFCandidate::PFCandidate | ( | ) |
default constructor
Definition at line 31 of file PFCandidate.cc.
PFCandidate::PFCandidate | ( | const PFCandidatePtr & | sourcePtr | ) |
constructor from a reference (keeps track of source relationship)
Definition at line 61 of file PFCandidate.cc.
PFCandidate::PFCandidate | ( | Charge | q, |
const LorentzVector & | p4, | ||
ParticleType | particleId | ||
) |
Definition at line 68 of file PFCandidate.cc.
PFCandidate::PFCandidate | ( | const PFCandidate & | iOther | ) |
copy constructor
Definition at line 126 of file PFCandidate.cc.
|
virtual |
destructor
Definition at line 202 of file PFCandidate.cc.
void PFCandidate::addElementInBlock | ( | const reco::PFBlockRef & | blockref, |
unsigned | elementIndex | ||
) |
add an element to the current PFCandidate
add element in block
Definition at line 211 of file PFCandidate.cc.
|
inline |
Definition at line 362 of file PFCandidate.h.
|
inlinevirtual |
return a pointer to the best track, if available. otherwise, return a null pointer
Reimplemented from reco::Candidate.
Definition at line 161 of file PFCandidate.h.
|
virtual |
return a clone
Reimplemented from reco::CompositeCandidate.
Reimplemented in pat::PFParticle, reco::IsolatedPFCandidate, and reco::PileUpPFCandidate.
Definition at line 206 of file PFCandidate.cc.
reco::ConversionRef PFCandidate::conversionRef | ( | ) | const |
return a reference to the original conversion
Definition at line 554 of file PFCandidate.cc.
|
inline |
uncertainty on 3-momentum
Definition at line 297 of file PFCandidate.h.
reco::PFDisplacedVertexRef PFCandidate::displacedVertexRef | ( | Flags | type | ) | const |
return a reference to the corresponding displaced vertex, otherwise, return a null reference
Definition at line 519 of file PFCandidate.cc.
|
inlinevirtual |
uncertainty on dxy
Reimplemented from reco::Candidate.
Definition at line 172 of file PFCandidate.h.
|
inlinevirtual |
|
inline |
return corrected Ecal energy
Definition at line 221 of file PFCandidate.h.
Referenced by PFCandidateBenchmark::fillOne(), and FWECalPFCandidateProxyBuilder::getEt().
reco::PFCandidateEGammaExtraRef PFCandidate::egammaExtraRef | ( | ) | const |
return a reference to the EGamma extra
Definition at line 596 of file PFCandidate.cc.
Referenced by GEDGsfElectronCoreProducer::produceElectronCore().
reco::PFCandidateElectronExtraRef PFCandidate::electronExtraRef | ( | ) | const |
return a reference to the electron extra
Definition at line 584 of file PFCandidate.cc.
const PFCandidate::ElementsInBlocks & PFCandidate::elementsInBlocks | ( | ) | const |
Definition at line 682 of file PFCandidate.cc.
Referenced by PFCandidateBenchmark::fillOne().
bool PFCandidate::flag | ( | Flags | theFlag | ) | const |
return a given flag
Definition at line 295 of file PFCandidate.cc.
|
private |
|
private |
Definition at line 401 of file PFCandidate.cc.
reco::GsfElectronRef PFCandidate::gsfElectronRef | ( | ) | const |
return a reference to the corresponding GsfElectron if any
Definition at line 574 of file PFCandidate.cc.
reco::GsfTrackRef PFCandidate::gsfTrackRef | ( | ) | const |
return a reference to the corresponding GSF track, if an electron. otherwise, return a null reference
Definition at line 471 of file PFCandidate.cc.
Referenced by PrimaryVertexAssignment::chargedHadronVertex(), and GEDGsfElectronCoreProducer::produceElectronCore().
|
inline |
return corrected Hcal energy
Definition at line 231 of file PFCandidate.h.
Referenced by PFCandidateBenchmark::fillOne(), and FWHCalPFCandidateProxyBuilder::getEt().
|
inline |
return corrected Hcal energy
Definition at line 241 of file PFCandidate.h.
reco::MuonRef PFCandidate::muonRef | ( | ) | const |
return a reference to the corresponding muon, if a muon. otherwise, return a null reference
Definition at line 450 of file PFCandidate.cc.
Referenced by GreedyMuonPFCandidateFilter::filter(), InconsistentMuonPFCandidateFilter::filter(), and pat::PATMuonSlimmer::produce().
|
inline |
mva for electron-muon discrimination
Definition at line 319 of file PFCandidate.h.
|
inline |
mva for electron-pion discrimination
Definition at line 313 of file PFCandidate.h.
Referenced by PFCandidateBenchmark::fillOne().
|
inline |
mva for neutral hadron - gamma discrimination
Definition at line 345 of file PFCandidate.h.
|
inline |
Definition at line 309 of file PFCandidate.h.
|
inline |
mva for gamma detection
Definition at line 332 of file PFCandidate.h.
|
inline |
mva for neutral hadron detection
Definition at line 338 of file PFCandidate.h.
|
inline |
mva for pi-muon discrimination
Definition at line 325 of file PFCandidate.h.
|
inlinevirtual |
return the number of source Candidates ( the candidates used to construct this Candidate)
Reimplemented from reco::LeafCandidate.
Definition at line 127 of file PFCandidate.h.
PFCandidate & PFCandidate::operator= | ( | PFCandidate const & | iOther | ) |
Definition at line 163 of file PFCandidate.cc.
|
privatevirtual |
Polymorphic overlap.
Reimplemented from reco::CompositeCandidate.
Definition at line 261 of file PFCandidate.cc.
|
inlinevirtual |
particle identification code
Definition at line 373 of file PFCandidate.h.
Referenced by PFCandidateBenchmark::fillOne(), GreedyMuonPFCandidateFilter::filter(), InconsistentMuonPFCandidateFilter::filter(), reco::RecoTauPiZero::print(), PFPileUpAlgo::process(), pf2pat::PFMETAlgo::produce(), Type0PFMETcorrInputProducer::produce(), and pf2pat::PFIsoDepositAlgo::sameParticle().
reco::PFCandidatePhotonExtraRef PFCandidate::photonExtraRef | ( | ) | const |
return a reference to the photon extra
Definition at line 592 of file PFCandidate.cc.
reco::PhotonRef PFCandidate::photonRef | ( | ) | const |
return a reference to the corresponding Photon if any
Definition at line 588 of file PFCandidate.cc.
|
inline |
Definition at line 367 of file PFCandidate.h.
|
inline |
return corrected PS1 energy
Definition at line 276 of file PFCandidate.h.
|
inline |
return corrected PS2 energy
Definition at line 282 of file PFCandidate.h.
|
inline |
return corrected Ecal energy
Definition at line 224 of file PFCandidate.h.
Referenced by GreedyMuonPFCandidateFilter::filter().
|
inline |
return raw Hcal energy
Definition at line 234 of file PFCandidate.h.
Referenced by GreedyMuonPFCandidateFilter::filter().
|
inline |
return raw Hcal energy
Definition at line 244 of file PFCandidate.h.
void PFCandidate::rescaleMomentum | ( | double | rescaleFactor | ) |
particle momentum *= rescaleFactor
Definition at line 278 of file PFCandidate.cc.
|
inline |
set mva for electron-muon discrimination
Definition at line 316 of file PFCandidate.h.
|
inline |
Definition at line 311 of file PFCandidate.h.
|
inline |
set mva for neutral hadron - gamma discrimination
Definition at line 342 of file PFCandidate.h.
|
inline |
set mva for electron-pion discrimination. For charged particles, this variable is set to 0 for particles that are not preided to 1 otherwise For neutral particles, it is set to the default value
Definition at line 307 of file PFCandidate.h.
|
inline |
set mva for gamma detection
Definition at line 329 of file PFCandidate.h.
|
inline |
set mva for neutral hadron detection
Definition at line 335 of file PFCandidate.h.
|
inline |
set mva for pi-muon discrimination
Definition at line 322 of file PFCandidate.h.
void PFCandidate::setConversionRef | ( | const reco::ConversionRef & | ref | ) |
set ref to original reco conversion
Definition at line 530 of file PFCandidate.cc.
|
inline |
set uncertainty on momentum
Definition at line 294 of file PFCandidate.h.
void PFCandidate::setDisplacedVertexRef | ( | const reco::PFDisplacedVertexRef & | ref, |
Flags | flag | ||
) |
set displaced vertex reference
Definition at line 475 of file PFCandidate.cc.
|
inline |
set corrected Ecal energy
Definition at line 217 of file PFCandidate.h.
void PFCandidate::setFlag | ( | Flags | theFlag, |
bool | value | ||
) |
set a given flag
Definition at line 285 of file PFCandidate.cc.
|
private |
void PFCandidate::setGsfElectronRef | ( | const reco::GsfElectronRef & | ref | ) |
set GsfElectronRef
Definition at line 569 of file PFCandidate.cc.
void PFCandidate::setGsfTrackRef | ( | const reco::GsfTrackRef & | ref | ) |
set gsftrack reference
Definition at line 454 of file PFCandidate.cc.
|
inline |
set corrected Hcal energy
Definition at line 227 of file PFCandidate.h.
|
inline |
set corrected Hcal energy
Definition at line 237 of file PFCandidate.h.
void PFCandidate::setMuonRef | ( | const reco::MuonRef & | ref | ) |
set muon reference
Definition at line 436 of file PFCandidate.cc.
|
inline |
Definition at line 356 of file PFCandidate.h.
void PFCandidate::setParticleType | ( | ParticleType | type | ) |
set Particle Type
Definition at line 256 of file PFCandidate.cc.
Referenced by DeltaBetaWeights::produce().
void PFCandidate::setPFEGammaExtraRef | ( | const reco::PFCandidateEGammaExtraRef & | ref | ) |
set the PF EGamma Extra Ref
Definition at line 641 of file PFCandidate.cc.
void PFCandidate::setPFElectronExtraRef | ( | const reco::PFCandidateElectronExtraRef & | ref | ) |
set the PF Electron Extra Ref
Definition at line 579 of file PFCandidate.cc.
void PFCandidate::setPFPhotonExtraRef | ( | const reco::PFCandidatePhotonExtraRef & | ref | ) |
set the PF Photon Extra Ref
Definition at line 636 of file PFCandidate.cc.
void PFCandidate::setPhotonRef | ( | const reco::PhotonRef & | phRef | ) |
set ref to the corresponding reco::Photon if any
Definition at line 604 of file PFCandidate.cc.
|
inline |
set position at ECAL entrance
Definition at line 348 of file PFCandidate.h.
|
inline |
set corrected PS1 energy
Definition at line 273 of file PFCandidate.h.
|
inline |
set corrected PS2 energy
Definition at line 279 of file PFCandidate.h.
|
inline |
Definition at line 125 of file PFCandidate.h.
Referenced by reco::PFCandidateWithSrcPtrFactory::operator()().
void PFCandidate::setSuperClusterRef | ( | const reco::SuperClusterRef & | scRef | ) |
Definition at line 620 of file PFCandidate.cc.
void PFCandidate::setTrackRef | ( | const reco::TrackRef & | ref | ) |
set track reference
Definition at line 416 of file PFCandidate.cc.
void PFCandidate::setV0Ref | ( | const reco::VertexCompositeCandidateRef & | ref | ) |
set ref to original reco conversion
Definition at line 559 of file PFCandidate.cc.
|
inlinevirtual |
set vertex
Reimplemented from reco::LeafCandidate.
Definition at line 408 of file PFCandidate.h.
Referenced by PFConcretePFCandidateProducer::produce().
|
inline |
Definition at line 406 of file PFCandidate.h.
|
inlinevirtual |
return a Ptr to one of the source Candidates ( the candidates used to construct this Candidate)
Reimplemented from reco::LeafCandidate.
Definition at line 131 of file PFCandidate.h.
|
private |
Definition at line 361 of file PFCandidate.cc.
reco::SuperClusterRef PFCandidate::superClusterRef | ( | ) | const |
return a reference to the corresponding SuperCluster if any
Definition at line 600 of file PFCandidate.cc.
reco::TrackRef PFCandidate::trackRef | ( | ) | const |
return a reference to the corresponding track, if charged. otherwise, return a null reference
Definition at line 433 of file PFCandidate.cc.
Referenced by PFPileUpAlgo::chargedHadronVertex(), PrimaryVertexAssignment::chargedHadronVertex(), PFCandCommonVertexFitterBase::fill(), ChargedHadronTrackResolutionFilter::filter(), pat::helper::VertexingHelper::getTrack_(), and PFRecoTauDiscriminationByFlightPathSignificance::threeProngFlightPathSig().
PFCandidate::ParticleType PFCandidate::translatePdgIdToType | ( | int | pdgid | ) | const |
Definition at line 224 of file PFCandidate.cc.
Referenced by DeltaBetaWeights::produce(), and SoftKillerProducer::produce().
int PFCandidate::translateTypeToPdgId | ( | ParticleType | type | ) | const |
returns the pdg id corresponding to the particle type. the particle type could be removed at some point to gain some space. low priority
Definition at line 238 of file PFCandidate.cc.
reco::VertexCompositeCandidateRef PFCandidate::v0Ref | ( | ) | const |
return a reference to the original conversion
Definition at line 564 of file PFCandidate.cc.
|
virtual |
vertex position (overwritten by PF...)
Reimplemented from reco::LeafCandidate.
Definition at line 647 of file PFCandidate.cc.
Referenced by FWPFCandidate3DProxyBuilder::build(), PFPileUpAlgo::chargedHadronVertex(), Tau.Tau::dxy(), and PFConcretePFCandidateProducer::produce().
|
inlinevirtual |
x coordinate of vertex position
Reimplemented from reco::LeafCandidate.
Definition at line 413 of file PFCandidate.h.
|
inlinevirtual |
y coordinate of vertex position
Reimplemented from reco::LeafCandidate.
Definition at line 414 of file PFCandidate.h.
|
inlinevirtual |
z coordinate of vertex position
Reimplemented from reco::LeafCandidate.
Definition at line 415 of file PFCandidate.h.
|
friend |
|
static |
Definition at line 393 of file PFCandidate.h.
|
private |
Definition at line 431 of file PFCandidate.h.
|
private |
uncertainty on 3-momentum
Definition at line 471 of file PFCandidate.h.
|
private |
corrected ECAL energy ratio (corrected/raw)
Definition at line 444 of file PFCandidate.h.
|
mutableprivate |
Definition at line 427 of file PFCandidate.h.
|
private |
Definition at line 432 of file PFCandidate.h.
|
private |
all flags, packed (ecal regional, hcal regional, tracking)
Definition at line 468 of file PFCandidate.h.
|
private |
Definition at line 508 of file PFCandidate.h.
|
private |
corrected HCAL energy ratio (corrected/raw)
Definition at line 447 of file PFCandidate.h.
|
private |
corrected HO energy ratio (corrected/raw)
Definition at line 450 of file PFCandidate.h.
|
private |
Reference to the best track if it is a muon pF is allowed to switch the default muon track
Definition at line 441 of file PFCandidate.h.
|
private |
mva for electron-muon discrimination
Definition at line 482 of file PFCandidate.h.
|
private |
mva for electron-pion discrimination
Definition at line 479 of file PFCandidate.h.
|
private |
mva for neutral hadron - gamma discrimination
Definition at line 494 of file PFCandidate.h.
|
private |
Definition at line 476 of file PFCandidate.h.
|
private |
mva for gamma detection
Definition at line 488 of file PFCandidate.h.
|
private |
mva for neutral hadron detection
Definition at line 491 of file PFCandidate.h.
|
private |
mva for pi-muon discrimination
Definition at line 485 of file PFCandidate.h.
|
private |
position at ECAL entrance, from the PFRecTrack
Definition at line 497 of file PFCandidate.h.
|
private |
corrected PS1 energy
Definition at line 462 of file PFCandidate.h.
|
private |
corrected PS2 energy
Definition at line 465 of file PFCandidate.h.
|
private |
raw ECAL energy
Definition at line 453 of file PFCandidate.h.
|
private |
raw HCAL energy
Definition at line 456 of file PFCandidate.h.
|
private |
raw HO energy
Definition at line 459 of file PFCandidate.h.
|
private |
Definition at line 511 of file PFCandidate.h.
|
private |
Definition at line 510 of file PFCandidate.h.
|
private |
reference to the source PFCandidate, if any
Definition at line 436 of file PFCandidate.h.
|
private |
Definition at line 509 of file PFCandidate.h.
|
private |
Definition at line 473 of file PFCandidate.h.