ATLAS Offline Software
Loading...
Searching...
No Matches
DetectorDescription
AGDD
AGDDModel
AGDDModel
AGDDMaterial.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 AGDDMaterial_H
6
#define AGDDMaterial_H
7
8
#include "
AGDDModel/AGDDSimpleMaterial.h
"
9
10
#include <string>
11
12
class
AGDDElement
;
13
class
AGDDMaterialStore
;
14
15
class
AGDDMaterial
:
public
AGDDSimpleMaterial
{
16
friend
std::ostream&
operator <<
(std::ostream&,
const
AGDDMaterial
&);
17
public
:
18
AGDDMaterial
(
AGDDMaterialStore
& ms,
19
const
std::string&,
AGDDElement
*,
double
);
20
AGDDMaterial
(
AGDDMaterialStore
& ms,
21
const
std::string&,
int
,
double
,
double
);
22
int
GetZ
()
const
{
return
m_z
;}
23
double
GetA
()
const
{
return
m_a
;}
24
AGDDElement
*
GetElement
() {
return
m_element
;}
25
void
Created
(
bool
b) {
m_matCreated
=b;}
26
bool
Extant
()
const
{
return
m_matCreated
;}
27
private
:
28
int
m_z
;
29
double
m_a
;
30
AGDDElement
*
m_element
;
31
bool
m_matCreated
;
32
};
33
34
#endif
AGDDSimpleMaterial.h
AGDDElement
Definition
AGDDElement.h:11
AGDDMaterialStore
Definition
AGDDMaterialStore.h:23
AGDDMaterial::Created
void Created(bool b)
Definition
AGDDMaterial.h:25
AGDDMaterial::m_matCreated
bool m_matCreated
Definition
AGDDMaterial.h:31
AGDDMaterial::GetA
double GetA() const
Definition
AGDDMaterial.h:23
AGDDMaterial::GetZ
int GetZ() const
Definition
AGDDMaterial.h:22
AGDDMaterial::GetElement
AGDDElement * GetElement()
Definition
AGDDMaterial.h:24
AGDDMaterial::operator<<
friend std::ostream & operator<<(std::ostream &, const AGDDMaterial &)
Definition
AGDDMaterial.cxx:11
AGDDMaterial::m_z
int m_z
Definition
AGDDMaterial.h:28
AGDDMaterial::m_element
AGDDElement * m_element
Definition
AGDDMaterial.h:30
AGDDMaterial::Extant
bool Extant() const
Definition
AGDDMaterial.h:26
AGDDMaterial::m_a
double m_a
Definition
AGDDMaterial.h:29
AGDDMaterial::AGDDMaterial
AGDDMaterial(AGDDMaterialStore &ms, const std::string &, AGDDElement *, double)
Definition
AGDDMaterial.cxx:18
AGDDSimpleMaterial::AGDDSimpleMaterial
AGDDSimpleMaterial(AGDDMaterialStore &ms, const std::string &n, double d)
Definition
AGDDSimpleMaterial.h:17
Generated on
for ATLAS Offline Software by
1.14.0