ATLAS Offline Software
Loading...
Searching...
No Matches
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>
18class IRDBAccessSvc;
19
20
21namespace MuonGM {
23public:
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
46private:
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
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
unsigned int m_nObj
Definition DblQ00Asmp.h:48
DblQ00Asmp(const DblQ00Asmp &)=default
DblQ00Asmp & operator=(const DblQ00Asmp &right)=default
std::string getDirName() const
Definition DblQ00Asmp.h:43
std::string getObjName() const
Definition DblQ00Asmp.h:44
std::vector< ASMP > m_d
Definition DblQ00Asmp.h:47
~DblQ00Asmp()=default
const ASMP * data() const
Definition DblQ00Asmp.h:40
unsigned int size() const
Definition DblQ00Asmp.h:41
DblQ00Asmp()=default
std::string getName() const
Definition DblQ00Asmp.h:42
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27