CMS 3D CMS Logo

BasicJet.cc
Go to the documentation of this file.
1 // BasicJet.cc
2 // Fedor Ratnikov, UMd
3 
4 #include <sstream>
5 
6 //Own header file
8 
9 using namespace reco;
10 
11 BasicJet::BasicJet(const LorentzVector& fP4, const Point& fVertex) : Jet(fP4, fVertex) {}
12 
13 BasicJet::BasicJet(const LorentzVector& fP4, const Point& fVertex, const Jet::Constituents& fConstituents)
14  : Jet(fP4, fVertex, fConstituents) {}
15 
16 BasicJet* BasicJet::clone() const { return new BasicJet(*this); }
17 
18 bool BasicJet::overlap(const Candidate&) const { return false; }
19 
21  std::ostringstream out;
22  out << Jet::print() // generic jet info
23  << " BasicJet specific: None" << std::endl;
24  return out.str();
25 }
std::string print() const override
Print object.
Definition: BasicJet.cc:20
std::vector< Constituent > Constituents
Definition: Jet.h:23
Jets made from CaloTowers.
Definition: BasicJet.h:19
Definition: Jet.py:1
virtual std::string print() const
Print object.
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:36
fixed size matrix
Structure Point Contains parameters of Gaussian fits to DMRs.
BasicJet * clone() const override
Polymorphic clone.
Definition: BasicJet.cc:16
bool overlap(const Candidate &) const override
Polymorphic overlap.
Definition: BasicJet.cc:18