Go to the documentation of this file. 1 #ifndef DataFormats_L1TParticleFlow_PFCandidate_h
2 #define DataFormats_L1TParticleFlow_PFCandidate_h
const PFTrackRef & pfTrack() const
void setPFTrack(const PFTrackRef &ref)
const PFClusterRef & pfCluster() const
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
edm::Ptr< l1t::Muon > MuonRef
const MuonRef & muon() const
edm::Ref< l1t::PFCandidateCollection > PFCandidateRef
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
float puppiWeight() const
PUPPI weight (-1 if not available)
void setMuon(const MuonRef &ref)
int charge() const final
electric charge
PFCandidate(ParticleType kind, int charge, const LorentzVector &p, float puppiWeight=-1, int hwpt=0, int hweta=0, int hwphi=0)
void setPdgIdFromParticleType(int charge, ParticleType kind)
std::vector< l1t::PFCandidate > PFCandidateCollection
edm::RefVector< l1t::PFCandidateCollection > PFCandidateRefVector
void setPFCluster(const PFClusterRef &ref)
double p() const final
magnitude of momentum vector
math::XYZTLorentzVector LorentzVector
Lorentz vector.