Particle reconstructed by the particle flow algorithm. More...
#include <PileUpPFCandidate.h>
Public Member Functions | |
virtual PileUpPFCandidate * | clone () const |
return a clone More... | |
PileUpPFCandidate () | |
default constructor More... | |
PileUpPFCandidate (const PFCandidatePtr &candidatePtr, const VertexRef &vertexRef) | |
const VertexRef & | vertexRef () const |
return reference to the associated vertex More... | |
virtual | ~PileUpPFCandidate () |
destructor More... | |
Public Member Functions inherited from reco::PFCandidate | |
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... | |
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 |
virtual int | charge () const |
electric charge More... | |
template<typename S > | |
daughter_iterator< S >::type | endFilter (const S &s) const |
virtual double | energy () const |
energy More... | |
virtual double | et () const |
transverse energy More... | |
virtual float | eta () const |
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 |
is long lived? More... | |
virtual float | mass () const |
mass More... | |
virtual bool | massConstraint () const |
do mass constraint? More... | |
virtual float | massSqr () const |
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 |
spatial momentum vector More... | |
virtual double | mt () const |
transverse mass More... | |
virtual double | mtSqr () const |
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 |
magnitude of momentum vector More... | |
virtual const LorentzVector & | p4 () const |
four-momentum Lorentz vector More... | |
virtual int | pdgId () const |
PDG identifier. More... | |
virtual float | phi () const |
momentum azimuthal angle More... | |
virtual const PolarLorentzVector & | polarP4 () const |
four-momentum Lorentz vector More... | |
virtual float | pt () const |
transverse momentum More... | |
virtual double | px () const |
x coordinate of momentum vector More... | |
virtual double | py () const |
y coordinate of momentum vector More... | |
virtual double | pz () const |
z coordinate of momentum vector More... | |
virtual double | rapidity () const |
rapidity More... | |
virtual void | setCharge (Charge q) |
set electric charge More... | |
virtual void | setLongLived () |
set long lived flag More... | |
virtual void | setMass (double m) |
set particle mass More... | |
virtual void | setMassConstraint () |
set mass constraint flag More... | |
virtual void | setP4 (const LorentzVector &p4) |
set 4-momentum More... | |
virtual void | setP4 (const PolarLorentzVector &p4) |
set 4-momentum More... | |
virtual void | setPdgId (int pdgId) |
virtual void | setPz (double pz) |
virtual void | setStatus (int status) |
set status word More... | |
virtual void | setThreeCharge (Charge qx3) |
set electric charge More... | |
virtual int | status () const |
status word More... | |
virtual double | theta () const |
momentum polar angle More... | |
virtual int | threeCharge () const |
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 |
return SMatrix More... | |
virtual double | vertexNdof () const |
virtual double | vertexNormalizedChi2 () const |
chi-squared divided by n.d.o.f. More... | |
virtual double | y () const |
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... | |
Private Attributes | |
VertexRef | vertexRef_ |
Friends | |
std::ostream & | operator<< (std::ostream &out, const PileUpPFCandidate &c) |
Additional Inherited Members | |
Public Types inherited from reco::PFCandidate | |
typedef edm::RefVector < reco::PFBlockCollection > | Blocks |
typedef std::pair < reco::PFBlockRef, unsigned > | ElementInBlock |
return indices of elements used in the block More... | |
typedef std::vector< unsigned > | Elements |
typedef std::vector < ElementInBlock > | ElementsInBlocks |
enum | Flags { NORMAL =0, E_PHI_SMODULES, E_ETA_0, E_ETA_MODULES, E_BARREL_ENDCAP, E_PRESHOWER_EDGE, E_PRESHOWER, E_ENDCAP_EDGE, H_ETA_0, H_BARREL_ENDCAP, H_ENDCAP_VFCAL, H_VFCAL_EDGE, T_TO_DISP, T_FROM_DISP, T_FROM_V0, T_FROM_GAMMACONV, GAMMA_TO_GAMMACONV } |
enum | ParticleType { X =0, h, e, mu, gamma, h0, h_HF, egamma_HF } |
particle types More... | |
enum | PFVertexType { kCandVertex =0, kTrkVertex =1, kComMuonVertex =2, kSAMuonVertex =3, kTrkMuonVertex =4, kGSFVertex =5, kTPFMSMuonVertex =6, kPickyMuonVertex =7 } |
Public Types inherited from reco::CompositeCandidate | |
typedef CandidateCollection | daughters |
collection of daughters More... | |
typedef std::vector< std::string > | role_collection |
Public Types inherited from reco::LeafCandidate | |
typedef int | Charge |
electric charge type More... | |
typedef CandidateCollection | daughters |
collection of daughter candidates More... | |
typedef unsigned int | index |
typedef math::XYZTLorentzVector | LorentzVector |
Lorentz vector. More... | |
typedef math::XYZPoint | Point |
point in the space More... | |
typedef math::PtEtaPhiMLorentzVector | PolarLorentzVector |
Lorentz vector. More... | |
typedef math::XYZVector | Vector |
point in the space More... | |
Public Types inherited from reco::Candidate | |
enum | { dimension = 3 } |
enum | { size = dimension * (dimension + 1)/2 } |
matix size More... | |
typedef int | Charge |
electric charge type More... | |
typedef candidate::const_iterator | const_iterator |
typedef math::Error< dimension > ::type | CovarianceMatrix |
covariance error matrix (3x3) More... | |
typedef unsigned int | index |
index type More... | |
typedef candidate::iterator | iterator |
typedef math::XYZTLorentzVector | LorentzVector |
Lorentz vector. More... | |
typedef math::XYZPoint | Point |
point in the space More... | |
typedef math::PtEtaPhiMLorentzVector | PolarLorentzVector |
Lorentz vector. More... | |
typedef size_t | size_type |
typedef math::XYZVector | Vector |
point in the space More... | |
Static Public Member Functions inherited from reco::LeafCandidate | |
static double | dmass (GlobalVector v, double e) |
static double | magd (GlobalVector v) |
Static Public Attributes inherited from reco::PFCandidate | |
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... | |
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.
Definition at line 17 of file PileUpPFCandidate.h.
PileUpPFCandidate::PileUpPFCandidate | ( | ) |
PileUpPFCandidate::PileUpPFCandidate | ( | const PFCandidatePtr & | candidatePtr, |
const VertexRef & | vertexRef | ||
) |
Definition at line 9 of file PileUpPFCandidate.cc.
|
virtual |
|
virtual |
return a clone
Reimplemented from reco::PFCandidate.
Definition at line 14 of file PileUpPFCandidate.cc.
References PileUpPFCandidate().
|
inline |
return reference to the associated vertex
Definition at line 34 of file PileUpPFCandidate.h.
References vertexRef_.
|
friend |
|
private |
Definition at line 42 of file PileUpPFCandidate.h.
Referenced by vertexRef().