ATLAS Offline Software
Loading...
Searching...
No Matches
DblQ00Dbam.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/DBAM
7 *******************************************************/
8
9 // author: S Spagnolo
10 // entered: 07/28/04
11 // comment: MUON GEOMETRY FROM AMDB
12
13#ifndef DBLQ00_DBAM_H
14#define DBLQ00_DBAM_H
15
16#include <string>
17#include <vector>
18#include <array>
19
20class IRDBAccessSvc;
21
22
23namespace MuonGM {
25public:
26 DblQ00Dbam() = default;
27 ~DblQ00Dbam() = default;
28 DblQ00Dbam(IRDBAccessSvc *pAccessSvc, const std::string & GeoTag="", const std::string & GeoNode="");
29 DblQ00Dbam & operator=(const DblQ00Dbam &right) = default;
30 DblQ00Dbam(const DblQ00Dbam&) = default;
31
32
33 // data members for DblQ00/DBAM fields
34 struct DBAM {
35 int version{0}; // VERSION
36 int nvrs{0}; // VERSION OF READING
37 std::string amdb{}; // AMDB NAME
38 int mtyp{0}; // MAXIMUM STATION NUMBER
39 std::array<std::string, 53> name{}; // STATION NAME
40 int numbox{0}; // FILE INDEX
41 };
42
43 const DBAM* data() const { return m_d.data(); };
44 unsigned int size() const { return m_nObj; };
45 std::string getName() const { return "DBAM"; };
46 std::string getDirName() const { return "DblQ00"; };
47 std::string getObjName() const { return "DBAM"; };
48
49private:
50 std::vector<DBAM> 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_DBAM_H
56
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
const DBAM * data() const
Definition DblQ00Dbam.h:43
DblQ00Dbam(const DblQ00Dbam &)=default
unsigned int size() const
Definition DblQ00Dbam.h:44
DblQ00Dbam & operator=(const DblQ00Dbam &right)=default
std::string getName() const
Definition DblQ00Dbam.h:45
std::vector< DBAM > m_d
Definition DblQ00Dbam.h:50
~DblQ00Dbam()=default
unsigned int m_nObj
Definition DblQ00Dbam.h:51
std::string getDirName() const
Definition DblQ00Dbam.h:46
std::string getObjName() const
Definition DblQ00Dbam.h:47
DblQ00Dbam()=default
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27
std::array< std::string, 53 > name
Definition DblQ00Dbam.h:39