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)
12  : Jet (fP4, fVertex)
13 {}
14 
15 BasicJet::BasicJet (const LorentzVector& fP4, const Point& fVertex, const Jet::Constituents& fConstituents)
16  : Jet (fP4, fVertex, fConstituents)
17 {}
18 
20  return new BasicJet (*this);
21 }
22 
23 bool BasicJet::overlap( const Candidate & ) const {
24  return false;
25 }
26 
28  std::ostringstream out;
29  out << Jet::print () // generic jet info
30  << " BasicJet specific: None" << std::endl;
31  return out.str ();
32 }
virtual bool overlap(const Candidate &) const
Polymorphic overlap.
Definition: BasicJet.cc:23
std::vector< Constituent > Constituents
Definition: Jet.h:23
Jets made from CaloTowers.
Definition: BasicJet.h:20
virtual std::string print() const
Print object.
Definition: Jet.py:1
virtual BasicJet * clone() const
Polymorphic clone.
Definition: BasicJet.cc:19
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
fixed size matrix
math::XYZPoint Point
point in the space
Definition: Candidate.h:41
virtual std::string print() const
Print object.
Definition: BasicJet.cc:27