Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
MuonSpectrometer
MuonDetDescr
MuonGMdbObjects
src
DblQ00Aptp.cxx
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
DB data - Muon Station components
7
-----------------------------------------
8
***************************************************************************/
9
10
#include "
MuonGMdbObjects/DblQ00Aptp.h
"
11
#include "
RDBAccessSvc/IRDBRecordset.h
"
12
#include "
RDBAccessSvc/IRDBAccessSvc.h
"
13
#include "
RDBAccessSvc/IRDBRecord.h
"
14
15
#include <iostream>
16
#include <sstream>
17
#include <stdio.h>
18
19
namespace
MuonGM
20
{
21
22
DblQ00Aptp::DblQ00Aptp
(
IRDBAccessSvc
*pAccessSvc,
const
std::string & GeoTag,
const
std::string & GeoNode){
23
24
IRDBRecordset_ptr
aptp = pAccessSvc->
getRecordsetPtr
(
getName
(),GeoTag, GeoNode);
25
26
if
(aptp->size()>0) {
27
m_nObj
= aptp->size();
28
m_d
.resize (
m_nObj
);
29
if
(
m_nObj
== 0) std::cerr<<
"NO Aptp banks in the MuonDD Database"
<<std::endl;
30
31
for
(
size_t
i
=0;
i
<aptp->size(); ++
i
) {
32
m_d
[
i
].version = (*aptp)[
i
]->getInt(
"VERS"
);
33
m_d
[
i
].line = (*aptp)[
i
]->getInt(
"LINE"
);
34
m_d
[
i
].type = (*aptp)[
i
]->getString(
"TYP"
);
35
m_d
[
i
].i = (*aptp)[
i
]->getInt(
"I"
);
36
m_d
[
i
].icut = (*aptp)[
i
]->getInt(
"ICUT"
);
37
m_d
[
i
].iphi.resize(8);
38
m_d
[
i
].iphi[0] = (*aptp)[
i
]->getInt(
"IPHI_0"
);
39
m_d
[
i
].iphi[1] = (*aptp)[
i
]->getInt(
"IPHI_1"
);
40
m_d
[
i
].iphi[2] = (*aptp)[
i
]->getInt(
"IPHI_2"
);
41
m_d
[
i
].iphi[3] = (*aptp)[
i
]->getInt(
"IPHI_3"
);
42
m_d
[
i
].iphi[4] = (*aptp)[
i
]->getInt(
"IPHI_4"
);
43
m_d
[
i
].iphi[5] = (*aptp)[
i
]->getInt(
"IPHI_5"
);
44
m_d
[
i
].iphi[6] = (*aptp)[
i
]->getInt(
"IPHI_6"
);
45
m_d
[
i
].iphi[7] = (*aptp)[
i
]->getInt(
"IPHI_7"
);
46
m_d
[
i
].iz = (*aptp)[
i
]->getInt(
"IZ"
);
47
m_d
[
i
].dphi = (*aptp)[
i
]->getFloat(
"DPHI"
);
48
m_d
[
i
].z = (*aptp)[
i
]->getFloat(
"Z"
);
49
m_d
[
i
].r = (*aptp)[
i
]->getFloat(
"R"
);
50
m_d
[
i
].s = (*aptp)[
i
]->getFloat(
"S"
);
51
m_d
[
i
].alfa = (*aptp)[
i
]->getFloat(
"ALFA"
);
52
m_d
[
i
].beta = (*aptp)[
i
]->getFloat(
"BETA"
);
53
m_d
[
i
].gamma = (*aptp)[
i
]->getFloat(
"GAMMA"
);
54
}
55
}
56
else
{
57
std::cerr<<
"NO Aptp banks in the MuonDD Database"
<<std::endl;
58
}
59
}
60
61
62
}
// end of namespace MuonGM
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition:
GeoMuonHits.h:27
IRDBAccessSvc::getRecordsetPtr
virtual IRDBRecordset_ptr getRecordsetPtr(const std::string &node, const std::string &tag, const std::string &tag2node="", const std::string &connName="ATLASDD")=0
Provides access to the Recordset object containing HVS-tagged data.
MuonGM::DblQ00Aptp::getName
std::string getName() const
Definition:
DblQ00Aptp.h:52
DblQ00Aptp.h
IRDBAccessSvc.h
Definition of the abstract IRDBAccessSvc interface.
MuonGM::DblQ00Aptp::DblQ00Aptp
DblQ00Aptp()=default
lumiFormat.i
int i
Definition:
lumiFormat.py:85
MuonGM::DblQ00Aptp::m_d
std::vector< APTP > m_d
Definition:
DblQ00Aptp.h:57
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition:
IRDBAccessSvc.h:42
IRDBRecordset_ptr
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition:
IRDBAccessSvc.h:25
IRDBRecord.h
Definition of the abstract IRDBRecord interface.
MuonGM::DblQ00Aptp::m_nObj
unsigned int m_nObj
Definition:
DblQ00Aptp.h:58
IRDBRecordset.h
Definition of the abstract IRDBRecordset interface.
Generated on Tue May 6 2025 21:08:30 for ATLAS Offline Software by
1.8.18