ATLAS Offline Software
DetectorDescription
AGDD
AGDDModel
src
AGDDMaterial.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
AGDDModel/AGDDMaterial.h
"
6
#include "
AGDDModel/AGDDElement.h
"
7
#include "
AGDDModel/AGDDSimpleMaterial.h
"
8
9
#include <iostream>
10
11
std::ostream&
operator <<
(std::ostream&
os
,
const
AGDDMaterial
&
obj
)
12
{
13
os
<<
"- Material "
<<
obj
.m_name<<
" type-Material density="
<<
obj
.m_density<<
14
" Z="
<<
obj
.m_z<<
" A="
<<
obj
.m_a<<std::endl;
15
return
os
;
16
}
17
18
AGDDMaterial::AGDDMaterial
(
AGDDMaterialStore
&
ms
,
19
const
std::string&
n
,
20
AGDDElement
*
e
,
double
d
):
21
AGDDSimpleMaterial
(
ms
,
n
,
d
),m_z(
e
->GetZ()),m_a(
e
->GetA()),m_element(
e
),m_matCreated(false)
22
{
23
m_mType
=
Material
;
24
}
25
26
AGDDMaterial::AGDDMaterial
(
AGDDMaterialStore
&
ms
,
27
const
std::string&
n
,
int
z
,
double
a
,
double
d
):
28
AGDDSimpleMaterial
(
ms
,
n
,
d
),m_z(
z
),m_a(
a
),m_element(0),m_matCreated(false)
29
{
30
m_mType
=
Material
;
31
}
AllowedVariables::e
e
Definition:
AsgElectronSelectorTool.cxx:37
hist_file_dump.d
d
Definition:
hist_file_dump.py:137
python.SystemOfUnits.ms
int ms
Definition:
SystemOfUnits.py:132
z
#define z
beamspotman.n
n
Definition:
beamspotman.py:731
AGDDMaterial
Definition:
AGDDMaterial.h:15
AGDDMaterialStore
Definition:
AGDDMaterialStore.h:23
operator<<
std::ostream & operator<<(std::ostream &os, const AGDDMaterial &obj)
Definition:
AGDDMaterial.cxx:11
ReadFromCoolCompare.os
os
Definition:
ReadFromCoolCompare.py:231
AGDDSimpleMaterial
Definition:
AGDDSimpleMaterial.h:14
AGDDSimpleMaterial.h
AGDDMaterial.h
AGDDElement.h
AGDDElement
Definition:
AGDDElement.h:11
a
TList * a
Definition:
liststreamerinfos.cxx:10
AGDDMaterial::AGDDMaterial
AGDDMaterial(AGDDMaterialStore &ms, const std::string &, AGDDElement *, double)
Definition:
AGDDMaterial.cxx:18
python.PyAthena.obj
obj
Definition:
PyAthena.py:132
Material
@ Material
Definition:
MaterialTypes.h:8
AGDDSimpleMaterial::m_mType
material_type m_mType
Definition:
AGDDSimpleMaterial.h:38
Generated on Mon Dec 23 2024 21:06:45 for ATLAS Offline Software by
1.8.18