ATLAS Offline Software
Loading...
Searching...
No Matches
DblQ00Aszt.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/ASZT
7 *******************************************************/
8
9 // author: S Spagnolo
10 // entered: 07/28/04
11 // comment: MUON STATION ELEMENT
12
13#ifndef DBLQ00_ASZT_H
14#define DBLQ00_ASZT_H
15
16
17
18class IRDBAccessSvc;
19#include <string>
20#include <vector>
21#include <array>
22
23namespace MuonGM {
25public:
26 DblQ00Aszt() = default;
27 ~DblQ00Aszt() = default;
28 DblQ00Aszt(IRDBAccessSvc *pAccessSvc, const std::string & GeoTag="", const std::string & GeoNode="");
29 DblQ00Aszt & operator=(const DblQ00Aszt &right) = delete;
30 DblQ00Aszt(const DblQ00Aszt&) = delete;
31
32 DblQ00Aszt(const std::string& asciiFileName);
33
34 void WriteAsztToAsciiFile(const std::string& filename);
35
36 // data members for DblQ00/ASZT fields
37 struct ASZT {
38 int version{0}; // VERSION
39 int line{0}; // LINE NUMBER
40 std::string type{}; // STATION TYPE
41 int jff{0}; // PHI POSITION
42 int jzz{0}; // Z POSITION
43 int job{0}; // JOB POSITION
44 float tras{0.f}; // S TRANSLATION [MM]
45 float traz{0.f}; // Z TRANSLATION
46 float trat{0.f}; // T TRANSLATION
47 float rots{0.f}; // S ROTATION [RAD]
48 float rotz{0.f}; // Z ROTATION
49 float rott{0.f}; // T ROTATION
50 int i{0}; // STATION AMDB INDEX
51 };
52
53 const ASZT* data() const { return m_d.data(); };
54 unsigned int size() const { return m_nObj; };
55 std::string getName() const { return "ASZT"; };
56 std::string getDirName() const { return "DblQ00"; };
57 std::string getObjName() const { return "ASZT"; };
58
59private:
60 std::vector<ASZT> m_d{};
61 unsigned int m_nObj{0}; // > 1 if array; 0 if error in retrieve.
62};
63
64
65} // end of MuonGM namespace
66
67#endif // DBLQ00_ASZT_H
68
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
std::string getName() const
Definition DblQ00Aszt.h:55
const ASZT * data() const
Definition DblQ00Aszt.h:53
~DblQ00Aszt()=default
DblQ00Aszt & operator=(const DblQ00Aszt &right)=delete
unsigned int size() const
Definition DblQ00Aszt.h:54
void WriteAsztToAsciiFile(const std::string &filename)
DblQ00Aszt(const DblQ00Aszt &)=delete
unsigned int m_nObj
Definition DblQ00Aszt.h:61
DblQ00Aszt()=default
std::string getObjName() const
Definition DblQ00Aszt.h:57
std::vector< ASZT > m_d
Definition DblQ00Aszt.h:60
std::string getDirName() const
Definition DblQ00Aszt.h:56
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27