ATLAS Offline Software
Loading...
Searching...
No Matches
DblQ00Atln.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/ATLN
7 *******************************************************/
8
9 // author: S Spagnolo
10 // entered: 07/28/04
11 // comment: MATERIAL OF TGC
12
13#ifndef DBLQ00_ATLN_H
14#define DBLQ00_ATLN_H
15
16#include <string>
17#include <vector>
18#include <array>
19class IRDBAccessSvc;
20
21
22namespace MuonGM {
24public:
25 DblQ00Atln() = default;
26 ~DblQ00Atln() = default;
27 DblQ00Atln(IRDBAccessSvc *pAccessSvc, const std::string & GeoTag="", const std::string & GeoNode="");
28 DblQ00Atln & operator=(const DblQ00Atln &right) = delete;
29 DblQ00Atln(const DblQ00Atln&) = delete;
30
31 // data members for DblQ00/ATLN fields
32 struct ATLN {
33 int version{0}; // VERSION
34 int i{0}; // INDEX
35 int icovol{0}; // MATERIAL CODE
36 float zpovol{0.f}; // RELATIVE Z POSITION
37 float widvol{0.f}; // Z WIDTH
38 std::string namvol{}; // MATERIAL NAME
39 int jsta{0}; //
40 };
41
42 const ATLN* data() const { return m_d.data(); };
43 unsigned int size() const { return m_nObj; };
44 std::string getName() const { return "ATLN"; };
45 std::string getDirName() const { return "DblQ00"; };
46 std::string getObjName() const { return "ATLN"; };
47
48private:
49 std::vector<ATLN> 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_ATLN_H
55
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
std::string getDirName() const
Definition DblQ00Atln.h:45
std::string getObjName() const
Definition DblQ00Atln.h:46
unsigned int size() const
Definition DblQ00Atln.h:43
DblQ00Atln()=default
std::vector< ATLN > m_d
Definition DblQ00Atln.h:49
const ATLN * data() const
Definition DblQ00Atln.h:42
unsigned int m_nObj
Definition DblQ00Atln.h:50
~DblQ00Atln()=default
DblQ00Atln(const DblQ00Atln &)=delete
std::string getName() const
Definition DblQ00Atln.h:44
DblQ00Atln & operator=(const DblQ00Atln &right)=delete
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27