30 #ifndef G4ScoringManager_h
31 #define G4ScoringManager_h 1
52 typedef std::vector<G4VScoringMesh*>
MeshVec;
53 typedef std::vector<G4VScoringMesh*>::iterator
MeshVecItr;
117 { fCurrentMesh = scm; }
119 {
return fCurrentMesh; }
121 { fCurrentMesh = 0; }
125 for(
MeshVecItr itr = fMeshVec.begin(); itr != fMeshVec.end(); itr++) {
126 (*itr)->SetVerboseLevel(vl);
131 {
return verboseLevel; }
133 {
return fMeshVec.size(); }
137 fMeshVec.push_back(scm);
141 {
return fMeshVec[i]; }
143 {
return fMeshVec[i]->GetWorldName(); }
148 if(writer) {
delete writer; }
static void SetReplicaLevel(G4int)
void RegisterScoreColorMap(G4VScoreColorMap *colorMap)
G4String GetWorldName(G4int i) const
std::map< G4String, G4VScoreColorMap * >::const_iterator ColorMapDictConstItr
std::vector< G4VScoringMesh * >::const_iterator MeshVecConstItr
void ListScoreColorMaps()
void DumpAllQuantitiesToFile(const G4String &meshName, const G4String &fileName, const G4String &option="")
std::vector< G4VScoringMesh * >::iterator MeshVecItr
G4int GetVerboseLevel() const
static G4ScoringManager * GetScoringManagerIfExist()
static G4int GetReplicaLevel()
void SetScoreWriter(G4VScoreWriter *sw)
std::map< G4String, G4VScoreColorMap * > ColorMapDict
void Accumulate(G4VHitsCollection *map)
G4VScoreColorMap * GetScoreColorMap(const G4String &mapName)
G4VScoringMesh * FindMesh(const G4String &)
void Merge(const G4ScoringManager *scMan)
void DrawMesh(const G4String &meshName, const G4String &psName, const G4String &colorMapName, G4int axflg=111)
std::vector< G4VScoringMesh * > MeshVec
G4VScoringMesh * GetCurrentMesh() const
void SetCurrentMesh(G4VScoringMesh *scm)
void DumpQuantityToFile(const G4String &meshName, const G4String &psName, const G4String &fileName, const G4String &option="")
void SetVerboseLevel(G4int vl)
static G4ScoringManager * GetScoringManager()
size_t GetNumberOfMesh() const
std::map< G4String, G4VScoreColorMap * >::iterator ColorMapDictItr
void SetVerboseLevel(G4int vl)
void RegisterScoringMesh(G4VScoringMesh *scm)
G4VScoringMesh * GetMesh(G4int i) const
void SetVerboseLevel(G4int vl)