CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
Base class for all types of Jets.
Definition: Jet.h:20
std::vector< Constituent > Constituents
Definition: Jet.h:23
Jets made from CaloTowers.
Definition: BasicJet.h:20
virtual std::string print() const
Print object.
virtual BasicJet * clone() const
Polymorphic clone.
Definition: BasicJet.cc:19
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:37
math::XYZPoint Point
point in the space
Definition: Candidate.h:41
virtual std::string print() const
Print object.
Definition: BasicJet.cc:27