#include <AlfaLocalHits.h>
Definition at line 32 of file AlfaLocalHits.h.
◆ AlfaLocalHit() [1/3]
AlfaLocalHit::AlfaLocalHit |
( |
| ) |
|
◆ AlfaLocalHit() [2/3]
◆ AlfaLocalHit() [3/3]
◆ AssignZ()
void AlfaLocalHit::AssignZ |
( |
| ) |
|
Definition at line 65 of file AlfaLocalHits.cxx.
67 throw std::runtime_error(
"AlfaLocalHit::AssignZ() m_pot not assigned");
79 throw std::runtime_error(
"AlfaLocalHit::AssignZ: z coordinate was not assigned for the hit");
◆ GetLocRecCorr()
◆ GetMDindex()
int AlfaLocalHit::GetMDindex |
( |
const char * |
name | ) |
|
Definition at line 91 of file AlfaLocalHits.cxx.
93 if(
n.Contains(
"B7L1U"))
return 0;
94 if(
n.Contains(
"B7L1L"))
return 1;
95 if(
n.Contains(
"A7L1U"))
return 2;
96 if(
n.Contains(
"A7L1L"))
return 3;
97 if(
n.Contains(
"A7R1U"))
return 4;
98 if(
n.Contains(
"A7R1L"))
return 5;
99 if(
n.Contains(
"B7R1U"))
return 6;
100 if(
n.Contains(
"B7R1L"))
return 7;
101 throw std::runtime_error(
"AlfaLocalHit::GetMDindex ... Not recognised detector name: " +
n);
◆ GetMDname()
TString AlfaLocalHit::GetMDname |
( |
int |
i | ) |
|
Definition at line 103 of file AlfaLocalHits.cxx.
104 if(
i == 0)
return {
"B7L1U"};
105 if(
i == 1)
return {
"B7L1L"};
106 if(
i == 2)
return {
"A7L1U"};
107 if(
i == 3)
return {
"A7L1L"};
108 if(
i == 4)
return {
"A7R1U"};
109 if(
i == 5)
return {
"A7R1L"};
110 if(
i == 6)
return {
"B7R1U"};
111 if(
i == 7)
return {
"B7R1L"};
112 throw std::runtime_error(
"AlfaLocalHit::GetMDname ... Not recognised detector number: " +
std::to_string(
i));
◆ GetPotName()
TString AlfaLocalHit::GetPotName |
( |
| ) |
const |
|
inline |
◆ GetPotNum()
int AlfaLocalHit::GetPotNum |
( |
| ) |
const |
|
inline |
◆ GetX()
float AlfaLocalHit::GetX |
( |
| ) |
const |
|
inline |
◆ GetY()
float AlfaLocalHit::GetY |
( |
| ) |
const |
|
inline |
◆ GetZ()
float AlfaLocalHit::GetZ |
( |
| ) |
const |
|
inline |
◆ IsHi()
int AlfaLocalHit::IsHi |
( |
| ) |
const |
|
inline |
◆ Print()
void AlfaLocalHit::Print |
( |
| ) |
|
◆ SetHit()
◆ m_ishit
int AlfaLocalHit::m_ishit = 0 |
|
private |
◆ m_LocRecCorr
◆ m_pot
int AlfaLocalHit::m_pot = 0 |
|
private |
◆ m_potname
TString AlfaLocalHit::m_potname |
|
private |
◆ m_x
Float_t AlfaLocalHit::m_x = 0.0F |
|
private |
◆ m_y
Float_t AlfaLocalHit::m_y = 0.0F |
|
private |
◆ m_z
Float_t AlfaLocalHit::m_z = 0.0F |
|
private |
The documentation for this class was generated from the following files: