ATLAS Offline Software
Loading...
Searching...
No Matches
DblQ00Aptp.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/APTP
7 *******************************************************/
8
9 // author: S Spagnolo
10 // entered: 07/28/04
11 // comment: POSITION OF STATION
12
13#ifndef DBLQ00_APTP_H
14#define DBLQ00_APTP_H
15
16#include <string>
17#include <vector>
18#include <array>
19class IRDBAccessSvc;
20
21
22namespace MuonGM {
24public:
25 DblQ00Aptp() = default;
26 ~DblQ00Aptp() = default;
27 DblQ00Aptp(IRDBAccessSvc *pAccessSvc, const std::string & GeoTag="", const std::string & GeoNode="");
28
29 DblQ00Aptp & operator=(const DblQ00Aptp &right) = delete;
30 DblQ00Aptp(const DblQ00Aptp&) = delete;
31
32 // data members for DblQ00/APTP fields
33 struct APTP {
34 int version{0}; // VERSION
35 int line{0}; // LINE NUMBER
36 std::string type{}; // STATION TYPE
37 int i{0}; // STATION AMDB INDEX
38 int icut{0}; // CUT-OUT INDEX,ZERO IF MISSING
39 std::string iphi{}; // PHI INDICATES OF OCTANTS
40 int iz{0}; // Z (FOR BARREL) OR R (FOR END-CAPS) POS.
41 float dphi{0.f}; // RELATIVE PHI POSITION OF THE STATION IN
42 float z{0.f}; // Z POSITION OF THE LOWEST Z EDGE OF THE S
43 float r{0.f}; // RADIAL POSITION OF ITS INNERMOST EDGE
44 float s{0.f}; // ORTHO-RADIAL POSITION OF THE CENTER OF T
45 float alfa{0.f}; // ALFA ANGLE DEFINING THE DEVIATION [GRAD]
46 float beta{0.f}; // BETA ANGLE DEFINING THE DEVIATION
47 float gamma{0.f}; // GAMMA ANGLE DEFINING THE DEVIATION
48 };
49
50 const APTP* data() const { return m_d.data(); };
51 unsigned int size() const { return m_nObj; };
52 std::string getName() const { return "APTP"; };
53 std::string getDirName() const { return "DblQ00"; };
54 std::string getObjName() const { return "APTP"; };
55
56private:
57 std::vector<APTP> m_d{};
58 unsigned int m_nObj{0}; // > 1 if array; 0 if error in retrieve.
59};
60}// end of MuonGM namespace
61
62#endif // DBLQ00_APTP_H
63
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
std::string getDirName() const
Definition DblQ00Aptp.h:53
DblQ00Aptp & operator=(const DblQ00Aptp &right)=delete
unsigned int m_nObj
Definition DblQ00Aptp.h:58
std::string getObjName() const
Definition DblQ00Aptp.h:54
DblQ00Aptp()=default
const APTP * data() const
Definition DblQ00Aptp.h:50
DblQ00Aptp(const DblQ00Aptp &)=delete
std::vector< APTP > m_d
Definition DblQ00Aptp.h:57
std::string getName() const
Definition DblQ00Aptp.h:52
unsigned int size() const
Definition DblQ00Aptp.h:51
~DblQ00Aptp()=default
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27