Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
|
#include <G4THnManager.hh>
Public Member Functions | |
G4THnManager (const G4AnalysisManagerState &state) | |
G4THnManager ()=delete | |
virtual | ~G4THnManager () |
G4int | RegisterT (const G4String &name, HT *ht, G4HnInformation *info=nullptr) |
G4bool | Reset () |
void | ClearData () |
G4bool | DeleteT (G4int id, G4bool keepSetting) |
G4bool | IsEmpty () const |
void | AddTVector (const std::vector< HT * > &tVector) |
void | Merge (G4Mutex &mergeMutex, G4THnManager< HT > *masterInstance) |
HT * | GetT (G4int id, G4bool warn=true, G4bool onlyIfActive=true) const |
std::vector< HT * > * | GetTVector () |
const std::vector< HT * > & | GetTVectorRef () const |
std::vector< std::pair< HT *, G4HnInformation * > > * | GetTHnVector () |
const std::vector< std::pair< HT *, G4HnInformation * > > & | GetTHnVectorRef () const |
G4int | GetNofHns (G4bool onlyIfExist) const |
G4bool | List (std::ostream &output, G4bool onlyIfActive) const |
std::vector< HT * >::iterator | BeginT () |
std::vector< HT * >::iterator | EndT () |
std::vector< HT * >::const_iterator | BeginConstT () const |
std::vector< HT * >::const_iterator | EndConstT () const |
Protected Member Functions | |
std::pair< HT *, G4HnInformation * > | GetTHnInFunction (G4int id, std::string_view functionName, G4bool warn=true, G4bool onlyIfActive=true) const |
HT * | GetTInFunction (G4int id, std::string_view functionName, G4bool warn=true, G4bool onlyIfActive=true) const |
G4int | GetTId (const G4String &name, G4bool warn=true) const |
G4bool | IsVerbose (G4int verboseLevel) const |
void | Message (G4int level, const G4String &action, const G4String &objectType, const G4String &objectName="", G4bool success=true) const |
Protected Attributes | |
const G4AnalysisManagerState & | fState |
std::vector< HT * > | fTVector |
std::vector< std::pair< HT *, G4HnInformation * > > | fTHnVector |
std::set< G4int > | fFreeIds |
std::map< G4String, G4int > | fNameIdMap |
std::shared_ptr< G4HnManager > | fHnManager { nullptr } |
Static Protected Attributes | |
static constexpr std::string_view | fkClass { "G4THnManager<T>" } |
Definition at line 50 of file G4THnManager.hh.
G4THnManager< HT >::G4THnManager | ( | const G4AnalysisManagerState & | state | ) |
|
delete |
|
virtual |
void G4THnManager< HT >::AddTVector | ( | const std::vector< HT * > & | tVector | ) |
std::vector< HT * >::const_iterator G4THnManager< HT >::BeginConstT | ( | ) | const |
std::vector< HT * >::iterator G4THnManager< HT >::BeginT | ( | ) |
void G4THnManager< HT >::ClearData | ( | ) |
Referenced by G4ToolsAnalysisManager::ClearImpl().
G4bool G4THnManager< HT >::DeleteT | ( | G4int | id, |
G4bool | keepSetting ) |
std::vector< HT * >::const_iterator G4THnManager< HT >::EndConstT | ( | ) | const |
std::vector< HT * >::iterator G4THnManager< HT >::EndT | ( | ) |
G4int G4THnManager< HT >::GetNofHns | ( | G4bool | onlyIfExist | ) | const |
HT * G4THnManager< HT >::GetT | ( | G4int | id, |
G4bool | warn = true, | ||
G4bool | onlyIfActive = true ) const |
|
protected |
std::vector< std::pair< HT *, G4HnInformation * > > * G4THnManager< HT >::GetTHnVector | ( | ) |
const std::vector< std::pair< HT *, G4HnInformation * > > & G4THnManager< HT >::GetTHnVectorRef | ( | ) | const |
Referenced by G4ToolsAnalysisManager::MergeImpl(), and G4ToolsAnalysisManager::PlotImpl().
|
protected |
|
protected |
std::vector< HT * > * G4THnManager< HT >::GetTVector | ( | ) |
const std::vector< HT * > & G4THnManager< HT >::GetTVectorRef | ( | ) | const |
G4bool G4THnManager< HT >::IsEmpty | ( | ) | const |
Referenced by G4ToolsAnalysisManager::IsEmpty().
|
protected |
G4bool G4THnManager< HT >::List | ( | std::ostream & | output, |
G4bool | onlyIfActive ) const |
void G4THnManager< HT >::Merge | ( | G4Mutex & | mergeMutex, |
G4THnManager< HT > * | masterInstance ) |
|
protected |
G4int G4THnManager< HT >::RegisterT | ( | const G4String & | name, |
HT * | ht, | ||
G4HnInformation * | info = nullptr ) |
G4bool G4THnManager< HT >::Reset | ( | ) |
Referenced by G4ToolsAnalysisReader::Reset().
|
protected |
Definition at line 125 of file G4THnManager.hh.
|
protected |
Definition at line 127 of file G4THnManager.hh.
|
staticconstexprprotected |
Definition at line 119 of file G4THnManager.hh.
|
protected |
Definition at line 126 of file G4THnManager.hh.
|
protected |
Definition at line 122 of file G4THnManager.hh.
|
protected |
Definition at line 124 of file G4THnManager.hh.
|
protected |
Definition at line 123 of file G4THnManager.hh.