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