44 fRequestedMapName(requestedMapName)
46 fType =
"G4PSHitsModel";
47 fGlobalTag =
"G4PSHitsModel for G4THitsMap<G4StatDouble> hits.";
59 for (
size_t iMesh = 0; iMesh < nMeshes; ++iMesh) {
63 for(MeshScoreMap::const_iterator i = scoreMap.begin();
64 i != scoreMap.end(); ++i) {
66 if (fRequestedMapName ==
"all" || name == fRequestedMapName) {
67 RunScore* fpCurrentHits = i->second;
69 if (fpCurrentHits) sceneHandler.
AddCompound(*fpCurrentHits);
virtual void DescribeYourselfTo(G4VGraphicsScene &)
G4PSHitsModel(const G4String &requestedMapName="all")
G4VScoringMesh * GetMesh(G4int i) const
size_t GetNumberOfMesh() const
static G4ScoringManager * GetScoringManagerIfExist()
virtual void AddCompound(const G4VTrajectory &)=0
G4String fGlobalDescription
G4THitsMap< G4StatDouble > RunScore
std::map< G4String, RunScore * > MeshScoreMap
MeshScoreMap GetScoreMap() const