|
| LdmxSpacePoint (float x, float y, float z, float t, int layer) |
|
| LdmxSpacePoint (float x, float y, float z, float t, int layer, float edep, float vR, float vZ, int id) |
|
| LdmxSpacePoint (const std::vector< float > &gp, float t, int layer, const std::vector< float > &cv, int id) |
|
float | x () const |
|
float | y () const |
|
float | z () const |
|
float | t () const |
|
float | r () const |
|
float | edep () const |
|
float | varianceR () const |
|
float | varianceZ () const |
|
int | layer () const |
|
int | id () const |
|
void | setGlobalPosition (float x, float y, float z) |
|
void | setLocalPosition (float u, float v) |
|
void | setLocalPosition (const Acts::Vector2 &local) |
|
void | setLocalCovariance (float vR, float vZ) |
|
void | setProjector () |
|
const Acts::SquareMatrix2 | getLocalCovariance () const |
|
const Acts::Vector3 | getGlobalPosition () const |
|
const Acts::Vector2 | getLocalPosition () const |
|
Definition at line 19 of file LdmxSpacePoint.h.
◆ LdmxSpacePoint() [1/3]
ldmx::LdmxSpacePoint::LdmxSpacePoint |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
t, |
|
|
int |
layer |
|
) |
| |
|
inline |
Definition at line 22 of file LdmxSpacePoint.h.
22 {
23 m_x = x;
24 m_y = y;
25 m_z = z;
26 m_t = t;
27 m_edep = 0.;
28 m_layer = layer;
29 m_id = -999;
30 m_varianceR = 0.050;
31 m_varianceZ = 0.050;
32 initialize();
33 }
◆ LdmxSpacePoint() [2/3]
ldmx::LdmxSpacePoint::LdmxSpacePoint |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
t, |
|
|
int |
layer, |
|
|
float |
edep, |
|
|
float |
vR, |
|
|
float |
vZ, |
|
|
int |
id |
|
) |
| |
|
inline |
Definition at line 36 of file LdmxSpacePoint.h.
37 {
38 m_x = x;
39 m_y = y;
40 m_z = z;
41 m_t = t;
42 m_edep = edep;
43 m_varianceR = vR;
44 m_varianceZ = vZ;
45 m_layer = layer;
46 m_id = id;
47 initialize();
48 }
◆ LdmxSpacePoint() [3/3]
ldmx::LdmxSpacePoint::LdmxSpacePoint |
( |
const std::vector< float > & |
gp, |
|
|
float |
t, |
|
|
int |
layer, |
|
|
const std::vector< float > & |
cv, |
|
|
int |
id |
|
) |
| |
|
inline |
Definition at line 50 of file LdmxSpacePoint.h.
51 {
52 m_x = gp[0];
53 m_y = gp[1];
54 m_z = gp[2];
55 m_t = t;
56 m_edep = 0.;
57 m_layer = layer;
58 m_id = id;
59 m_varianceR = cv[0];
60 m_varianceZ = cv[1];
61 initialize();
62 }
◆ edep()
float ldmx::LdmxSpacePoint::edep |
( |
| ) |
const |
|
inline |
◆ getGlobalPosition()
const Acts::Vector3 ldmx::LdmxSpacePoint::getGlobalPosition |
( |
| ) |
const |
|
inline |
◆ getLocalCovariance()
const Acts::SquareMatrix2 ldmx::LdmxSpacePoint::getLocalCovariance |
( |
| ) |
const |
|
inline |
◆ getLocalPosition()
const Acts::Vector2 ldmx::LdmxSpacePoint::getLocalPosition |
( |
| ) |
const |
|
inline |
◆ id()
int ldmx::LdmxSpacePoint::id |
( |
| ) |
const |
|
inline |
◆ initialize()
void ldmx::LdmxSpacePoint::initialize |
( |
| ) |
|
|
inlineprivate |
Definition at line 120 of file LdmxSpacePoint.h.
120 {
121 setGlobalPosition(m_x, m_y, m_z);
122 m_r = std::sqrt(m_x * m_x + m_y * m_y);
123 setLocalCovariance(m_varianceR, m_varianceZ);
124 setProjector();
125 };
◆ layer()
int ldmx::LdmxSpacePoint::layer |
( |
| ) |
const |
|
inline |
◆ r()
float ldmx::LdmxSpacePoint::r |
( |
| ) |
const |
|
inline |
◆ setGlobalPosition()
void ldmx::LdmxSpacePoint::setGlobalPosition |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
Definition at line 75 of file LdmxSpacePoint.h.
75 {
76 global_pos_.setZero();
77 global_pos_(0) = x;
78 global_pos_(1) = y;
79 global_pos_(2) = z;
80 }
◆ setLocalCovariance()
void ldmx::LdmxSpacePoint::setLocalCovariance |
( |
float |
vR, |
|
|
float |
vZ |
|
) |
| |
|
inline |
Definition at line 90 of file LdmxSpacePoint.h.
90 {
91 local_cov_.setZero();
92 local_cov_(0, 0) = vR;
93 local_cov_(1, 1) = vZ;
94 }
◆ setLocalPosition() [1/2]
void ldmx::LdmxSpacePoint::setLocalPosition |
( |
const Acts::Vector2 & |
local | ) |
|
|
inline |
◆ setLocalPosition() [2/2]
void ldmx::LdmxSpacePoint::setLocalPosition |
( |
float |
u, |
|
|
float |
v |
|
) |
| |
|
inline |
Definition at line 82 of file LdmxSpacePoint.h.
82 {
83 local_pos_.setZero();
84 local_pos_(0) = u;
85 local_pos_(1) = v;
86 }
◆ setProjector()
void ldmx::LdmxSpacePoint::setProjector |
( |
| ) |
|
|
inline |
Definition at line 99 of file LdmxSpacePoint.h.
99 {
100 projector_.setZero();
101 projector_(0, 0) = 1;
102 projector_(1, 1) = 1;
103 }
◆ t()
float ldmx::LdmxSpacePoint::t |
( |
| ) |
const |
|
inline |
◆ varianceR()
float ldmx::LdmxSpacePoint::varianceR |
( |
| ) |
const |
|
inline |
◆ varianceZ()
float ldmx::LdmxSpacePoint::varianceZ |
( |
| ) |
const |
|
inline |
◆ x()
float ldmx::LdmxSpacePoint::x |
( |
| ) |
const |
|
inline |
◆ y()
float ldmx::LdmxSpacePoint::y |
( |
| ) |
const |
|
inline |
◆ z()
float ldmx::LdmxSpacePoint::z |
( |
| ) |
const |
|
inline |
◆ global_pos_
Acts::Vector3 ldmx::LdmxSpacePoint::global_pos_ |
◆ local_cov_
Acts::SquareMatrix2 ldmx::LdmxSpacePoint::local_cov_ |
◆ local_pos_
Acts::Vector2 ldmx::LdmxSpacePoint::local_pos_ |
◆ m_edep
float ldmx::LdmxSpacePoint::m_edep |
|
private |
◆ m_id
int ldmx::LdmxSpacePoint::m_id |
|
private |
◆ m_layer
int ldmx::LdmxSpacePoint::m_layer |
|
private |
◆ m_r
float ldmx::LdmxSpacePoint::m_r |
|
private |
◆ m_t
float ldmx::LdmxSpacePoint::m_t |
|
private |
◆ m_varianceR
float ldmx::LdmxSpacePoint::m_varianceR |
|
private |
◆ m_varianceZ
float ldmx::LdmxSpacePoint::m_varianceZ |
|
private |
◆ m_x
float ldmx::LdmxSpacePoint::m_x |
|
private |
◆ m_y
float ldmx::LdmxSpacePoint::m_y |
|
private |
◆ m_z
float ldmx::LdmxSpacePoint::m_z |
|
private |
◆ projector_
Acts::ActsMatrix<2, 6> ldmx::LdmxSpacePoint::projector_ |
The documentation for this class was generated from the following file: