ATLAS Offline Software
DblQ00Awln.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/AWLN
7  *******************************************************/
8 
9  // author: S Spagnolo
10  // entered: 07/28/04
11  // comment: RPC DETAILS
12 
13 #ifndef DBLQ00_AWLN_H
14 #define DBLQ00_AWLN_H
15 #include <string>
16 #include <vector>
17 
18 
19 class IRDBAccessSvc;
20 
21 namespace MuonGM {
22 class DblQ00Awln {
23 public:
24  DblQ00Awln() = default;
25  ~DblQ00Awln() = default;
26  DblQ00Awln(IRDBAccessSvc *pAccessSvc, const std::string & GeoTag="", const std::string & GeoNode="");
27 
28  // data members for DblQ00/AWLN fields
29  struct AWLN {
30  int version{0}; // VERSION
31  int jsta{0}; // JSTA TYPE NUMBER
32  float spitch{0.f}; // S-STRIPS PITCH
33  float zpitch{0.f}; // Z-STRIPS PITCH
34  float dedstr{0.f}; // DEAD REAGION BETWEEN STRIP
35  int nsrest{0}; // NBER OF S STRIPS READOUTS
36  int nzrest{0}; // NBER OF S GAS GAPS
37  float sfirst{0}; // S-PHI STRIP OFFSET
38  float zfirst{0}; // Z-ETA STRIP OFFSET
39  float dedsep{0.f}; // DEAD SEPARATION
40  int nsrost{0}; // NUMBER OF S-PHI READOUT STRIPS
41  int nzrost{0}; // NUMBER OF Z-ETA READOUT STRIPS
42  };
43 
44  const AWLN* data() const { return m_d.data(); };
45  unsigned int size() const { return m_nObj; };
46  std::string getName() const { return "AWLN"; };
47  std::string getDirName() const { return "DblQ00"; };
48  std::string getObjName() const { return "AWLN"; };
49 
50 private:
51  std::vector<AWLN> m_d;
52  unsigned int m_nObj{}; // > 1 if array; 0 if error in retrieve.
53  DblQ00Awln & operator=(const DblQ00Awln &right);
55 };
56 } // end of MuonGM namespace
57 
58 #endif // DBLQ00_AWLN_H
59 
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
MuonGM::DblQ00Awln::DblQ00Awln
DblQ00Awln(const DblQ00Awln &)
MuonGM::DblQ00Awln::AWLN
Definition: DblQ00Awln.h:29
MuonGM::DblQ00Awln::getName
std::string getName() const
Definition: DblQ00Awln.h:46
MuonGM::DblQ00Awln::AWLN::dedsep
float dedsep
Definition: DblQ00Awln.h:39
MuonGM::DblQ00Awln::data
const AWLN * data() const
Definition: DblQ00Awln.h:44
MuonGM::DblQ00Awln::AWLN::sfirst
float sfirst
Definition: DblQ00Awln.h:37
MuonGM::DblQ00Awln::AWLN::zpitch
float zpitch
Definition: DblQ00Awln.h:33
MuonGM::DblQ00Awln::m_d
std::vector< AWLN > m_d
Definition: DblQ00Awln.h:48
MuonGM::DblQ00Awln::DblQ00Awln
DblQ00Awln()=default
MuonGM::DblQ00Awln::AWLN::jsta
int jsta
Definition: DblQ00Awln.h:31
MuonGM::DblQ00Awln::AWLN::dedstr
float dedstr
Definition: DblQ00Awln.h:34
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition: IRDBAccessSvc.h:42
MuonGM::DblQ00Awln::AWLN::nsrest
int nsrest
Definition: DblQ00Awln.h:35
MuonGM::DblQ00Awln::AWLN::nsrost
int nsrost
Definition: DblQ00Awln.h:40
MuonGM::DblQ00Awln
Definition: DblQ00Awln.h:22
MuonGM::DblQ00Awln::m_nObj
unsigned int m_nObj
Definition: DblQ00Awln.h:52
MuonGM::DblQ00Awln::AWLN::nzrest
int nzrest
Definition: DblQ00Awln.h:36
MuonGM::DblQ00Awln::size
unsigned int size() const
Definition: DblQ00Awln.h:45
MuonGM::DblQ00Awln::operator=
DblQ00Awln & operator=(const DblQ00Awln &right)
MuonGM::DblQ00Awln::getDirName
std::string getDirName() const
Definition: DblQ00Awln.h:47
MuonGM::DblQ00Awln::~DblQ00Awln
~DblQ00Awln()=default
MuonGM::DblQ00Awln::AWLN::spitch
float spitch
Definition: DblQ00Awln.h:32
MuonGM::DblQ00Awln::AWLN::version
int version
Definition: DblQ00Awln.h:30
MuonGM::DblQ00Awln::AWLN::nzrost
int nzrost
Definition: DblQ00Awln.h:41
MuonGM::DblQ00Awln::AWLN::zfirst
float zfirst
Definition: DblQ00Awln.h:38
MuonGM::DblQ00Awln::getObjName
std::string getObjName() const
Definition: DblQ00Awln.h:48