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