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
SpacePoint.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SpacePoint.h
1
#ifndef TRACKBASE_SPACEPOINT_H
2
#define TRACKBASE_SPACEPOINT_H
3
4
#include <memory>
5
#include "
trackbase/TrkrDefs.h
"
6
7
#include <
Acts/Geometry/GeometryIdentifier.hpp
>
8
#include <
Acts/Seeding/Seed.hpp
>
9
13
struct
SpacePoint
{
14
TrkrDefs::cluskey
m_clusKey
;
15
double
m_x
;
16
double
m_y
;
17
double
m_z
;
18
double
m_r
;
19
Acts::GeometryIdentifier
m_geoId
;
20
double
m_varianceR
;
21
double
m_varianceZ
;
22
23
TrkrDefs::cluskey
Id
()
const
{
return
m_clusKey
; }
24
26
double
x
()
const
{
return
m_x
; }
27
double
y
()
const
{
return
m_y
; }
28
double
z
()
const
{
return
m_z
; }
29
double
r
()
const
{
return
m_r
; }
30
double
varianceR
()
const
{
return
m_varianceR
; }
31
double
varianceZ
()
const
{
return
m_varianceZ
; }
32
33
};
34
36
inline
bool
operator==
(
SpacePoint
a
,
SpacePoint
b
) {
37
return
(a.
m_clusKey
== b.
m_clusKey
);
38
}
39
40
using
SpacePointPtr
= std::unique_ptr<SpacePoint>;
41
using
SeedContainer
= std::vector<Acts::Seed<SpacePoint>>;
42
43
#endif
coresoftware
blob
master
offline
packages
trackbase
SpacePoint.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:09
using
1.8.2 with
sPHENIX GitHub integration