#include <G4PSHitsModel.hh>
Definition at line 40 of file G4PSHitsModel.hh.
◆ G4PSHitsModel()
G4PSHitsModel::G4PSHitsModel |
( |
const G4String & |
requestedMapName = "all" | ) |
|
Definition at line 43 of file G4PSHitsModel.cc.
43 :
44 fRequestedMapName(requestedMapName)
45{
46 fType =
"G4PSHitsModel";
47 fGlobalTag =
"G4PSHitsModel for G4THitsMap<G4StatDouble> hits.";
49}
G4String fGlobalDescription
◆ ~G4PSHitsModel()
G4PSHitsModel::~G4PSHitsModel |
( |
| ) |
|
|
virtual |
◆ DescribeYourselfTo()
Implements G4VModel.
Definition at line 51 of file G4PSHitsModel.cc.
52{
57 if (scoringManager) {
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;
68
69 if (fpCurrentHits) sceneHandler.
AddCompound(*fpCurrentHits);
70 }
71 }
72 }
73 }
74 }
75}
G4VScoringMesh * GetMesh(G4int i) const
size_t GetNumberOfMesh() const
static G4ScoringManager * GetScoringManagerIfExist()
virtual void AddCompound(const G4VTrajectory &)=0
G4THitsMap< G4StatDouble > RunScore
std::map< G4String, RunScore * > MeshScoreMap
MeshScoreMap GetScoreMap() const
const char * name(G4int ptype)
The documentation for this class was generated from the following files: