![]() |
ATLAS Offline Software
|
#include <ElementTable.h>
Public Member Functions | |
| ElementTable () | |
| Empty constructor. | |
| ElementTable (const ElementTable &et) | |
| Empty constructor. | |
| ~ElementTable () | |
| Destructor. | |
| ElementTable & | operator= (const ElementTable &et) |
| Assignment operator. | |
| ElementTable & | operator+= (const ElementTable &et) |
| Adding two tables : add table entries from another table. | |
| const Material * | element (unsigned int Z) const |
| Get the material. | |
| const std::string & | elementName (unsigned int Z) const |
| Get the element name. | |
| void | addElement (const Material &mat, const std::string &mname="") |
| Add material to the Table - if the elment is already filled ignore. | |
| void | addElement (std::unique_ptr< Material > mat, const std::string &mname) |
| Version that takes ownership of a pointer. | |
| bool | contains (unsigned int Z) const |
| quick check | |
| size_t | size () const |
| Print the table size. | |
Private Attributes | |
| std::vector< Material * > | m_table |
| std::vector< std::string > | m_names |
Definition at line 24 of file ElementTable.h.
|
inline |
|
inline |
| Trk::ElementTable::~ElementTable | ( | ) |
Destructor.
Definition at line 15 of file ElementTable.cxx.
Add material to the Table - if the elment is already filled ignore.
Definition at line 75 of file ElementTable.h.
|
inline |
quick check
Definition at line 93 of file ElementTable.h.
Get the material.
Definition at line 71 of file ElementTable.h.
|
inline |
|
inline |
Adding two tables : add table entries from another table.
Definition at line 60 of file ElementTable.h.
|
inline |
Assignment operator.
Definition at line 44 of file ElementTable.h.
|
inline |
|
private |
Definition at line 100 of file ElementTable.h.
|
private |
Definition at line 99 of file ElementTable.h.