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
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 <
trackbase/TrkrDefs.h
>
6
7
#include <cmath>
8
9
class
SvtxTrackState
:
public
PHObject
10
{
11
public
:
12
~SvtxTrackState
()
override
{}
13
14
void
identify
(std::ostream &
os
= std::cout)
const override
15
{
16
os
<<
"SvtxTrackState base class"
<< std::endl;
17
}
18
19
int
isValid
()
const override
{
return
0; }
20
PHObject
*
CloneMe
()
const override
{
return
nullptr
; }
21
22
virtual
float
get_pathlength
()
const
{
return
NAN; }
23
24
virtual
float
get_x
()
const
{
return
NAN; }
25
virtual
void
set_x
(
float
) {}
26
27
virtual
float
get_y
()
const
{
return
NAN; }
28
virtual
void
set_y
(
float
) {}
29
30
virtual
float
get_z
()
const
{
return
NAN; }
31
virtual
void
set_z
(
float
) {}
32
33
virtual
float
get_pos
(
unsigned
int
/*i*/
)
const
{
return
NAN; }
34
35
virtual
float
get_px
()
const
{
return
NAN; }
36
virtual
void
set_px
(
float
) {}
37
38
virtual
float
get_py
()
const
{
return
NAN; }
39
virtual
void
set_py
(
float
) {}
40
41
virtual
float
get_pz
()
const
{
return
NAN; }
42
virtual
void
set_pz
(
float
) {}
43
44
virtual
float
get_mom
(
unsigned
int
/*i*/
)
const
{
return
NAN; }
45
46
virtual
float
get_p
()
const
{
return
NAN; }
47
virtual
float
get_pt
()
const
{
return
NAN; }
48
virtual
float
get_eta
()
const
{
return
NAN; }
49
virtual
float
get_phi
()
const
{
return
NAN; }
50
51
virtual
float
get_error
(
unsigned
int
/*i*/
,
unsigned
int
/*j*/
)
const
{
return
NAN; }
52
virtual
void
set_error
(
unsigned
int
/*i*/
,
unsigned
int
/*j*/
,
float
/*value*/
) {}
53
54
virtual
TrkrDefs::cluskey
get_cluskey
()
const
{
return
UINT32_MAX; }
55
virtual
void
set_cluskey
(
TrkrDefs::cluskey
) {}
56
57
virtual
std::string
get_name
()
const
{
return
""
; }
58
virtual
void
set_name
(
const
std::string
&
/*name*/
) {}
59
61
62
64
virtual
float
get_rphi_error
()
const
65
{
66
return
NAN;
67
}
68
70
virtual
float
get_phi_error
()
const
71
{
72
return
NAN;
73
}
74
76
virtual
float
get_z_error
()
const
77
{
78
return
NAN;
79
}
80
82
83
protected
:
84
SvtxTrackState
(
float
/*pathlength*/
= 0.0) {}
85
86
ClassDefOverride
(
SvtxTrackState
, 1);
87
};
88
89
#endif
coresoftware
blob
master
offline
packages
trackbase_historic
SvtxTrackState.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration