13#include "GaudiKernel/MsgStream.h"
17 for (; elIter !=
m_table.end();
delete (*elIter), ++elIter)
22 std::string
none =
"None";
23 sl <<
" ------------------------- Trk::ElementTable "
24 "-------------------------- "
26 sl <<
" - Listing " << etab.
size() <<
" elements " << std::endl;
27 for (
unsigned int iel = 0; iel < static_cast<unsigned int>(UCHAR_MAX); ++iel)
28 sl <<
" - Id : " << std::setw(3) << iel <<
" - Properties: "
30 <<
" - Name : " << etab.
elementName(iel) << std::endl;
31 sl <<
" ---------------------------------------------------------------------"
38 std::string
none =
"None";
39 sl <<
" ------------------------- Trk::ElementTable "
40 "-------------------------- "
42 sl <<
" - Listing " << etab.
size() <<
" elements " << std::endl;
43 for (
unsigned int iel = 0; iel < static_cast<unsigned int>(UCHAR_MAX); ++iel)
44 sl <<
" - Id : " << std::setw(3) << iel <<
" - Properties: "
46 <<
" - Name : " << etab.
elementName(iel) << std::endl;
47 sl <<
" ---------------------------------------------------------------------"
size_t size() const
Print the table size.
const Material * element(unsigned int Z) const
Get the material.
const std::string & elementName(unsigned int Z) const
Get the element name.
~ElementTable()
Destructor.
std::vector< Material * > m_table
std::string toString() const
spit out as a string
MsgStream & operator<<(MsgStream &sl, const AlignModule &alignModule)
overload of << operator for MsgStream for debug output