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