ATLAS Offline Software
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 
18 class IRDBAccessSvc;
19 #include <string>
20 #include <vector>
21 #include <array>
22 
23 namespace MuonGM {
24 class DblQ00Aszt {
25 public:
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 
59 private:
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 
MuonGM::DblQ00Aszt::ASZT
Definition: DblQ00Aszt.h:37
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
MuonGM::DblQ00Aszt::getDirName
std::string getDirName() const
Definition: DblQ00Aszt.h:56
MuonGM::DblQ00Aszt::ASZT::type
std::string type
Definition: DblQ00Aszt.h:40
MuonGM::DblQ00Aszt
Definition: DblQ00Aszt.h:24
MuonGM::DblQ00Aszt::getObjName
std::string getObjName() const
Definition: DblQ00Aszt.h:57
MuonGM::DblQ00Aszt::ASZT::rots
float rots
Definition: DblQ00Aszt.h:47
MuonGM::DblQ00Aszt::ASZT::line
int line
Definition: DblQ00Aszt.h:39
MuonGM::DblQ00Aszt::ASZT::i
int i
Definition: DblQ00Aszt.h:50
MuonGM::DblQ00Aszt::getName
std::string getName() const
Definition: DblQ00Aszt.h:55
MuonGM::DblQ00Aszt::size
unsigned int size() const
Definition: DblQ00Aszt.h:54
MuonGM::DblQ00Aszt::ASZT::jzz
int jzz
Definition: DblQ00Aszt.h:42
MuonGM::DblQ00Aszt::ASZT::rotz
float rotz
Definition: DblQ00Aszt.h:48
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition: IRDBAccessSvc.h:45
MuonGM::DblQ00Aszt::~DblQ00Aszt
~DblQ00Aszt()=default
MuonGM::DblQ00Aszt::data
const ASZT * data() const
Definition: DblQ00Aszt.h:53
MuonGM::DblQ00Aszt::m_d
std::vector< ASZT > m_d
Definition: DblQ00Aszt.h:60
MuonGM::DblQ00Aszt::ASZT::rott
float rott
Definition: DblQ00Aszt.h:49
MuonGM::DblQ00Aszt::DblQ00Aszt
DblQ00Aszt()=default
MuonGM::DblQ00Aszt::WriteAsztToAsciiFile
void WriteAsztToAsciiFile(const std::string &filename)
Definition: DblQ00Aszt.cxx:106
MuonGM::DblQ00Aszt::ASZT::jff
int jff
Definition: DblQ00Aszt.h:41
MuonGM::DblQ00Aszt::operator=
DblQ00Aszt & operator=(const DblQ00Aszt &right)=delete
MuonGM::DblQ00Aszt::ASZT::version
int version
Definition: DblQ00Aszt.h:38
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
MuonGM::DblQ00Aszt::DblQ00Aszt
DblQ00Aszt(const DblQ00Aszt &)=delete
MuonGM::DblQ00Aszt::ASZT::tras
float tras
Definition: DblQ00Aszt.h:44
MuonGM::DblQ00Aszt::ASZT::traz
float traz
Definition: DblQ00Aszt.h:45
MuonGM::DblQ00Aszt::ASZT::job
int job
Definition: DblQ00Aszt.h:43
MuonGM::DblQ00Aszt::ASZT::trat
float trat
Definition: DblQ00Aszt.h:46
MuonGM::DblQ00Aszt::m_nObj
unsigned int m_nObj
Definition: DblQ00Aszt.h:61