ATLAS Offline Software
SupComponent.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #include "MuonGeoModel/MYSQL.h"
9 
10 namespace MuonGM {
11 
12  double SupComponent::xAMDB0(const MYSQL& mysql, const StandardComponent &c) {
13  const SUP *t = dynamic_cast<const SUP*>(mysql.GetTechnology(c.name));
14  return t->xAMDB0;
15  }
16  double SupComponent::yAMDB0(const MYSQL& mysql, const StandardComponent &c) {
17  const SUP *t = dynamic_cast<const SUP*>(mysql.GetTechnology(c.name));
18  return t->yAMDB0;
19  }
20  double SupComponent::zAMDB0(const MYSQL& mysql, const StandardComponent &c) {
21  const SUP *t = dynamic_cast<const SUP*>(mysql.GetTechnology(c.name));
22  return t->zAMDB0;
23  }
25  const SUP *t = dynamic_cast<const SUP*>(mysql.GetTechnology(c.name));
26  return t->bottomsizewrtAMDB0;
27  }
28  double SupComponent::topsizewrtAMDB0(const MYSQL& mysql, const StandardComponent &c) {
29  const SUP *t = dynamic_cast<const SUP*>(mysql.GetTechnology(c.name));
30  return t->topsizewrtAMDB0;
31  }
32 } // namespace MuonGM
MuonGM::MYSQL::GetTechnology
Technology * GetTechnology(const std::string &name)
Definition: MYSQL.cxx:105
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
SUP_Technology.h
MuonGM::SUP
Definition: SUP_Technology.h:14
MuonGM::MYSQL
Definition: MYSQL.h:43
MuonGM::SupComponent::topsizewrtAMDB0
static double topsizewrtAMDB0(const MYSQL &mysql, const StandardComponent &c)
Definition: SupComponent.cxx:28
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
MuonGM::StandardComponent
Definition: StandardComponent.h:15
MuonGM::SupComponent::xAMDB0
static double xAMDB0(const MYSQL &mysql, const StandardComponent &c)
Definition: SupComponent.cxx:12
MYSQL.h
MuonGM::SupComponent::yAMDB0
static double yAMDB0(const MYSQL &mysql, const StandardComponent &c)
Definition: SupComponent.cxx:16
MuonGM::SupComponent::zAMDB0
static double zAMDB0(const MYSQL &mysql, const StandardComponent &c)
Definition: SupComponent.cxx:20
python.compressB64.c
def c
Definition: compressB64.py:93
SupComponent.h
MuonGM::SupComponent::bottomsizewrtAMDB0
static double bottomsizewrtAMDB0(const MYSQL &mysql, const StandardComponent &c)
Definition: SupComponent.cxx:24