ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonDetDescr
MuonAGDDBase
MuonAGDDBase
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
8
#include "
GeoPrimitives/GeoPrimitives.h
"
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,
21
AGDDSectionStore
&
ss
)
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
AGDDVolume.h
GeoPrimitives.h
ss
static Double_t ss
Definition
LArPhysWaveHECTool.cxx:37
x
#define x
AGDDBuilder
Definition
AGDDBuilder.h:31
AGDDMuonStation::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition
AGDDMuonStation.cxx:19
AGDDMuonStation::z
double z() const
Definition
AGDDMuonStation.h:37
AGDDMuonStation::m_large_x
double m_large_x
Definition
AGDDMuonStation.h:42
AGDDMuonStation::y
void y(double yval)
Definition
AGDDMuonStation.h:32
AGDDMuonStation::m_small_x
double m_small_x
Definition
AGDDMuonStation.h:41
AGDDMuonStation::SetXYZ
void SetXYZ(const std::vector< double > &v)
Definition
AGDDMuonStation.h:23
AGDDMuonStation::small_x
void small_x(double x)
Definition
AGDDMuonStation.h:30
AGDDMuonStation::AGDDMuonStation
AGDDMuonStation(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition
AGDDMuonStation.h:19
AGDDMuonStation::m_z
double m_z
Definition
AGDDMuonStation.h:44
AGDDMuonStation::GetMMMaterial
static const GeoMaterial * GetMMMaterial(const std::string &)
Definition
AGDDMuonStation.cxx:50
AGDDMuonStation::small_x
double small_x() const
Definition
AGDDMuonStation.h:34
AGDDMuonStation::y
double y() const
Definition
AGDDMuonStation.h:36
AGDDMuonStation::large_x
void large_x(double x)
Definition
AGDDMuonStation.h:31
AGDDMuonStation::large_x
double large_x() const
Definition
AGDDMuonStation.h:35
AGDDMuonStation::m_y
double m_y
Definition
AGDDMuonStation.h:43
AGDDMuonStation::z
void z(double zval)
Definition
AGDDMuonStation.h:33
AGDDMuonStation::CreateVolume
virtual void CreateVolume(AGDDBuilder &builder) override
Definition
AGDDMuonStation.cxx:31
AGDDSectionStore
Definition
AGDDSectionStore.h:15
AGDDVolumeStore
Definition
AGDDVolumeStore.h:15
AGDDVolume::AGDDVolume
AGDDVolume(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss, bool v=false)
Definition
AGDDVolume.cxx:10
Generated on
for ATLAS Offline Software by
1.17.0