EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
SvtxTrackState.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SvtxTrackState.h
1
#ifndef __SVTXTRACKSTATE_H__
2
#define __SVTXTRACKSTATE_H__
3
4
#include <
phool/PHObject.h
>
5
#include <cmath>
6
7
class
SvtxTrackState
:
public
PHObject
8
{
9
public
:
10
~SvtxTrackState
()
override
{}
11
12
void
identify
(std::ostream &os = std::cout)
const override
13
{
14
os <<
"SvtxTrackState base class"
<< std::endl;
15
}
16
17
int
isValid
()
const override
{
return
0; }
18
PHObject
*
CloneMe
()
const override
{
return
nullptr
; }
19
20
virtual
float
get_pathlength
()
const
{
return
NAN; }
21
22
virtual
float
get_x
()
const
{
return
NAN; }
23
virtual
void
set_x
(
float
) {}
24
25
virtual
float
get_y
()
const
{
return
NAN; }
26
virtual
void
set_y
(
float
) {}
27
28
virtual
float
get_z
()
const
{
return
NAN; }
29
virtual
void
set_z
(
float
) {}
30
31
virtual
float
get_pos
(
unsigned
int
/*i*/
)
const
{
return
NAN; }
32
33
virtual
float
get_px
()
const
{
return
NAN; }
34
virtual
void
set_px
(
float
) {}
35
36
virtual
float
get_py
()
const
{
return
NAN; }
37
virtual
void
set_py
(
float
) {}
38
39
virtual
float
get_pz
()
const
{
return
NAN; }
40
virtual
void
set_pz
(
float
) {}
41
42
virtual
float
get_mom
(
unsigned
int
/*i*/
)
const
{
return
NAN; }
43
44
virtual
float
get_p
()
const
{
return
NAN; }
45
virtual
float
get_pt
()
const
{
return
NAN; }
46
virtual
float
get_eta
()
const
{
return
NAN; }
47
virtual
float
get_phi
()
const
{
return
NAN; }
48
49
virtual
float
get_error
(
unsigned
int
/*i*/
,
unsigned
int
/*j*/
)
const
{
return
NAN; }
50
virtual
void
set_error
(
unsigned
int
/*i*/
,
unsigned
int
/*j*/
,
float
/*value*/
) {}
51
52
virtual
std::string
get_name
()
const
{
return
""
; }
53
virtual
void
set_name
(
const
std::string &
/*name*/
) {}
54
56
57
59
virtual
float
get_rphi_error
()
const
60
{
61
return
NAN;
62
}
63
65
virtual
float
get_phi_error
()
const
66
{
67
return
NAN;
68
}
69
71
virtual
float
get_z_error
()
const
72
{
73
return
NAN;
74
}
75
77
78
protected
:
79
SvtxTrackState
(
float
/*pathlength*/
= 0.0) {}
80
81
ClassDefOverride
(
SvtxTrackState
, 1);
82
};
83
84
#endif
fun4all_coresoftware
blob
master
offline
packages
trackbase_historic
SvtxTrackState.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:46
using
1.8.2 with
EIC GitHub integration