ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DetectorDescription
AGDD
AGDDModel
AGDDModel
AGDDTrd.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 AGDDTrd_H
6
#define AGDDTrd_H
7
8
#include "
AGDDKernel/AGDDVolume.h
"
9
#include <string>
10
#include <vector>
11
#include <iostream>
12
13
class
AGDDTrd
:
public
AGDDVolume
{
14
public
:
15
AGDDTrd
(
const
std::string& s,
16
AGDDVolumeStore
& vs,
17
AGDDSectionStore
&
ss
)
18
:
AGDDVolume
(s,vs,
ss
),
m_x1
(0),
m_x2
(0),
m_y1
(0),
m_y2
(0),
m_z
(0) {}
19
void
SetXYZ
(
const
std::vector<double>& v)
20
{
21
m_x1
=v[0];
22
m_x2
=v[1];
23
m_y1
=v[2];
24
m_y2
=v[3];
25
m_z
=v[4];
26
}
27
double
x1
()
const
{
return
m_x1
;}
28
double
x2
()
const
{
return
m_x2
;}
29
double
y1
()
const
{
return
m_y1
;}
30
double
y2
()
const
{
return
m_y2
;}
31
double
z
()
const
{
return
m_z
;}
32
virtual
void
CreateVolume
(
AGDDBuilder
& builder)
override
;
33
virtual
void
CreateSolid
(
const
AGDDBuilder
& builder)
override
;
34
double
m_x1
;
35
double
m_x2
;
36
double
m_y1
;
37
double
m_y2
;
38
double
m_z
;
39
};
40
41
#endif
AGDDVolume.h
ss
static Double_t ss
Definition
LArPhysWaveHECTool.cxx:37
AGDDBuilder
Definition
AGDDBuilder.h:31
AGDDSectionStore
Definition
AGDDSectionStore.h:15
AGDDTrd::m_z
double m_z
Definition
AGDDTrd.h:38
AGDDTrd::x2
double x2() const
Definition
AGDDTrd.h:28
AGDDTrd::m_x2
double m_x2
Definition
AGDDTrd.h:35
AGDDTrd::x1
double x1() const
Definition
AGDDTrd.h:27
AGDDTrd::m_y1
double m_y1
Definition
AGDDTrd.h:36
AGDDTrd::CreateVolume
virtual void CreateVolume(AGDDBuilder &builder) override
Definition
AGDDTrd.cxx:14
AGDDTrd::m_y2
double m_y2
Definition
AGDDTrd.h:37
AGDDTrd::m_x1
double m_x1
Definition
AGDDTrd.h:34
AGDDTrd::SetXYZ
void SetXYZ(const std::vector< double > &v)
Definition
AGDDTrd.h:19
AGDDTrd::y2
double y2() const
Definition
AGDDTrd.h:30
AGDDTrd::AGDDTrd
AGDDTrd(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition
AGDDTrd.h:15
AGDDTrd::y1
double y1() const
Definition
AGDDTrd.h:29
AGDDTrd::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition
AGDDTrd.cxx:9
AGDDTrd::z
double z() const
Definition
AGDDTrd.h:31
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