Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
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
9
bool
PHG4Particle::operator==
(
const
PHG4Particle
&
p
)
const
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
}
coresoftware
blob
master
simulation
g4simulation
g4main
PHG4Particle.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:15
using
1.8.2 with
sPHENIX GitHub integration