ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4VtxPoint.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4VtxPoint.cc
1 #include "PHG4VtxPoint.h"
2 
3 using namespace std;
4 
5 void
6 PHG4VtxPoint::identify(ostream& os) const
7 {
8  os << "virtual PHG4VtxPoint base class"
9  << endl;
10 }
11 
12 bool
14 {
15  // note that ID is not compared here, per algorithm requirement in PHG4TruthInfoContainer::AddPrimaryVertex
16 
17  if (p.get_x() == get_x() && p.get_y() == get_y() &&
18  p.get_z() == get_z() && p.get_t() == get_t())
19  {
20  return true;
21  }
22  return false;
23 }
24