ATLAS Offline Software
Loading...
Searching...
No Matches
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
19class IRDBAccessSvc;
20
21
22namespace MuonGM {
24public:
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
49private:
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
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
std::vector< WCHV > m_d
Definition DblQ00Wchv.h:50
~DblQ00Wchv()=default
unsigned int size() const
Definition DblQ00Wchv.h:44
std::string getName() const
Definition DblQ00Wchv.h:45
const WCHV * data() const
Definition DblQ00Wchv.h:43
DblQ00Wchv & operator=(const DblQ00Wchv &right)=default
DblQ00Wchv()=default
DblQ00Wchv(const DblQ00Wchv &)=default
unsigned int m_nObj
Definition DblQ00Wchv.h:51
std::string getDirName() const
Definition DblQ00Wchv.h:46
std::string getObjName() const
Definition DblQ00Wchv.h:47
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27