#include <G4ScoringManager.hh>
|
| | ~G4ScoringManager () |
| |
| void | RegisterScoreColorMap (G4VScoreColorMap *colorMap) |
| |
| void | Accumulate (G4VHitsCollection *map) |
| |
| void | Merge (const G4ScoringManager *scMan) |
| |
| G4VScoringMesh * | FindMesh (G4VHitsCollection *map) |
| |
| G4VScoringMesh * | FindMesh (const G4String &) |
| |
| void | List () const |
| |
| void | Dump () const |
| |
| void | DrawMesh (const G4String &meshName, const G4String &psName, const G4String &colorMapName, G4int axflg=111) |
| |
| void | DrawMesh (const G4String &meshName, const G4String &psName, G4int idxPlane, G4int iColumn, const G4String &colorMapName) |
| |
| void | DumpQuantityToFile (const G4String &meshName, const G4String &psName, const G4String &fileName, const G4String &option="") |
| |
| void | DumpAllQuantitiesToFile (const G4String &meshName, const G4String &fileName, const G4String &option="") |
| |
| G4VScoreColorMap * | GetScoreColorMap (const G4String &mapName) |
| |
| void | ListScoreColorMaps () |
| |
| void | SetCurrentMesh (G4VScoringMesh *scm) |
| |
| G4VScoringMesh * | GetCurrentMesh () const |
| |
| void | CloseCurrentMesh () |
| |
| void | SetVerboseLevel (G4int vl) |
| |
| G4int | GetVerboseLevel () const |
| |
| size_t | GetNumberOfMesh () const |
| |
| void | RegisterScoringMesh (G4VScoringMesh *scm) |
| |
| G4VScoringMesh * | GetMesh (G4int i) const |
| |
| G4String | GetWorldName (G4int i) const |
| |
| void | SetScoreWriter (G4VScoreWriter *sw) |
| |
Definition at line 62 of file G4ScoringManager.hh.
◆ G4ScoringManager() [1/2]
| G4ScoringManager::G4ScoringManager |
( |
| ) |
|
|
protected |
Definition at line 55 of file G4ScoringManager.cc.
64 (*fColorMapDict)[logColorMap->
GetName()] = logColorMap;
G4ScoringMessenger * fMessenger
ColorMapDict * fColorMapDict
std::map< G4String, G4VScoreColorMap * > ColorMapDict
G4VScoringMesh * fCurrentMesh
G4VScoreColorMap * fDefaultLinearColorMap
G4ScoreQuantityMessenger * fQuantityMessenger
◆ ~G4ScoringManager()
| G4ScoringManager::~G4ScoringManager |
( |
| ) |
|
Definition at line 68 of file G4ScoringManager.cc.
G4ScoringMessenger * fMessenger
ColorMapDict * fColorMapDict
G4VScoreColorMap * fDefaultLinearColorMap
G4ScoreQuantityMessenger * fQuantityMessenger
static G4ThreadLocal G4ScoringManager * fSManager
◆ G4ScoringManager() [2/2]
◆ Accumulate()
Definition at line 83 of file G4ScoringManager.cc.
89 G4cout <<
" is calling G4VScoringMesh::Accumulate() of " <<
sm->GetWorldName() <<
G4endl; }
G4VScoringMesh * FindMesh(G4VHitsCollection *map)
G4GLOB_DLL std::ostream G4cout
◆ CloseCurrentMesh()
| void G4ScoringManager::CloseCurrentMesh |
( |
| ) |
|
|
inline |
◆ DrawMesh() [1/2]
Definition at line 130 of file G4ScoringManager.cc.
140 G4cerr <<
"WARNING : Score color map <" << colorMapName <<
"> is not found. Default linear color map is used." <<
G4endl;
143 mesh->
DrawMesh(psName,colorMap,axflg);
145 G4cerr <<
"ERROR : G4ScoringManager::DrawMesh() --- <" 146 << meshName <<
"> is not found. Nothing is done." <<
G4endl;
void DrawMesh(const G4String &psName, G4VScoreColorMap *colorMap, G4int axflg=111)
G4VScoringMesh * FindMesh(G4VHitsCollection *map)
G4VScoreColorMap * GetScoreColorMap(const G4String &mapName)
G4VScoreColorMap * fDefaultLinearColorMap
G4GLOB_DLL std::ostream G4cerr
◆ DrawMesh() [2/2]
Definition at line 150 of file G4ScoringManager.cc.
161 G4cerr <<
"WARNING : Score color map <" << colorMapName <<
"> is not found. Default linear color map is used." <<
G4endl;
164 mesh->
DrawMesh(psName,idxPlane,iColumn,colorMap);
166 G4cerr <<
"ERROR : G4ScoringManager::DrawMesh() --- <" 167 << meshName <<
"> is not found. Nothing is done." <<
G4endl;
void DrawMesh(const G4String &psName, G4VScoreColorMap *colorMap, G4int axflg=111)
G4VScoringMesh * FindMesh(G4VHitsCollection *map)
G4VScoreColorMap * GetScoreColorMap(const G4String &mapName)
G4VScoreColorMap * fDefaultLinearColorMap
G4GLOB_DLL std::ostream G4cerr
◆ Dump()
| void G4ScoringManager::Dump |
( |
| ) |
const |
◆ DumpAllQuantitiesToFile()
| void G4ScoringManager::DumpAllQuantitiesToFile |
( |
const G4String & |
meshName, |
|
|
const G4String & |
fileName, |
|
|
const G4String & |
option = "" |
|
) |
| |
Definition at line 186 of file G4ScoringManager.cc.
195 G4cerr <<
"ERROR : G4ScoringManager::DrawAllQuantitiesToFile() --- <" 196 << meshName <<
"> is not found. Nothing is done." <<
G4endl;
G4VScoringMesh * FindMesh(G4VHitsCollection *map)
virtual void DumpAllQuantitiesToFile(const G4String &fileName, const G4String &option)
void SetScoringMesh(G4VScoringMesh *sm)
G4GLOB_DLL std::ostream G4cerr
◆ DumpQuantityToFile()
Definition at line 171 of file G4ScoringManager.cc.
181 G4cerr <<
"ERROR : G4ScoringManager::DrawQuantityToFile() --- <" 182 << meshName <<
"> is not found. Nothing is done." <<
G4endl;
G4VScoringMesh * FindMesh(G4VHitsCollection *map)
void SetScoringMesh(G4VScoringMesh *sm)
G4GLOB_DLL std::ostream G4cerr
virtual void DumpQuantityToFile(const G4String &psName, const G4String &fileName, const G4String &option)
◆ FindMesh() [1/2]
Definition at line 93 of file G4ScoringManager.cc.
105 { sm = (*msh).second; }
G4VScoringMesh * FindMesh(G4VHitsCollection *map)
◆ FindMesh() [2/2]
Definition at line 109 of file G4ScoringManager.cc.
113 {
if(msh->GetWorldName()==wName)
return msh; }
115 {
G4cout <<
"WARNING : G4ScoringManager::FindMesh() --- <" << wName <<
"> is not found. Null returned." <<
G4endl; }
G4GLOB_DLL std::ostream G4cout
◆ GetCurrentMesh()
◆ GetMesh()
◆ GetNumberOfMesh()
| size_t G4ScoringManager::GetNumberOfMesh |
( |
| ) |
const |
|
inline |
◆ GetReplicaLevel()
| G4int G4ScoringManager::GetReplicaLevel |
( |
| ) |
|
|
static |
◆ GetScoreColorMap()
Definition at line 213 of file G4ScoringManager.cc.
217 return (mItr->second);
ColorMapDict * fColorMapDict
std::map< G4String, G4VScoreColorMap * >::iterator ColorMapDictItr
◆ GetScoringManager()
◆ GetScoringManagerIfExist()
◆ GetVerboseLevel()
| G4int G4ScoringManager::GetVerboseLevel |
( |
| ) |
const |
|
inline |
◆ GetWorldName()
◆ List()
| void G4ScoringManager::List |
( |
| ) |
const |
Definition at line 119 of file G4ScoringManager.cc.
122 for(
auto msh :
fMeshVec) msh->List();
size_t GetNumberOfMesh() const
G4GLOB_DLL std::ostream G4cout
◆ ListScoreColorMaps()
| void G4ScoringManager::ListScoreColorMaps |
( |
| ) |
|
Definition at line 220 of file G4ScoringManager.cc.
222 G4cout <<
"Registered Score Color Maps -------------------------------------------------------" <<
G4endl;
225 {
G4cout <<
" " << mItr->first; }
ColorMapDict * fColorMapDict
G4GLOB_DLL std::ostream G4cout
std::map< G4String, G4VScoreColorMap * >::iterator ColorMapDictItr
◆ Merge()
Definition at line 229 of file G4ScoringManager.cc.
235 fMesh->
Merge(scMesh);
void Merge(const G4VScoringMesh *scMesh)
size_t GetNumberOfMesh() const
G4VScoringMesh * GetMesh(G4int i) const
◆ operator=()
◆ RegisterScoreColorMap()
Definition at line 200 of file G4ScoringManager.cc.
204 G4cerr <<
"ERROR : G4ScoringManager::RegisterScoreColorMap -- " 205 << colorMap->
GetName() <<
" has already been registered. Method ignored." <<
G4endl;
209 (*fColorMapDict)[colorMap->
GetName()] = colorMap;
ColorMapDict * fColorMapDict
G4GLOB_DLL std::ostream G4cerr
◆ RegisterScoringMesh()
Definition at line 138 of file G4ScoringManager.hh.
void SetCurrentMesh(G4VScoringMesh *scm)
void SetVerboseLevel(G4int vl)
◆ SetCurrentMesh()
◆ SetReplicaLevel()
| void G4ScoringManager::SetReplicaLevel |
( |
G4int |
lvl | ) |
|
|
static |
◆ SetScoreWriter()
◆ SetVerboseLevel()
| void G4ScoringManager::SetVerboseLevel |
( |
G4int |
vl | ) |
|
|
inline |
Definition at line 126 of file G4ScoringManager.hh.
130 (*itr)->SetVerboseLevel(vl);
std::vector< G4VScoringMesh * >::iterator MeshVecItr
void SetVerboseLevel(G4int vl)
◆ fColorMapDict
◆ fCurrentMesh
◆ fDefaultLinearColorMap
◆ fMeshMap
◆ fMeshVec
◆ fMessenger
◆ fQuantityMessenger
◆ fSManager
◆ replicaLevel
◆ verboseLevel
| G4int G4ScoringManager::verboseLevel |
|
private |
◆ writer
The documentation for this class was generated from the following files: