ATLAS Offline Software
Loading...
Searching...
No Matches
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
12namespace MuonGM {
13 class MYSQL;
14}
15
16namespace 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(const std::string &n)
unsigned int nGasGaps() const
Definition Rpc.h:48
double jdiv
Definition Rpc.h:28
double length
Definition Rpc.h:24
virtual void print() const override
Definition Rpc.cxx:336
float y_translation
Definition Rpc.h:29
RpcComponent * m_component
Definition Rpc.h:45
unsigned int m_nlayers
Definition Rpc.h:46
float z_translation
Definition Rpc.h:30
GeoIntrusivePtr< GeoFullPhysVol > build(StoredMaterialManager &matManager, const MYSQL &mysql, int minimalgeo)
Definition Rpc.cxx:59
Rpc(const MYSQL &mysql, Component *s)
Definition Rpc.cxx:41
double thickness
Definition Rpc.h:25
double longWidth
Definition Rpc.h:26
double width
Definition Rpc.h:23
double idiv
Definition Rpc.h:27
This class holds one or more material managers and makes them storeable, under StoreGate.
Ensure that the Athena extensions are properly loaded.
Definition GeoMuonHits.h:27