Geant4-11
|
#include <G4ScoringManager.hh>
Static Public Member Functions | |
static G4int | GetReplicaLevel () |
static G4ScoringManager * | GetScoringManager () |
static G4ScoringManager * | GetScoringManagerIfExist () |
static void | SetReplicaLevel (G4int) |
Protected Member Functions | |
G4ScoringManager () | |
Private Member Functions | |
G4ScoringManager (const G4ScoringManager &) | |
G4ScoringManager & | operator= (const G4ScoringManager &) |
Static Private Attributes | |
static G4ThreadLocal G4ScoringManager * | fSManager = nullptr |
static G4ThreadLocal G4int | replicaLevel = 3 |
Definition at line 62 of file G4ScoringManager.hh.
|
protected |
Definition at line 56 of file G4ScoringManager.cc.
References fColorMapDict, fDefaultLinearColorMap, fMessenger, fQuantityMessenger, G4VScoreColorMap::GetName(), and writer.
Referenced by GetScoringManager().
G4ScoringManager::~G4ScoringManager | ( | ) |
Definition at line 70 of file G4ScoringManager.cc.
References fColorMapDict, fDefaultLinearColorMap, fMessenger, fQuantityMessenger, fSManager, and writer.
|
private |
void G4ScoringManager::Accumulate | ( | G4VHitsCollection * | map | ) |
Definition at line 86 of file G4ScoringManager.cc.
References FindMesh(), G4cout, G4endl, anonymous_namespace{G4QuasiElRatios.cc}::map, G4InuclParticleNames::sm, and verboseLevel.
Referenced by G4RunManager::UpdateScoring().
|
inline |
Definition at line 124 of file G4ScoringManager.hh.
References fCurrentMesh.
Referenced by G4ScoringMessenger::SetNewValue().
void G4ScoringManager::DrawMesh | ( | const G4String & | meshName, |
const G4String & | psName, | ||
const G4String & | colorMapName, | ||
G4int | axflg = 111 |
||
) |
Definition at line 149 of file G4ScoringManager.cc.
References G4VScoringMesh::DrawMesh(), fDefaultLinearColorMap, FindMesh(), G4cerr, G4endl, and GetScoreColorMap().
Referenced by G4ScoringMessenger::SetNewValue().
void G4ScoringManager::DrawMesh | ( | const G4String & | meshName, |
const G4String & | psName, | ||
G4int | idxPlane, | ||
G4int | iColumn, | ||
const G4String & | colorMapName | ||
) |
Definition at line 172 of file G4ScoringManager.cc.
References G4VScoringMesh::DrawMesh(), fDefaultLinearColorMap, FindMesh(), G4cerr, G4endl, and GetScoreColorMap().
void G4ScoringManager::Dump | ( | ) | const |
Definition at line 143 of file G4ScoringManager.cc.
References fMeshVec.
Referenced by G4ScoringMessenger::SetNewValue().
void G4ScoringManager::DumpAllQuantitiesToFile | ( | const G4String & | meshName, |
const G4String & | fileName, | ||
const G4String & | option = "" |
||
) |
Definition at line 213 of file G4ScoringManager.cc.
References G4VScoreWriter::DumpAllQuantitiesToFile(), FindMesh(), G4cerr, G4endl, G4VScoreWriter::SetScoringMesh(), and writer.
Referenced by G4ScoringMessenger::SetNewValue().
void G4ScoringManager::DumpQuantityToFile | ( | const G4String & | meshName, |
const G4String & | psName, | ||
const G4String & | fileName, | ||
const G4String & | option = "" |
||
) |
Definition at line 195 of file G4ScoringManager.cc.
References G4VScoreWriter::DumpQuantityToFile(), FindMesh(), G4cerr, G4endl, G4VScoreWriter::SetScoringMesh(), and writer.
Referenced by G4ScoringMessenger::SetNewValue().
G4VScoringMesh * G4ScoringManager::FindMesh | ( | const G4String & | wName | ) |
Definition at line 119 of file G4ScoringManager.cc.
References fMeshVec, G4cout, G4endl, G4InuclParticleNames::sm, and verboseLevel.
G4VScoringMesh * G4ScoringManager::FindMesh | ( | G4VHitsCollection * | map | ) |
Definition at line 101 of file G4ScoringManager.cc.
References FindMesh(), fMeshMap, anonymous_namespace{G4QuasiElRatios.cc}::map, and G4InuclParticleNames::sm.
Referenced by Accumulate(), G4GMocrenFileSceneHandler::AddSolid(), DrawMesh(), DumpAllQuantitiesToFile(), DumpQuantityToFile(), FindMesh(), and G4ScoringMessenger::SetNewValue().
|
inline |
Definition at line 123 of file G4ScoringManager.hh.
References fCurrentMesh.
Referenced by G4ScoreQuantityMessenger::SetNewValue(), and G4ScoringMessenger::SetNewValue().
|
inline |
Definition at line 168 of file G4ScoringManager.hh.
References G4VScoreWriter::GetFactor(), and writer.
|
inline |
Definition at line 143 of file G4ScoringManager.hh.
References fMeshVec.
Referenced by G4VSceneHandler::AddCompound(), G4RunManager::ConstructScoringWorlds(), G4WorkerRunManager::ConstructScoringWorlds(), G4PSHitsModel::DescribeYourselfTo(), and Merge().
|
inline |
Definition at line 136 of file G4ScoringManager.hh.
References fMeshVec.
Referenced by G4VSceneHandler::AddCompound(), G4RunManager::ConstructScoringWorlds(), G4WorkerRunManager::ConstructScoringWorlds(), G4PSHitsModel::DescribeYourselfTo(), List(), Merge(), and G4RunManager::UpdateScoring().
|
static |
Definition at line 84 of file G4ScoringManager.cc.
References replicaLevel.
Referenced by G4ScoringBox::SetupGeometry(), and G4ScoringCylinder::SetupGeometry().
G4VScoreColorMap * G4ScoringManager::GetScoreColorMap | ( | const G4String & | mapName | ) |
Definition at line 244 of file G4ScoringManager.cc.
References fColorMapDict.
Referenced by DrawMesh(), and G4ScoringMessenger::SetNewValue().
|
static |
Definition at line 42 of file G4ScoringManager.cc.
References fSManager, and G4ScoringManager().
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and G4WorkerRunManager::G4WorkerRunManager().
|
static |
Definition at line 51 of file G4ScoringManager.cc.
References fSManager.
Referenced by G4VSceneHandler::AddCompound(), G4PhysicsListHelper::AddTransportation(), G4MTRunManager::ConstructScoringWorlds(), G4RunManager::ConstructScoringWorlds(), G4WorkerRunManager::ConstructScoringWorlds(), G4TaskRunManager::ConstructScoringWorlds(), G4PSHitsModel::DescribeYourselfTo(), G4ScoringMessenger::Fill1D(), G4MTRunManager::G4MTRunManager(), G4TaskRunManager::G4TaskRunManager(), G4WorkerRunManager::MergePartialResults(), and G4RunManager::UpdateScoring().
|
inline |
Definition at line 135 of file G4ScoringManager.hh.
References verboseLevel.
Referenced by G4ScoringMessenger::GetCurrentValue().
Definition at line 144 of file G4ScoringManager.hh.
References fMeshVec.
Referenced by G4RunManager::ConstructScoringWorlds(), and G4WorkerRunManager::ConstructScoringWorlds().
void G4ScoringManager::List | ( | ) | const |
Definition at line 135 of file G4ScoringManager.cc.
References fMeshVec, G4cout, G4endl, and GetNumberOfMesh().
Referenced by G4ScoringMessenger::SetNewValue().
void G4ScoringManager::ListScoreColorMaps | ( | ) |
Definition at line 254 of file G4ScoringManager.cc.
References fColorMapDict, G4cout, and G4endl.
Referenced by G4ScoringMessenger::SetNewValue().
void G4ScoringManager::Merge | ( | const G4ScoringManager * | scMan | ) |
Definition at line 267 of file G4ScoringManager.cc.
References GetMesh(), GetNumberOfMesh(), and G4VScoringMesh::Merge().
Referenced by G4MTRunManager::MergeScores(), and G4TaskRunManager::MergeScores().
|
private |
void G4ScoringManager::RegisterScoreColorMap | ( | G4VScoreColorMap * | colorMap | ) |
Definition at line 230 of file G4ScoringManager.cc.
References fColorMapDict, G4cerr, G4endl, and G4VScoreColorMap::GetName().
|
inline |
Definition at line 137 of file G4ScoringManager.hh.
References fMeshVec, SetCurrentMesh(), G4VScoringMesh::SetVerboseLevel(), and verboseLevel.
Referenced by G4ScoringMessenger::SetNewValue().
|
inline |
Definition at line 122 of file G4ScoringManager.hh.
References fCurrentMesh.
Referenced by RegisterScoringMesh(), and G4ScoringMessenger::SetNewValue().
|
inline |
Definition at line 163 of file G4ScoringManager.hh.
References G4VScoreWriter::SetFactor(), and writer.
Referenced by G4ScoringMessenger::SetNewValue().
|
static |
Definition at line 83 of file G4ScoringManager.cc.
References replicaLevel.
|
inline |
Definition at line 150 of file G4ScoringManager.hh.
References G4VScoreWriter::SetVerboseLevel(), verboseLevel, and writer.
|
inline |
Definition at line 125 of file G4ScoringManager.hh.
References fMeshVec, G4VScoreWriter::SetVerboseLevel(), verboseLevel, and writer.
Referenced by G4ScoringMessenger::SetNewValue().
|
private |
Definition at line 117 of file G4ScoringManager.hh.
Referenced by G4ScoringManager(), GetScoreColorMap(), ListScoreColorMaps(), RegisterScoreColorMap(), and ~G4ScoringManager().
|
private |
Definition at line 113 of file G4ScoringManager.hh.
Referenced by CloseCurrentMesh(), GetCurrentMesh(), and SetCurrentMesh().
|
private |
Definition at line 116 of file G4ScoringManager.hh.
Referenced by DrawMesh(), G4ScoringManager(), and ~G4ScoringManager().
|
private |
Definition at line 119 of file G4ScoringManager.hh.
Referenced by FindMesh().
|
private |
Definition at line 112 of file G4ScoringManager.hh.
Referenced by Dump(), FindMesh(), GetMesh(), GetNumberOfMesh(), GetWorldName(), List(), RegisterScoringMesh(), and SetVerboseLevel().
|
private |
Definition at line 109 of file G4ScoringManager.hh.
Referenced by G4ScoringManager(), and ~G4ScoringManager().
|
private |
Definition at line 110 of file G4ScoringManager.hh.
Referenced by G4ScoringManager(), and ~G4ScoringManager().
|
staticprivate |
Definition at line 106 of file G4ScoringManager.hh.
Referenced by GetScoringManager(), GetScoringManagerIfExist(), and ~G4ScoringManager().
|
staticprivate |
Definition at line 107 of file G4ScoringManager.hh.
Referenced by GetReplicaLevel(), and SetReplicaLevel().
|
private |
Definition at line 108 of file G4ScoringManager.hh.
Referenced by Accumulate(), FindMesh(), GetVerboseLevel(), RegisterScoringMesh(), SetScoreWriter(), and SetVerboseLevel().
|
private |
Definition at line 115 of file G4ScoringManager.hh.
Referenced by DumpAllQuantitiesToFile(), DumpQuantityToFile(), G4ScoringManager(), GetFactor(), SetFactor(), SetScoreWriter(), SetVerboseLevel(), and ~G4ScoringManager().