ATLAS Offline Software
Rpc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 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 class GeoVFullPhysVol;
13 namespace MuonGM {
14  class MYSQL;
15 }
16 
17 namespace MuonGM {
18 
19  class Cutout;
20 
21  class Rpc : public DetectorElement {
22 
23  public:
24  double width{0.};
25  double length{0.};
26  double thickness{0.};
27  double longWidth{0.}; // for trapezoidal layers
28  double idiv{0.};
29  double jdiv{0.};
30  float y_translation{0.f};
31  float z_translation{0.f};
32 
33  Rpc(const MYSQL& mysql, Component *s);
34  GeoVFullPhysVol *build();
35  GeoFullPhysVol *build(StoredMaterialManager& matManager,
36  const MYSQL& mysql,
37  int minimalgeo);
38  GeoFullPhysVol *build(StoredMaterialManager& matManager,
39  const MYSQL& mysql,
40  int minimalgeo, int cutoutson,
41  const std::vector<Cutout *>&);
42  virtual void print() const override;
43  unsigned int nGasGaps() const;
44 
45  private:
47  unsigned int m_nlayers{0};
48  };
49  inline unsigned int Rpc::nGasGaps() const { return m_nlayers; }
50 } // namespace MuonGM
51 
52 #endif
MuonGM::Rpc::build
GeoVFullPhysVol * build()
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:46
MuonGM::Rpc::thickness
double thickness
Definition: Rpc.h:26
MuonGM::Rpc::width
double width
Definition: Rpc.h:24
MuonGM::Rpc::y_translation
float y_translation
Definition: Rpc.h:30
MuonGM::Rpc::jdiv
double jdiv
Definition: Rpc.h:29
MuonGM::Rpc::Rpc
Rpc(const MYSQL &mysql, Component *s)
Definition: Rpc.cxx:43
MuonGM::Rpc::nGasGaps
unsigned int nGasGaps() const
Definition: Rpc.h:49
MuonGM::MYSQL
Definition: MYSQL.h:43
MuonGM::Rpc::z_translation
float z_translation
Definition: Rpc.h:31
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:28
MuonGM::Rpc::m_nlayers
unsigned int m_nlayers
Definition: Rpc.h:47
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:27
MuonGM::Rpc
Definition: Rpc.h:21
MuonGM::Rpc::print
virtual void print() const override
Definition: Rpc.cxx:338
MuonGM::Rpc::length
double length
Definition: Rpc.h:25