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