ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DetectorDescription
AGDD
AGDDModel
AGDDModel
AGDDBolt.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 AGDDBolt_H
6
#define AGDDBolt_H
7
8
#include "
AGDDKernel/AGDDVolume.h
"
9
#include <string>
10
#include <vector>
11
#include <iostream>
12
13
class
AGDDBolt
:
public
AGDDVolume
{
14
public
:
15
AGDDBolt
(
const
std::string& s,
16
AGDDVolumeStore
& vs,
17
AGDDSectionStore
&
ss
)
18
:
AGDDVolume
(s,vs,
ss
),
m_length
(0),
m_headLength
(0),
19
m_diameter
(0),
m_headDiameter
(0) {}
20
~AGDDBolt
() {}
21
virtual
void
CreateVolume
(
AGDDBuilder
& builder)
override
;
22
virtual
void
CreateSolid
(
const
AGDDBuilder
& builder)
override
;
23
24
void
SetHeadLength
(
double
l) {
m_headLength
=l;}
25
void
SetLength
(
double
l) {
m_length
=l;}
26
void
SetHeadDiameter
(
double
l) {
m_headDiameter
=l;}
27
void
SetDiameter
(
double
l) {
m_diameter
=l;}
28
29
double
GetHeadLength
()
const
{
return
m_headLength
;}
30
double
GetLength
()
const
{
return
m_length
;}
31
double
GetHeadDiameter
()
const
{
return
m_headDiameter
;}
32
double
GetDiameter
()
const
{
return
m_diameter
;}
33
34
double
m_length
;
35
double
m_headLength
;
36
double
m_diameter
;
37
double
m_headDiameter
;
38
};
39
40
#endif
AGDDVolume.h
ss
static Double_t ss
Definition
LArPhysWaveHECTool.cxx:37
AGDDBolt::CreateVolume
virtual void CreateVolume(AGDDBuilder &builder) override
Definition
AGDDBolt.cxx:14
AGDDBolt::m_length
double m_length
Definition
AGDDBolt.h:34
AGDDBolt::SetLength
void SetLength(double l)
Definition
AGDDBolt.h:25
AGDDBolt::m_headLength
double m_headLength
Definition
AGDDBolt.h:35
AGDDBolt::SetDiameter
void SetDiameter(double l)
Definition
AGDDBolt.h:27
AGDDBolt::GetDiameter
double GetDiameter() const
Definition
AGDDBolt.h:32
AGDDBolt::AGDDBolt
AGDDBolt(const std::string &s, AGDDVolumeStore &vs, AGDDSectionStore &ss)
Definition
AGDDBolt.h:15
AGDDBolt::CreateSolid
virtual void CreateSolid(const AGDDBuilder &builder) override
Definition
AGDDBolt.cxx:9
AGDDBolt::GetLength
double GetLength() const
Definition
AGDDBolt.h:30
AGDDBolt::SetHeadLength
void SetHeadLength(double l)
Definition
AGDDBolt.h:24
AGDDBolt::~AGDDBolt
~AGDDBolt()
Definition
AGDDBolt.h:20
AGDDBolt::GetHeadLength
double GetHeadLength() const
Definition
AGDDBolt.h:29
AGDDBolt::GetHeadDiameter
double GetHeadDiameter() const
Definition
AGDDBolt.h:31
AGDDBolt::SetHeadDiameter
void SetHeadDiameter(double l)
Definition
AGDDBolt.h:26
AGDDBolt::m_diameter
double m_diameter
Definition
AGDDBolt.h:36
AGDDBolt::m_headDiameter
double m_headDiameter
Definition
AGDDBolt.h:37
AGDDBuilder
Definition
AGDDBuilder.h: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