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