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