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