ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TFCSLateralShapeParametrizationHitBase::Hit Class Reference

#include <TFCSLateralShapeParametrizationHitBase.h>

Collaboration diagram for TFCSLateralShapeParametrizationHitBase::Hit:

Public Member Functions

 Hit ()
 
 Hit (float eta, float phi, float E)
 
 Hit (float x, float y, float z, float E)
 
void setEtaPhiZE (float eta, float phi, float z, float E)
 
void setXYZE (float x, float y, float z, float E)
 
void reset_center ()
 
void reset ()
 
float & eta ()
 
float & phi ()
 
float & x ()
 
float & y ()
 
float & E ()
 
float & z ()
 
float r ()
 
float & center_r ()
 
float & center_z ()
 
float & center_eta ()
 
float & center_phi ()
 
void setCenter_r (float r)
 
void setCenter_z (float z)
 
void setCenter_eta (float eta)
 
void setCenter_phi (float phi)
 

Private Attributes

float m_eta_x
 
float m_phi_y
 
float m_z
 
float m_E
 
bool m_useXYZ
 
float m_center_r
 
float m_center_z
 
float m_center_eta
 
float m_center_phi
 

Detailed Description

Definition at line 42 of file TFCSLateralShapeParametrizationHitBase.h.

Constructor & Destructor Documentation

◆ Hit() [1/3]

TFCSLateralShapeParametrizationHitBase::Hit::Hit ( )
inline

Definition at line 44 of file TFCSLateralShapeParametrizationHitBase.h.

45  : m_eta_x(0.), m_phi_y(0.), m_z(0.), m_E(0.), m_useXYZ(false),
46  m_center_r(0.), m_center_z(0.), m_center_eta(0.),
47  m_center_phi(0.){}; // for hits with the same energy, m_E should

◆ Hit() [2/3]

TFCSLateralShapeParametrizationHitBase::Hit::Hit ( float  eta,
float  phi,
float  E 
)
inline

Definition at line 49 of file TFCSLateralShapeParametrizationHitBase.h.

50  : m_eta_x(eta), m_phi_y(phi), m_E(E), m_useXYZ(false), m_center_r(0.),
51  m_center_z(0.), m_center_eta(0.), m_center_phi(0.){};

◆ Hit() [3/3]

TFCSLateralShapeParametrizationHitBase::Hit::Hit ( float  x,
float  y,
float  z,
float  E 
)
inline

Definition at line 52 of file TFCSLateralShapeParametrizationHitBase.h.

53  : m_eta_x(x), m_phi_y(y), m_z(z), m_E(E), m_useXYZ(true),
54  m_center_r(0.), m_center_z(0.), m_center_eta(0.), m_center_phi(0.){};

Member Function Documentation

◆ center_eta()

float& TFCSLateralShapeParametrizationHitBase::Hit::center_eta ( )
inline

Definition at line 100 of file TFCSLateralShapeParametrizationHitBase.h.

100 { return m_center_eta; }

◆ center_phi()

float& TFCSLateralShapeParametrizationHitBase::Hit::center_phi ( )
inline

Definition at line 101 of file TFCSLateralShapeParametrizationHitBase.h.

101 { return m_center_phi; }

◆ center_r()

float& TFCSLateralShapeParametrizationHitBase::Hit::center_r ( )
inline

Definition at line 98 of file TFCSLateralShapeParametrizationHitBase.h.

98 { return m_center_r; }

◆ center_z()

float& TFCSLateralShapeParametrizationHitBase::Hit::center_z ( )
inline

Definition at line 99 of file TFCSLateralShapeParametrizationHitBase.h.

99 { return m_center_z; }

◆ E()

float& TFCSLateralShapeParametrizationHitBase::Hit::E ( )
inline

Definition at line 90 of file TFCSLateralShapeParametrizationHitBase.h.

90 { return m_E; };

◆ eta()

float& TFCSLateralShapeParametrizationHitBase::Hit::eta ( )
inline

Definition at line 86 of file TFCSLateralShapeParametrizationHitBase.h.

86 { return m_eta_x; };

◆ phi()

float& TFCSLateralShapeParametrizationHitBase::Hit::phi ( )
inline

Definition at line 87 of file TFCSLateralShapeParametrizationHitBase.h.

87 { return m_phi_y; };

◆ r()

float TFCSLateralShapeParametrizationHitBase::Hit::r ( )
inline

Definition at line 92 of file TFCSLateralShapeParametrizationHitBase.h.

92  {
93  if (m_useXYZ)
94  return sqrt(m_eta_x * m_eta_x + m_phi_y * m_phi_y);
95  else
96  return m_z / sinh(m_eta_x);
97  }

◆ reset()

void TFCSLateralShapeParametrizationHitBase::Hit::reset ( )
inline

Definition at line 78 of file TFCSLateralShapeParametrizationHitBase.h.

78  {
79  m_eta_x = 0.;
80  m_phi_y = 0.;
81  m_z = 0.;
82  m_E = 0.;
83  m_useXYZ = false;
84  }

◆ reset_center()

void TFCSLateralShapeParametrizationHitBase::Hit::reset_center ( )
inline

Definition at line 71 of file TFCSLateralShapeParametrizationHitBase.h.

71  {
72  m_center_r = 0;
73  m_center_z = 0;
74  m_center_eta = 0;
75  m_center_phi = 0;
76  }

◆ setCenter_eta()

void TFCSLateralShapeParametrizationHitBase::Hit::setCenter_eta ( float  eta)
inline

Definition at line 104 of file TFCSLateralShapeParametrizationHitBase.h.

104 { m_center_eta = eta; }

◆ setCenter_phi()

void TFCSLateralShapeParametrizationHitBase::Hit::setCenter_phi ( float  phi)
inline

Definition at line 105 of file TFCSLateralShapeParametrizationHitBase.h.

105 { m_center_phi = phi; }

◆ setCenter_r()

void TFCSLateralShapeParametrizationHitBase::Hit::setCenter_r ( float  r)
inline

Definition at line 102 of file TFCSLateralShapeParametrizationHitBase.h.

102 { m_center_r = r; }

◆ setCenter_z()

void TFCSLateralShapeParametrizationHitBase::Hit::setCenter_z ( float  z)
inline

Definition at line 103 of file TFCSLateralShapeParametrizationHitBase.h.

103 { m_center_z = z; }

◆ setEtaPhiZE()

void TFCSLateralShapeParametrizationHitBase::Hit::setEtaPhiZE ( float  eta,
float  phi,
float  z,
float  E 
)
inline

Definition at line 56 of file TFCSLateralShapeParametrizationHitBase.h.

56  {
57  m_eta_x = eta;
58  m_phi_y = phi;
59  m_z = z;
60  m_E = E;
61  m_useXYZ = false;
62  }

◆ setXYZE()

void TFCSLateralShapeParametrizationHitBase::Hit::setXYZE ( float  x,
float  y,
float  z,
float  E 
)
inline

Definition at line 63 of file TFCSLateralShapeParametrizationHitBase.h.

63  {
64  m_eta_x = x;
65  m_phi_y = y;
66  m_z = z;
67  m_E = E;
68  m_useXYZ = true;
69  }

◆ x()

float& TFCSLateralShapeParametrizationHitBase::Hit::x ( )
inline

Definition at line 88 of file TFCSLateralShapeParametrizationHitBase.h.

88 { return m_eta_x; };

◆ y()

float& TFCSLateralShapeParametrizationHitBase::Hit::y ( )
inline

Definition at line 89 of file TFCSLateralShapeParametrizationHitBase.h.

89 { return m_phi_y; };

◆ z()

float& TFCSLateralShapeParametrizationHitBase::Hit::z ( )
inline

Definition at line 91 of file TFCSLateralShapeParametrizationHitBase.h.

91 { return m_z; }

Member Data Documentation

◆ m_center_eta

float TFCSLateralShapeParametrizationHitBase::Hit::m_center_eta
private

Definition at line 116 of file TFCSLateralShapeParametrizationHitBase.h.

◆ m_center_phi

float TFCSLateralShapeParametrizationHitBase::Hit::m_center_phi
private

Definition at line 117 of file TFCSLateralShapeParametrizationHitBase.h.

◆ m_center_r

float TFCSLateralShapeParametrizationHitBase::Hit::m_center_r
private

Definition at line 114 of file TFCSLateralShapeParametrizationHitBase.h.

◆ m_center_z

float TFCSLateralShapeParametrizationHitBase::Hit::m_center_z
private

Definition at line 115 of file TFCSLateralShapeParametrizationHitBase.h.

◆ m_E

float TFCSLateralShapeParametrizationHitBase::Hit::m_E
private

Definition at line 111 of file TFCSLateralShapeParametrizationHitBase.h.

◆ m_eta_x

float TFCSLateralShapeParametrizationHitBase::Hit::m_eta_x
private

Definition at line 108 of file TFCSLateralShapeParametrizationHitBase.h.

◆ m_phi_y

float TFCSLateralShapeParametrizationHitBase::Hit::m_phi_y
private

Definition at line 109 of file TFCSLateralShapeParametrizationHitBase.h.

◆ m_useXYZ

bool TFCSLateralShapeParametrizationHitBase::Hit::m_useXYZ
private

Definition at line 112 of file TFCSLateralShapeParametrizationHitBase.h.

◆ m_z

float TFCSLateralShapeParametrizationHitBase::Hit::m_z
private

Definition at line 110 of file TFCSLateralShapeParametrizationHitBase.h.


The documentation for this class was generated from the following file:
TFCSLateralShapeParametrizationHitBase::Hit::x
float & x()
Definition: TFCSLateralShapeParametrizationHitBase.h:88
TFCSLateralShapeParametrizationHitBase::Hit::phi
float & phi()
Definition: TFCSLateralShapeParametrizationHitBase.h:87
TFCSLateralShapeParametrizationHitBase::Hit::m_center_r
float m_center_r
Definition: TFCSLateralShapeParametrizationHitBase.h:114
TFCSLateralShapeParametrizationHitBase::Hit::y
float & y()
Definition: TFCSLateralShapeParametrizationHitBase.h:89
TFCSLateralShapeParametrizationHitBase::Hit::m_E
float m_E
Definition: TFCSLateralShapeParametrizationHitBase.h:111
TFCSLateralShapeParametrizationHitBase::Hit::E
float & E()
Definition: TFCSLateralShapeParametrizationHitBase.h:90
TFCSLateralShapeParametrizationHitBase::Hit::m_z
float m_z
Definition: TFCSLateralShapeParametrizationHitBase.h:110
TFCSLateralShapeParametrizationHitBase::Hit::m_phi_y
float m_phi_y
Definition: TFCSLateralShapeParametrizationHitBase.h:109
TFCSLateralShapeParametrizationHitBase::Hit::m_center_phi
float m_center_phi
Definition: TFCSLateralShapeParametrizationHitBase.h:117
TFCSLateralShapeParametrizationHitBase::Hit::m_useXYZ
bool m_useXYZ
Definition: TFCSLateralShapeParametrizationHitBase.h:112
TFCSLateralShapeParametrizationHitBase::Hit::z
float & z()
Definition: TFCSLateralShapeParametrizationHitBase.h:91
TFCSLateralShapeParametrizationHitBase::Hit::m_center_eta
float m_center_eta
Definition: TFCSLateralShapeParametrizationHitBase.h:116
TFCSLateralShapeParametrizationHitBase::Hit::m_eta_x
float m_eta_x
Definition: TFCSLateralShapeParametrizationHitBase.h:108
TFCSLateralShapeParametrizationHitBase::Hit::r
float r()
Definition: TFCSLateralShapeParametrizationHitBase.h:92
TFCSLateralShapeParametrizationHitBase::Hit::eta
float & eta()
Definition: TFCSLateralShapeParametrizationHitBase.h:86
TFCSLateralShapeParametrizationHitBase::Hit::m_center_z
float m_center_z
Definition: TFCSLateralShapeParametrizationHitBase.h:115