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 // $Id: BasicJet.cc,v 1.4 2007/09/20 21:04:58 fedor Exp $
4 
5 #include <sstream>
6 
7 //Own header file
9 
10 using namespace reco;
11 
12 BasicJet::BasicJet (const LorentzVector& fP4, const Point& fVertex)
13  : Jet (fP4, fVertex)
14 {}
15 
16 BasicJet::BasicJet (const LorentzVector& fP4, const Point& fVertex, const Jet::Constituents& fConstituents)
17  : Jet (fP4, fVertex, fConstituents)
18 {}
19 
21  return new BasicJet (*this);
22 }
23 
24 bool BasicJet::overlap( const Candidate & ) const {
25  return false;
26 }
27 
28 std::string BasicJet::print () const {
29  std::ostringstream out;
30  out << Jet::print () // generic jet info
31  << " BasicJet specific: None" << std::endl;
32  return out.str ();
33 }
virtual bool overlap(const Candidate &) const
Polymorphic overlap.
Definition: BasicJet.cc:24
Base class for all types of Jets.
Definition: Jet.h:21
std::vector< Constituent > Constituents
Definition: Jet.h:24
Jets made from CaloTowers.
Definition: BasicJet.h:21
virtual BasicJet * clone() const
Polymorphic clone.
Definition: BasicJet.cc:20
tuple out
Definition: dbtoconf.py:99
math::XYZTLorentzVector LorentzVector
Lorentz vector.
Definition: Candidate.h:38
math::XYZPoint Point
point in the space
Definition: Candidate.h:42
virtual std::string print() const
Print object.
Definition: BasicJet.cc:28
virtual std::string print() const
Print object.
Definition: Jet.cc:425