ATLAS Offline Software
DetectorDescription
AGDD
AGDDModel
src
AGDDElement.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/AGDDElement.h
"
6
#include "
AGDDModel/AGDDMaterialStore.h
"
7
8
#include <iostream>
9
10
std::ostream&
operator <<
(std::ostream&
os
,
const
AGDDElement
&
obj
)
11
{
12
os
<<
"- Element "
<<
obj
.m_name<<
" symbol="
<<
obj
.m_symbol<<
13
" Z="
<<
obj
.m_z<<
" A="
<<
obj
.m_a<<std::endl;
14
return
os
;
15
}
16
17
void
AGDDElement::RegisterToStore
(
AGDDMaterialStore
&
ms
,
18
AGDDElement
*
e
)
19
{
20
ms
.RegisterElement(
e
);
21
}
22
23
const
std::string&
AGDDElement::GetName
()
const
24
{
25
return
m_name
;
26
}
27
28
const
std::string&
AGDDElement::GetSymbol
()
const
29
{
30
return
m_symbol
;
31
}
AllowedVariables::e
e
Definition:
AsgElectronSelectorTool.cxx:37
AGDDElement::m_name
std::string m_name
Definition:
AGDDElement.h:32
AGDDElement::m_symbol
std::string m_symbol
Definition:
AGDDElement.h:33
AGDDMaterialStore.h
python.SystemOfUnits.ms
int ms
Definition:
SystemOfUnits.py:132
AGDDMaterialStore
Definition:
AGDDMaterialStore.h:23
ReadFromCoolCompare.os
os
Definition:
ReadFromCoolCompare.py:231
operator<<
std::ostream & operator<<(std::ostream &os, const AGDDElement &obj)
Definition:
AGDDElement.cxx:10
AGDDElement.h
AGDDElement
Definition:
AGDDElement.h:11
AGDDElement::RegisterToStore
void RegisterToStore(AGDDMaterialStore &ms, AGDDElement *)
Definition:
AGDDElement.cxx:17
AGDDElement::GetName
const std::string & GetName() const
Definition:
AGDDElement.cxx:23
AGDDElement::GetSymbol
const std::string & GetSymbol() const
Definition:
AGDDElement.cxx:28
python.PyAthena.obj
obj
Definition:
PyAthena.py:132
Generated on Mon Dec 23 2024 21:06:45 for ATLAS Offline Software by
1.8.18