ATLAS Offline Software
Loading...
Searching...
No Matches
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
11#include <string>
12#include <vector>
13#include <iostream>
14
15class GeoMaterial;
16
18public:
19 AGDDMuonStation(const std::string& s,
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;
40private:
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
static Double_t ss
#define x
virtual void CreateSolid(const AGDDBuilder &builder) override
double z() const
void y(double yval)
void SetXYZ(const std::vector< double > &v)
void small_x(double x)
AGDDMuonStation(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
static const GeoMaterial * GetMMMaterial(const std::string &)
double small_x() const
double y() const
void large_x(double x)
double large_x() const
void z(double zval)
virtual void CreateVolume(AGDDBuilder &builder) override
AGDDVolume(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss, bool v=false)