56 : verboseLevel(0),fCurrentMesh(nullptr)
64 (*fColorMapDict)[logColorMap->
GetName()] = logColorMap;
89 G4cout <<
" is calling G4VScoringMesh::Accumulate() of " <<
sm->GetWorldName() <<
G4endl; }
105 { sm = (*msh).second; }
113 {
if(msh->GetWorldName()==wName)
return msh; }
115 {
G4cout <<
"WARNING : G4ScoringManager::FindMesh() --- <" << wName <<
"> is not found. Null returned." <<
G4endl; }
122 for(
auto msh :
fMeshVec) msh->List();
127 for(
auto msh :
fMeshVec) msh->Dump();
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;
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;
181 G4cerr <<
"ERROR : G4ScoringManager::DrawQuantityToFile() --- <"
182 << meshName <<
"> is not found. Nothing is done." <<
G4endl;
195 G4cerr <<
"ERROR : G4ScoringManager::DrawAllQuantitiesToFile() --- <"
196 << meshName <<
"> is not found. Nothing is done." <<
G4endl;
204 G4cerr <<
"ERROR : G4ScoringManager::RegisterScoreColorMap -- "
205 << colorMap->
GetName() <<
" has already been registered. Method ignored." <<
G4endl;
209 (*fColorMapDict)[colorMap->
GetName()] = colorMap;
217 return (mItr->second);
222 G4cout <<
"Registered Score Color Maps -------------------------------------------------------" <<
G4endl;
225 {
G4cout <<
" " << mItr->first; }
235 fMesh->
Merge(scMesh);
G4VScoreColorMap * fDefaultLinearColorMap
std::map< G4String, G4VScoreColorMap * >::iterator ColorMapDictItr
size_t GetNumberOfMesh() const
G4ScoreQuantityMessenger * fQuantityMessenger
static void SetReplicaLevel(G4int)
void RegisterScoreColorMap(G4VScoreColorMap *colorMap)
void Merge(const G4VScoringMesh *scMesh)
G4VScoreColorMap * GetScoreColorMap(const G4String &mapName)
void ListScoreColorMaps()
void DrawMesh(const G4String &psName, G4VScoreColorMap *colorMap, G4int axflg=111)
virtual void DumpAllQuantitiesToFile(const G4String &fileName, const G4String &option)
void DrawMesh(const G4String &meshName, const G4String &psName, const G4String &colorMapName, G4int axflg=111)
void DumpAllQuantitiesToFile(const G4String &meshName, const G4String &fileName, const G4String &option="")
G4ScoringMessenger * fMessenger
virtual void DumpQuantityToFile(const G4String &psName, const G4String &fileName, const G4String &option)
static G4ScoringManager * GetScoringManagerIfExist()
void Merge(const G4ScoringManager *scMan)
static G4ThreadLocal G4ScoringManager * fSManager
G4GLOB_DLL std::ostream G4cerr
G4GLOB_DLL std::ostream G4cout
void DumpQuantityToFile(const G4String &meshName, const G4String &psName, const G4String &fileName, const G4String &option="")
G4VScoringMesh * GetMesh(G4int i) const
void Accumulate(G4VHitsCollection *map)
static G4ThreadLocal G4int replicaLevel
std::map< G4String, G4VScoreColorMap * > ColorMapDict
static G4ScoringManager * GetScoringManager()
G4VScoringMesh * FindMesh(G4VHitsCollection *map)
static G4int GetReplicaLevel()
ColorMapDict * fColorMapDict
void SetScoringMesh(G4VScoringMesh *sm)