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