Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4VScoringMesh.hh>
Public Types | |
enum class | MeshShape { box , cylinder , sphere , realWorldLogVol , probe , undefined = -1 } |
using | EventScore = G4THitsMap< G4double > |
using | RunScore = G4THitsMap< G4StatDouble > |
using | MeshScoreMap = std::map< G4String, RunScore * > |
Protected Member Functions | |
virtual void | SetupGeometry (G4VPhysicalVolume *fWorldPhys)=0 |
Definition at line 53 of file G4VScoringMesh.hh.
using G4VScoringMesh::EventScore = G4THitsMap< G4double > |
Definition at line 57 of file G4VScoringMesh.hh.
using G4VScoringMesh::MeshScoreMap = std::map< G4String, RunScore* > |
Definition at line 59 of file G4VScoringMesh.hh.
using G4VScoringMesh::RunScore = G4THitsMap< G4StatDouble > |
Definition at line 58 of file G4VScoringMesh.hh.
|
strong |
Enumerator | |
---|---|
box | |
cylinder | |
sphere | |
realWorldLogVol | |
probe | |
undefined |
Definition at line 56 of file G4VScoringMesh.hh.
G4VScoringMesh::G4VScoringMesh | ( | const G4String & | wName | ) |
Definition at line 45 of file G4VScoringMesh.cc.
|
virtual |
Definition at line 61 of file G4VScoringMesh.cc.
void G4VScoringMesh::Accumulate | ( | G4THitsMap< G4double > * | map | ) |
Definition at line 314 of file G4VScoringMesh.cc.
void G4VScoringMesh::Accumulate | ( | G4THitsMap< G4StatDouble > * | map | ) |
Definition at line 334 of file G4VScoringMesh.cc.
|
inline |
Definition at line 88 of file G4VScoringMesh.hh.
void G4VScoringMesh::Construct | ( | G4VPhysicalVolume * | fWorldPhys | ) |
Definition at line 354 of file G4VScoringMesh.cc.
Referenced by G4RunManager::ConstructScoringWorlds().
|
pure virtual |
Implemented in G4ScoringProbe, G4ScoringRealWorld, G4ScoringBox, and G4ScoringCylinder.
Referenced by DrawMesh().
|
pure virtual |
Implemented in G4ScoringProbe, G4ScoringRealWorld, G4ScoringBox, and G4ScoringCylinder.
Referenced by DrawMesh().
void G4VScoringMesh::DrawMesh | ( | const G4String & | psName, |
G4int | idxPlane, | ||
G4int | iColumn, | ||
G4VScoreColorMap * | colorMap | ||
) |
Definition at line 301 of file G4VScoringMesh.cc.
void G4VScoringMesh::DrawMesh | ( | const G4String & | psName, |
G4VScoreColorMap * | colorMap, | ||
G4int | axflg = 111 |
||
) |
Definition at line 288 of file G4VScoringMesh.cc.
Referenced by G4VSceneHandler::AddCompound(), and G4ScoringManager::DrawMesh().
void G4VScoringMesh::Dump | ( | ) |
Definition at line 275 of file G4VScoringMesh.cc.
Definition at line 175 of file G4VScoringMesh.cc.
Referenced by G4ScoreQuantityMessenger::CheckMeshPS().
|
inline |
Definition at line 223 of file G4VScoringMesh.hh.
Referenced by G4RunManager::ConstructScoringWorlds(), and G4WorkerRunManager::ConstructScoringWorlds().
|
inline |
Definition at line 236 of file G4VScoringMesh.hh.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
G4String G4VScoringMesh::GetCurrentPSUnit | ( | ) |
Definition at line 190 of file G4VScoringMesh.cc.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
void G4VScoringMesh::GetDivisionAxisNames | ( | G4String | divisionAxisNames[3] | ) |
Definition at line 221 of file G4VScoringMesh.cc.
Referenced by G4VScoreWriter::DumpAllQuantitiesToFile(), and G4VScoreWriter::DumpQuantityToFile().
|
inline |
Definition at line 212 of file G4VScoringMesh.hh.
Referenced by G4WorkerRunManager::ConstructScoringWorlds().
void G4VScoringMesh::GetNumberOfSegments | ( | G4int | nSegment[3] | ) |
Definition at line 105 of file G4VScoringMesh.cc.
Referenced by G4GMocrenFileSceneHandler::AddSolid(), G4ScoreQuantityMessenger::SetNewValue(), and G4VScoreWriter::SetScoringMesh().
|
inline |
Definition at line 221 of file G4VScoringMesh.hh.
Referenced by G4RunManager::ConstructScoringWorlds(), and G4WorkerRunManager::ConstructScoringWorlds().
G4VPrimitiveScorer * G4VScoringMesh::GetPrimitiveScorer | ( | const G4String & | name | ) |
Definition at line 225 of file G4VScoringMesh.cc.
Referenced by GetPSUnit(), GetPSUnitValue(), and SetCurrentPrimitiveScorer().
Definition at line 181 of file G4VScoringMesh.cc.
Referenced by DrawMesh(), G4VScoreWriter::DumpAllQuantitiesToFile(), and G4VScoreWriter::DumpQuantityToFile().
Definition at line 212 of file G4VScoringMesh.cc.
Referenced by DrawMesh(), G4VScoreWriter::DumpAllQuantitiesToFile(), and G4VScoreWriter::DumpQuantityToFile().
|
inline |
Definition at line 128 of file G4VScoringMesh.hh.
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
inline |
Definition at line 171 of file G4VScoringMesh.hh.
Referenced by G4VSceneHandler::AddCompound(), G4PSHitsModel::DescribeYourselfTo(), G4VScoreWriter::DumpAllQuantitiesToFile(), G4VScoreWriter::DumpQuantityToFile(), and Merge().
|
inline |
Definition at line 91 of file G4VScoringMesh.hh.
Referenced by G4RunManager::ConstructScoringWorlds(), G4WorkerRunManager::ConstructScoringWorlds(), G4ScoreQuantityMessenger::SetNewValue(), and G4ScoringMessenger::SetNewValue().
G4ThreeVector G4VScoringMesh::GetSize | ( | ) | const |
Definition at line 85 of file G4VScoringMesh.cc.
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 120 of file G4VScoringMesh.hh.
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
inline |
Definition at line 82 of file G4VScoringMesh.hh.
Referenced by G4VScoreWriter::DumpAllQuantitiesToFile(), G4VScoreWriter::DumpQuantityToFile(), and G4ScoringMessenger::SetNewValue().
|
inline |
Definition at line 85 of file G4VScoringMesh.hh.
Referenced by G4VSceneHandler::AddCompound(), and G4PSHitsModel::DescribeYourselfTo().
|
inline |
Definition at line 147 of file G4VScoringMesh.hh.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 245 of file G4VScoringMesh.hh.
Referenced by G4RunManager::ConstructScoringWorlds(), and G4WorkerRunManager::ConstructScoringWorlds().
|
virtual |
Reimplemented in G4ScoringBox, G4ScoringCylinder, G4ScoringProbe, and G4ScoringRealWorld.
Definition at line 236 of file G4VScoringMesh.cc.
Referenced by G4ScoringBox::List(), G4ScoringCylinder::List(), G4ScoringProbe::List(), and G4ScoringRealWorld::List().
void G4VScoringMesh::Merge | ( | const G4VScoringMesh * | scMesh | ) |
Definition at line 390 of file G4VScoringMesh.cc.
Referenced by G4ScoringManager::Merge().
|
inline |
void G4VScoringMesh::ResetScore | ( | ) |
Definition at line 65 of file G4VScoringMesh.cc.
Referenced by Construct(), and WorkerConstruct().
void G4VScoringMesh::RotateX | ( | G4double | delta | ) |
Definition at line 108 of file G4VScoringMesh.cc.
Referenced by G4ScoringMessenger::SetNewValue().
void G4VScoringMesh::RotateY | ( | G4double | delta | ) |
Definition at line 113 of file G4VScoringMesh.cc.
Referenced by G4ScoringMessenger::SetNewValue().
void G4VScoringMesh::RotateZ | ( | G4double | delta | ) |
Definition at line 118 of file G4VScoringMesh.cc.
Referenced by G4ScoringMessenger::SetNewValue().
void G4VScoringMesh::SetCenterPosition | ( | G4double | centerPosition[3] | ) |
Definition at line 91 of file G4VScoringMesh.cc.
Referenced by G4ScoringMessenger::SetNewValue().
|
inline |
Definition at line 234 of file G4VScoringMesh.hh.
void G4VScoringMesh::SetCurrentPrimitiveScorer | ( | const G4String & | name | ) |
Definition at line 167 of file G4VScoringMesh.cc.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
void G4VScoringMesh::SetCurrentPSUnit | ( | const G4String & | unit | ) |
Definition at line 202 of file G4VScoringMesh.cc.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 160 of file G4VScoringMesh.hh.
void G4VScoringMesh::SetFilter | ( | G4VSDFilter * | filter | ) |
Definition at line 147 of file G4VScoringMesh.cc.
Referenced by G4ScoreQuantityMessenger::FParticleCommand(), G4ScoreQuantityMessenger::FParticleWithEnergyCommand(), and G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 210 of file G4VScoringMesh.hh.
Referenced by G4WorkerRunManager::ConstructScoringWorlds().
|
inline |
Definition at line 166 of file G4VScoringMesh.hh.
Referenced by G4ScoreQuantityMessenger::CheckMeshPS().
void G4VScoringMesh::SetNumberOfSegments | ( | G4int | nSegment[3] | ) |
Definition at line 94 of file G4VScoringMesh.cc.
Referenced by G4ScoringProbe::G4ScoringProbe(), G4ScoringRealWorld::G4ScoringRealWorld(), G4ScoringProbe::LocateProbe(), G4ScoringMessenger::MeshBinCommand(), and G4ScoringRealWorld::SetupGeometry().
|
inline |
Definition at line 219 of file G4VScoringMesh.hh.
Referenced by G4RunManager::ConstructScoringWorlds(), and G4WorkerRunManager::ConstructScoringWorlds().
void G4VScoringMesh::SetPrimitiveScorer | ( | G4VPrimitiveScorer * | ps | ) |
Definition at line 123 of file G4VScoringMesh.cc.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
void G4VScoringMesh::SetSize | ( | G4double | size[3] | ) |
Definition at line 74 of file G4VScoringMesh.cc.
Referenced by G4ScoringProbe::G4ScoringProbe(), G4ScoringRealWorld::G4ScoringRealWorld(), and G4ScoringMessenger::SetNewValue().
|
protectedpure virtual |
Implemented in G4ScoringProbe, G4ScoringRealWorld, G4ScoringBox, and G4ScoringCylinder.
Referenced by Construct().
|
inline |
Definition at line 168 of file G4VScoringMesh.hh.
Referenced by G4ScoringManager::RegisterScoringMesh().
void G4VScoringMesh::WorkerConstruct | ( | G4VPhysicalVolume * | fWorldPhys | ) |
Definition at line 372 of file G4VScoringMesh.cc.
Referenced by G4WorkerRunManager::ConstructScoringWorlds().
|
protected |
Definition at line 230 of file G4VScoringMesh.hh.
Referenced by GetCopyNumberLevel(), and SetCopyNumberLevel().
|
protected |
Definition at line 185 of file G4VScoringMesh.hh.
Referenced by Activate(), and IsActive().
|
protected |
Definition at line 189 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), GetTranslation(), List(), SetCenterPosition(), G4ScoringBox::SetupGeometry(), and G4ScoringCylinder::SetupGeometry().
|
protected |
Definition at line 184 of file G4VScoringMesh.hh.
Referenced by Construct(), and WorkerConstruct().
|
protected |
Definition at line 183 of file G4VScoringMesh.hh.
Referenced by GetCurrentPSUnit(), IsCurrentPrimitiveScorerNull(), SetCurrentPrimitiveScorer(), SetCurrentPSUnit(), SetFilter(), SetNullToCurrentPrimitiveScorer(), and SetPrimitiveScorer().
|
protected |
Definition at line 205 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::G4ScoringBox(), G4ScoringCylinder::G4ScoringCylinder(), G4VScoringMesh(), and GetDivisionAxisNames().
|
protected |
Definition at line 203 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), DrawMesh(), and SetDrawPSName().
|
protected |
Definition at line 201 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), and DrawMesh().
|
protected |
Definition at line 202 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), and DrawMesh().
|
protected |
Definition at line 217 of file G4VScoringMesh.hh.
Referenced by Construct(), GeometryHasBeenDestroyed(), and WorkerConstruct().
|
protected |
Definition at line 193 of file G4VScoringMesh.hh.
Referenced by Accumulate(), DrawMesh(), Dump(), FindPrimitiveScorer(), GetPSUnit(), GetPSUnitValue(), GetScoreMap(), Merge(), ResetScore(), and SetPrimitiveScorer().
|
protected |
Definition at line 207 of file G4VScoringMesh.hh.
Referenced by GeometryHasBeenDestroyed(), GetMeshElementLogical(), SetMeshElementLogical(), G4ScoringProbe::SetupGeometry(), G4ScoringRealWorld::SetupGeometry(), G4ScoringBox::SetupGeometry(), G4ScoringCylinder::SetupGeometry(), and WorkerConstruct().
|
protected |
Definition at line 194 of file G4VScoringMesh.hh.
Referenced by G4VScoringMesh(), GetPrimitiveScorer(), List(), SetPrimitiveScorer(), G4ScoringProbe::SetupGeometry(), G4ScoringRealWorld::SetupGeometry(), G4ScoringBox::SetupGeometry(), G4ScoringCylinder::SetupGeometry(), and WorkerConstruct().
|
protected |
Definition at line 191 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), G4VScoringMesh(), GetNumberOfSegments(), G4ScoringCylinder::GetRZPhi(), List(), SetNumberOfSegments(), SetPrimitiveScorer(), G4ScoringBox::SetupGeometry(), and G4ScoringCylinder::SetupGeometry().
|
protected |
Definition at line 216 of file G4VScoringMesh.hh.
Referenced by GetParallelWorldProcess(), and SetParallelWorldProcess().
|
protected |
Definition at line 190 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), GetRotationMatrix(), List(), RotateX(), RotateY(), RotateZ(), G4ScoringBox::SetupGeometry(), and G4ScoringCylinder::SetupGeometry().
|
protected |
Definition at line 186 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::G4ScoringBox(), G4ScoringCylinder::G4ScoringCylinder(), G4ScoringProbe::G4ScoringProbe(), G4ScoringRealWorld::G4ScoringRealWorld(), GetShape(), and SetNumberOfSegments().
|
protected |
Definition at line 188 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), G4VScoringMesh(), GetSize(), G4ScoringBox::List(), G4ScoringCylinder::List(), G4ScoringCylinder::SetRMax(), SetSize(), G4ScoringBox::SetupGeometry(), G4ScoringCylinder::SetupGeometry(), and G4ScoringCylinder::SetZSize().
|
protected |
Definition at line 182 of file G4VScoringMesh.hh.
Referenced by Construct(), Dump(), GetWorldName(), G4ScoringBox::List(), G4ScoringCylinder::List(), SetPrimitiveScorer(), G4ScoringBox::SetupGeometry(), and G4ScoringCylinder::SetupGeometry().
|
protected |
Definition at line 243 of file G4VScoringMesh.hh.
Referenced by LayeredMassFlg(), and G4ScoringProbe::SetMaterial().
|
protected |
Definition at line 199 of file G4VScoringMesh.hh.
Referenced by ReadyForQuantity(), and SetNumberOfSegments().
|
protected |
Definition at line 198 of file G4VScoringMesh.hh.
Referenced by GetSize(), ReadyForQuantity(), and SetSize().
|
protected |
Definition at line 196 of file G4VScoringMesh.hh.
Referenced by Accumulate(), Construct(), Merge(), ResetScore(), SetFilter(), SetPrimitiveScorer(), G4ScoringBox::SetupGeometry(), G4ScoringCylinder::SetupGeometry(), SetVerboseLevel(), and WorkerConstruct().