19 :
reco::
Jet(fP4, fVertex, fConstituents)
41 throw cms::Exception(
"Invalid Constituent") <<
"PFClusterJet constituent is not of RecoPFClusterRefCandidate type";
57 std::ostringstream
out;
59 out <<
" Constituents: " << std::endl;
61 out << *(pfCluster(
i)) << std::endl;
unsigned int numberOfDaughters(const reco::GenParticle &p)
T const * get() const
Returns C++ pointer to the item.
Base class for all types of Jets.
std::vector< Constituent > Constituents
virtual std::string print() const
Print object.
virtual PFClusterJet * clone() const
Polymorphic clone.
Jets made out of PFClusters.
virtual bool overlap(const Candidate &dummy) const
Polymorphic overlap.
virtual std::string print() const
Print object.
edm::Ref< PFClusterCollection > PFClusterRef
persistent reference to PFCluster objects
reco::PFClusterRef pfCluster() const
bool isNonnull() const
Checks for non-null.
math::XYZTLorentzVector LorentzVector
Lorentz vector.
math::XYZPoint Point
point in the space
PFClusterJet()
Default constructor.
reco::PFClusterRef pfCluster(size_t i) const
Easy Constituent access.