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
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
13
PHG4VtxPoint::operator==
(
const
PHG4VtxPoint
&
p
)
const
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
coresoftware
blob
master
simulation
g4simulation
g4main
PHG4VtxPoint.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:15
using
1.8.2 with
sPHENIX GitHub integration