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
w
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
DblQ00Wcmi.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/DblQ00Wcmi.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 <string>
18
namespace
MuonGM
{
19
20
DblQ00Wcmi::DblQ00Wcmi
(
IRDBAccessSvc
*pAccessSvc,
const
std::string & GeoTag,
const
std::string & GeoNode){
21
22
IRDBRecordset_ptr
wcmi = pAccessSvc->
getRecordsetPtr
(
getName
(),GeoTag, GeoNode);
23
24
if
(wcmi->size()>0) {
25
m_nObj
= wcmi->size();
26
m_d
.resize (
m_nObj
);
27
if
(
m_nObj
== 0) std::cerr<<
"NO Wcmi banks in the MuonDD Database"
<<std::endl;
28
29
for
(
size_t
i
=0;
i
<wcmi->size(); ++
i
) {
30
m_d
[
i
].version = (*wcmi)[
i
]->getInt(
"VERS"
);
31
m_d
[
i
].jsta = (*wcmi)[
i
]->getInt(
"JSTA"
);
32
m_d
[
i
].num = (*wcmi)[
i
]->getInt(
"NUM"
);
33
m_d
[
i
].heightness = (*wcmi)[
i
]->getFloat(
"HEIGHTNESS"
);
34
m_d
[
i
].largeness = (*wcmi)[
i
]->getFloat(
"LARGENESS"
);
35
m_d
[
i
].thickness = (*wcmi)[
i
]->getFloat(
"THICKNESS"
);
36
}
37
}
else
{
38
std::cerr<<
"NO Wcmi banks in the MuonDD Database"
<<std::endl;
39
}
40
}
41
42
}
// 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::DblQ00Wcmi::DblQ00Wcmi
DblQ00Wcmi()=default
IRDBAccessSvc.h
Definition of the abstract IRDBAccessSvc interface.
MuonGM::DblQ00Wcmi::m_d
std::vector< WCMI > m_d
Definition:
DblQ00Wcmi.h:46
lumiFormat.i
int i
Definition:
lumiFormat.py:85
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition:
IRDBAccessSvc.h:42
MuonGM::DblQ00Wcmi::m_nObj
unsigned int m_nObj
Definition:
DblQ00Wcmi.h:47
IRDBRecordset_ptr
std::shared_ptr< IRDBRecordset > IRDBRecordset_ptr
Definition:
IRDBAccessSvc.h:25
IRDBRecord.h
Definition of the abstract IRDBRecord interface.
MuonGM::DblQ00Wcmi::getName
std::string getName() const
Definition:
DblQ00Wcmi.h:41
DblQ00Wcmi.h
IRDBRecordset.h
Definition of the abstract IRDBRecordset interface.
Generated on Thu May 8 2025 21:08:29 for ATLAS Offline Software by
1.8.18