Geant4 11.3.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 54 of file G4VScoringMesh.hh.
using G4VScoringMesh::EventScore = G4THitsMap<G4double> |
Definition at line 66 of file G4VScoringMesh.hh.
using G4VScoringMesh::MeshScoreMap = std::map<G4String, RunScore*> |
Definition at line 68 of file G4VScoringMesh.hh.
Definition at line 67 of file G4VScoringMesh.hh.
|
strong |
Enumerator | |
---|---|
box | |
cylinder | |
sphere | |
realWorldLogVol | |
probe | |
undefined |
Definition at line 57 of file G4VScoringMesh.hh.
G4VScoringMesh::G4VScoringMesh | ( | const G4String & | wName | ) |
Definition at line 38 of file G4VScoringMesh.cc.
Referenced by G4ScoringBox::G4ScoringBox(), G4ScoringCylinder::G4ScoringCylinder(), G4ScoringProbe::G4ScoringProbe(), G4ScoringRealWorld::G4ScoringRealWorld(), and Merge().
|
virtualdefault |
void G4VScoringMesh::Accumulate | ( | G4THitsMap< G4double > * | map | ) |
Definition at line 376 of file G4VScoringMesh.cc.
void G4VScoringMesh::Accumulate | ( | G4THitsMap< G4StatDouble > * | map | ) |
Definition at line 400 of file G4VScoringMesh.cc.
|
inline |
Definition at line 89 of file G4VScoringMesh.hh.
|
virtual |
Definition at line 424 of file G4VScoringMesh.cc.
Referenced by G4RunManager::ConstructScoringWorlds().
|
pure virtual |
Implemented in G4ScoringBox, G4ScoringCylinder, G4ScoringProbe, and G4ScoringRealWorld.
Referenced by DrawMesh().
|
pure virtual |
Implemented in G4ScoringBox, G4ScoringCylinder, G4ScoringProbe, and G4ScoringRealWorld.
Referenced by DrawMesh().
void G4VScoringMesh::DrawMesh | ( | const G4String & | psName, |
G4int | idxPlane, | ||
G4int | iColumn, | ||
G4VScoreColorMap * | colorMap ) |
Definition at line 358 of file G4VScoringMesh.cc.
void G4VScoringMesh::DrawMesh | ( | const G4String & | psName, |
G4VScoreColorMap * | colorMap, | ||
G4int | axflg = 111 ) |
Definition at line 340 of file G4VScoringMesh.cc.
Referenced by G4VSceneHandler::AddCompound(), G4VSceneHandler::AddCompound(), G4ScoringManager::DrawMesh(), and G4ScoringManager::DrawMesh().
void G4VScoringMesh::Dump | ( | ) |
Definition at line 328 of file G4VScoringMesh.cc.
Definition at line 218 of file G4VScoringMesh.cc.
Referenced by G4ScoreQuantityMessenger::CheckMeshPS().
|
inline |
Definition at line 205 of file G4VScoringMesh.hh.
Referenced by G4RunManager::ConstructScoringWorlds(), and G4WorkerRunManager::ConstructScoringWorlds().
|
inline |
Definition at line 123 of file G4VScoringMesh.hh.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 214 of file G4VScoringMesh.hh.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
G4String G4VScoringMesh::GetCurrentPSUnit | ( | ) |
Definition at line 235 of file G4VScoringMesh.cc.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
void G4VScoringMesh::GetDivisionAxisNames | ( | G4String | divisionAxisNames[3] | ) |
Definition at line 276 of file G4VScoringMesh.cc.
|
inline |
Definition at line 192 of file G4VScoringMesh.hh.
Referenced by G4WorkerRunManager::ConstructScoringWorlds().
void G4VScoringMesh::GetNumberOfSegments | ( | G4int | nSegment[3] | ) |
Definition at line 134 of file G4VScoringMesh.cc.
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 201 of file G4VScoringMesh.hh.
Referenced by G4RunManager::ConstructScoringWorlds(), and G4WorkerRunManager::ConstructScoringWorlds().
G4VPrimitiveScorer * G4VScoringMesh::GetPrimitiveScorer | ( | const G4String & | name | ) |
Definition at line 282 of file G4VScoringMesh.cc.
Referenced by GetPSUnit(), GetPSUnitValue(), and SetCurrentPrimitiveScorer().
Definition at line 224 of file G4VScoringMesh.cc.
Referenced by DrawMesh(), and DrawMesh().
Definition at line 265 of file G4VScoringMesh.cc.
Referenced by DrawMesh(), and DrawMesh().
|
inline |
Definition at line 135 of file G4VScoringMesh.hh.
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
inline |
Definition at line 180 of file G4VScoringMesh.hh.
Referenced by G4VSceneHandler::AddCompound(), G4VSceneHandler::AddCompound(), G4PSHitsModel::DescribeYourselfTo(), 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 97 of file G4VScoringMesh.cc.
Referenced by G4GMocrenFileSceneHandler::AddSolid(), G4ScoreQuantityMessenger::SetNewValue(), and G4ScoringMessenger::SetNewValue().
|
inline |
Definition at line 122 of file G4VScoringMesh.hh.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 127 of file G4VScoringMesh.hh.
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
inline |
|
inline |
Definition at line 87 of file G4VScoringMesh.hh.
Referenced by G4VSceneHandler::AddCompound(), G4VSceneHandler::AddCompound(), and G4PSHitsModel::DescribeYourselfTo().
|
inline |
Definition at line 157 of file G4VScoringMesh.hh.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 216 of file G4VScoringMesh.hh.
Referenced by G4RunManager::ConstructScoringWorlds(), and G4WorkerRunManager::ConstructScoringWorlds().
|
virtual |
Reimplemented in G4ScoringBox, G4ScoringCylinder, G4ScoringProbe, and G4ScoringRealWorld.
Definition at line 298 of file G4VScoringMesh.cc.
Referenced by G4ScoringBox::List(), G4ScoringCylinder::List(), G4ScoringProbe::List(), and G4ScoringRealWorld::List().
void G4VScoringMesh::Merge | ( | const G4VScoringMesh * | scMesh | ) |
Definition at line 466 of file G4VScoringMesh.cc.
Referenced by G4ScoringManager::Merge().
|
inline |
void G4VScoringMesh::ResetScore | ( | ) |
Definition at line 66 of file G4VScoringMesh.cc.
Referenced by Construct(), and WorkerConstruct().
void G4VScoringMesh::RotateX | ( | G4double | delta | ) |
Definition at line 140 of file G4VScoringMesh.cc.
Referenced by G4ScoringMessenger::SetNewValue().
void G4VScoringMesh::RotateY | ( | G4double | delta | ) |
Definition at line 147 of file G4VScoringMesh.cc.
Referenced by G4ScoringMessenger::SetNewValue().
void G4VScoringMesh::RotateZ | ( | G4double | delta | ) |
Definition at line 154 of file G4VScoringMesh.cc.
Referenced by G4ScoringMessenger::SetNewValue().
Definition at line 104 of file G4VScoringMesh.cc.
Referenced by G4ScoringMessenger::SetNewValue().
void G4VScoringMesh::SetCenterPosition | ( | G4double | centerPosition[3] | ) |
Definition at line 110 of file G4VScoringMesh.cc.
Referenced by G4ScoringMessenger::SetNewValue().
|
inline |
Definition at line 213 of file G4VScoringMesh.hh.
void G4VScoringMesh::SetCurrentPrimitiveScorer | ( | const G4String & | name | ) |
Definition at line 207 of file G4VScoringMesh.cc.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
void G4VScoringMesh::SetCurrentPSUnit | ( | const G4String & | unit | ) |
Definition at line 251 of file G4VScoringMesh.cc.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 170 of file G4VScoringMesh.hh.
void G4VScoringMesh::SetFilter | ( | G4VSDFilter * | filter | ) |
Definition at line 185 of file G4VScoringMesh.cc.
Referenced by G4ScoreQuantityMessenger::FParticleCommand(), G4ScoreQuantityMessenger::FParticleWithEnergyCommand(), and G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 188 of file G4VScoringMesh.hh.
Referenced by G4WorkerRunManager::ConstructScoringWorlds().
|
inline |
Definition at line 176 of file G4VScoringMesh.hh.
Referenced by G4ScoreQuantityMessenger::CheckMeshPS().
void G4VScoringMesh::SetNumberOfSegments | ( | G4int | nSegment[3] | ) |
Definition at line 116 of file G4VScoringMesh.cc.
Referenced by G4ScoringProbe::G4ScoringProbe(), G4ScoringRealWorld::G4ScoringRealWorld(), G4ScoringProbe::LocateProbe(), G4ScoringMessenger::MeshBinCommand(), and G4ScoringRealWorld::SetupGeometry().
|
inline |
Definition at line 197 of file G4VScoringMesh.hh.
Referenced by G4RunManager::ConstructScoringWorlds(), and G4WorkerRunManager::ConstructScoringWorlds().
void G4VScoringMesh::SetPrimitiveScorer | ( | G4VPrimitiveScorer * | ps | ) |
Definition at line 161 of file G4VScoringMesh.cc.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
void G4VScoringMesh::SetSize | ( | G4double | size[3] | ) |
Definition at line 78 of file G4VScoringMesh.cc.
Referenced by G4ScoringProbe::G4ScoringProbe(), G4ScoringRealWorld::G4ScoringRealWorld(), and G4ScoringMessenger::SetNewValue().
|
protectedpure virtual |
Implemented in G4ScoringBox, G4ScoringCylinder, G4ScoringProbe, and G4ScoringRealWorld.
Referenced by Construct().
|
inline |
Definition at line 178 of file G4VScoringMesh.hh.
Referenced by G4ScoringManager::RegisterScoringMesh().
|
virtual |
Definition at line 444 of file G4VScoringMesh.cc.
Referenced by G4WorkerRunManager::ConstructScoringWorlds().
|
protected |
Definition at line 256 of file G4VScoringMesh.hh.
Referenced by G4VScoringMesh(), GetCopyNumberLevel(), and SetCopyNumberLevel().
|
protected |
Definition at line 228 of file G4VScoringMesh.hh.
Referenced by Activate(), G4VScoringMesh(), and IsActive().
|
protected |
Definition at line 232 of file G4VScoringMesh.hh.
Referenced by G4ScoringCylinder::Draw(), G4ScoringCylinder::DrawColumn(), G4VScoringMesh(), GetAngleSpan(), GetStartAngle(), G4ScoringCylinder::List(), SetAngles(), and G4ScoringCylinder::SetupGeometry().
|
protected |
Definition at line 233 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 227 of file G4VScoringMesh.hh.
Referenced by Construct(), G4VScoringMesh(), and WorkerConstruct().
|
protected |
Definition at line 226 of file G4VScoringMesh.hh.
Referenced by G4VScoringMesh(), GetCurrentPSUnit(), IsCurrentPrimitiveScorerNull(), SetCurrentPrimitiveScorer(), SetCurrentPSUnit(), SetFilter(), SetNullToCurrentPrimitiveScorer(), and SetPrimitiveScorer().
|
protected |
Definition at line 249 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::G4ScoringBox(), G4ScoringCylinder::G4ScoringCylinder(), G4VScoringMesh(), and GetDivisionAxisNames().
|
protected |
Definition at line 247 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), DrawMesh(), DrawMesh(), and SetDrawPSName().
|
protected |
Definition at line 245 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), DrawMesh(), DrawMesh(), and G4VScoringMesh().
|
protected |
Definition at line 246 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), DrawMesh(), DrawMesh(), and G4VScoringMesh().
|
protected |
Definition at line 254 of file G4VScoringMesh.hh.
Referenced by Construct(), G4VScoringMesh(), GeometryHasBeenDestroyed(), and WorkerConstruct().
|
protected |
Definition at line 237 of file G4VScoringMesh.hh.
Referenced by Accumulate(), Accumulate(), DrawMesh(), DrawMesh(), Dump(), FindPrimitiveScorer(), GetPSUnit(), GetPSUnitValue(), GetScoreMap(), Merge(), ResetScore(), and SetPrimitiveScorer().
|
protected |
Definition at line 251 of file G4VScoringMesh.hh.
Referenced by G4VScoringMesh(), GeometryHasBeenDestroyed(), GetMeshElementLogical(), SetMeshElementLogical(), G4ScoringBox::SetupGeometry(), G4ScoringCylinder::SetupGeometry(), G4ScoringProbe::SetupGeometry(), G4ScoringRealWorld::SetupGeometry(), and WorkerConstruct().
|
protected |
Definition at line 238 of file G4VScoringMesh.hh.
Referenced by G4VScoringMesh(), GetPrimitiveScorer(), List(), SetPrimitiveScorer(), G4ScoringBox::SetupGeometry(), G4ScoringCylinder::SetupGeometry(), G4ScoringProbe::SetupGeometry(), G4ScoringRealWorld::SetupGeometry(), and WorkerConstruct().
|
protected |
Definition at line 235 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 253 of file G4VScoringMesh.hh.
Referenced by G4VScoringMesh(), GetParallelWorldProcess(), and SetParallelWorldProcess().
|
protected |
Definition at line 234 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), G4VScoringMesh(), GetRotationMatrix(), List(), RotateX(), RotateY(), RotateZ(), G4ScoringBox::SetupGeometry(), and G4ScoringCylinder::SetupGeometry().
|
protected |
Definition at line 229 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::G4ScoringBox(), G4ScoringCylinder::G4ScoringCylinder(), G4ScoringProbe::G4ScoringProbe(), G4ScoringRealWorld::G4ScoringRealWorld(), G4VScoringMesh(), GetShape(), and SetNumberOfSegments().
|
protected |
Definition at line 231 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), G4VScoringMesh(), GetSize(), G4ScoringBox::List(), G4ScoringCylinder::List(), G4ScoringCylinder::SetRMax(), G4ScoringCylinder::SetRMin(), SetSize(), G4ScoringBox::SetupGeometry(), G4ScoringCylinder::SetupGeometry(), and G4ScoringCylinder::SetZSize().
|
protected |
Definition at line 225 of file G4VScoringMesh.hh.
Referenced by Construct(), Dump(), G4VScoringMesh(), GetWorldName(), G4ScoringBox::List(), G4ScoringCylinder::List(), SetPrimitiveScorer(), G4ScoringBox::SetupGeometry(), and G4ScoringCylinder::SetupGeometry().
|
protected |
Definition at line 261 of file G4VScoringMesh.hh.
Referenced by G4VScoringMesh(), LayeredMassFlg(), and G4ScoringProbe::SetMaterial().
|
protected |
Definition at line 243 of file G4VScoringMesh.hh.
Referenced by G4VScoringMesh(), ReadyForQuantity(), and SetNumberOfSegments().
|
protected |
Definition at line 242 of file G4VScoringMesh.hh.
Referenced by G4VScoringMesh(), GetSize(), ReadyForQuantity(), and SetSize().
|
protected |
Definition at line 240 of file G4VScoringMesh.hh.
Referenced by Accumulate(), Accumulate(), Construct(), G4VScoringMesh(), Merge(), ResetScore(), SetFilter(), SetPrimitiveScorer(), G4ScoringBox::SetupGeometry(), G4ScoringCylinder::SetupGeometry(), SetVerboseLevel(), and WorkerConstruct().