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