19 :
Jet (fP4, fVertex, fConstituents),
20 m_specific (fSpecific)
26 m_specific (fSpecific)
32 :
Jet (fP4,
Point(0,0,0), fConstituents),
33 m_specific (fSpecific)
45 throw cms::Exception(
"Invalid Constituent") <<
"PFJet constituent is not of PFCandidate type";
54 std::vector <PFCandidatePtr>
result;
77 return new PFJet (*
this);
85 std::ostringstream
out;
87 <<
" PFJet specific:" << std::endl
99 out <<
" PFCandidate constituents:" << std::endl;
101 for (
unsigned i = 0;
i < constituents.size (); ++
i) {
102 if (constituents[
i].
get()) {
103 out <<
" #" <<
i <<
" " << *(constituents[
i]) << std::endl;
106 out <<
" #" <<
i <<
" PFCandidate is not available in the event" << std::endl;
116 <<
"(pt, eta, phi) = "<<jet.
pt()<<
","<<jet.
eta()<<
","<<jet.
phi()
117 <<
" (Rch,Rnh,Rgamma,Re,Rmu,RHFHad,RHFEM) = "
float photonEnergy() const
photonEnergy
int photonMultiplicity() const
photonMultiplicity
float muonEnergy() const
muonEnergy
virtual bool overlap(const Candidate &) const
Polymorphic overlap.
float chargedEmEnergy() const
chargedEmEnergy
CandidatePtr daughterPtr(size_type i) const
reference to daughter at given position
float chargedHadronEnergyFraction() const
chargedHadronEnergyFraction
Base class for all types of Jets.
std::vector< Constituent > Constituents
float HFEMEnergyFraction() const
HFEMEnergyFraction.
float HFHadronEnergy() const
HFHadronEnergy.
int chargedMultiplicity() const
chargedMultiplicity
float photonEnergyFraction() const
photonEnergyFraction
Jets made from PFObjects.
float neutralEmEnergy() const
neutralEmEnergy
virtual reco::PFCandidatePtr getPFConstituent(unsigned fIndex) const
get specific constituent
float electronEnergy() const
electronEnergy
daughters dau
collection of references to daughters
bool isNonnull() const
Checks for non-null.
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
bool isNonnull() const
Checks for non-null.
virtual size_t numberOfDaughters() const
number of daughters
std::ostream & operator<<(std::ostream &, BeamSpot beam)
T const * get() const
Returns C++ pointer to the item.
float HFEMEnergy() const
HFEMEnergy.
virtual std::string print() const
Print object in details.
ProductID id() const
Accessor for product ID.
int neutralHadronMultiplicity() const
neutralHadronMultiplicity
float neutralHadronEnergyFraction() const
neutralHadronEnergyFraction
void reserve(size_type n)
Reserve space for RefVector.
virtual PFJet * clone() const
Polymorphic clone.
int neutralMultiplicity() const
neutralMultiplicity
virtual float eta() const GCC11_FINAL
momentum pseudorapidity
float HFHadronEnergyFraction() const
HFHadronEnergyFraction.
float electronEnergyFraction() const
electronEnergyFraction
math::XYZTLorentzVector LorentzVector
Lorentz vector.
int chargedHadronMultiplicity() const
chargedHadronMultiplicity
int muonMultiplicity() const
muonMultiplicity
int HFEMMultiplicity() const
HFEMMultiplicity.
Particle reconstructed by the particle flow algorithm.
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
virtual std::vector< reco::PFCandidatePtr > getPFConstituents() const
get all constituents
reco::TrackRefVector getTrackRefs() const
float neutralHadronEnergy() const
neutralHadronEnergy
math::XYZPoint Point
point in the space
float chargedMuEnergy() const
chargedMuEnergy
virtual std::string print() const
Print object.
float muonEnergyFraction() const
muonEnergyFraction
virtual float pt() const GCC11_FINAL
transverse momentum
edm::Ptr< PFCandidate > PFCandidatePtr
persistent Ptr to a PFCandidate
int HFHadronMultiplicity() const
HFHadronMultiplicity.
float chargedHadronEnergy() const
chargedHadronEnergy
int electronMultiplicity() const
electronMultiplicity