Go to the documentation of this file. 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)
const reco::Candidate * daughter(size_type i) const override
return daughter at a given position (throws an exception)
std::vector< edm::Ptr< l1t::L1Candidate > > Constituents
constituent information. note that this is not going to be available in the hardware!
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
std::vector< l1t::PFJetRef > PFJetVectorRef
double pt() const final
transverse momentum
Constituents constituents_
size_t numberOfDaughters() const override
number of daughters
double mass() const final
mass
double eta() const final
momentum pseudorapidity
const Candidate * daughter(size_type) const override
return daughter at a given position (throws an exception)
const LorentzVector & p4() const final
four-momentum Lorentz vector
PFJet(float pt, float eta, float phi, float mass=0, int hwpt=0, int hweta=0, int hwphi=0)
void calibratePt(float newpt)
double phi() const final
momentum azimuthal angle
const Constituents & constituents() const
constituent information. note that this is not going to be available in the hardware!
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...
edm::Ptr< l1t::L1Candidate > daughterPtr(size_type i) const
edm::Ref< l1t::PFJetCollection > PFJetRef
std::vector< l1t::PFJet > PFJetCollection
math::XYZTLorentzVector LorentzVector
Lorentz vector.
PFJet(const LorentzVector &p4, int hwpt=0, int hweta=0, int hwphi=0)