ATLAS Offline Software
Loading...
Searching...
No Matches
DblQ00Wsup.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/WSUP
7 *******************************************************/
8
9 // author: S Spagnolo
10 // entered: 07/28/04
11 // comment: RPC SUPPORT
12
13#ifndef DBLQ00_WSUP_H
14#define DBLQ00_WSUP_H
15#include <string>
16#include <vector>
17#include <array>
18
19
20class IRDBAccessSvc;
21
22
23namespace MuonGM {
25public:
26 DblQ00Wsup() = default;
27 ~DblQ00Wsup() = default;
28 DblQ00Wsup(IRDBAccessSvc *pAcccessSvc, const std::string & GeoTag="", const std::string & GeoNode="");
29 DblQ00Wsup & operator=(const DblQ00Wsup &right) = delete;
30 DblQ00Wsup(const DblQ00Wsup&)= delete;
31
32 // data members for DblQ00/WSUP fields
33 struct WSUP {
34 int version{0}; // VERSION
35 int jsta{0}; // INDEX
36 int nxxsup{0}; // MAX NB. FOR X FRAGMENTS
37 int nzzsup{0}; // MAX NB. FOR Z FRAGMENTS
38 float x0{0.f}; // X0
39 float thickn{0.f}; // THICKNESS
40 std::array<float,4> xxsup{}; // X DIMENSION
41 std::array<float,4> zzsup{}; // Z DIMENSION
42 };
43
44 const WSUP* data() const { return m_d.data(); };
45 unsigned int size() const { return m_nObj; };
46 std::string getName() const { return "WSUP"; };
47 std::string getDirName() const { return "DblQ00"; };
48 std::string getObjName() const { return "WSUP"; };
49
50private:
51 std::vector<WSUP> m_d{};
52 unsigned int m_nObj{0}; // > 1 if array; 0 if error in retrieve.
53
54};
55} // end of MuonGM namespace
56
57#endif // DBLQ00_WSUP_H
58
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
DblQ00Wsup()=default
std::vector< WSUP > m_d
Definition DblQ00Wsup.h:51
std::string getObjName() const
Definition DblQ00Wsup.h:48
const WSUP * data() const
Definition DblQ00Wsup.h:44
unsigned int m_nObj
Definition DblQ00Wsup.h:52
unsigned int size() const
Definition DblQ00Wsup.h:45
~DblQ00Wsup()=default
std::string getDirName() const
Definition DblQ00Wsup.h:47
DblQ00Wsup(const DblQ00Wsup &)=delete
DblQ00Wsup & operator=(const DblQ00Wsup &right)=delete
std::string getName() const
Definition DblQ00Wsup.h:46
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27
std::array< float, 4 > zzsup
Definition DblQ00Wsup.h:41
std::array< float, 4 > xxsup
Definition DblQ00Wsup.h:40