ATLAS Offline Software
DetectorDescription
AGDD
AGDDModel
src
AGDDSimpleMaterial.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
AGDDModel/AGDDSimpleMaterial.h
"
6
#include "
AGDDModel/AGDDMaterialStore.h
"
7
8
#include <iostream>
9
10
std::ostream&
operator <<
(std::ostream&
os
,
const
AGDDSimpleMaterial
&
obj
)
11
{
12
os
<<
"- Material "
<<
obj
.m_name<<
" type="
<<
obj
.m_mType<<
" density="
<<
obj
.m_density<<std::endl;
13
return
os
;
14
}
15
16
17
void
AGDDSimpleMaterial::RegisterToStore
(
AGDDMaterialStore
&
ms
,
18
AGDDSimpleMaterial
*
e
)
19
{
20
ms
.RegisterMaterial(
e
);
21
}
22
23
const
std::string&
AGDDSimpleMaterial::GetName
()
const
24
{
25
return
m_name
;
26
}
AllowedVariables::e
e
Definition:
AsgElectronSelectorTool.cxx:37
AGDDMaterialStore.h
python.SystemOfUnits.ms
int ms
Definition:
SystemOfUnits.py:132
AGDDSimpleMaterial::RegisterToStore
void RegisterToStore(AGDDMaterialStore &ms, AGDDSimpleMaterial *)
Definition:
AGDDSimpleMaterial.cxx:17
AGDDMaterialStore
Definition:
AGDDMaterialStore.h:23
ReadFromCoolCompare.os
os
Definition:
ReadFromCoolCompare.py:231
AGDDSimpleMaterial
Definition:
AGDDSimpleMaterial.h:14
AGDDSimpleMaterial.h
operator<<
std::ostream & operator<<(std::ostream &os, const AGDDSimpleMaterial &obj)
Definition:
AGDDSimpleMaterial.cxx:10
python.PyAthena.obj
obj
Definition:
PyAthena.py:132
AGDDSimpleMaterial::m_name
std::string m_name
Definition:
AGDDSimpleMaterial.h:34
AGDDSimpleMaterial::GetName
const std::string & GetName() const
Definition:
AGDDSimpleMaterial.cxx:23
Generated on Mon Dec 23 2024 21:06:45 for ATLAS Offline Software by
1.8.18