Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Rpc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef Rpc_H
6 #define Rpc_H
9 #include "GeoModelKernel/GeoFullPhysVol.h"
11 
12 namespace MuonGM {
13  class MYSQL;
14 }
15 
16 namespace MuonGM {
17 
18  class Cutout;
19 
20  class Rpc : public DetectorElement {
21 
22  public:
23  double width{0.};
24  double length{0.};
25  double thickness{0.};
26  double longWidth{0.}; // for trapezoidal layers
27  double idiv{0.};
28  double jdiv{0.};
29  float y_translation{0.f};
30  float z_translation{0.f};
31 
32  Rpc(const MYSQL& mysql, Component *s);
33 
34  GeoIntrusivePtr<GeoFullPhysVol> build(StoredMaterialManager& matManager,
35  const MYSQL& mysql,
36  int minimalgeo);
37  GeoIntrusivePtr<GeoFullPhysVol> build(StoredMaterialManager& matManager,
38  const MYSQL& mysql,
39  int minimalgeo, int cutoutson,
40  const std::vector<Cutout *>&);
41  virtual void print() const override;
42  unsigned int nGasGaps() const;
43 
44  private:
46  unsigned int m_nlayers{0};
47  };
48  inline unsigned int Rpc::nGasGaps() const { return m_nlayers; }
49 } // namespace MuonGM
50 
51 #endif
DetectorElement.h
MuonGM
Ensure that the Athena extensions are properly loaded.
Definition: GeoMuonHits.h:27
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
MuonGM::Rpc::m_component
RpcComponent * m_component
Definition: Rpc.h:45
MuonGM::Rpc::thickness
double thickness
Definition: Rpc.h:25
MuonGM::Rpc::width
double width
Definition: Rpc.h:23
MuonGM::Rpc::y_translation
float y_translation
Definition: Rpc.h:29
MuonGM::Rpc::jdiv
double jdiv
Definition: Rpc.h:28
MuonGM::Rpc::Rpc
Rpc(const MYSQL &mysql, Component *s)
Definition: Rpc.cxx:41
MuonGM::Rpc::nGasGaps
unsigned int nGasGaps() const
Definition: Rpc.h:48
MuonGM::MYSQL
Definition: MYSQL.h:43
MuonGM::Rpc::z_translation
float z_translation
Definition: Rpc.h:30
MuonGM::DetectorElement
Definition: DetectorElement.h:15
MuonGM::Component
Definition: Component.h:11
MuonGM::RpcComponent
Definition: RpcComponent.h:12
MuonGM::Rpc::idiv
double idiv
Definition: Rpc.h:27
MuonGM::Rpc::m_nlayers
unsigned int m_nlayers
Definition: Rpc.h:46
StoredMaterialManager
This class holds one or more material managers and makes them storeable, under StoreGate.
Definition: StoredMaterialManager.h:28
RpcComponent.h
MuonGM::Rpc::longWidth
double longWidth
Definition: Rpc.h:26
MuonGM::Rpc
Definition: Rpc.h:20
MuonGM::Rpc::print
virtual void print() const override
Definition: Rpc.cxx:336
MuonGM::Rpc::build
GeoIntrusivePtr< GeoFullPhysVol > build(StoredMaterialManager &matManager, const MYSQL &mysql, int minimalgeo)
Definition: Rpc.cxx:59
MuonGM::Rpc::length
double length
Definition: Rpc.h:24