ATLAS Offline Software
DblQ00Wlbi.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 /********************************************************
6  Class def for MuonGeoModel DblQ00/WLBI
7  *******************************************************/
8 
9  // author: S Spagnolo
10  // entered: 07/28/04
11  // comment: LONG BEAM
12 
13 #ifndef DBLQ00_WLBI_H
14 #define DBLQ00_WLBI_H
15 
16 #include <string>
17 #include <vector>
18 
19 class IRDBAccessSvc;
20 
21 
22 namespace MuonGM {
23 class DblQ00Wlbi {
24 public:
25  DblQ00Wlbi() = default;
26  ~DblQ00Wlbi() = default;
27  DblQ00Wlbi(IRDBAccessSvc *pAccessSvc, const std::string & GeoTag="", const std::string & GeoNode="");
28 
29  DblQ00Wlbi & operator=(const DblQ00Wlbi &right) = default;
30  DblQ00Wlbi(const DblQ00Wlbi&) = default;
31 
32 
33  struct WLBI {
34  int version{0}; // VERSION
35  int jsta{0}; // INDEX
36  int num{0}; // NUMBER OF OBJECTS
37  float height{0.f}; // HEIGHT
38  float thickness{0.f}; // WALL THICKNESS
39  float lowerThickness{0.f}; //
40  float yShift{0.f}; //
41  };
42 
43  const WLBI* data() const { return m_d.data(); };
44  unsigned int size() const { return m_nObj; };
45  std::string getName() const { return "WLBI"; };
46  std::string getDirName() const { return "DblQ00"; };
47  std::string getObjName() const { return "WLBI"; };
48 
49 private:
50  std::vector<WLBI> m_d{};
51  unsigned int m_nObj{0}; // > 1 if array; 0 if error in retrieve.
52 };
53 } // end of MuonGM namespace
54 
55 #endif // DBLQ00_WLBI_H
56 
MuonGM::DblQ00Wlbi::operator=
DblQ00Wlbi & operator=(const DblQ00Wlbi &right)=default
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
MuonGM::DblQ00Wlbi::WLBI::yShift
float yShift
Definition: DblQ00Wlbi.h:40
MuonGM::DblQ00Wlbi::size
unsigned int size() const
Definition: DblQ00Wlbi.h:44
MuonGM::DblQ00Wlbi::getDirName
std::string getDirName() const
Definition: DblQ00Wlbi.h:46
MuonGM::DblQ00Wlbi::data
const WLBI * data() const
Definition: DblQ00Wlbi.h:43
MuonGM::DblQ00Wlbi::~DblQ00Wlbi
~DblQ00Wlbi()=default
MuonGM::DblQ00Wlbi::getObjName
std::string getObjName() const
Definition: DblQ00Wlbi.h:47
MuonGM::DblQ00Wlbi::WLBI::jsta
int jsta
Definition: DblQ00Wlbi.h:35
MuonGM::DblQ00Wlbi::getName
std::string getName() const
Definition: DblQ00Wlbi.h:45
MuonGM::DblQ00Wlbi::m_d
std::vector< WLBI > m_d
Definition: DblQ00Wlbi.h:50
MuonGM::DblQ00Wlbi::DblQ00Wlbi
DblQ00Wlbi(const DblQ00Wlbi &)=default
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition: IRDBAccessSvc.h:42
MuonGM::DblQ00Wlbi::m_nObj
unsigned int m_nObj
Definition: DblQ00Wlbi.h:51
MuonGM::DblQ00Wlbi::WLBI::thickness
float thickness
Definition: DblQ00Wlbi.h:38
MuonGM::DblQ00Wlbi::WLBI::version
int version
Definition: DblQ00Wlbi.h:34
MuonGM::DblQ00Wlbi::DblQ00Wlbi
DblQ00Wlbi()=default
MuonGM::DblQ00Wlbi::WLBI::height
float height
Definition: DblQ00Wlbi.h:37
MuonGM::DblQ00Wlbi
Definition: DblQ00Wlbi.h:23
MuonGM::DblQ00Wlbi::WLBI::lowerThickness
float lowerThickness
Definition: DblQ00Wlbi.h:39
MuonGM::DblQ00Wlbi::WLBI
Definition: DblQ00Wlbi.h:33
MuonGM::DblQ00Wlbi::WLBI::num
int num
Definition: DblQ00Wlbi.h:36