Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:22:02

0001 #include "PHG4VtxPoint.h"
0002 
0003 void PHG4VtxPoint::identify(std::ostream& os) const
0004 {
0005   os << "virtual PHG4VtxPoint base class"
0006      << std::endl;
0007 }
0008 
0009 bool PHG4VtxPoint::operator==(const PHG4VtxPoint& p) const
0010 {
0011   // note that ID is not compared here, per algorithm requirement in PHG4TruthInfoContainer::AddPrimaryVertex
0012 
0013   if (p.get_x() == get_x() && p.get_y() == get_y() &&
0014       p.get_z() == get_z() && p.get_t() == get_t())
0015   {
0016     return true;
0017   }
0018   return false;
0019 }