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