1 #ifndef DataFormats_L1TParticleFlow_PFJet_h 2 #define DataFormats_L1TParticleFlow_PFJet_h 16 PFJet(
float pt,
float eta,
float phi,
float mass = 0,
int hwpt = 0,
int hweta = 0,
int hwphi = 0)
void setEncodedJet(std::array< uint64_t, 2 > jet)
double pt() const final
transverse momentum
PFJet(const LorentzVector &p4, int hwpt=0, int hweta=0, int hwphi=0)
const reco::Candidate * daughter(size_type i) const override
return daughter at a given position (throws an exception)
Constituents constituents_
void addConstituent(const edm::Ptr< l1t::L1Candidate > &cand)
adds a candidate to this cluster; note that this only records the information, it's up to you to also...
const LorentzVector & p4() const final
four-momentum Lorentz vector
std::vector< l1t::PFJet > PFJetCollection
const Candidate * daughter(size_type) const override
return daughter at a given position (throws an exception)
edm::Ptr< l1t::L1Candidate > daughterPtr(size_type i) const
PFJet(float pt, float eta, float phi, float mass=0, int hwpt=0, int hweta=0, int hwphi=0)
void calibratePt(float newpt)
edm::Ref< l1t::PFJetCollection > PFJetRef
const Constituents & constituents() const
constituent information. note that this is not going to be available in the hardware! ...
std::vector< l1t::PFJetRef > PFJetVectorRef
std::array< uint64_t, 2 > encodedJet()
math::XYZTLorentzVector LorentzVector
Lorentz vector.
double mass() const final
mass
std::array< uint64_t, 2 > encodedJet_
double phi() const final
momentum azimuthal angle
std::vector< edm::Ptr< l1t::L1Candidate > > Constituents
constituent information. note that this is not going to be available in the hardware! ...
size_t numberOfDaughters() const override
number of daughters
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
double eta() const final
momentum pseudorapidity