ATLAS Offline Software
MuonSpectrometer
MuonDetDescr
MuonGMdbObjects
MuonGMdbObjects
DblQ00Wcro.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/WCRO
7
*******************************************************/
8
9
// author: S Spagnolo
10
// entered: 07/28/04
11
// comment: CRO SPACER
12
13
#ifndef DBLQ00_WCRO_H
14
#define DBLQ00_WCRO_H
15
16
#include <string>
17
#include <vector>
18
19
class
IRDBAccessSvc
;
20
21
namespace
MuonGM
{
22
class
DblQ00Wcro
{
23
public
:
24
DblQ00Wcro
() =
default
;
25
~DblQ00Wcro
() =
default
;
26
DblQ00Wcro
(
IRDBAccessSvc
*pAccessSvc,
const
std::string & GeoTag=
""
,
const
std::string & GeoNode=
""
);
27
28
DblQ00Wcro
&
operator=
(
const
DblQ00Wcro
&right) =
default
;
29
DblQ00Wcro
(
const
DblQ00Wcro
&)=
default
;
30
31
32
// data members for DblQ00/WCRO fields
33
struct
WCRO
{
34
int
version
{0};
// VERSION
35
int
jsta
{0};
// INDEX
36
int
num
{0};
// NUMBER OF OBJECTS
37
float
heightness
{0.f};
// HEIGHT
38
float
largeness
{0.f};
// T-SHAPE LARGENESS
39
float
thickness
{0.f};
// T-SHAPE THICKNESS
40
};
41
42
const
WCRO
*
data
()
const
{
return
m_d
.data(); };
43
unsigned
int
size
()
const
{
return
m_nObj
; };
44
std::string
getName
()
const
{
return
"WCRO"
; };
45
std::string
getDirName
()
const
{
return
"DblQ00"
; };
46
std::string
getObjName
()
const
{
return
"WCRO"
; };
47
48
private
:
49
std::vector<WCRO>
m_d
{};
50
unsigned
int
m_nObj
{0};
// > 1 if array; 0 if error in retrieve.
51
};
52
}
// end of MuonGM namespace
53
54
#endif // DBLQ00_WCRO_H
55
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition:
GeoMuonHits.h:27
MuonGM::DblQ00Wcro::WCRO::num
int num
Definition:
DblQ00Wcro.h:36
MuonGM::DblQ00Wcro::WCRO::jsta
int jsta
Definition:
DblQ00Wcro.h:35
MuonGM::DblQ00Wcro::WCRO::version
int version
Definition:
DblQ00Wcro.h:34
MuonGM::DblQ00Wcro::WCRO::thickness
float thickness
Definition:
DblQ00Wcro.h:39
MuonGM::DblQ00Wcro::m_nObj
unsigned int m_nObj
Definition:
DblQ00Wcro.h:50
MuonGM::DblQ00Wcro::DblQ00Wcro
DblQ00Wcro()=default
MuonGM::DblQ00Wcro::DblQ00Wcro
DblQ00Wcro(const DblQ00Wcro &)=default
MuonGM::DblQ00Wcro::m_d
std::vector< WCRO > m_d
Definition:
DblQ00Wcro.h:49
MuonGM::DblQ00Wcro::~DblQ00Wcro
~DblQ00Wcro()=default
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition:
IRDBAccessSvc.h:45
MuonGM::DblQ00Wcro::size
unsigned int size() const
Definition:
DblQ00Wcro.h:43
MuonGM::DblQ00Wcro::getObjName
std::string getObjName() const
Definition:
DblQ00Wcro.h:46
MuonGM::DblQ00Wcro
Definition:
DblQ00Wcro.h:22
MuonGM::DblQ00Wcro::data
const WCRO * data() const
Definition:
DblQ00Wcro.h:42
MuonGM::DblQ00Wcro::WCRO
Definition:
DblQ00Wcro.h:33
MuonGM::DblQ00Wcro::WCRO::largeness
float largeness
Definition:
DblQ00Wcro.h:38
MuonGM::DblQ00Wcro::getName
std::string getName() const
Definition:
DblQ00Wcro.h:44
MuonGM::DblQ00Wcro::WCRO::heightness
float heightness
Definition:
DblQ00Wcro.h:37
MuonGM::DblQ00Wcro::operator=
DblQ00Wcro & operator=(const DblQ00Wcro &right)=default
MuonGM::DblQ00Wcro::getDirName
std::string getDirName() const
Definition:
DblQ00Wcro.h:45
Generated on Thu Jul 4 2024 21:13:52 for ATLAS Offline Software by
1.8.18