#include <StandardComponent.h>
Inherits MuonGM::Component.
Inherited by MuonGM::CbmComponent, MuonGM::CscComponent, MuonGM::LbiComponent, MuonGM::MdtComponent, MuonGM::MicromegasComponent, MuonGM::MMSpacerComponent, MuonGM::RpcComponent, MuonGM::SpaComponent, MuonGM::sTGCComponent, MuonGM::SupComponent, and MuonGM::TgcComponent.
Definition at line 15 of file StandardComponent.h.
◆ StandardComponent()
MuonGM::StandardComponent::StandardComponent |
( |
| ) |
|
|
default |
◆ GetThickness() [1/2]
double MuonGM::Component::GetThickness |
( |
| ) |
const |
|
inherited |
◆ GetThickness() [2/2]
double MuonGM::StandardComponent::GetThickness |
( |
const MYSQL & |
mysql | ) |
const |
Definition at line 27 of file StandardComponent.cxx.
28 const Technology *tec = mysql.GetTechnology(
name);
30 if (
name.compare(0, 3,
"CHV") == 0) {
31 const CHV *chv =
dynamic_cast<const CHV*
>(tec);
33 }
else if (
name.compare(0, 3,
"CRO") == 0) {
34 const CRO *chv =
dynamic_cast<const CRO*
>(tec);
36 }
else if (
name.compare(0, 3,
"CMI") == 0) {
37 const CMI *chv =
dynamic_cast<const CMI*
>(tec);
39 }
else if (
name.compare(0, 3,
"LBI") == 0 ||
name.compare(0, 2,
"LB") == 0) {
40 const LBI *chv =
dynamic_cast<const LBI*
>(tec);
43 return mysql.GetTechnology(
name)->thickness;
◆ operator<<
Definition at line 19 of file StandardComponent.cxx.
20 os <<
"Component " <<
c.name << std::endl;
21 os <<
c.posx <<
" " <<
c.posy <<
" " <<
c.posz <<
" " <<
c.index <<
" " <<
c.name;
22 os <<
" " <<
c.iswap <<
" " <<
c.dx1 <<
" " <<
c.dx2 <<
" " <<
c.dy <<
" ";
23 os <<
c.excent <<
" " <<
c.deadx <<
" " <<
c.deady << std::endl;
◆ dead3
double MuonGM::StandardComponent::dead3 {0.} |
◆ deadx
double MuonGM::StandardComponent::deadx {0.} |
◆ deady
double MuonGM::StandardComponent::deady {0.} |
◆ dx1
double MuonGM::Component::dx1 {0.} |
|
inherited |
◆ dx2
double MuonGM::Component::dx2 {0.} |
|
inherited |
◆ dy
double MuonGM::Component::dy {0.} |
|
inherited |
◆ excent
double MuonGM::StandardComponent::excent {0.} |
◆ index
int MuonGM::StandardComponent::index {0} |
◆ iswap
int MuonGM::StandardComponent::iswap {0} |
◆ name
std::string MuonGM::Component::name {} |
|
inherited |
◆ posx
double MuonGM::StandardComponent::posx {0.} |
◆ posy
double MuonGM::StandardComponent::posy {0.} |
◆ posz
double MuonGM::StandardComponent::posz {0.} |
The documentation for this class was generated from the following files: