Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:18:12

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