#include <SiDetElementLink_xk.h>
Definition at line 24 of file SiDetElementLink_xk.h.
◆ SiDetElementLink_xk() [1/4]
| InDet::SiDetElementLink_xk::SiDetElementLink_xk |
( |
| ) |
|
|
default |
◆ SiDetElementLink_xk() [2/4]
Definition at line 80 of file SiDetElementLink_xk.h.
81 {
84}
const InDetDD::SiDetectorElement * m_detelement
void set(const double *, bool isITk=false)
◆ SiDetElementLink_xk() [3/4]
◆ SiDetElementLink_xk() [4/4]
◆ ~SiDetElementLink_xk()
| InDet::SiDetElementLink_xk::~SiDetElementLink_xk |
( |
| ) |
|
|
default |
◆ detElement()
◆ dz()
| float InDet::SiDetElementLink_xk::dz |
( |
| ) |
const |
|
inline |
◆ intersect()
| void InDet::SiDetElementLink_xk::intersect |
( |
const float * | r, |
|
|
const float * | a, |
|
|
float * | O ) const |
Definition at line 67 of file SiDetElementLink_xk.cxx.
69{
70 const float*
g = &
m_geo[0];
71 float s[3] = {
g[3]*
g[4],
g[2]*
g[4],
g[5]} ;
72 float S =
a[0]*
s[0]+
a[1]*
s[1]+
a[2]*
s[2] ;
73 if(S!=0.)
S = (
g[0]-(
r[0]*
s[0]+
r[1]*
s[1]+
r[2]*
s[2]))/S ;
74 float rn[3] = {
r[0]+
S*
a[0],
r[1]+
S*
a[1],
r[2]+
S*
a[2]} ;
81 if(O[0] < daz)
O[0] =
daz;
82 if(O[1] < drz)
O[1] = drz;
84}
◆ intersectITk()
| bool InDet::SiDetElementLink_xk::intersectITk |
( |
const float * | r, |
|
|
const float * | a, |
|
|
float & | Step ) const |
Definition at line 94 of file SiDetElementLink_xk.cxx.
96{
97 const float*
g = &
m_geo[0];
98
99 float S =
a[0]*
g[6]+
a[1]*
g[7]+
a[2]*
g[5] ;
100 if(S!=0.)
S = (
g[0]-(
r[0]*
g[6]+
r[1]*
g[7]+
r[2]*
g[5]))/S ;
101 float r0 =
r[0]+
S*
a[0] ;
102 float r1 =
r[1]+
S*
a[1] ;
103 float r2 =
r[2]+
S*
a[2] ;
105 float d1 =
g[5]*(
r0*
g[3]+
r1*
g[2])-(g[4]*r2+g[9]);
106
112 return true;
113}
const double r0
electron radius{cm}
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ phi()
| float InDet::SiDetElementLink_xk::phi |
( |
| ) |
const |
|
inline |
◆ set()
| void InDet::SiDetElementLink_xk::set |
( |
const double * | P, |
|
|
bool | isITk = false ) |
◆ z()
| float InDet::SiDetElementLink_xk::z |
( |
| ) |
const |
|
inline |
◆ m_bound
| float InDet::SiDetElementLink_xk::m_bound[4][3] = {} |
|
private |
◆ m_center
| float InDet::SiDetElementLink_xk::m_center[2] = {} |
|
private |
◆ m_detelement
◆ m_dz
| float InDet::SiDetElementLink_xk::m_dz = 0 |
|
private |
◆ m_geo
| float InDet::SiDetElementLink_xk::m_geo[6] = {} |
|
private |
◆ m_phi
| float InDet::SiDetElementLink_xk::m_phi = 0 |
|
private |
◆ m_z
| float InDet::SiDetElementLink_xk::m_z = 0 |
|
private |
The documentation for this class was generated from the following files: