ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
MuonGM::SupComponent Class Reference

#include <SupComponent.h>

Inheritance diagram for MuonGM::SupComponent:
Collaboration diagram for MuonGM::SupComponent:

Public Member Functions

double GetThickness (const MYSQL &mysql) const
 
double GetThickness () const
 

Static Public Member Functions

static double xAMDB0 (const MYSQL &mysql, const StandardComponent &c)
 
static double yAMDB0 (const MYSQL &mysql, const StandardComponent &c)
 
static double zAMDB0 (const MYSQL &mysql, const StandardComponent &c)
 
static double bottomsizewrtAMDB0 (const MYSQL &mysql, const StandardComponent &c)
 
static double topsizewrtAMDB0 (const MYSQL &mysql, const StandardComponent &c)
 

Public Attributes

double posx {0.}
 
double posy {0.}
 
double posz {0.}
 
double deadx {0.}
 
double deady {0.}
 
double dead3 {0.}
 
double excent {0.}
 
int iswap {0}
 
int index {0}
 
std::string name {}
 
double dx1 {0.}
 
double dx2 {0.}
 
double dy {0.}
 

Detailed Description

Definition at line 13 of file SupComponent.h.

Member Function Documentation

◆ bottomsizewrtAMDB0()

double MuonGM::SupComponent::bottomsizewrtAMDB0 ( const MYSQL mysql,
const StandardComponent c 
)
static

Definition at line 24 of file SupComponent.cxx.

24  {
25  const SUP *t = dynamic_cast<const SUP*>(mysql.GetTechnology(c.name));
26  return t->bottomsizewrtAMDB0;
27  }

◆ GetThickness() [1/2]

double MuonGM::Component::GetThickness ( ) const
inherited

Definition at line 9 of file Component.cxx.

9 { return 0; }

◆ GetThickness() [2/2]

double MuonGM::StandardComponent::GetThickness ( const MYSQL mysql) const
inherited

Definition at line 27 of file StandardComponent.cxx.

27  {
28  const Technology *tec = mysql.GetTechnology(name);
29 
30  if (name.compare(0, 3,"CHV") == 0) {
31  const CHV *chv = dynamic_cast<const CHV*>(tec);
32  return chv->height;
33  } else if (name.compare(0, 3,"CRO") == 0) {
34  const CRO *chv = dynamic_cast<const CRO*>(tec);
35  return chv->height;
36  } else if (name.compare(0, 3,"CMI") == 0) {
37  const CMI *chv = dynamic_cast<const CMI*>(tec);
38  return chv->height;
39  } else if (name.compare(0, 3,"LBI") == 0 || name.compare(0, 2,"LB") == 0) {
40  const LBI *chv = dynamic_cast<const LBI*>(tec);
41  return chv->height;
42  }
43  return mysql.GetTechnology(name)->thickness;
44  }

◆ topsizewrtAMDB0()

double MuonGM::SupComponent::topsizewrtAMDB0 ( const MYSQL mysql,
const StandardComponent c 
)
static

Definition at line 28 of file SupComponent.cxx.

28  {
29  const SUP *t = dynamic_cast<const SUP*>(mysql.GetTechnology(c.name));
30  return t->topsizewrtAMDB0;
31  }

◆ xAMDB0()

double MuonGM::SupComponent::xAMDB0 ( const MYSQL mysql,
const StandardComponent c 
)
static

Definition at line 12 of file SupComponent.cxx.

12  {
13  const SUP *t = dynamic_cast<const SUP*>(mysql.GetTechnology(c.name));
14  return t->xAMDB0;
15  }

◆ yAMDB0()

double MuonGM::SupComponent::yAMDB0 ( const MYSQL mysql,
const StandardComponent c 
)
static

Definition at line 16 of file SupComponent.cxx.

16  {
17  const SUP *t = dynamic_cast<const SUP*>(mysql.GetTechnology(c.name));
18  return t->yAMDB0;
19  }

◆ zAMDB0()

double MuonGM::SupComponent::zAMDB0 ( const MYSQL mysql,
const StandardComponent c 
)
static

Definition at line 20 of file SupComponent.cxx.

20  {
21  const SUP *t = dynamic_cast<const SUP*>(mysql.GetTechnology(c.name));
22  return t->zAMDB0;
23  }

Member Data Documentation

◆ dead3

double MuonGM::StandardComponent::dead3 {0.}
inherited

Definition at line 24 of file StandardComponent.h.

◆ deadx

double MuonGM::StandardComponent::deadx {0.}
inherited

Definition at line 22 of file StandardComponent.h.

◆ deady

double MuonGM::StandardComponent::deady {0.}
inherited

Definition at line 23 of file StandardComponent.h.

◆ dx1

double MuonGM::Component::dx1 {0.}
inherited

Definition at line 19 of file Component.h.

◆ dx2

double MuonGM::Component::dx2 {0.}
inherited

Definition at line 20 of file Component.h.

◆ dy

double MuonGM::Component::dy {0.}
inherited

Definition at line 21 of file Component.h.

◆ excent

double MuonGM::StandardComponent::excent {0.}
inherited

Definition at line 25 of file StandardComponent.h.

◆ index

int MuonGM::StandardComponent::index {0}
inherited

Definition at line 27 of file StandardComponent.h.

◆ iswap

int MuonGM::StandardComponent::iswap {0}
inherited

Definition at line 26 of file StandardComponent.h.

◆ name

std::string MuonGM::Component::name {}
inherited

Definition at line 18 of file Component.h.

◆ posx

double MuonGM::StandardComponent::posx {0.}
inherited

Definition at line 19 of file StandardComponent.h.

◆ posy

double MuonGM::StandardComponent::posy {0.}
inherited

Definition at line 20 of file StandardComponent.h.

◆ posz

double MuonGM::StandardComponent::posz {0.}
inherited

Definition at line 21 of file StandardComponent.h.


The documentation for this class was generated from the following files:
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
MuonGM::Component::name
std::string name
Definition: Component.h:18
python.compressB64.c
def c
Definition: compressB64.py:93