ATLAS Offline Software
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
AGDDMaterial::m_element
AGDDElement * m_element
Definition:
AGDDMaterial.h:30
python.SystemOfUnits.ms
int ms
Definition:
SystemOfUnits.py:132
AGDDMaterial::Created
void Created(bool b)
Definition:
AGDDMaterial.h:25
AGDDMaterial::GetZ
int GetZ() const
Definition:
AGDDMaterial.h:22
AGDDMaterial::operator<<
friend std::ostream & operator<<(std::ostream &, const AGDDMaterial &)
Definition:
AGDDMaterial.cxx:11
AGDDMaterial::m_matCreated
bool m_matCreated
Definition:
AGDDMaterial.h:31
AGDDMaterial
Definition:
AGDDMaterial.h:15
AGDDMaterialStore
Definition:
AGDDMaterialStore.h:23
AGDDMaterial::GetElement
AGDDElement * GetElement()
Definition:
AGDDMaterial.h:24
AGDDMaterial::m_a
double m_a
Definition:
AGDDMaterial.h:29
AGDDMaterial::m_z
int m_z
Definition:
AGDDMaterial.h:28
AGDDSimpleMaterial
Definition:
AGDDSimpleMaterial.h:14
AGDDSimpleMaterial.h
plotBeamSpotMon.b
b
Definition:
plotBeamSpotMon.py:77
AGDDElement
Definition:
AGDDElement.h:11
AGDDMaterial::AGDDMaterial
AGDDMaterial(AGDDMaterialStore &ms, const std::string &, AGDDElement *, double)
Definition:
AGDDMaterial.cxx:18
AGDDMaterial::GetA
double GetA() const
Definition:
AGDDMaterial.h:23
AGDDMaterial::Extant
bool Extant() const
Definition:
AGDDMaterial.h:26
Generated on Sun Dec 22 2024 21:06:45 for ATLAS Offline Software by
1.8.18