Go to the documentation of this file. 1 #ifndef DataFormats_L1TParticleFlow_PFCluster_h
2 #define DataFormats_L1TParticleFlow_PFCluster_h
47 void calibratePt(
float newpt,
float preserveEmEt =
true);
PFCluster(const LorentzVector &p4, float hOverE, bool isEM, float ptError=0, int hwpt=0, int hweta=0, int hwphi=0)
void setPdgId(int pdgId) final
PFCluster(float pt, float eta, float phi, float hOverE=0, bool isEM=false, float ptError=0, int hwpt=0, int hweta=0, int hwphi=0)
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
const ConstituentsAndFractions & constituentsAndFractions() const
constituent information. note that this is not going to be available in the hardware!
float egVsPionMVAOut() const
double pt() const final
transverse momentum
void setPtError(float ptError)
void addConstituent(const edm::Ptr< l1t::L1Candidate > &cand, float fraction=1.0)
adds a candidate to this cluster; note that this only records the information, it's up to you to also...
edm::Ref< l1t::PFClusterCollection > PFClusterRef
std::vector< ConstituentAndFraction > ConstituentsAndFractions
double eta() const final
momentum pseudorapidity
void setEgVsPionMVAOut(float egVsPionMVAOut)
const LorentzVector & p4() const final
four-momentum Lorentz vector
void setHOverE(float hOverE)
ConstituentsAndFractions constituents_
void calibratePt(float newpt, float preserveEmEt=true)
double phi() const final
momentum azimuthal angle
void setEgVsPUMVAOut(float egVsPUMVAOut)
math::XYZTLorentzVector LorentzVector
Lorentz vector.
float egVsPUMVAOut() const
std::vector< l1t::PFCluster > PFClusterCollection
std::pair< edm::Ptr< l1t::L1Candidate >, float > ConstituentAndFraction
constituent information. note that this is not going to be available in the hardware!