#include <G4PSHitsModel.hh>
Definition at line 41 of file G4PSHitsModel.hh.
G4PSHitsModel::G4PSHitsModel |
( |
const G4String & |
requestedMapName = "all" | ) |
|
Definition at line 43 of file G4PSHitsModel.cc.
44 fRequestedMapName(requestedMapName)
46 fType =
"G4PSHitsModel";
47 fGlobalTag =
"G4PSHitsModel for G4THitsMap<G4StatDouble> hits.";
G4String fGlobalDescription
G4PSHitsModel::~G4PSHitsModel |
( |
| ) |
|
|
virtual |
Implements G4VModel.
Definition at line 51 of file G4PSHitsModel.cc.
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) {
67 if (fpCurrentHits) sceneHandler.
AddCompound(*fpCurrentHits);
static G4ScoringManager * GetScoringManagerIfExist()
virtual void AddCompound(const G4VTrajectory &)=0
MeshScoreMap GetScoreMap() const
size_t GetNumberOfMesh() const
G4VScoringMesh * GetMesh(G4int i) const
std::map< G4String, RunScore * > MeshScoreMap
The documentation for this class was generated from the following files: