29#ifndef G4ScoringManager_h
30#define G4ScoringManager_h 1
51using MeshVec = std::vector<G4VScoringMesh *>;
57using MeshMap = std::map<G4int, G4VScoringMesh *>;
104 for(
auto& itr : fMeshVec)
106 itr->SetVerboseLevel(vl);
108 if(writer !=
nullptr)
116 fMeshVec.push_back(scm);
122 return fMeshVec[i]->GetWorldName();
130 if(writer !=
nullptr)
138 if(writer !=
nullptr)
143 if(writer !=
nullptr)
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()
G4VScoringMesh * GetMesh(G4int i) const
void RegisterScoringMesh(G4VScoringMesh *scm)
void Accumulate(G4VHitsCollection *map)
G4int GetVerboseLevel() const
static void SetReplicaLevel(G4int)
void SetVerboseLevel(G4int vl)
size_t GetNumberOfMesh() const
G4VScoreColorMap * GetScoreColorMap(const G4String &mapName)
void DumpAllQuantitiesToFile(const G4String &meshName, const G4String &fileName, const G4String &option="")
static G4ScoringManager * GetScoringManager()
G4VScoringMesh * FindMesh(G4VHitsCollection *map)
G4String GetWorldName(G4int i) const
void SetCurrentMesh(G4VScoringMesh *scm)
void RegisterScoreColorMap(G4VScoreColorMap *colorMap)
void DrawMesh(const G4String &meshName, const G4String &psName, const G4String &colorMapName, G4int axflg=111)
void SetFactor(G4double val=1.0)
G4VScoringMesh * GetCurrentMesh() const
G4double GetFactor() 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 SetFactor(G4double val=1.0)
G4double GetFactor() const
void SetVerboseLevel(G4int vl)
void SetVerboseLevel(G4int vl)