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