#include <G4HadDataHandler.hh>
Definition at line 60 of file G4HadDataHandler.hh.
◆ G4HadDataHandler() [1/2]
G4HadDataHandler::G4HadDataHandler |
( |
std::size_t | nTable | ) |
|
|
explicit |
◆ ~G4HadDataHandler()
G4HadDataHandler::~G4HadDataHandler |
( |
| ) |
|
Definition at line 54 of file G4HadDataHandler.cc.
55{
56 for(std::size_t i=0; i<tLength; ++i) {
57 for(std::size_t j = i+1; j<tLength; ++j) {
58 if(data[j] == data[i]) { data[j] = nullptr; }
59 }
61 }
62}
void CleanTable(std::size_t idx)
◆ G4HadDataHandler() [2/2]
◆ AddTable()
◆ CleanTable()
void G4HadDataHandler::CleanTable |
( |
std::size_t | idx | ) |
|
Definition at line 87 of file G4HadDataHandler.cc.
88{
89 if(idx < tLength && nullptr != data[idx]) {
90 data[idx]->clearAndDestroy();
91 delete data[idx];
92 data[idx] = nullptr;
93 }
94}
Referenced by ~G4HadDataHandler().
◆ GetMasterProcess()
const G4VProcess * G4HadDataHandler::GetMasterProcess |
( |
std::size_t | idx | ) |
const |
Definition at line 105 of file G4HadDataHandler.cc.
106{
107 return (idx < masterProcess.size()) ? masterProcess[idx] : nullptr;
108}
◆ GetTable()
const G4PhysicsTable * G4HadDataHandler::GetTable |
( |
std::size_t | idx | ) |
const |
|
inline |
Definition at line 84 of file G4HadDataHandler.hh.
84 {
85 return (idx < tLength) ? data[idx] : nullptr;
86 }
◆ GetTables()
const std::vector< G4PhysicsTable * > & G4HadDataHandler::GetTables |
( |
| ) |
const |
|
inline |
◆ GetVector()
const G4PhysicsVector * G4HadDataHandler::GetVector |
( |
std::size_t | itable, |
|
|
std::size_t | ivec ) const |
|
inline |
◆ operator=()
◆ SetMasterProcess()
void G4HadDataHandler::SetMasterProcess |
( |
const G4VProcess * | ptr | ) |
|
◆ Table()
◆ UpdateTable()
void G4HadDataHandler::UpdateTable |
( |
G4PhysicsTable * | ptr, |
|
|
std::size_t | idx ) |
The documentation for this class was generated from the following files: