Geant4
10.01.p02
|
#include <G4VScoringMesh.hh>
Protected Member Functions | |
virtual void | SetupGeometry (G4VPhysicalVolume *fWorldPhys)=0 |
G4VPrimitiveScorer * | GetPrimitiveScorer (const G4String &name) |
Definition at line 54 of file G4VScoringMesh.hh.
G4VScoringMesh::G4VScoringMesh | ( | const G4String & | wName | ) |
Definition at line 46 of file G4VScoringMesh.cc.
References G4SDManager::AddNewDetector(), fDivisionAxisNames, fMFD, fNSegment, fSize, and G4SDManager::GetSDMpointer().
|
virtual |
Definition at line 60 of file G4VScoringMesh.cc.
void G4VScoringMesh::Accumulate | ( | G4THitsMap< G4double > * | map | ) |
Definition at line 315 of file G4VScoringMesh.cc.
References fMap, G4cout, G4endl, G4VHitsCollection::GetName(), G4THitsMap< T >::GetSize(), G4THitsMap< T >::PrintAllHits(), and verboseLevel.
Referenced by G4ScoringManager::Accumulate(), GammaKnifeController::AccumulateAllHits(), and G4MPIScorerMerger::MergeOneMesh().
|
inline |
Definition at line 81 of file G4VScoringMesh.hh.
References fActive.
void G4VScoringMesh::Construct | ( | G4VPhysicalVolume * | fWorldPhys | ) |
Definition at line 336 of file G4VScoringMesh.cc.
References fConstructed, fGeometryHasBeenDestroyed, G4cout, G4endl, G4VPhysicalVolume::GetName(), ResetScore(), SetupGeometry(), and verboseLevel.
Referenced by G4RunManager::ConstructScoringWorlds().
|
pure virtual |
Implemented in G4ScoringBox, and G4ScoringCylinder.
Referenced by DrawMesh().
|
pure virtual |
Implemented in G4ScoringBox, and G4ScoringCylinder.
Referenced by DrawMesh().
void G4VScoringMesh::DrawMesh | ( | const G4String & | psName, |
G4VScoreColorMap * | colorMap, | ||
G4int | axflg = 111 |
||
) |
Definition at line 289 of file G4VScoringMesh.cc.
References Draw(), fDrawPSName, fDrawUnit, fDrawUnitValue, fMap, G4cerr, G4endl, GetPSUnit(), and GetPSUnitValue().
Referenced by G4VSceneHandler::AddCompound(), and G4ScoringManager::DrawMesh().
void G4VScoringMesh::DrawMesh | ( | const G4String & | psName, |
G4int | idxPlane, | ||
G4int | iColumn, | ||
G4VScoreColorMap * | colorMap | ||
) |
Definition at line 302 of file G4VScoringMesh.cc.
References DrawColumn(), fDrawPSName, fDrawUnit, fDrawUnitValue, fMap, G4cerr, G4endl, GetPSUnit(), and GetPSUnitValue().
void G4VScoringMesh::Dump | ( | ) |
Definition at line 275 of file G4VScoringMesh.cc.
References fMap, fWorldName, G4cout, and G4endl.
Definition at line 173 of file G4VScoringMesh.cc.
References fMap.
Referenced by G4ScoreQuantityMessenger::CheckMeshPS().
|
inline |
Definition at line 213 of file G4VScoringMesh.hh.
Referenced by G4WorkerRunManager::ConstructScoringWorlds(), and G4RunManager::ConstructScoringWorlds().
G4String G4VScoringMesh::GetCurrentPSUnit | ( | ) |
Definition at line 188 of file G4VScoringMesh.cc.
References fCurrentPS, G4cerr, G4endl, and G4VPrimitiveScorer::GetUnit().
Referenced by G4ScoreQuantityMessenger::SetNewValue().
void G4VScoringMesh::GetDivisionAxisNames | ( | G4String | divisionAxisNames[3] | ) |
Definition at line 219 of file G4VScoringMesh.cc.
References fDivisionAxisNames.
Referenced by G4VScoreWriter::DumpAllQuantitiesToFile(), and G4VScoreWriter::DumpQuantityToFile().
|
inline |
Definition at line 202 of file G4VScoringMesh.hh.
References fMeshElementLogical.
Referenced by G4WorkerRunManager::ConstructScoringWorlds().
void G4VScoringMesh::GetNumberOfSegments | ( | G4int | nSegment[3] | ) |
Definition at line 104 of file G4VScoringMesh.cc.
References fNSegment.
Referenced by G4GMocrenFileSceneHandler::AddSolid(), G4ScoreQuantityMessenger::SetNewValue(), and G4VScoreWriter::SetScoringMesh().
|
inline |
Definition at line 211 of file G4VScoringMesh.hh.
References fParallelWorldProcess.
Referenced by G4WorkerRunManager::ConstructScoringWorlds(), and G4RunManager::ConstructScoringWorlds().
|
protected |
Definition at line 223 of file G4VScoringMesh.cc.
References fMFD, G4VPrimitiveScorer::GetName(), G4MultiFunctionalDetector::GetNumberOfPrimitives(), and G4MultiFunctionalDetector::GetPrimitive().
Referenced by GetPSUnit(), GetPSUnitValue(), and SetCurrentPrimitiveScorer().
Definition at line 179 of file G4VScoringMesh.cc.
References fMap, GetPrimitiveScorer(), and G4VPrimitiveScorer::GetUnit().
Referenced by DrawMesh(), G4VScoreWriter::DumpAllQuantitiesToFile(), and G4VScoreWriter::DumpQuantityToFile().
Definition at line 210 of file G4VScoringMesh.cc.
References fMap, GetPrimitiveScorer(), and G4VPrimitiveScorer::GetUnitValue().
Referenced by DrawMesh(), G4VScoreWriter::DumpAllQuantitiesToFile(), and G4VScoreWriter::DumpQuantityToFile().
|
inline |
Definition at line 119 of file G4VScoringMesh.hh.
References fRotationMatrix.
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
inline |
Definition at line 161 of file G4VScoringMesh.hh.
References fMap.
Referenced by G4VSceneHandler::AddCompound(), G4MPIScorerMerger::convertMesh(), G4PSHitsModel::DescribeYourselfTo(), G4VScoreWriter::DumpAllQuantitiesToFile(), G4VScoreWriter::DumpQuantityToFile(), RE03UserScoreWriter::DumpQuantityToFile(), Merge(), G4MPIScorerMerger::MergeOneMesh(), GammaKnifeController::PrepareHitsAccumulation(), and GammaKnifeController::StoreHits().
|
inline |
Definition at line 84 of file G4VScoringMesh.hh.
References fShape.
Referenced by G4ScoreQuantityMessenger::SetNewValue(), and G4ScoringMessenger::SetNewValue().
G4ThreeVector G4VScoringMesh::GetSize | ( | ) | const |
Definition at line 84 of file G4VScoringMesh.cc.
References fSize, and sizeIsSet.
Referenced by G4GMocrenFileSceneHandler::AddSolid(), and G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 111 of file G4VScoringMesh.hh.
References fCenterPosition.
Referenced by G4GMocrenFileSceneHandler::AddSolid().
|
inline |
Definition at line 75 of file G4VScoringMesh.hh.
References fWorldName.
Referenced by G4ScoringManager::Accumulate(), G4VScoreWriter::DumpAllQuantitiesToFile(), G4VScoreWriter::DumpQuantityToFile(), BrachyUserScoreWriter::DumpQuantityToFile(), RE03UserScoreWriter::DumpQuantityToFile(), G4MPIScorerMerger::MergeOneMesh(), and G4ScoringMessenger::SetNewValue().
|
inline |
Definition at line 78 of file G4VScoringMesh.hh.
References fActive.
Referenced by G4VSceneHandler::AddCompound(), and G4PSHitsModel::DescribeYourselfTo().
|
inline |
Definition at line 137 of file G4VScoringMesh.hh.
References fCurrentPS.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
|
virtual |
Reimplemented in G4ScoringBox, and G4ScoringCylinder.
Definition at line 234 of file G4VScoringMesh.cc.
References cm, fCenterPosition, fMFD, fNSegment, fRotationMatrix, G4cout, G4endl, G4VPrimitiveScorer::GetFilter(), G4VSDFilter::GetName(), G4VPrimitiveScorer::GetName(), G4MultiFunctionalDetector::GetNumberOfPrimitives(), and G4MultiFunctionalDetector::GetPrimitive().
Referenced by G4ScoringCylinder::List(), and G4ScoringBox::List().
void G4VScoringMesh::Merge | ( | const G4VScoringMesh * | scMesh | ) |
Definition at line 372 of file G4VScoringMesh.cc.
References fMap, G4cout, G4endl, GetScoreMap(), and verboseLevel.
Referenced by G4ScoringManager::Merge().
|
inline |
Definition at line 164 of file G4VScoringMesh.hh.
References nMeshIsSet, and sizeIsSet.
Referenced by SetPrimitiveScorer().
void G4VScoringMesh::ResetScore | ( | ) |
Definition at line 65 of file G4VScoringMesh.cc.
References fMap, G4cout, G4endl, and verboseLevel.
Referenced by Construct(), and WorkerConstruct().
void G4VScoringMesh::RotateX | ( | G4double | delta | ) |
Definition at line 107 of file G4VScoringMesh.cc.
References fRotationMatrix.
Referenced by GammaKnifeController::RotateBack(), GammaKnifeController::RotateForward(), and G4ScoringMessenger::SetNewValue().
void G4VScoringMesh::RotateY | ( | G4double | delta | ) |
Definition at line 112 of file G4VScoringMesh.cc.
References fRotationMatrix.
Referenced by G4ScoringMessenger::SetNewValue().
void G4VScoringMesh::RotateZ | ( | G4double | delta | ) |
Definition at line 117 of file G4VScoringMesh.cc.
References fRotationMatrix.
Referenced by GammaKnifeController::RotateBack(), GammaKnifeController::RotateForward(), and G4ScoringMessenger::SetNewValue().
void G4VScoringMesh::SetCenterPosition | ( | G4double | centerPosition[3] | ) |
Definition at line 90 of file G4VScoringMesh.cc.
References fCenterPosition.
Referenced by G4ScoringMessenger::SetNewValue().
void G4VScoringMesh::SetCurrentPrimitiveScorer | ( | const G4String & | name | ) |
Definition at line 165 of file G4VScoringMesh.cc.
References fCurrentPS, G4cerr, G4endl, and GetPrimitiveScorer().
Referenced by G4ScoreQuantityMessenger::SetNewValue().
void G4VScoringMesh::SetCurrentPSUnit | ( | const G4String & | unit | ) |
Definition at line 200 of file G4VScoringMesh.cc.
References fCurrentPS, G4cerr, G4endl, and G4VPrimitiveScorer::SetUnit().
Referenced by G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 150 of file G4VScoringMesh.hh.
References fDrawPSName.
void G4VScoringMesh::SetFilter | ( | G4VSDFilter * | filter | ) |
Definition at line 145 of file G4VScoringMesh.cc.
References fCurrentPS, G4cerr, G4cout, G4endl, G4VPrimitiveScorer::GetFilter(), G4VSDFilter::GetName(), G4VPrimitiveScorer::GetName(), G4VPrimitiveScorer::SetFilter(), and verboseLevel.
Referenced by G4ScoreQuantityMessenger::FParticleCommand(), G4ScoreQuantityMessenger::FParticleWithEnergyCommand(), and G4ScoreQuantityMessenger::SetNewValue().
|
inline |
Definition at line 200 of file G4VScoringMesh.hh.
Referenced by G4WorkerRunManager::ConstructScoringWorlds().
|
inline |
Definition at line 156 of file G4VScoringMesh.hh.
References fCurrentPS.
Referenced by G4ScoreQuantityMessenger::CheckMeshPS().
void G4VScoringMesh::SetNumberOfSegments | ( | G4int | nSegment[3] | ) |
Definition at line 93 of file G4VScoringMesh.cc.
References fNSegment, G4Exception(), JustWarning, and nMeshIsSet.
Referenced by G4ScoringMessenger::MeshBinCommand().
|
inline |
Definition at line 209 of file G4VScoringMesh.hh.
Referenced by G4WorkerRunManager::ConstructScoringWorlds(), and G4RunManager::ConstructScoringWorlds().
void G4VScoringMesh::SetPrimitiveScorer | ( | G4VPrimitiveScorer * | ps | ) |
Definition at line 122 of file G4VScoringMesh.cc.
References fCurrentPS, fMap, fMFD, fNSegment, fWorldName, G4cerr, G4cout, G4endl, G4VPrimitiveScorer::GetName(), ReadyForQuantity(), G4MultiFunctionalDetector::RegisterPrimitive(), G4VPrimitiveScorer::SetNijk(), and verboseLevel.
Referenced by G4ScoreQuantityMessenger::SetNewValue().
void G4VScoringMesh::SetSize | ( | G4double | size[3] | ) |
Definition at line 73 of file G4VScoringMesh.cc.
References fSize, G4Exception(), JustWarning, and sizeIsSet.
Referenced by G4ScoringMessenger::SetNewValue().
|
protectedpure virtual |
Implemented in G4ScoringBox, and G4ScoringCylinder.
Referenced by Construct().
|
inline |
Definition at line 158 of file G4VScoringMesh.hh.
References verboseLevel.
Referenced by G4ScoringManager::RegisterScoringMesh().
void G4VScoringMesh::WorkerConstruct | ( | G4VPhysicalVolume * | fWorldPhys | ) |
Definition at line 354 of file G4VScoringMesh.cc.
References fConstructed, fGeometryHasBeenDestroyed, fMeshElementLogical, fMFD, G4cout, G4endl, G4VPhysicalVolume::GetName(), ResetScore(), G4LogicalVolume::SetSensitiveDetector(), and verboseLevel.
Referenced by G4WorkerRunManager::ConstructScoringWorlds().
|
protected |
Definition at line 175 of file G4VScoringMesh.hh.
Referenced by Activate(), and IsActive().
|
protected |
Definition at line 179 of file G4VScoringMesh.hh.
Referenced by G4ScoringCylinder::Draw(), G4ScoringBox::Draw(), G4ScoringCylinder::DrawColumn(), G4ScoringBox::DrawColumn(), GetTranslation(), List(), SetCenterPosition(), G4ScoringCylinder::SetupGeometry(), and G4ScoringBox::SetupGeometry().
|
protected |
Definition at line 174 of file G4VScoringMesh.hh.
Referenced by Construct(), and WorkerConstruct().
|
protected |
Definition at line 173 of file G4VScoringMesh.hh.
Referenced by GetCurrentPSUnit(), IsCurrentPrimitiveScorerNull(), SetCurrentPrimitiveScorer(), SetCurrentPSUnit(), SetFilter(), SetNullToCurrentPrimitiveScorer(), and SetPrimitiveScorer().
|
protected |
Definition at line 195 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::G4ScoringBox(), G4ScoringCylinder::G4ScoringCylinder(), G4VScoringMesh(), and GetDivisionAxisNames().
|
protected |
Definition at line 193 of file G4VScoringMesh.hh.
Referenced by G4ScoringCylinder::Draw(), G4ScoringBox::Draw(), G4ScoringCylinder::DrawColumn(), G4ScoringBox::DrawColumn(), DrawMesh(), and SetDrawPSName().
|
protected |
Definition at line 191 of file G4VScoringMesh.hh.
Referenced by G4ScoringCylinder::Draw(), G4ScoringBox::Draw(), G4ScoringCylinder::DrawColumn(), G4ScoringBox::DrawColumn(), and DrawMesh().
|
protected |
Definition at line 192 of file G4VScoringMesh.hh.
Referenced by G4ScoringCylinder::Draw(), G4ScoringBox::Draw(), G4ScoringCylinder::DrawColumn(), G4ScoringBox::DrawColumn(), and DrawMesh().
|
protected |
Definition at line 207 of file G4VScoringMesh.hh.
Referenced by Construct(), and WorkerConstruct().
|
protected |
Definition at line 183 of file G4VScoringMesh.hh.
Referenced by Accumulate(), DrawMesh(), Dump(), FindPrimitiveScorer(), GetPSUnit(), GetPSUnitValue(), GetScoreMap(), Merge(), ResetScore(), and SetPrimitiveScorer().
|
protected |
Definition at line 197 of file G4VScoringMesh.hh.
Referenced by GetMeshElementLogical(), G4ScoringCylinder::SetupGeometry(), G4ScoringBox::SetupGeometry(), and WorkerConstruct().
|
protected |
Definition at line 184 of file G4VScoringMesh.hh.
Referenced by G4VScoringMesh(), GetPrimitiveScorer(), List(), SetPrimitiveScorer(), G4ScoringCylinder::SetupGeometry(), G4ScoringBox::SetupGeometry(), and WorkerConstruct().
|
protected |
Definition at line 181 of file G4VScoringMesh.hh.
Referenced by G4ScoringCylinder::Draw(), G4ScoringBox::Draw(), G4ScoringCylinder::DrawColumn(), G4ScoringBox::DrawColumn(), G4VScoringMesh(), G4ScoringBox::GetIndex(), GetNumberOfSegments(), G4ScoringBox::GetReplicaPosition(), G4ScoringBox::GetXYZ(), List(), SetNumberOfSegments(), SetPrimitiveScorer(), G4ScoringCylinder::SetupGeometry(), and G4ScoringBox::SetupGeometry().
|
protected |
Definition at line 206 of file G4VScoringMesh.hh.
Referenced by GetParallelWorldProcess().
|
protected |
Definition at line 180 of file G4VScoringMesh.hh.
Referenced by G4ScoringCylinder::Draw(), G4ScoringBox::Draw(), G4ScoringCylinder::DrawColumn(), G4ScoringBox::DrawColumn(), GetRotationMatrix(), List(), RotateX(), RotateY(), RotateZ(), G4ScoringCylinder::SetupGeometry(), and G4ScoringBox::SetupGeometry().
|
protected |
Definition at line 176 of file G4VScoringMesh.hh.
Referenced by G4ScoringBox::G4ScoringBox(), G4ScoringCylinder::G4ScoringCylinder(), and GetShape().
|
protected |
Definition at line 178 of file G4VScoringMesh.hh.
Referenced by G4ScoringCylinder::Draw(), G4ScoringBox::Draw(), G4ScoringCylinder::DrawColumn(), G4ScoringBox::DrawColumn(), G4VScoringMesh(), G4ScoringBox::GetReplicaPosition(), GetSize(), G4ScoringCylinder::List(), G4ScoringBox::List(), G4ScoringCylinder::SetRMax(), SetSize(), G4ScoringCylinder::SetupGeometry(), G4ScoringBox::SetupGeometry(), and G4ScoringCylinder::SetZSize().
|
protected |
Definition at line 172 of file G4VScoringMesh.hh.
Referenced by Dump(), GetWorldName(), G4ScoringCylinder::List(), G4ScoringBox::List(), SetPrimitiveScorer(), G4ScoringCylinder::SetupGeometry(), and G4ScoringBox::SetupGeometry().
|
protected |
Definition at line 189 of file G4VScoringMesh.hh.
Referenced by ReadyForQuantity(), and SetNumberOfSegments().
|
protected |
Definition at line 188 of file G4VScoringMesh.hh.
Referenced by GetSize(), ReadyForQuantity(), and SetSize().
|
protected |
Definition at line 186 of file G4VScoringMesh.hh.
Referenced by Accumulate(), Construct(), Merge(), ResetScore(), SetFilter(), SetPrimitiveScorer(), G4ScoringCylinder::SetupGeometry(), G4ScoringBox::SetupGeometry(), SetVerboseLevel(), and WorkerConstruct().