29#ifndef G4ScoringManager_h
30#define G4ScoringManager_h 1
51typedef std::vector<G4VScoringMesh*>
MeshVec;
52typedef std::vector<G4VScoringMesh*>::iterator
MeshVecItr;
57typedef std::map<G4int,G4VScoringMesh*>
MeshMap;
58typedef std::map<G4int,G4VScoringMesh*>::iterator
MeshMapItr;
120 { fCurrentMesh = scm; }
122 {
return fCurrentMesh; }
124 { fCurrentMesh = 0; }
128 for(
MeshVecItr itr = fMeshVec.begin(); itr != fMeshVec.end(); itr++) {
129 (*itr)->SetVerboseLevel(vl);
134 {
return verboseLevel; }
136 {
return fMeshVec.size(); }
140 fMeshVec.push_back(scm);
144 {
return fMeshVec[i]; }
146 {
return fMeshVec[i]->GetWorldName(); }
151 if(writer) {
delete writer; }
std::map< G4String, G4VScoreColorMap * >::const_iterator ColorMapDictConstItr
std::vector< G4VScoringMesh * > MeshVec
std::map< G4int, G4VScoringMesh * >::iterator MeshMapItr
std::vector< G4VScoringMesh * >::const_iterator MeshVecConstItr
std::vector< G4VScoringMesh * >::iterator MeshVecItr
std::map< G4int, G4VScoringMesh * >::const_iterator MeshMapConstItr
std::map< G4String, G4VScoreColorMap * >::iterator ColorMapDictItr
std::map< G4int, G4VScoringMesh * > MeshMap
std::map< G4String, G4VScoreColorMap * > ColorMapDict
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)