Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4Particle.cc
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHG4Particle.cc
1 #include "PHG4Particle.h"
2 
3 void PHG4Particle::identify(std::ostream& os) const
4 {
5  os << "calling virtual PHG4Particle base class" << std::endl;
6  return;
7 }
8 
10 {
11  if (get_pid() == p.get_pid() &&
12  get_px() == p.get_px() &&
13  get_py() == p.get_py() &&
14  get_pz() == p.get_pz())
15  {
16  return true;
17  }
18  return false;
19 }