38#ifndef G4ScoringManager_h
39#define G4ScoringManager_h 1
53using MeshVec = std::vector<G4VScoringMesh *>;
59using MeshMap = std::map<G4int, G4VScoringMesh *>;
109 for(
auto& itr : fMeshVec)
111 itr->SetVerboseLevel(vl);
113 if(writer !=
nullptr)
114 writer->SetVerboseLevel(vl);
121 fMeshVec.push_back(scm);
127 return fMeshVec[i]->GetWorldName();
134 if(writer !=
nullptr)
141 if(writer !=
nullptr)
142 writer->SetFactor(val);
146 if(writer !=
nullptr)
148 return writer->GetFactor();
MeshVec::iterator MeshVecItr
MeshMap::const_iterator MeshMapConstItr
MeshVec::const_iterator MeshVecConstItr
std::map< G4String, G4VScoreColorMap * > ColorMapDict
MeshMap::iterator MeshMapItr
std::vector< G4VScoringMesh * > MeshVec
std::map< G4int, G4VScoringMesh * > MeshMap
ColorMapDict::iterator ColorMapDictItr
ColorMapDict::const_iterator ColorMapDictConstItr
static G4int GetReplicaLevel()
G4ScoringManager(const G4ScoringManager &)=delete
G4VScoringMesh * GetMesh(G4int i) const
void RegisterScoringMesh(G4VScoringMesh *scm)
void Accumulate(G4VHitsCollection *map)
G4int GetVerboseLevel() const
static void SetReplicaLevel(G4int)
void SetVerboseLevel(G4int vl)
G4VScoreColorMap * GetScoreColorMap(const G4String &mapName)
G4ScoringManager & operator=(const G4ScoringManager &)=delete
void DumpAllQuantitiesToFile(const G4String &meshName, const G4String &fileName, const G4String &option="")
static G4ScoringManager * GetScoringManager()
G4VScoringMesh * FindMesh(G4VHitsCollection *map)
void SetCurrentMesh(G4VScoringMesh *scm)
void RegisterScoreColorMap(G4VScoreColorMap *colorMap)
void DrawMesh(const G4String &meshName, const G4String &psName, const G4String &colorMapName, G4int axflg=111)
const G4String & GetWorldName(G4int i) const
void SetFactor(G4double val=1.0)
G4VScoringMesh * GetCurrentMesh() const
G4double GetFactor() const
std::size_t GetNumberOfMesh() const
void ListScoreColorMaps()
void SetScoreWriter(G4VScoreWriter *sw)
void Merge(const G4ScoringManager *scMan)
static G4ScoringManager * GetScoringManagerIfExist()
void DumpQuantityToFile(const G4String &meshName, const G4String &psName, const G4String &fileName, const G4String &option="")
void SetVerboseLevel(G4int vl)
void SetVerboseLevel(G4int vl)