ATLAS Offline Software
DblQ00Alin.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/ALIN
7  *******************************************************/
8 
9 #ifndef DBLQ00_ALIN_H
10 #define DBLQ00_ALIN_H
11 #include <string>
12 #include <vector>
13 
14 
15 class IRDBAccessSvc;
16 
17 namespace MuonGM {
18 class DblQ00Alin {
19 public:
20  DblQ00Alin() = default;
21  ~DblQ00Alin() = default;
22  DblQ00Alin(IRDBAccessSvc *pAccessSvc,
23  const std::string & GeoTag="",
24  const std::string & GeoNode="");
25 
26  DblQ00Alin & operator=(const DblQ00Alin &right) = default;
27  DblQ00Alin(const DblQ00Alin&) = default;
28 
29  // data members for DblQ00/ALIN fields
30  struct ALIN {
31  int version{0}; // VERSION
32  float dx{0.f}; // X RELATIVE POSITION OF THE SUB-CUT
33  float dy{0.f}; // Y RELATIVE POSITION OF THE SUB-CUT
34  int i{0}; // SERIAL NB. OF THE OBJECT IN WHICH THE SU
35  float width_xs{0.f}; // S DIMENSIONS OF THE SUB-CUT
36  float width_xl{0.f}; // L DIMENSIONS OF THE SUB-CUT
37  float length_y{0.f}; // Y DIMENSIONS OF THE SUB-CUT
38  float excent{0.f}; // EXC DIMENSIONS OF THE SUB-CUT
39  float dead1{0.f}; // D1 DIMENSIONS OF THE SUB-CUT
40  int jtyp{0}; // STATION TYPE
41  int indx{0}; // INDEX
42  int icut{0}; // CUT-OUT INDEX
43  };
44 
45  const ALIN* data() const { return m_d.data(); };
46  unsigned int size() const { return m_nObj; };
47  std::string getName() const { return "ALIN"; };
48  std::string getDirName() const { return "DblQ00"; };
49  std::string getObjName() const { return "ALIN"; };
50 
51 private:
52  std::vector<ALIN> m_d;
53  unsigned int m_nObj{0}; // > 1 if array; 0 if error in retrieve.
54 };
55 } // end of MuonGM namespace
56 
57 #endif // DBLQ00_ALIN_H
58 
MuonGM::DblQ00Alin::DblQ00Alin
DblQ00Alin()=default
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
MuonGM::DblQ00Alin::ALIN::width_xs
float width_xs
Definition: DblQ00Alin.h:35
MuonGM::DblQ00Alin::size
unsigned int size() const
Definition: DblQ00Alin.h:46
MuonGM::DblQ00Alin::ALIN::indx
int indx
Definition: DblQ00Alin.h:41
MuonGM::DblQ00Alin::ALIN
Definition: DblQ00Alin.h:30
MuonGM::DblQ00Alin::ALIN::width_xl
float width_xl
Definition: DblQ00Alin.h:36
MuonGM::DblQ00Alin::ALIN::dead1
float dead1
Definition: DblQ00Alin.h:39
MuonGM::DblQ00Alin::ALIN::i
int i
Definition: DblQ00Alin.h:34
MuonGM::DblQ00Alin::~DblQ00Alin
~DblQ00Alin()=default
MuonGM::DblQ00Alin::ALIN::excent
float excent
Definition: DblQ00Alin.h:38
MuonGM::DblQ00Alin::ALIN::dy
float dy
Definition: DblQ00Alin.h:33
MuonGM::DblQ00Alin
Definition: DblQ00Alin.h:18
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition: IRDBAccessSvc.h:45
MuonGM::DblQ00Alin::getObjName
std::string getObjName() const
Definition: DblQ00Alin.h:49
MuonGM::DblQ00Alin::ALIN::icut
int icut
Definition: DblQ00Alin.h:42
MuonGM::DblQ00Alin::m_nObj
unsigned int m_nObj
Definition: DblQ00Alin.h:53
MuonGM::DblQ00Alin::data
const ALIN * data() const
Definition: DblQ00Alin.h:45
MuonGM::DblQ00Alin::ALIN::dx
float dx
Definition: DblQ00Alin.h:32
MuonGM::DblQ00Alin::getName
std::string getName() const
Definition: DblQ00Alin.h:47
MuonGM::DblQ00Alin::DblQ00Alin
DblQ00Alin(const DblQ00Alin &)=default
MuonGM::DblQ00Alin::ALIN::version
int version
Definition: DblQ00Alin.h:31
MuonGM::DblQ00Alin::operator=
DblQ00Alin & operator=(const DblQ00Alin &right)=default
MuonGM::DblQ00Alin::m_d
std::vector< ALIN > m_d
Definition: DblQ00Alin.h:49
MuonGM::DblQ00Alin::ALIN::jtyp
int jtyp
Definition: DblQ00Alin.h:40
MuonGM::DblQ00Alin::ALIN::length_y
float length_y
Definition: DblQ00Alin.h:37
MuonGM::DblQ00Alin::getDirName
std::string getDirName() const
Definition: DblQ00Alin.h:48