ATLAS Offline Software
DetectorDescription
AGDD
AGDDModel
AGDDModel
AGDDElcyl.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 AGDDElcyl_H
6
#define AGDDElcyl_H
7
8
#include "
AGDDKernel/AGDDVolume.h
"
9
#include <string>
10
#include <vector>
11
#include <iostream>
12
13
class
AGDDElcyl
:
public
AGDDVolume
{
14
public
:
15
AGDDElcyl
(
const
std::string&
s
,
16
AGDDVolumeStore
& vs,
17
AGDDSectionStore
&
ss
)
18
:
AGDDVolume
(
s
,vs,
ss
),
m_dx
(0),
m_dy
(0),
m_z
(0) {}
19
void
SetRXio_RYio_Z
(
const
std::vector<double>&
v
)
20
{
21
m_dx
=
v
[0];
22
m_dy
=
v
[1];
23
m_z
=
v
[2];
24
}
25
virtual
void
CreateVolume
(
AGDDBuilder
&
builder
)
override
;
26
virtual
void
CreateSolid
(
const
AGDDBuilder
&
builder
)
override
;
27
double
dx
()
const
{
return
m_dx
;}
28
double
dy
()
const
{
return
m_dy
;}
29
double
z
()
const
{
return
m_z
;}
30
double
m_dx
;
31
double
m_dy
;
32
double
m_z
;
33
};
34
35
#endif
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
PowhegControl_ttHplus_NLO.ss
ss
Definition:
PowhegControl_ttHplus_NLO.py:83
AGDDElcyl::CreateVolume
virtual void CreateVolume(AGDDBuilder &builder) override
Definition:
AGDDElcyl.cxx:13
AGDDVolumeStore
Definition:
AGDDVolumeStore.h:15
AGDDElcyl::m_dy
double m_dy
Definition:
AGDDElcyl.h:31
AGDDElcyl::z
double z() const
Definition:
AGDDElcyl.h:29
AGDDSectionStore
Definition:
AGDDSectionStore.h:15
AGDDBuilder
Definition:
AGDDBuilder.h:31
createSimpleDistributions.builder
builder
Definition:
createSimpleDistributions.py:52
AGDDElcyl::SetRXio_RYio_Z
void SetRXio_RYio_Z(const std::vector< double > &v)
Definition:
AGDDElcyl.h:19
AGDDElcyl::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition:
AGDDElcyl.cxx:9
AGDDElcyl::AGDDElcyl
AGDDElcyl(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition:
AGDDElcyl.h:15
AGDDElcyl::dy
double dy() const
Definition:
AGDDElcyl.h:28
AGDDElcyl::m_z
double m_z
Definition:
AGDDElcyl.h:32
python.PyAthena.v
v
Definition:
PyAthena.py:154
AGDDElcyl::m_dx
double m_dx
Definition:
AGDDElcyl.h:30
AGDDVolume
Definition:
AGDDVolume.h:16
AGDDVolume.h
AGDDElcyl
Definition:
AGDDElcyl.h:13
AGDDElcyl::dx
double dx() const
Definition:
AGDDElcyl.h:27
Generated on Fri Jan 10 2025 21:06:41 for ATLAS Offline Software by
1.8.18