ATLAS Offline Software
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>
19 class IRDBAccessSvc;
20 
21 
22 namespace MuonGM {
23 class DblQ00Atln {
24 public:
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 
48 private:
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 
MuonGM::DblQ00Atln::~DblQ00Atln
~DblQ00Atln()=default
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
MuonGM::DblQ00Atln::DblQ00Atln
DblQ00Atln()=default
MuonGM::DblQ00Atln::ATLN::jsta
int jsta
Definition: DblQ00Atln.h:39
MuonGM::DblQ00Atln::ATLN
Definition: DblQ00Atln.h:32
MuonGM::DblQ00Atln::getName
std::string getName() const
Definition: DblQ00Atln.h:44
MuonGM::DblQ00Atln::ATLN::i
int i
Definition: DblQ00Atln.h:34
MuonGM::DblQ00Atln::ATLN::namvol
std::string namvol
Definition: DblQ00Atln.h:38
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition: IRDBAccessSvc.h:42
MuonGM::DblQ00Atln::getDirName
std::string getDirName() const
Definition: DblQ00Atln.h:45
MuonGM::DblQ00Atln::m_d
std::vector< ATLN > m_d
Definition: DblQ00Atln.h:49
MuonGM::DblQ00Atln::operator=
DblQ00Atln & operator=(const DblQ00Atln &right)=delete
MuonGM::DblQ00Atln
Definition: DblQ00Atln.h:23
MuonGM::DblQ00Atln::ATLN::zpovol
float zpovol
Definition: DblQ00Atln.h:36
MuonGM::DblQ00Atln::data
const ATLN * data() const
Definition: DblQ00Atln.h:42
MuonGM::DblQ00Atln::ATLN::version
int version
Definition: DblQ00Atln.h:33
MuonGM::DblQ00Atln::ATLN::icovol
int icovol
Definition: DblQ00Atln.h:35
MuonGM::DblQ00Atln::getObjName
std::string getObjName() const
Definition: DblQ00Atln.h:46
MuonGM::DblQ00Atln::DblQ00Atln
DblQ00Atln(const DblQ00Atln &)=delete
MuonGM::DblQ00Atln::size
unsigned int size() const
Definition: DblQ00Atln.h:43
MuonGM::DblQ00Atln::ATLN::widvol
float widvol
Definition: DblQ00Atln.h:37
MuonGM::DblQ00Atln::m_nObj
unsigned int m_nObj
Definition: DblQ00Atln.h:50