ATLAS Offline Software
DetectorDescription
AGDD
AGDDModel
AGDDModel
AGDDBox.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef AGDDBox_H
6
#define AGDDBox_H
7
8
#include "
AGDDKernel/AGDDVolume.h
"
9
#include <string>
10
#include <vector>
11
#include <iostream>
12
13
class
AGDDBox
:
public
AGDDVolume
{
14
public
:
15
AGDDBox
(
const
std::string&
s
,
16
AGDDVolumeStore
& vs,
17
AGDDSectionStore
&
ss
)
18
:
AGDDVolume
(
s
,vs,
ss
),
m_x
(0),
m_y
(0),
m_z
(0) {}
19
~AGDDBox
() {}
20
void
SetXYZ
(
const
std::vector<double>&
v
)
21
{
22
m_x
=
v
[0];
23
m_y
=
v
[1];
24
m_z
=
v
[2];
25
}
26
double
x
()
const
{
return
m_x
;}
27
double
y
()
const
{
return
m_y
;}
28
double
z
()
const
{
return
m_z
;}
29
virtual
void
CreateVolume
(
AGDDBuilder
&
builder
)
override
;
30
virtual
void
CreateSolid
(
const
AGDDBuilder
&
builder
)
override
;
31
double
m_x
;
32
double
m_y
;
33
double
m_z
;
34
};
35
36
#endif
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
PowhegControl_ttHplus_NLO.ss
ss
Definition:
PowhegControl_ttHplus_NLO.py:83
AGDDBox::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition:
AGDDBox.cxx:9
AGDDVolumeStore
Definition:
AGDDVolumeStore.h:15
AGDDBox::m_z
double m_z
Definition:
AGDDBox.h:33
AGDDSectionStore
Definition:
AGDDSectionStore.h:15
AGDDBuilder
Definition:
AGDDBuilder.h:31
createSimpleDistributions.builder
builder
Definition:
createSimpleDistributions.py:52
AGDDBox::m_x
double m_x
Definition:
AGDDBox.h:31
AGDDBox::~AGDDBox
~AGDDBox()
Definition:
AGDDBox.h:19
AGDDBox::CreateVolume
virtual void CreateVolume(AGDDBuilder &builder) override
Definition:
AGDDBox.cxx:14
AGDDBox::SetXYZ
void SetXYZ(const std::vector< double > &v)
Definition:
AGDDBox.h:20
AGDDBox::y
double y() const
Definition:
AGDDBox.h:27
AGDDBox::x
double x() const
Definition:
AGDDBox.h:26
AGDDBox::z
double z() const
Definition:
AGDDBox.h:28
python.PyAthena.v
v
Definition:
PyAthena.py:154
AGDDBox::m_y
double m_y
Definition:
AGDDBox.h:32
AGDDBox::AGDDBox
AGDDBox(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition:
AGDDBox.h:15
AGDDVolume
Definition:
AGDDVolume.h:16
AGDDVolume.h
AGDDBox
Definition:
AGDDBox.h:13
Generated on Sun Dec 22 2024 21:06:45 for ATLAS Offline Software by
1.8.18