ATLAS Offline Software
MuonSpectrometer
MuonDetDescr
MuonAGDDBase
MuonAGDDBase
AGDDMMSpacer.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 AGDDMMSpacer_H
6
#define AGDDMMSpacer_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
class
AGDDVolumeStore
;
17
class
AGDDSectionStore
;
18
19
class
AGDDMMSpacer
:
public
AGDDVolume
{
20
public
:
21
AGDDMMSpacer
(
const
std::string&
s
,
22
AGDDVolumeStore
& vs,
23
AGDDSectionStore
&
ss
)
24
:
AGDDVolume
(
s
,vs,
ss
),
m_small_x
(0),
m_large_x
(0),
m_y
(0),
m_z
(0) {}
25
void
SetXYZ
(
const
std::vector<double>&
v
)
26
{
27
m_small_x
=
v
[0];
28
m_large_x
=
v
[1];
29
m_y
=
v
[2];
30
m_z
=
v
[3];
31
}
32
void
small_x
(
double
x
) {
m_small_x
=
x
;}
33
void
large_x
(
double
x
) {
m_large_x
=
x
;}
34
void
y
(
double
yval
) {
m_y
=
yval
;}
35
void
z
(
double
zval) {
m_z
=zval;}
36
double
small_x
()
const
{
return
m_small_x
;}
37
double
large_x
()
const
{
return
m_large_x
;}
38
double
y
()
const
{
return
m_y
;}
39
double
z
()
const
{
return
m_z
;}
40
std::string
tech
;
41
virtual
void
CreateVolume
(
AGDDBuilder
&
builder
)
override
;
42
virtual
void
CreateSolid
(
const
AGDDBuilder
&
builder
)
override
;
43
private
:
44
double
m_small_x
;
45
double
m_large_x
;
46
double
m_y
;
47
double
m_z
;
48
};
49
50
#endif
AGDDMMSpacer::m_z
double m_z
Definition:
AGDDMMSpacer.h:47
AGDDMMSpacer::SetXYZ
void SetXYZ(const std::vector< double > &v)
Definition:
AGDDMMSpacer.h:25
AGDDMMSpacer::y
double y() const
Definition:
AGDDMMSpacer.h:38
AGDDMMSpacer::tech
std::string tech
Definition:
AGDDMMSpacer.h:40
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
PowhegControl_ttHplus_NLO.ss
ss
Definition:
PowhegControl_ttHplus_NLO.py:83
AGDDMMSpacer::large_x
double large_x() const
Definition:
AGDDMMSpacer.h:37
AGDDMMSpacer::small_x
void small_x(double x)
Definition:
AGDDMMSpacer.h:32
AGDDVolumeStore
Definition:
AGDDVolumeStore.h:15
AGDDMMSpacer::z
double z() const
Definition:
AGDDMMSpacer.h:39
x
#define x
AGDDMMSpacer::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition:
AGDDMMSpacer.cxx:25
AGDDMMSpacer::small_x
double small_x() const
Definition:
AGDDMMSpacer.h:36
AGDDMMSpacer::y
void y(double yval)
Definition:
AGDDMMSpacer.h:34
AGDDSectionStore
Definition:
AGDDSectionStore.h:15
GeoPrimitives.h
AGDDBuilder
Definition:
AGDDBuilder.h:31
AGDDMMSpacer::m_small_x
double m_small_x
Definition:
AGDDMMSpacer.h:44
createSimpleDistributions.builder
builder
Definition:
createSimpleDistributions.py:52
AGDDMMSpacer
Definition:
AGDDMMSpacer.h:19
AGDDMMSpacer::large_x
void large_x(double x)
Definition:
AGDDMMSpacer.h:33
plotting.yearwise_efficiency_vs_mu.yval
float yval
Definition:
yearwise_efficiency_vs_mu.py:36
AGDDMMSpacer::m_large_x
double m_large_x
Definition:
AGDDMMSpacer.h:45
python.PyAthena.v
v
Definition:
PyAthena.py:154
AGDDMMSpacer::AGDDMMSpacer
AGDDMMSpacer(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition:
AGDDMMSpacer.h:21
AGDDVolume
Definition:
AGDDVolume.h:16
AGDDVolume.h
AGDDMMSpacer::CreateVolume
virtual void CreateVolume(AGDDBuilder &builder) override
Definition:
AGDDMMSpacer.cxx:30
AGDDMMSpacer::m_y
double m_y
Definition:
AGDDMMSpacer.h:46
AGDDMMSpacer::z
void z(double zval)
Definition:
AGDDMMSpacer.h:35
Generated on Thu Nov 7 2024 21:09:42 for ATLAS Offline Software by
1.8.18