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 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 |
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_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 mva) |
void | set_mva_gamma_nh (float mva) |
set mva for neutral hadron - gamma discrimination More... | |
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 () |
virtual const_iterator | begin () const |
first daughter const_iterator More... | |
virtual iterator | begin () |
first daughter iterator More... | |
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_iterator | end () const |
last daughter const_iterator More... | |
virtual iterator | end () |
last daughter const_iterator 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 | |
template<typename S > | |
daughter_iterator< S >::type | beginFilter (const S &s) const |
virtual Vector | boostToCM () const GCC11_FINAL |
virtual int | charge () const GCC11_FINAL |
electric charge More... | |
template<typename S > | |
daughter_iterator< S >::type | endFilter (const S &s) const |
virtual double | energy () const GCC11_FINAL |
energy More... | |
virtual double | et () const GCC11_FINAL |
transverse energy More... | |
virtual float | eta () const GCC11_FINAL |
momentum pseudorapidity More... | |
virtual void | fillVertexCovariance (CovarianceMatrix &v) const |
fill SMatrix More... | |
template<typename T > | |
T | get () const |
get a component More... | |
template<typename T , typename Tag > | |
T | get () const |
get a component More... | |
template<typename T > | |
T | get (size_type i) const |
get a component More... | |
template<typename T , typename Tag > | |
T | get (size_type i) const |
get a component More... | |
virtual bool | hasMasterClone () const |
virtual bool | hasMasterClonePtr () const |
virtual bool | isCaloMuon () const |
virtual bool | isConvertedPhoton () const |
virtual bool | isElectron () const |
virtual bool | isGlobalMuon () const |
virtual bool | isJet () const |
virtual bool | isMuon () const |
virtual bool | isPhoton () const |
virtual bool | isStandAloneMuon () const |
virtual bool | isTrackerMuon () const |
LeafCandidate () | |
default constructor More... | |
LeafCandidate (const Candidate &c) | |
template<typename P4 > | |
LeafCandidate (Charge q, const P4 &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from Any values More... | |
LeafCandidate (Charge q, const PtEtaPhiMass &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from values More... | |
LeafCandidate (Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from values More... | |
LeafCandidate (Charge q, const PolarLorentzVector &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from values More... | |
LeafCandidate (Charge q, const GlobalVector &p3, float iEnergy, bool massless, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from values More... | |
LeafCandidate (Charge q, const GlobalVector &p3, float iEnergy, float imass, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0, bool integerCharge=true) | |
constructor from values More... | |
virtual bool | longLived () const GCC11_FINAL |
is long lived? More... | |
virtual float | mass () const GCC11_FINAL |
mass More... | |
virtual bool | massConstraint () const GCC11_FINAL |
do mass constraint? More... | |
virtual float | massSqr () const GCC11_FINAL |
mass squared More... | |
virtual const CandidateBaseRef & | masterClone () const |
virtual const CandidatePtr & | masterClonePtr () const |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
virtual Vector | momentum () const GCC11_FINAL |
spatial momentum vector More... | |
virtual double | mt () const GCC11_FINAL |
transverse mass More... | |
virtual double | mtSqr () const GCC11_FINAL |
transverse mass squared More... | |
template<typename T > | |
size_type | numberOf () const |
number of components More... | |
template<typename T , typename Tag > | |
size_type | numberOf () const |
number of components More... | |
virtual double | p () const GCC11_FINAL |
magnitude of momentum vector More... | |
virtual const LorentzVector & | p4 () const GCC11_FINAL |
four-momentum Lorentz vector More... | |
virtual int | pdgId () const GCC11_FINAL |
PDG identifier. More... | |
virtual float | phi () const GCC11_FINAL |
momentum azimuthal angle More... | |
virtual const PolarLorentzVector & | polarP4 () const GCC11_FINAL |
four-momentum Lorentz vector More... | |
virtual float | pt () const GCC11_FINAL |
transverse momentum More... | |
virtual double | px () const GCC11_FINAL |
x coordinate of momentum vector More... | |
virtual double | py () const GCC11_FINAL |
y coordinate of momentum vector More... | |
virtual double | pz () const GCC11_FINAL |
z coordinate of momentum vector More... | |
virtual double | rapidity () const GCC11_FINAL |
rapidity More... | |
virtual void | setCharge (Charge q) GCC11_FINAL |
set electric charge More... | |
virtual void | setLongLived () GCC11_FINAL |
set long lived flag More... | |
virtual void | setMass (double m) GCC11_FINAL |
set particle mass More... | |
virtual void | setMassConstraint () GCC11_FINAL |
set mass constraint flag More... | |
virtual void | setP4 (const LorentzVector &p4) GCC11_FINAL |
set 4-momentum More... | |
virtual void | setP4 (const PolarLorentzVector &p4) GCC11_FINAL |
set 4-momentum More... | |
virtual void | setPdgId (int pdgId) GCC11_FINAL |
virtual void | setPz (double pz) GCC11_FINAL |
virtual void | setStatus (int status) GCC11_FINAL |
set status word More... | |
virtual void | setThreeCharge (Charge qx3) GCC11_FINAL |
set electric charge More... | |
virtual int | status () const GCC11_FINAL |
status word More... | |
virtual double | theta () const GCC11_FINAL |
momentum polar angle More... | |
virtual int | threeCharge () const GCC11_FINAL |
electric charge More... | |
virtual double | vertexChi2 () const |
chi-squares More... | |
virtual double | vertexCovariance (int i, int j) const |
(i, j)-th element of error matrix, i, j = 0, ... 2 More... | |
CovarianceMatrix | vertexCovariance () const GCC11_FINAL |
return SMatrix More... | |
virtual double | vertexNdof () const |
virtual double | vertexNormalizedChi2 () const |
chi-squared divided by n.d.o.f. More... | |
virtual double | y () const GCC11_FINAL |
rapidity More... | |
virtual | ~LeafCandidate () |
destructor More... | |
Public Member Functions inherited from reco::Candidate | |
template<typename S > | |
daughter_iterator< S >::type | beginFilter (const S &s) const |
Candidate () | |
default constructor More... | |
template<typename S > | |
daughter_iterator< S >::type | endFilter (const S &s) const |
template<typename T > | |
T | get () const |
get a component More... | |
template<typename T , typename Tag > | |
T | get () const |
get a component More... | |
template<typename T > | |
T | get (size_type i) const |
get a component More... | |
template<typename T , typename Tag > | |
T | get (size_type i) const |
get a component More... | |
template<typename Ref > | |
Ref | masterRef () const |
cast master clone reference to a concrete type More... | |
template<typename T > | |
size_type | numberOf () const |
number of components More... | |
template<typename T , typename Tag > | |
size_type | numberOf () const |
number of components More... | |
virtual void | setSourceCandidatePtr (const CandidatePtr &ptr) |
Set the ptr to the source Candidate. More... | |
virtual | ~Candidate () |
destructor More... | |
Static Public Attributes | |
static const float | bigMva_ = -999. |
Static Public Attributes inherited from reco::LeafCandidate | |
static const unsigned int | longLivedTag = 65536 |
long lived flag More... | |
static const unsigned int | massConstraintTag = 131072 |
do mass constraint flag More... | |
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_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 | |
Static Public Member Functions inherited from reco::LeafCandidate | |
static double | dmass (GlobalVector v, double e) |
static double | magd (GlobalVector v) |
Protected Member Functions inherited from reco::LeafCandidate | |
void | cacheCartesian () const |
set internal cache More... | |
void | cachePolar () const |
set internal cache More... | |
void | clearCache () const |
clear internal cache More... | |
Protected Attributes inherited from reco::LeafCandidate | |
bool | cacheCartesianFixed_ |
bool | cachePolarFixed_ |
has cache been set? More... | |
float | eta_ |
float | mass_ |
LorentzVector | p4Cartesian_ |
internal cache for p4 More... | |
PolarLorentzVector | p4Polar_ |
internal cache for p4 More... | |
int | pdgId_ |
PDG identifier. More... | |
float | phi_ |
float | pt_ |
four-momentum Lorentz vector More... | |
Charge | qx3_ |
electric charge More... | |
int | status_ |
status word More... | |
Point | vertex_ |
vertex position More... | |
Particle reconstructed by the particle flow algorithm.
particle candidate from particle flow
Definition at line 38 of file PFCandidate.h.
Definition at line 370 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 367 of file PFCandidate.h.
typedef std::vector<unsigned> reco::PFCandidate::Elements |
Definition at line 371 of file PFCandidate.h.
typedef std::vector< ElementInBlock > reco::PFCandidate::ElementsInBlocks |
Definition at line 368 of file PFCandidate.h.
Definition at line 54 of file PFCandidate.h.
particle types
Enumerator | |
---|---|
X | |
h | |
e | |
mu | |
gamma | |
h0 | |
h_HF | |
egamma_HF |
Definition at line 43 of file PFCandidate.h.
Enumerator | |
---|---|
kCandVertex | |
kTrkVertex | |
kComMuonVertex | |
kSAMuonVertex | |
kTrkMuonVertex | |
kGSFVertex | |
kTPFMSMuonVertex | |
kPickyMuonVertex |
Definition at line 75 of file PFCandidate.h.
PFCandidate::PFCandidate | ( | ) |
default constructor
Definition at line 31 of file PFCandidate.cc.
References muonTrackType_, reco::Muon::None, refsInfo_, reco::LeafCandidate::setPdgId(), translateTypeToPdgId(), and X.
Referenced by clone().
PFCandidate::PFCandidate | ( | const PFCandidatePtr & | sourcePtr | ) |
constructor from a reference (keeps track of source relationship)
Definition at line 60 of file PFCandidate.cc.
References sourcePtr_.
PFCandidate::PFCandidate | ( | Charge | q, |
const LorentzVector & | p4, | ||
ParticleType | particleId | ||
) |
Definition at line 67 of file PFCandidate.cc.
References blocksStorage_, e, elementsStorage_, edm::hlt::Exception, h, mu, muonTrackType_, reco::Muon::None, refsInfo_, edm::RefVector< C, T, F >::reserve(), reco::LeafCandidate::setPdgId(), and translateTypeToPdgId().
PFCandidate::PFCandidate | ( | const PFCandidate & | iOther | ) |
copy constructor
Definition at line 124 of file PFCandidate.cc.
References elementsInBlocks_, and tmp.
|
virtual |
destructor
Definition at line 198 of file PFCandidate.cc.
References elementsInBlocks_.
void PFCandidate::addElementInBlock | ( | const reco::PFBlockRef & | blockref, |
unsigned | elementIndex | ||
) |
add an element to the current PFCandidate
add element in block
Definition at line 207 of file PFCandidate.cc.
References blocksStorage_, elementsInBlocks_, elementsStorage_, edm::Ref< C, T, F >::id(), edm::RefVector< C, T, F >::push_back(), and edm::RefVector< C, T, F >::size().
Referenced by PFEGammaAlgo::fillPFCandidates(), PFPhotonAlgo::RunPFPhoton(), and PFElectronAlgo::SetCandidates().
|
inline |
Definition at line 344 of file PFCandidate.h.
References muonTrackType_.
|
virtual |
return a clone
Reimplemented from reco::CompositeCandidate.
Reimplemented in pat::PFParticle, reco::IsolatedPFCandidate, and reco::PileUpPFCandidate.
Definition at line 202 of file PFCandidate.cc.
References PFCandidate().
Referenced by DistortedPFCandProducer::produce().
reco::ConversionRef PFCandidate::conversionRef | ( | ) | const |
return a reference to the original conversion
Definition at line 550 of file PFCandidate.cc.
References GETREF, kRefConversionBit, and kRefConversionMask.
|
inline |
uncertainty on 3-momentum
Definition at line 280 of file PFCandidate.h.
References deltaP_.
Referenced by PFElectronTranslator::createGsfElectrons().
reco::PFDisplacedVertexRef PFCandidate::displacedVertexRef | ( | Flags | type | ) | const |
return a reference to the corresponding displaced vertex, otherwise, return a null reference
Definition at line 515 of file PFCandidate.cc.
References GETREF, kRefDisplacedVertexDauBit, kRefDisplacedVertexDauMask, kRefDisplacedVertexMotBit, kRefDisplacedVertexMotMask, T_FROM_DISP, and T_TO_DISP.
Referenced by PFCandConnector::analyseNuclearWPrim(), PFCandConnector::isPrimaryNucl(), and PFCandConnector::isSecondaryNucl().
|
inline |
return corrected Ecal energy
Definition at line 204 of file PFCandidate.h.
References ecalERatio_, and rawEcalEnergy_.
Referenced by PFCandConnector::analyseNuclearWPrim(), and PFCandidateBenchmark::fillOne().
reco::PFCandidateEGammaExtraRef PFCandidate::egammaExtraRef | ( | ) | const |
return a reference to the EGamma extra
Definition at line 592 of file PFCandidate.cc.
References GETREF, kRefPFEGammaExtraBit, and kRefPFEGammaExtraMask.
Referenced by PFEGammaFilters::isElectronSafeForJetMET(), PFEGammaFilters::isPhotonSafeForJetMET(), PFAlgo::processBlock(), and GEDGsfElectronCoreProducer::produceElectronCore().
reco::PFCandidateElectronExtraRef PFCandidate::electronExtraRef | ( | ) | const |
return a reference to the electron extra
Definition at line 580 of file PFCandidate.cc.
References GETREF, kRefPFElectronExtraBit, and kRefPFElectronExtraMask.
Referenced by PFElectronTranslator::createGsfElectrons(), and PFElectronTranslator::produce().
const PFCandidate::ElementsInBlocks & PFCandidate::elementsInBlocks | ( | ) | const |
Definition at line 675 of file PFCandidate.cc.
References blocksStorage_, elementsInBlocks_, elementsStorage_, edm::RefVector< C, T, F >::size(), and groupFilesInBlocks::temp.
Referenced by FWPFCandidateWithHitsProxyBuilder::addHitsForCandidate(), PFMuonAlgo::cleanPunchThroughAndFakes(), PFElectronTranslator::correspondingDaughterCandidate(), PFPhotonTranslator::correspondingDaughterCandidate(), PFPhotonAlgo::EvaluateGCorrMVA(), PFPhotonAlgo::EvaluateResMVA(), PFCandidateBenchmark::fillOne(), reco::modules::HICaloCompatibleTrackSelector::matchPFCandToTrack(), PFCandidateChecker::printElementsInBlocks(), PFAlgo::processBlock(), PFElectronTranslator::produce(), and PFPhotonTranslator::produce().
bool PFCandidate::flag | ( | Flags | theFlag | ) | const |
return a given flag
Definition at line 291 of file PFCandidate.cc.
References flags_.
Referenced by PFCandConnector::isPrimaryNucl(), PFCandConnector::isSecondaryNucl(), setConversionRef(), and setDisplacedVertexRef().
|
private |
|
private |
Definition at line 397 of file PFCandidate.cc.
References refsInfo_, s_refsBefore, and storedRefsBitPattern_.
reco::GsfElectronRef PFCandidate::gsfElectronRef | ( | ) | const |
return a reference to the corresponding GsfElectron if any
Definition at line 570 of file PFCandidate.cc.
References GETREF, kRefGsfElectronBit, and kRefGsfElectronMask.
Referenced by SoftPFElectronTagInfoProducer::fillElecProperties(), and SelectionStep< Object >::select().
reco::GsfTrackRef PFCandidate::gsfTrackRef | ( | ) | const |
return a reference to the corresponding GSF track, if an electron. otherwise, return a null reference
Definition at line 467 of file PFCandidate.cc.
References GETREF, kRefGsfTrackBit, and kRefGsfTrackMask.
Referenced by SoftPFElectronTagInfoProducer::fillElecProperties(), PFElectronTranslator::fillMVAValueMap(), LeptonRecoSkim::filter(), reco::tau::RecoTauQualityCuts::filterCand(), SoftPFElectronTagInfoProducer::isElecClean(), PFElectronTranslator::produce(), pat::PATPackedCandidateProducer::produce(), PFLinker::produce(), GEDGsfElectronCoreProducer::produceElectronCore(), and vertex().
|
inline |
return corrected Hcal energy
Definition at line 214 of file PFCandidate.h.
References hcalERatio_, and rawHcalEnergy_.
Referenced by PFCandConnector::analyseNuclearWPrim(), and PFCandidateBenchmark::fillOne().
|
inline |
return corrected Hcal energy
Definition at line 224 of file PFCandidate.h.
References hoERatio_, and rawHoEnergy_.
reco::MuonRef PFCandidate::muonRef | ( | ) | const |
return a reference to the corresponding muon, if a muon. otherwise, return a null reference
Definition at line 446 of file PFCandidate.cc.
References GETREF, kRefMuonBit, and kRefMuonMask.
Referenced by PFMuonAlgo::addMissingMuons(), PFMuonAlgo::cleanMismeasured(), PFMuonAlgo::cleanPunchThroughAndFakes(), SoftPFMuonTagInfoProducer::fillMuonProperties(), GreedyMuonPFCandidateFilter::filter(), InconsistentMuonPFCandidateFilter::filter(), PFMuonAlgo::getMinMaxMET2(), SoftPFMuonTagInfoProducer::isMuonClean(), PFMuonAlgo::postClean(), DistortedPFCandProducer::produce(), pat::PATMuonSlimmer::produce(), pat::PATPackedCandidateProducer::produce(), PFLinker::produce(), pat::PATMuonProducer::produce(), PFJetMETcorrInputProducerT< T, Textractor >::produce(), SelectionStep< Object >::select(), and vertex().
|
inline |
mva for electron-muon discrimination
Definition at line 301 of file PFCandidate.h.
References mva_e_mu_.
|
inline |
mva for electron-pion discrimination
Definition at line 294 of file PFCandidate.h.
References mva_e_pi_.
Referenced by PFElectronTranslator::createGsfElectrons(), PFElectronTranslator::fillMVAValueMap(), PFCandidateBenchmark::fillOne(), PFAlgo::processBlock(), and PFElectronTranslator::produce().
|
inline |
mva for neutral hadron - gamma discrimination
Definition at line 327 of file PFCandidate.h.
References mva_gamma_nh_.
|
inline |
mva for gamma detection
Definition at line 314 of file PFCandidate.h.
References mva_nothing_gamma_.
Referenced by PFPhotonIsolationCalculator::isPhotonParticleVetoed(), PFIsolationEstimator::isPhotonParticleVetoed(), PFLinker::produce(), and PFPhotonTranslator::produce().
|
inline |
mva for neutral hadron detection
Definition at line 320 of file PFCandidate.h.
References mva_nothing_nh_.
|
inline |
mva for pi-muon discrimination
Definition at line 307 of file PFCandidate.h.
References mva_pi_mu_.
|
inlinevirtual |
return the number of source Candidates ( the candidates used to construct this Candidate)
Reimplemented from reco::LeafCandidate.
Definition at line 125 of file PFCandidate.h.
PFCandidate & PFCandidate::operator= | ( | PFCandidate const & | iOther | ) |
Definition at line 160 of file PFCandidate.cc.
References blocksStorage_, deltaP_, ecalERatio_, elementsInBlocks_, elementsStorage_, flags_, getter_, hcalERatio_, hoERatio_, muonTrackType_, mva_e_mu_, mva_e_pi_, mva_gamma_nh_, mva_nothing_gamma_, mva_nothing_nh_, mva_pi_mu_, positionAtECALEntrance_, ps1Energy_, ps2Energy_, rawEcalEnergy_, rawHcalEnergy_, rawHoEnergy_, refsCollectionCache_, refsInfo_, sourcePtr_, storedRefsBitPattern_, tmp, and vertexType_.
|
privatevirtual |
Polymorphic overlap.
Reimplemented from reco::CompositeCandidate.
Definition at line 257 of file PFCandidate.cc.
References i, edm::Ptr< T >::isNonnull(), edm::Ptr< T >::isNull(), n, reco::Candidate::numberOfSourceCandidatePtrs(), sourceCandidatePtr(), reco::Candidate::sourceCandidatePtr(), and sourcePtr_.
|
inlinevirtual |
particle identification code
Definition at line 355 of file PFCandidate.h.
References reco::LeafCandidate::pdgId_, and translatePdgIdToType().
Referenced by PFTester::analyze(), PFMuonAlgo::cleanPunchThroughAndFakes(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::color(), metsig::SignAlgoResolutions::evalPF(), PFElectronTranslator::fillMVAValueMap(), PFCandidateBenchmark::fillOne(), GreedyMuonPFCandidateFilter::filter(), InconsistentMuonPFCandidateFilter::filter(), LeptonRecoSkim::filter(), reco::tau::RecoTauQualityCuts::filterCandByType(), reco::tau::RecoTauIsolationMasking::inCone(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::isBoson(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::isGluon(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::isHiggs(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::isLepton(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::isPhoton(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::isQuark(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::lineStyle(), reco::tau::qcuts::mapAndCutByType(), reco::modules::HICaloCompatibleTrackSelector::matchPFCandToTrack(), reco::tau::RecoTauBuilderCombinatoricPlugin::operator()(), PFAlgo::postCleaning(), PFPileUpAlgo::process(), MuonWithPFIsoProducerCopy::produce(), MuonWithPFIsoProducer::produce(), DistortedPFCandProducer::produce(), PFElectronTranslator::produce(), EgammaHLTPFChargedIsolationProducer::produce(), EgammaHLTPFNeutralIsolationProducer::produce(), Type0PFMETcorrInputProducer::produce(), pf2pat::PFMETAlgo::produce(), PFLinker::produce(), PFPhotonTranslator::produce(), reco::tau::RecoTauIsolationMasking::resolution(), pf2pat::PFIsoDepositAlgo::sameParticle(), setConversionRef(), setDisplacedVertexRef(), setPhotonRef(), setSuperClusterRef(), and setTrackRef().
reco::PFCandidatePhotonExtraRef PFCandidate::photonExtraRef | ( | ) | const |
return a reference to the photon extra
Definition at line 588 of file PFCandidate.cc.
References GETREF, kRefPFPhotonExtraBit, and kRefPFPhotonExtraMask.
Referenced by PFPhotonTranslator::produce().
reco::PhotonRef PFCandidate::photonRef | ( | ) | const |
return a reference to the corresponding Photon if any
Definition at line 584 of file PFCandidate.cc.
References GETREF, kRefPhotonBit, and kRefPhotonMask.
|
inline |
Definition at line 349 of file PFCandidate.h.
References positionAtECALEntrance_.
Referenced by PFCandIsolatorFromDeposits::SingleDeposit::compute(), PFIsolationEstimator::fGetIsolationInRings(), and reco::tau::RecoTauIsolationMasking::inCone().
|
inline |
|
inline |
|
inline |
return corrected Ecal energy
Definition at line 207 of file PFCandidate.h.
References rawEcalEnergy_.
Referenced by PFMuonAlgo::cleanPunchThroughAndFakes(), PFElectronTranslator::createBasicCluster(), and GreedyMuonPFCandidateFilter::filter().
|
inline |
return raw Hcal energy
Definition at line 217 of file PFCandidate.h.
References rawHcalEnergy_.
Referenced by PFMuonAlgo::cleanPunchThroughAndFakes(), and GreedyMuonPFCandidateFilter::filter().
|
inline |
void PFCandidate::rescaleMomentum | ( | double | rescaleFactor | ) |
particle momentum *= rescaleFactor
Definition at line 274 of file PFCandidate.cc.
References reco::LeafCandidate::p4(), and reco::LeafCandidate::setP4().
|
inline |
set mva for electron-muon discrimination
Definition at line 298 of file PFCandidate.h.
References mva_e_mu_.
|
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 291 of file PFCandidate.h.
References mva_e_pi_.
Referenced by PFEGammaAlgo::fillPFCandidates(), PFAlgo::processBlock(), and PFElectronAlgo::SetCandidates().
|
inline |
set mva for neutral hadron - gamma discrimination
Definition at line 324 of file PFCandidate.h.
References mva_gamma_nh_.
|
inline |
set mva for gamma detection
Definition at line 311 of file PFCandidate.h.
References mva_nothing_gamma_.
Referenced by PFAlgo::processBlock(), and PFPhotonAlgo::RunPFPhoton().
|
inline |
set mva for neutral hadron detection
Definition at line 317 of file PFCandidate.h.
References mva_nothing_nh_.
|
inline |
set mva for pi-muon discrimination
Definition at line 304 of file PFCandidate.h.
References mva_pi_mu_.
void PFCandidate::setConversionRef | ( | const reco::ConversionRef & | ref | ) |
set ref to original reco conversion
Definition at line 526 of file PFCandidate.cc.
References edm::hlt::Exception, flag(), gamma, GAMMA_TO_GAMMACONV, edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), kRefConversionBit, kRefConversionMask, pileupDistInMC::num, particleId(), edm::Ref< C, T, F >::productGetter(), edm::Ref< C, T, F >::refCore(), and storeRefInfo().
|
inline |
set uncertainty on momentum
Definition at line 277 of file PFCandidate.h.
References deltaP_, and reco::dp.
void PFCandidate::setDisplacedVertexRef | ( | const reco::PFDisplacedVertexRef & | ref, |
Flags | flag | ||
) |
set displaced vertex reference
Definition at line 471 of file PFCandidate.cc.
References edm::hlt::Exception, flag(), h, edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), kRefDisplacedVertexDauBit, kRefDisplacedVertexDauMask, kRefDisplacedVertexMotBit, kRefDisplacedVertexMotMask, pileupDistInMC::num, particleId(), edm::Ref< C, T, F >::productGetter(), edm::Ref< C, T, F >::refCore(), storeRefInfo(), T_FROM_DISP, and T_TO_DISP.
|
inline |
set corrected Ecal energy
Definition at line 200 of file PFCandidate.h.
References funct::abs(), ecalERatio_, and rawEcalEnergy_.
Referenced by PFEGammaAlgo::fillPFCandidates(), PFAlgo::processBlock(), PFPhotonAlgo::RunPFPhoton(), and PFElectronAlgo::SetCandidates().
void PFCandidate::setFlag | ( | Flags | theFlag, |
bool | value | ||
) |
set a given flag
Definition at line 281 of file PFCandidate.cc.
References flags_.
Referenced by PFPhotonAlgo::RunPFPhoton().
|
private |
void PFCandidate::setGsfElectronRef | ( | const reco::GsfElectronRef & | ref | ) |
set GsfElectronRef
Definition at line 565 of file PFCandidate.cc.
References edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), kRefGsfElectronBit, kRefGsfElectronMask, edm::Ref< C, T, F >::productGetter(), edm::Ref< C, T, F >::refCore(), and storeRefInfo().
Referenced by PFLinker::produce().
void PFCandidate::setGsfTrackRef | ( | const reco::GsfTrackRef & | ref | ) |
set gsftrack reference
Definition at line 450 of file PFCandidate.cc.
References edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), kRefGsfTrackBit, kRefGsfTrackMask, edm::Ref< C, T, F >::productGetter(), edm::Ref< C, T, F >::refCore(), and storeRefInfo().
Referenced by PFEGammaAlgo::fillPFCandidates(), and PFElectronAlgo::SetCandidates().
|
inline |
set corrected Hcal energy
Definition at line 210 of file PFCandidate.h.
References funct::abs(), hcalERatio_, and rawHcalEnergy_.
Referenced by PFAlgo::processBlock(), PFPhotonAlgo::RunPFPhoton(), and PFElectronAlgo::SetCandidates().
|
inline |
set corrected Hcal energy
Definition at line 220 of file PFCandidate.h.
References funct::abs(), hoERatio_, and rawHoEnergy_.
Referenced by PFAlgo::processBlock().
void PFCandidate::setMuonRef | ( | const reco::MuonRef & | ref | ) |
set muon reference
Definition at line 432 of file PFCandidate.cc.
References edm::hlt::Exception, edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), kRefMuonBit, kRefMuonMask, edm::Ref< C, T, F >::productGetter(), edm::Ref< C, T, F >::refCore(), storeRefInfo(), and trackRef().
Referenced by PFLinker::produce(), and PFMuonAlgo::reconstructMuon().
|
inline |
Definition at line 338 of file PFCandidate.h.
References muonTrackType_.
Referenced by PFMuonAlgo::changeTrack().
void PFCandidate::setParticleType | ( | ParticleType | type | ) |
set Particle Type
Definition at line 252 of file PFCandidate.cc.
References reco::LeafCandidate::setPdgId(), and translateTypeToPdgId().
Referenced by PFMuonAlgo::changeTrack(), PFAlgo::processBlock(), and DeltaBetaWeights::produce().
void PFCandidate::setPFEGammaExtraRef | ( | const reco::PFCandidateEGammaExtraRef & | ref | ) |
set the PF EGamma Extra Ref
Definition at line 637 of file PFCandidate.cc.
References edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), kRefPFEGammaExtraBit, kRefPFEGammaExtraMask, edm::Ref< C, T, F >::productGetter(), edm::Ref< C, T, F >::refCore(), and storeRefInfo().
Referenced by PFEGammaProducer::produce().
void PFCandidate::setPFElectronExtraRef | ( | const reco::PFCandidateElectronExtraRef & | ref | ) |
set the PF Electron Extra Ref
Definition at line 575 of file PFCandidate.cc.
References edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), kRefPFElectronExtraBit, kRefPFElectronExtraMask, edm::Ref< C, T, F >::productGetter(), edm::Ref< C, T, F >::refCore(), and storeRefInfo().
void PFCandidate::setPFPhotonExtraRef | ( | const reco::PFCandidatePhotonExtraRef & | ref | ) |
set the PF Photon Extra Ref
Definition at line 632 of file PFCandidate.cc.
References edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), kRefPFPhotonExtraBit, kRefPFPhotonExtraMask, edm::Ref< C, T, F >::productGetter(), edm::Ref< C, T, F >::refCore(), and storeRefInfo().
void PFCandidate::setPhotonRef | ( | const reco::PhotonRef & | phRef | ) |
set ref to the corresponding reco::Photon if any
Definition at line 600 of file PFCandidate.cc.
References e, edm::hlt::Exception, gamma, edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), kRefPhotonBit, kRefPhotonMask, pileupDistInMC::num, particleId(), edm::Ref< C, T, F >::productGetter(), edm::Ref< C, T, F >::refCore(), and storeRefInfo().
Referenced by PFLinker::produce().
|
inline |
set position at ECAL entrance
Definition at line 330 of file PFCandidate.h.
References positionAtECALEntrance_.
Referenced by PFEGammaAlgo::fillPFCandidates(), PFPhotonAlgo::RunPFPhoton(), and PFElectronAlgo::SetCandidates().
|
inline |
set corrected PS1 energy
Definition at line 256 of file PFCandidate.h.
References reco::e1, and ps1Energy_.
Referenced by PFPhotonAlgo::RunPFPhoton(), and PFElectronAlgo::SetCandidates().
|
inline |
set corrected PS2 energy
Definition at line 262 of file PFCandidate.h.
References reco::e2, and ps2Energy_.
Referenced by PFPhotonAlgo::RunPFPhoton(), and PFElectronAlgo::SetCandidates().
|
inline |
Definition at line 123 of file PFCandidate.h.
References sourcePtr_.
Referenced by reco::PFCandidateWithSrcPtrFactory::operator()(), and FFTJetPFPileupCleaner::produce().
void PFCandidate::setSuperClusterRef | ( | const reco::SuperClusterRef & | scRef | ) |
Definition at line 616 of file PFCandidate.cc.
References e, edm::hlt::Exception, gamma, edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), kRefSuperClusterBit, kRefSuperClusterMask, pileupDistInMC::num, particleId(), edm::Ref< C, T, F >::productGetter(), edm::Ref< C, T, F >::refCore(), and storeRefInfo().
Referenced by PFEGammaAlgo::fillPFCandidates(), PFLinker::produce(), PFEGammaProducer::produce(), PFPhotonAlgo::RunPFPhoton(), and PFElectronAlgo::SetCandidates().
void PFCandidate::setTrackRef | ( | const reco::TrackRef & | ref | ) |
set track reference
Definition at line 412 of file PFCandidate.cc.
References reco::LeafCandidate::charge(), edm::hlt::Exception, edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), kRefTrackBit, kRefTrackMask, pileupDistInMC::num, particleId(), edm::Ref< C, T, F >::productGetter(), edm::Ref< C, T, F >::refCore(), and storeRefInfo().
Referenced by PFEGammaAlgo::fillPFCandidates(), and PFElectronAlgo::SetCandidates().
void PFCandidate::setV0Ref | ( | const reco::VertexCompositeCandidateRef & | ref | ) |
set ref to original reco conversion
Definition at line 555 of file PFCandidate.cc.
References edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), kRefV0Bit, kRefV0Mask, edm::Ref< C, T, F >::productGetter(), edm::Ref< C, T, F >::refCore(), and storeRefInfo().
|
inlinevirtual |
set vertex
Reimplemented from reco::LeafCandidate.
Definition at line 390 of file PFCandidate.h.
References kCandVertex, reco::LeafCandidate::p(), reco::LeafCandidate::vertex_, and vertexType_.
Referenced by PFAlgo::processBlock(), PFConcretePFCandidateProducer::produce(), and PFPhotonAlgo::RunPFPhoton().
|
inline |
Definition at line 388 of file PFCandidate.h.
References kCandVertex, reco::LeafCandidate::vertex_, and vertexType_.
Referenced by PFMuonAlgo::changeTrack(), and PFElectronAlgo::SetCandidates().
|
inlinevirtual |
return a Ptr to one of the source Candidates ( the candidates used to construct this Candidate)
Reimplemented from reco::LeafCandidate.
Definition at line 129 of file PFCandidate.h.
References sourcePtr_.
Referenced by overlap().
|
private |
Definition at line 357 of file PFCandidate.cc.
References bitPackRefInfo(), compareJSON::const, getter_, edm::RefCore::productPtr(), refsCollectionCache_, refsInfo_, s_refsBefore, and storedRefsBitPattern_.
Referenced by setConversionRef(), setDisplacedVertexRef(), setGsfElectronRef(), setGsfTrackRef(), setMuonRef(), setPFEGammaExtraRef(), setPFElectronExtraRef(), setPFPhotonExtraRef(), setPhotonRef(), setSuperClusterRef(), setTrackRef(), and setV0Ref().
reco::SuperClusterRef PFCandidate::superClusterRef | ( | ) | const |
return a reference to the corresponding SuperCluster if any
Definition at line 596 of file PFCandidate.cc.
References GETREF, kRefSuperClusterBit, and kRefSuperClusterMask.
Referenced by PFCandWithSuperClusterExtractor::depositFromObject(), PFPhotonAlgo::EvaluateGCorrMVA(), PFPhotonAlgo::EvaluateResMVA(), PFIsolationEstimator::fGetIsolationInRings(), PFPhotonIsolationCalculator::isPhotonParticleVetoed(), PFIsolationEstimator::isPhotonParticleVetoed(), PFPhotonIsolationCalculator::matchPFObject(), PFIsolationEstimator::matchPFObject(), PFLinker::produce(), and PFPhotonTranslator::produce().
reco::TrackRef PFCandidate::trackRef | ( | ) | const |
return a reference to the corresponding track, if charged. otherwise, return a null reference
Definition at line 429 of file PFCandidate.cc.
References GETREF, kRefTrackBit, and kRefTrackMask.
Referenced by PFMuonAlgo::addMissingMuons(), PFPileUpAlgo::chargedHadronVertex(), PFIsolationEstimator::chargedHadronVertex(), PFPhotonIsolationCalculator::chargedHadronVertex(), metsig::SignAlgoResolutions::evalPF(), PFCandCommonVertexFitterBase::fill(), SoftPFMuonTagInfoProducer::fillMuonProperties(), reco::tau::RecoTauQualityCuts::filterCand(), FFTJetPFPileupCleaner::findSomeVertexWFakes(), pat::helper::VertexingHelper::getTrack_(), PFPhotonIsolationCalculator::isChargedParticleVetoed(), PFIsolationEstimator::isChargedParticleVetoed(), reco::modules::HICaloCompatibleTrackSelector::matchPFCandToTrack(), MuonWithPFIsoProducerCopy::produce(), MuonWithPFIsoProducer::produce(), PFElectronTranslator::produce(), pat::PATLostTracks::produce(), EgammaHLTPFChargedIsolationProducer::produce(), pat::PATPackedCandidateProducer::produce(), setMuonRef(), PFRecoTauDiscriminationByFlightPathSignificance::threeProngFlightPathSig(), and vertex().
PFCandidate::ParticleType PFCandidate::translatePdgIdToType | ( | int | pdgid | ) | const |
Definition at line 220 of file PFCandidate.cc.
References funct::abs(), e, egamma_HF, gamma, h, h0, h_HF, mu, and X.
Referenced by particleId(), DeltaBetaWeights::produce(), and citk::PFIsolationSumProducer::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 234 of file PFCandidate.cc.
References reco::LeafCandidate::charge(), e, egamma_HF, gamma, h, h0, h_HF, mu, and X.
Referenced by PFCandidate(), and setParticleType().
reco::VertexCompositeCandidateRef PFCandidate::v0Ref | ( | ) | const |
return a reference to the original conversion
Definition at line 560 of file PFCandidate.cc.
References GETREF, kRefV0Bit, and kRefV0Mask.
|
virtual |
vertex position (overwritten by PF...)
Reimplemented from reco::LeafCandidate.
Definition at line 643 of file PFCandidate.cc.
References gsfTrackRef(), kCandVertex, kComMuonVertex, kGSFVertex, kPickyMuonVertex, kSAMuonVertex, kTPFMSMuonVertex, kTrkMuonVertex, kTrkVertex, muonRef(), trackRef(), reco::LeafCandidate::vertex_, and vertexType_.
Referenced by FWPFCandidateWithHitsProxyBuilder::build(), FWPFCandidate3DProxyBuilder::build(), PFPileUpAlgo::chargedHadronVertex(), PFIsolationEstimator::chargedHadronVertex(), PFPhotonIsolationCalculator::chargedHadronVertex(), PFCandWithSuperClusterExtractor::depositFromObject(), FFTJetPFPileupCleaner::findSomeVertexWFakes(), PFConcretePFCandidateProducer::produce(), EgammaHLTPFNeutralIsolationProducer::produce(), pat::PATPackedCandidateProducer::produce(), vx(), vy(), and vz().
|
inlinevirtual |
x coordinate of vertex position
Reimplemented from reco::LeafCandidate.
Definition at line 395 of file PFCandidate.h.
References vertex().
Referenced by PFIsolationEstimator::fGetIsolationInRings().
|
inlinevirtual |
y coordinate of vertex position
Reimplemented from reco::LeafCandidate.
Definition at line 396 of file PFCandidate.h.
References vertex().
Referenced by PFIsolationEstimator::fGetIsolationInRings().
|
inlinevirtual |
z coordinate of vertex position
Reimplemented from reco::LeafCandidate.
Definition at line 397 of file PFCandidate.h.
References vertex().
Referenced by PFCandWithSuperClusterExtractor::depositFromObject(), and PFIsolationEstimator::fGetIsolationInRings().
|
friend |
|
static |
Definition at line 375 of file PFCandidate.h.
|
private |
Definition at line 413 of file PFCandidate.h.
Referenced by addElementInBlock(), elementsInBlocks(), operator=(), and PFCandidate().
|
private |
uncertainty on 3-momentum
Definition at line 453 of file PFCandidate.h.
Referenced by deltaP(), operator=(), and setDeltaP().
|
private |
corrected ECAL energy ratio (corrected/raw)
Definition at line 426 of file PFCandidate.h.
Referenced by ecalEnergy(), operator=(), and setEcalEnergy().
|
mutableprivate |
Definition at line 409 of file PFCandidate.h.
Referenced by addElementInBlock(), elementsInBlocks(), operator=(), PFCandidate(), and ~PFCandidate().
|
private |
Definition at line 414 of file PFCandidate.h.
Referenced by addElementInBlock(), elementsInBlocks(), operator=(), and PFCandidate().
|
private |
all flags, packed (ecal regional, hcal regional, tracking)
Definition at line 450 of file PFCandidate.h.
Referenced by flag(), operator=(), and setFlag().
|
private |
Definition at line 487 of file PFCandidate.h.
Referenced by operator=(), and storeRefInfo().
|
private |
corrected HCAL energy ratio (corrected/raw)
Definition at line 429 of file PFCandidate.h.
Referenced by hcalEnergy(), operator=(), and setHcalEnergy().
|
private |
corrected HO energy ratio (corrected/raw)
Definition at line 432 of file PFCandidate.h.
Referenced by hoEnergy(), operator=(), and setHoEnergy().
|
private |
Reference to the best track if it is a muon pF is allowed to switch the default muon track
Definition at line 423 of file PFCandidate.h.
Referenced by bestMuonTrackType(), operator=(), PFCandidate(), and setMuonTrackType().
|
private |
mva for electron-muon discrimination
Definition at line 461 of file PFCandidate.h.
Referenced by mva_e_mu(), operator=(), and set_mva_e_mu().
|
private |
mva for electron-pion discrimination
Definition at line 458 of file PFCandidate.h.
Referenced by mva_e_pi(), operator=(), and set_mva_e_pi().
|
private |
mva for neutral hadron - gamma discrimination
Definition at line 473 of file PFCandidate.h.
Referenced by mva_gamma_nh(), operator=(), and set_mva_gamma_nh().
|
private |
mva for gamma detection
Definition at line 467 of file PFCandidate.h.
Referenced by mva_nothing_gamma(), operator=(), and set_mva_nothing_gamma().
|
private |
mva for neutral hadron detection
Definition at line 470 of file PFCandidate.h.
Referenced by mva_nothing_nh(), operator=(), and set_mva_nothing_nh().
|
private |
mva for pi-muon discrimination
Definition at line 464 of file PFCandidate.h.
Referenced by mva_pi_mu(), operator=(), and set_mva_pi_mu().
|
private |
position at ECAL entrance, from the PFRecTrack
Definition at line 476 of file PFCandidate.h.
Referenced by operator=(), positionAtECALEntrance(), and setPositionAtECALEntrance().
|
private |
corrected PS1 energy
Definition at line 444 of file PFCandidate.h.
Referenced by operator=(), pS1Energy(), and setPs1Energy().
|
private |
corrected PS2 energy
Definition at line 447 of file PFCandidate.h.
Referenced by operator=(), pS2Energy(), and setPs2Energy().
|
private |
raw ECAL energy
Definition at line 435 of file PFCandidate.h.
Referenced by ecalEnergy(), operator=(), rawEcalEnergy(), and setEcalEnergy().
|
private |
raw HCAL energy
Definition at line 438 of file PFCandidate.h.
Referenced by hcalEnergy(), operator=(), rawHcalEnergy(), and setHcalEnergy().
|
private |
raw HO energy
Definition at line 441 of file PFCandidate.h.
Referenced by hoEnergy(), operator=(), rawHoEnergy(), and setHoEnergy().
|
private |
Definition at line 490 of file PFCandidate.h.
Referenced by operator=(), and storeRefInfo().
|
private |
Definition at line 489 of file PFCandidate.h.
Referenced by getRefInfo(), operator=(), PFCandidate(), and storeRefInfo().
|
private |
reference to the source PFCandidate, if any
Definition at line 418 of file PFCandidate.h.
Referenced by operator=(), overlap(), PFCandidate(), setSourceCandidatePtr(), and sourceCandidatePtr().
|
private |
Definition at line 488 of file PFCandidate.h.
Referenced by getRefInfo(), operator=(), and storeRefInfo().
|
private |
Definition at line 455 of file PFCandidate.h.
Referenced by operator=(), setVertex(), setVertexSource(), and vertex().