CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DataFormats/JetReco/src/BasicJet.cc

Go to the documentation of this file.
00001 // BasicJet.cc
00002 // Fedor Ratnikov, UMd
00003 // $Id: BasicJet.cc,v 1.4 2007/09/20 21:04:58 fedor Exp $
00004 
00005 #include <sstream>
00006 
00007 //Own header file
00008 #include "DataFormats/JetReco/interface/BasicJet.h"
00009 
00010 using namespace reco;
00011 
00012 BasicJet::BasicJet (const LorentzVector& fP4, const Point& fVertex) 
00013   : Jet (fP4, fVertex)
00014 {}
00015 
00016 BasicJet::BasicJet (const LorentzVector& fP4, const Point& fVertex, const Jet::Constituents& fConstituents) 
00017   : Jet (fP4, fVertex, fConstituents)
00018 {}
00019 
00020 BasicJet* BasicJet::clone () const {
00021   return new BasicJet (*this);
00022 }
00023 
00024 bool BasicJet::overlap( const Candidate & ) const {
00025   return false;
00026 }
00027 
00028 std::string BasicJet::print () const {
00029   std::ostringstream out;
00030   out << Jet::print () // generic jet info
00031       << "    BasicJet specific: None" << std::endl;
00032   return out.str ();
00033 }