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