Analysis Software
Documentation for sPHENIX simulation software
 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 
8 #include <Acts/Seeding/Seed.hpp>
9 
13 struct SpacePoint {
15  double m_x;
16  double m_y;
17  double m_z;
18  double m_r;
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 
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