Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:24

0001 // BasicJet.cc
0002 // Fedor Ratnikov, UMd
0003 
0004 #include <sstream>
0005 
0006 //Own header file
0007 #include "DataFormats/JetReco/interface/BasicJet.h"
0008 
0009 using namespace reco;
0010 
0011 BasicJet::BasicJet(const LorentzVector& fP4, const Point& fVertex) : Jet(fP4, fVertex) {}
0012 
0013 BasicJet::BasicJet(const LorentzVector& fP4, const Point& fVertex, const Jet::Constituents& fConstituents)
0014     : Jet(fP4, fVertex, fConstituents) {}
0015 
0016 BasicJet* BasicJet::clone() const { return new BasicJet(*this); }
0017 
0018 bool BasicJet::overlap(const Candidate&) const { return false; }
0019 
0020 std::string BasicJet::print() const {
0021   std::ostringstream out;
0022   out << Jet::print()  // generic jet info
0023       << "    BasicJet specific: None" << std::endl;
0024   return out.str();
0025 }