ATLAS Offline Software
DblQ00Wsup.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/WSUP
7  *******************************************************/
8 
9  // author: S Spagnolo
10  // entered: 07/28/04
11  // comment: RPC SUPPORT
12 
13 #ifndef DBLQ00_WSUP_H
14 #define DBLQ00_WSUP_H
15 #include <string>
16 #include <vector>
17 #include <array>
18 
19 
20 class IRDBAccessSvc;
21 
22 
23 namespace MuonGM {
24 class DblQ00Wsup {
25 public:
26  DblQ00Wsup() = default;
27  ~DblQ00Wsup() = default;
28  DblQ00Wsup(IRDBAccessSvc *pAcccessSvc, const std::string & GeoTag="", const std::string & GeoNode="");
29  DblQ00Wsup & operator=(const DblQ00Wsup &right) = delete;
30  DblQ00Wsup(const DblQ00Wsup&)= delete;
31 
32  // data members for DblQ00/WSUP fields
33  struct WSUP {
34  int version{0}; // VERSION
35  int jsta{0}; // INDEX
36  int nxxsup{0}; // MAX NB. FOR X FRAGMENTS
37  int nzzsup{0}; // MAX NB. FOR Z FRAGMENTS
38  float x0{0.f}; // X0
39  float thickn{0.f}; // THICKNESS
40  std::array<float,4> xxsup{}; // X DIMENSION
41  std::array<float,4> zzsup{}; // Z DIMENSION
42  };
43 
44  const WSUP* data() const { return m_d.data(); };
45  unsigned int size() const { return m_nObj; };
46  std::string getName() const { return "WSUP"; };
47  std::string getDirName() const { return "DblQ00"; };
48  std::string getObjName() const { return "WSUP"; };
49 
50 private:
51  std::vector<WSUP> m_d{};
52  unsigned int m_nObj{0}; // > 1 if array; 0 if error in retrieve.
53 
54 };
55 } // end of MuonGM namespace
56 
57 #endif // DBLQ00_WSUP_H
58 
MuonGM::DblQ00Wsup::data
const WSUP * data() const
Definition: DblQ00Wsup.h:44
MuonGM::DblQ00Wsup::size
unsigned int size() const
Definition: DblQ00Wsup.h:45
MuonGM::DblQ00Wsup::getObjName
std::string getObjName() const
Definition: DblQ00Wsup.h:48
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
MuonGM::DblQ00Wsup::DblQ00Wsup
DblQ00Wsup(const DblQ00Wsup &)=delete
MuonGM::DblQ00Wsup::WSUP::thickn
float thickn
Definition: DblQ00Wsup.h:39
MuonGM::DblQ00Wsup::WSUP::xxsup
std::array< float, 4 > xxsup
Definition: DblQ00Wsup.h:40
MuonGM::DblQ00Wsup::m_d
std::vector< WSUP > m_d
Definition: DblQ00Wsup.h:51
MuonGM::DblQ00Wsup::WSUP::x0
float x0
Definition: DblQ00Wsup.h:38
MuonGM::DblQ00Wsup::WSUP::zzsup
std::array< float, 4 > zzsup
Definition: DblQ00Wsup.h:41
MuonGM::DblQ00Wsup::operator=
DblQ00Wsup & operator=(const DblQ00Wsup &right)=delete
MuonGM::DblQ00Wsup::WSUP::nxxsup
int nxxsup
Definition: DblQ00Wsup.h:36
MuonGM::DblQ00Wsup::getDirName
std::string getDirName() const
Definition: DblQ00Wsup.h:47
MuonGM::DblQ00Wsup::WSUP
Definition: DblQ00Wsup.h:33
MuonGM::DblQ00Wsup::m_nObj
unsigned int m_nObj
Definition: DblQ00Wsup.h:52
MuonGM::DblQ00Wsup::WSUP::version
int version
Definition: DblQ00Wsup.h:34
MuonGM::DblQ00Wsup
Definition: DblQ00Wsup.h:24
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition: IRDBAccessSvc.h:42
MuonGM::DblQ00Wsup::WSUP::jsta
int jsta
Definition: DblQ00Wsup.h:35
MuonGM::DblQ00Wsup::WSUP::nzzsup
int nzzsup
Definition: DblQ00Wsup.h:37
MuonGM::DblQ00Wsup::DblQ00Wsup
DblQ00Wsup()=default
MuonGM::DblQ00Wsup::getName
std::string getName() const
Definition: DblQ00Wsup.h:46
MuonGM::DblQ00Wsup::~DblQ00Wsup
~DblQ00Wsup()=default