Geant4 11.2.2
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 45 of file G4VScoringMesh.cc.
|
virtualdefault |
void G4VScoringMesh::Accumulate | ( | G4THitsMap< G4double > * | map | ) |
Definition at line 383 of file G4VScoringMesh.cc.
void G4VScoringMesh::Accumulate | ( | G4THitsMap< G4StatDouble > * | map | ) |
Definition at line 407 of file G4VScoringMesh.cc.
|
inline |
Definition at line 89 of file G4VScoringMesh.hh.
|
virtual |
Definition at line 431 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 365 of file G4VScoringMesh.cc.
void G4VScoringMesh::DrawMesh | ( | const G4String & | psName, |
G4VScoreColorMap * | colorMap, | ||
G4int | axflg = 111 ) |
Definition at line 347 of file G4VScoringMesh.cc.
Referenced by G4VSceneHandler::AddCompound(), G4VSceneHandler::AddCompound(), G4ScoringManager::DrawMesh(), and G4ScoringManager::DrawMesh().
void G4VScoringMesh::Dump | ( | ) |
Definition at line 335 of file G4VScoringMesh.cc.
Definition at line 225 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 242 of file G4VScoringMesh.cc.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
void G4VScoringMesh::GetDivisionAxisNames | ( | G4String | divisionAxisNames[3] | ) |
Definition at line 283 of file G4VScoringMesh.cc.
Referenced by G4VScoreWriter::DumpAllQuantitiesToFile(), and G4VScoreWriter::DumpQuantityToFile().
|
inline |
Definition at line 192 of file G4VScoringMesh.hh.
Referenced by G4WorkerRunManager::ConstructScoringWorlds().
void G4VScoringMesh::GetNumberOfSegments | ( | G4int | nSegment[3] | ) |
Definition at line 141 of file G4VScoringMesh.cc.
Referenced by G4GMocrenFileSceneHandler::AddSolid(), G4ScoreQuantityMessenger::SetNewValue(), and G4VScoreWriter::SetScoringMesh().
|
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 289 of file G4VScoringMesh.cc.
Referenced by GetPSUnit(), GetPSUnitValue(), and SetCurrentPrimitiveScorer().
Definition at line 231 of file G4VScoringMesh.cc.
Referenced by DrawMesh(), DrawMesh(), G4VScoreWriter::DumpAllQuantitiesToFile(), and G4VScoreWriter::DumpQuantityToFile().
Definition at line 272 of file G4VScoringMesh.cc.
Referenced by DrawMesh(), DrawMesh(), G4VScoreWriter::DumpAllQuantitiesToFile(), and G4VScoreWriter::DumpQuantityToFile().
|
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(), 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 104 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 |
Definition at line 85 of file G4VScoringMesh.hh.
Referenced by G4VScoreWriter::DumpAllQuantitiesToFile(), G4VScoreWriter::DumpQuantityToFile(), and G4ScoringMessenger::SetNewValue().
|
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 305 of file G4VScoringMesh.cc.
Referenced by G4ScoringBox::List(), G4ScoringCylinder::List(), G4ScoringProbe::List(), and G4ScoringRealWorld::List().
void G4VScoringMesh::Merge | ( | const G4VScoringMesh * | scMesh | ) |
Definition at line 473 of file G4VScoringMesh.cc.
Referenced by G4ScoringManager::Merge().
|
inline |
void G4VScoringMesh::ResetScore | ( | ) |
Definition at line 73 of file G4VScoringMesh.cc.
Referenced by Construct(), and WorkerConstruct().
void G4VScoringMesh::RotateX | ( | G4double | delta | ) |
Definition at line 147 of file G4VScoringMesh.cc.
Referenced by G4ScoringMessenger::SetNewValue().
void G4VScoringMesh::RotateY | ( | G4double | delta | ) |
Definition at line 154 of file G4VScoringMesh.cc.
Referenced by G4ScoringMessenger::SetNewValue().
void G4VScoringMesh::RotateZ | ( | G4double | delta | ) |
Definition at line 161 of file G4VScoringMesh.cc.
Referenced by G4ScoringMessenger::SetNewValue().
Definition at line 111 of file G4VScoringMesh.cc.
Referenced by G4ScoringMessenger::SetNewValue().
void G4VScoringMesh::SetCenterPosition | ( | G4double | centerPosition[3] | ) |
Definition at line 117 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 214 of file G4VScoringMesh.cc.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
void G4VScoringMesh::SetCurrentPSUnit | ( | const G4String & | unit | ) |
Definition at line 258 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 192 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 123 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 168 of file G4VScoringMesh.cc.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
void G4VScoringMesh::SetSize | ( | G4double | size[3] | ) |
Definition at line 85 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 451 of file G4VScoringMesh.cc.
Referenced by G4WorkerRunManager::ConstructScoringWorlds().
|
protected |
Definition at line 254 of file G4VScoringMesh.hh.
Referenced by GetCopyNumberLevel(), and SetCopyNumberLevel().
|
protected |
Definition at line 226 of file G4VScoringMesh.hh.
Referenced by Activate(), and IsActive().
|
protected |
Definition at line 230 of file G4VScoringMesh.hh.
Referenced by G4ScoringCylinder::Draw(), G4ScoringCylinder::DrawColumn(), G4VScoringMesh(), GetAngleSpan(), GetStartAngle(), G4ScoringCylinder::List(), SetAngles(), and G4ScoringCylinder::SetupGeometry().
|
protected |
Definition at line 231 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 225 of file G4VScoringMesh.hh.
Referenced by Construct(), and WorkerConstruct().
|
protected |
Definition at line 224 of file G4VScoringMesh.hh.
Referenced by GetCurrentPSUnit(), IsCurrentPrimitiveScorerNull(), SetCurrentPrimitiveScorer(), SetCurrentPSUnit(), SetFilter(), SetNullToCurrentPrimitiveScorer(), and SetPrimitiveScorer().
|
protected |
Definition at line 247 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::G4ScoringBox(), G4ScoringCylinder::G4ScoringCylinder(), G4VScoringMesh(), and GetDivisionAxisNames().
|
protected |
Definition at line 245 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), DrawMesh(), DrawMesh(), and SetDrawPSName().
|
protected |
Definition at line 243 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), DrawMesh(), and DrawMesh().
|
protected |
Definition at line 244 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::Draw(), G4ScoringCylinder::Draw(), G4ScoringBox::DrawColumn(), G4ScoringCylinder::DrawColumn(), DrawMesh(), and DrawMesh().
|
protected |
Definition at line 252 of file G4VScoringMesh.hh.
Referenced by Construct(), GeometryHasBeenDestroyed(), and WorkerConstruct().
|
protected |
Definition at line 235 of file G4VScoringMesh.hh.
Referenced by Accumulate(), Accumulate(), DrawMesh(), DrawMesh(), Dump(), FindPrimitiveScorer(), GetPSUnit(), GetPSUnitValue(), GetScoreMap(), Merge(), ResetScore(), and SetPrimitiveScorer().
|
protected |
Definition at line 249 of file G4VScoringMesh.hh.
Referenced by GeometryHasBeenDestroyed(), GetMeshElementLogical(), SetMeshElementLogical(), G4ScoringBox::SetupGeometry(), G4ScoringCylinder::SetupGeometry(), G4ScoringProbe::SetupGeometry(), G4ScoringRealWorld::SetupGeometry(), and WorkerConstruct().
|
protected |
Definition at line 236 of file G4VScoringMesh.hh.
Referenced by G4VScoringMesh(), GetPrimitiveScorer(), List(), SetPrimitiveScorer(), G4ScoringBox::SetupGeometry(), G4ScoringCylinder::SetupGeometry(), G4ScoringProbe::SetupGeometry(), G4ScoringRealWorld::SetupGeometry(), and WorkerConstruct().
|
protected |
Definition at line 233 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 251 of file G4VScoringMesh.hh.
Referenced by GetParallelWorldProcess(), and SetParallelWorldProcess().
|
protected |
Definition at line 232 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 227 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::G4ScoringBox(), G4ScoringCylinder::G4ScoringCylinder(), G4ScoringProbe::G4ScoringProbe(), G4ScoringRealWorld::G4ScoringRealWorld(), GetShape(), and SetNumberOfSegments().
|
protected |
Definition at line 229 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 223 of file G4VScoringMesh.hh.
Referenced by Construct(), Dump(), GetWorldName(), G4ScoringBox::List(), G4ScoringCylinder::List(), SetPrimitiveScorer(), G4ScoringBox::SetupGeometry(), and G4ScoringCylinder::SetupGeometry().
|
protected |
Definition at line 259 of file G4VScoringMesh.hh.
Referenced by LayeredMassFlg(), and G4ScoringProbe::SetMaterial().
|
protected |
Definition at line 241 of file G4VScoringMesh.hh.
Referenced by ReadyForQuantity(), and SetNumberOfSegments().
|
protected |
Definition at line 240 of file G4VScoringMesh.hh.
Referenced by GetSize(), ReadyForQuantity(), and SetSize().
|
protected |
Definition at line 238 of file G4VScoringMesh.hh.
Referenced by Accumulate(), Accumulate(), Construct(), Merge(), ResetScore(), SetFilter(), SetPrimitiveScorer(), G4ScoringBox::SetupGeometry(), G4ScoringCylinder::SetupGeometry(), SetVerboseLevel(), and WorkerConstruct().