Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:19:22

0001 #include "PHG4Particle.h"
0002 
0003 void PHG4Particle::identify(std::ostream& os) const
0004 {
0005   os << "calling virtual PHG4Particle base class" << std::endl;
0006   return;
0007 }
0008 
0009 bool PHG4Particle::operator==(const PHG4Particle& p) const
0010 {
0011   if (get_pid() == p.get_pid() &&
0012       get_px() == p.get_px() &&
0013       get_py() == p.get_py() &&
0014       get_pz() == p.get_pz())
0015   {
0016     return true;
0017   }
0018   return false;
0019 }