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
InttVertexv1.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file InttVertexv1.cc
1
#include "
InttVertexv1.h
"
2
3
#include <cmath>
4
5
void
InttVertexv1::identify
(std::ostream&
os
)
const
6
{
7
os <<
"---InttVertexv1--------------------------------"
<< std::endl;
8
os <<
"vertexid: "
<<
get_id
() << std::endl;
9
os <<
" z = "
<<
get_z
() <<
" +/- "
<<
get_z_err
() << std::endl;
10
os <<
"-----------------------------------------------"
<< std::endl;
11
12
return
;
13
}
14
15
int
InttVertexv1::isValid
()
const
16
{
17
if
(
_id
== std::numeric_limits<unsigned int>::max())
18
{
19
return
0;
20
}
21
if
(isnan(
_z
))
22
{
23
return
0;
24
}
25
if
(isnan(
_z_err
))
26
{
27
return
0;
28
}
29
30
return
1;
31
}
coresoftware
blob
master
offline
packages
intt
InttVertexv1.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:06
using
1.8.2 with
sPHENIX GitHub integration