1 #ifndef DataFormats_L1TParticleFlow_PFCluster_h 2 #define DataFormats_L1TParticleFlow_PFCluster_h 57 void calibratePt(
float newpt,
float preserveEmEt =
true);
std::vector< ConstituentAndFraction > ConstituentsAndFractions
double pt() const final
transverse momentum
void setEgVsPionMVAOut(float egVsPionMVAOut)
void setHOverE(float hOverE)
void setEgVsPUMVAOut(float egVsPUMVAOut)
ConstituentsAndFractions constituents_
void calibratePt(float newpt, float preserveEmEt=true)
const LorentzVector & p4() const final
four-momentum Lorentz vector
float egVsPUMVAOut() const
void setAbsZBarycenter(float absZBarycenter)
std::pair< edm::Ptr< l1t::L1Candidate >, float > ConstituentAndFraction
constituent information. note that this is not going to be available in the hardware! ...
PFCluster(const LorentzVector &p4, float hOverE, bool isEM, float ptError=0, int hwpt=0, int hweta=0, int hwphi=0)
std::vector< l1t::PFCluster > PFClusterCollection
const ConstituentsAndFractions & constituentsAndFractions() const
constituent information. note that this is not going to be available in the hardware! ...
float absZBarycenter() const
float egVsPionMVAOut() const
math::XYZTLorentzVector LorentzVector
Lorentz vector.
void setPtError(float ptError)
unsigned int hwEmID() const
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...
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, float absZBarycenter=0., float sigmaRR=0.)
double phi() const final
momentum azimuthal angle
void setSigmaRR(float sigmaRR)
void setPdgId(int pdgId) final
edm::Ref< l1t::PFClusterCollection > PFClusterRef
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
double eta() const final
momentum pseudorapidity