ATLAS Offline Software
DblQ00Wrpc.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/WRPC
7  *******************************************************/
8 
9  // author: S Spagnolo
10  // entered: 07/28/04
11  // comment: RPC GENERAL
12 
13 #ifndef DBLQ00_WRPC_H
14 #define DBLQ00_WRPC_H
15 #include <string>
16 #include <vector>
17 #include <array>
18 class IRDBAccessSvc;
19 
20 
21 namespace MuonGM {
22 class DblQ00Wrpc {
23 public:
24  DblQ00Wrpc() = default;
25  ~DblQ00Wrpc() = default;
26  DblQ00Wrpc(IRDBAccessSvc *pAccessSvc,const std::string & GeoTag="", const std::string & GeoNode="");
27  DblQ00Wrpc & operator=(const DblQ00Wrpc &right) = delete;
28  DblQ00Wrpc(const DblQ00Wrpc&) = delete;
29  // data members for DblQ00/WRPC fields
30  struct WRPC {
31  int version{0}; // VERSION
32  int nvrs{0}; // VERSION OF RPC TECHNOLOGY
33  int layrpc{0}; // LAYERS NUMBER
34  float tckrla{0.f}; // THICK. OF AN RPC LAYER
35  float tottck{0.f}; // TOTAL THICKNESS
36  float tckfsp{0.f}; // THICK. OF FOAM SPACER
37  float ackfsp{0.f}; // THICK. OF AL PLATE OF FOAM SPACER
38  float tlohcb{0.f}; // THICK. OF LOWER HONEYCOMB
39  float alohcb{0.f}; // THICK. OF AL PLATE OF LOWER HONEYCOMB
40  float tckbak{0.f}; // THICK. OF BAKELITE
41  float tckgas{0.f}; // THICK. OF GAS GAP
42  float tckssu{0.f}; // THICK. OF STRIPS SUPPORT
43  float tckstr{0.f}; // THICK. OF STRIPS
44  float sdedmi{0.f}; // S INTERNAL MID-CHBER DEAD REGION
45  float zdedmi{0.f}; // Z INTERNAL MID-CHBER DEAD REGION
46  float spdiam{0.f}; // SPACER DIAMETER
47  float sppitc{0.f}; // SPACER PITCH
48  std::array<float, 3> stroff{}; // STRIP OFFSET S, FIRST Z, SECOND Z
49  };
50 
51  const WRPC* data() const { return m_d.data(); };
52  unsigned int size() const { return m_nObj; };
53  std::string getName() const { return "WRPC"; };
54  std::string getDirName() const { return "DblQ00"; };
55  std::string getObjName() const { return "WRPC"; };
56 
57 private:
58  std::vector<WRPC> m_d{};
59  unsigned int m_nObj{0}; // > 1 if array; 0 if error in retrieve.
60 
61 };
62 } // end of MuonGM namespace
63 
64 #endif // DBLQ00_WRPC_H
65 
MuonGM::DblQ00Wrpc::WRPC::tckrla
float tckrla
Definition: DblQ00Wrpc.h:34
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
MuonGM::DblQ00Wrpc::WRPC::layrpc
int layrpc
Definition: DblQ00Wrpc.h:33
MuonGM::DblQ00Wrpc
Definition: DblQ00Wrpc.h:22
MuonGM::DblQ00Wrpc::data
const WRPC * data() const
Definition: DblQ00Wrpc.h:51
MuonGM::DblQ00Wrpc::WRPC::ackfsp
float ackfsp
Definition: DblQ00Wrpc.h:37
MuonGM::DblQ00Wrpc::WRPC::tlohcb
float tlohcb
Definition: DblQ00Wrpc.h:38
MuonGM::DblQ00Wrpc::DblQ00Wrpc
DblQ00Wrpc()=default
MuonGM::DblQ00Wrpc::WRPC::sppitc
float sppitc
Definition: DblQ00Wrpc.h:47
MuonGM::DblQ00Wrpc::WRPC::tottck
float tottck
Definition: DblQ00Wrpc.h:35
MuonGM::DblQ00Wrpc::m_nObj
unsigned int m_nObj
Definition: DblQ00Wrpc.h:59
MuonGM::DblQ00Wrpc::WRPC::alohcb
float alohcb
Definition: DblQ00Wrpc.h:39
MuonGM::DblQ00Wrpc::m_d
std::vector< WRPC > m_d
Definition: DblQ00Wrpc.h:58
MuonGM::DblQ00Wrpc::WRPC::sdedmi
float sdedmi
Definition: DblQ00Wrpc.h:44
MuonGM::DblQ00Wrpc::WRPC::tckfsp
float tckfsp
Definition: DblQ00Wrpc.h:36
MuonGM::DblQ00Wrpc::WRPC::stroff
std::array< float, 3 > stroff
Definition: DblQ00Wrpc.h:48
MuonGM::DblQ00Wrpc::WRPC::tckssu
float tckssu
Definition: DblQ00Wrpc.h:42
MuonGM::DblQ00Wrpc::getName
std::string getName() const
Definition: DblQ00Wrpc.h:53
MuonGM::DblQ00Wrpc::WRPC::nvrs
int nvrs
Definition: DblQ00Wrpc.h:32
IRDBAccessSvc
IRDBAccessSvc is an abstract interface to the athena service that provides the following functionalit...
Definition: IRDBAccessSvc.h:45
MuonGM::DblQ00Wrpc::getDirName
std::string getDirName() const
Definition: DblQ00Wrpc.h:54
MuonGM::DblQ00Wrpc::getObjName
std::string getObjName() const
Definition: DblQ00Wrpc.h:55
MuonGM::DblQ00Wrpc::operator=
DblQ00Wrpc & operator=(const DblQ00Wrpc &right)=delete
MuonGM::DblQ00Wrpc::WRPC::tckbak
float tckbak
Definition: DblQ00Wrpc.h:40
MuonGM::DblQ00Wrpc::WRPC::tckstr
float tckstr
Definition: DblQ00Wrpc.h:43
MuonGM::DblQ00Wrpc::WRPC::zdedmi
float zdedmi
Definition: DblQ00Wrpc.h:45
MuonGM::DblQ00Wrpc::WRPC::version
int version
Definition: DblQ00Wrpc.h:31
MuonGM::DblQ00Wrpc::DblQ00Wrpc
DblQ00Wrpc(const DblQ00Wrpc &)=delete
MuonGM::DblQ00Wrpc::~DblQ00Wrpc
~DblQ00Wrpc()=default
MuonGM::DblQ00Wrpc::WRPC::spdiam
float spdiam
Definition: DblQ00Wrpc.h:46
MuonGM::DblQ00Wrpc::WRPC
Definition: DblQ00Wrpc.h:30
MuonGM::DblQ00Wrpc::WRPC::tckgas
float tckgas
Definition: DblQ00Wrpc.h:41
MuonGM::DblQ00Wrpc::size
unsigned int size() const
Definition: DblQ00Wrpc.h:52