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