ATLAS Offline Software
AGDDMuonStation.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 AGDDMuonStation_H
6 #define AGDDMuonStation_H
7 
10 #include "AGDDKernel/AGDDVolume.h"
11 #include <string>
12 #include <vector>
13 #include <iostream>
14 
15 class GeoMaterial;
16 
17 class AGDDMuonStation: public AGDDVolume {
18 public:
19  AGDDMuonStation(const std::string& s,
20  AGDDVolumeStore& vs,
22  : AGDDVolume(s,vs,ss) {}
23  void SetXYZ(const std::vector<double>& v)
24  {
25  m_small_x=v[0];
26  m_large_x=v[1];
27  m_y=v[2];
28  m_z=v[3];
29  }
30  void small_x(double x) {m_small_x=x;}
31  void large_x(double x) {m_large_x=x;}
32  void y(double yval) {m_y=yval;}
33  void z(double zval) {m_z=zval;}
34  double small_x() const {return m_small_x;}
35  double large_x() const {return m_large_x;}
36  double y() const {return m_y;}
37  double z() const {return m_z;}
38  virtual void CreateVolume (AGDDBuilder& builder) override;
39  virtual void CreateSolid (const AGDDBuilder& builder) override;
40 private:
41  double m_small_x{0.};
42  double m_large_x{0.};
43  double m_y{0.};
44  double m_z{0.};
45 
46  static const GeoMaterial* GetMMMaterial(const std::string&) ;
47 };
48 
49 #endif
AGDDMuonStation::GetMMMaterial
static const GeoMaterial * GetMMMaterial(const std::string &)
Definition: AGDDMuonStation.cxx:50
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
AGDDVolumeStore
Definition: AGDDVolumeStore.h:15
AGDDMuonStation
Definition: AGDDMuonStation.h:17
AGDDMuonStation::z
void z(double zval)
Definition: AGDDMuonStation.h:33
x
#define x
AGDDMuonStation::m_small_x
double m_small_x
Definition: AGDDMuonStation.h:41
AGDDSectionStore
Definition: AGDDSectionStore.h:15
GeoPrimitives.h
AGDDMuonStation::small_x
double small_x() const
Definition: AGDDMuonStation.h:34
AGDDMuonStation::m_z
double m_z
Definition: AGDDMuonStation.h:44
AGDDBuilder
Definition: AGDDBuilder.h:31
createSimpleDistributions.builder
builder
Definition: createSimpleDistributions.py:52
AGDDMuonStation::m_large_x
double m_large_x
Definition: AGDDMuonStation.h:42
AGDDMuonStation::AGDDMuonStation
AGDDMuonStation(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition: AGDDMuonStation.h:19
AGDDMuonStation::small_x
void small_x(double x)
Definition: AGDDMuonStation.h:30
AGDDMuonStation::large_x
void large_x(double x)
Definition: AGDDMuonStation.h:31
plotting.yearwise_efficiency_vs_mu.yval
float yval
Definition: yearwise_efficiency_vs_mu.py:36
AGDDMuonStation::z
double z() const
Definition: AGDDMuonStation.h:37
python.PyAthena.v
v
Definition: PyAthena.py:154
AGDDMuonStation::y
double y() const
Definition: AGDDMuonStation.h:36
AGDDMuonStation::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition: AGDDMuonStation.cxx:19
AGDDVolume
Definition: AGDDVolume.h:16
AGDDMuonStation::large_x
double large_x() const
Definition: AGDDMuonStation.h:35
AGDDMuonStation::m_y
double m_y
Definition: AGDDMuonStation.h:43
AGDDVolume.h
AGDDMuonStation::CreateVolume
virtual void CreateVolume(AGDDBuilder &builder) override
Definition: AGDDMuonStation.cxx:31
AGDDMuonStation::SetXYZ
void SetXYZ(const std::vector< double > &v)
Definition: AGDDMuonStation.h:23
AGDDMuonStation::y
void y(double yval)
Definition: AGDDMuonStation.h:32