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