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