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