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
SvtxVertex.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SvtxVertex.h
1
#ifndef TRACKBASEHISTORIC_SVTXVERTEX_H
2
#define TRACKBASEHISTORIC_SVTXVERTEX_H
3
4
#include "
Vertex.h
"
5
6
#include <cmath>
7
#include <iostream>
8
#include <climits>
9
#include <set>
10
#include <vector>
11
12
class
SvtxVertex
:
public
Vertex
13
{
14
public
:
15
16
~SvtxVertex
()
override
{}
17
18
// PHObject virtual overloads
19
20
void
identify
(std::ostream&
os
= std::cout)
const override
21
{
22
os
<<
"SvtxVertex base class"
<< std::endl;
23
}
24
25
int
isValid
()
const override
{
return
0; }
26
PHObject
*
CloneMe
()
const override
{
return
nullptr
; }
27
28
// vertex info
29
30
virtual
unsigned
int
get_id
()
const override
{
return
UINT_MAX; }
31
virtual
void
set_id
(
unsigned
int
)
override
{}
32
33
virtual
float
get_t0
()
const override
{
return
get_t
(); }
34
virtual
void
set_t0
(
float
t0)
override
{
set_t
(t0); }
35
36
virtual
float
get_t
()
const override
{
return
NAN; }
37
virtual
void
set_t
(
float
)
override
{}
38
39
virtual
float
get_x
()
const override
{
return
NAN; }
40
virtual
void
set_x
(
float
)
override
{}
41
42
virtual
float
get_y
()
const override
{
return
NAN; }
43
virtual
void
set_y
(
float
)
override
{}
44
45
virtual
float
get_z
()
const override
{
return
NAN; }
46
virtual
void
set_z
(
float
)
override
{}
47
48
virtual
float
get_chisq
()
const override
{
return
NAN; }
49
virtual
void
set_chisq
(
float
)
override
{}
50
51
virtual
unsigned
int
get_ndof
()
const override
{
return
UINT_MAX; }
52
virtual
void
set_ndof
(
unsigned
int
)
override
{}
53
54
virtual
float
get_position
(
unsigned
int
)
const override
{
return
NAN; }
55
virtual
void
set_position
(
unsigned
int
,
float
)
override
{}
56
57
virtual
float
get_error
(
unsigned
int
,
unsigned
int
)
const override
{
return
NAN; }
58
virtual
void
set_error
(
unsigned
int
,
unsigned
int
,
float
)
override
{}
59
60
//
61
// associated track ids methods
62
//
63
virtual
void
clear_tracks
()
override
{}
64
virtual
bool
empty_tracks
()
override
{
return
true
; }
65
virtual
size_t
size_tracks
()
const override
{
return
0; }
66
virtual
void
insert_track
(
unsigned
int
/*trackid*/
)
override
{}
67
virtual
size_t
erase_track
(
unsigned
int
/*trackid*/
)
override
{
return
0; }
68
virtual
ConstTrackIter
begin_tracks
()
const override
;
69
virtual
ConstTrackIter
find_track
(
unsigned
int
trackid)
const override
;
70
virtual
ConstTrackIter
end_tracks
()
const override
;
71
virtual
TrackIter
begin_tracks
()
override
;
72
virtual
TrackIter
find_track
(
unsigned
int
trackid)
override
;
73
virtual
TrackIter
end_tracks
()
override
;
74
75
protected
:
76
ClassDefOverride
(
SvtxVertex
, 1);
77
};
78
79
#endif
coresoftware
blob
master
offline
packages
globalvertex
SvtxVertex.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:06
using
1.8.2 with
sPHENIX GitHub integration