#include <G4PhysicalVolumeMassScene.hh>
◆ G4PhysicalVolumeMassScene()
◆ ~G4PhysicalVolumeMassScene()
G4PhysicalVolumeMassScene::~G4PhysicalVolumeMassScene |
( |
| ) |
|
|
virtual |
◆ AddCompound() [1/6]
void G4PseudoScene::AddCompound |
( |
const G4Mesh & |
| ) |
|
|
inlinevirtualinherited |
◆ AddCompound() [2/6]
◆ AddCompound() [3/6]
◆ AddCompound() [4/6]
void G4PseudoScene::AddCompound |
( |
const G4VDigi & |
| ) |
|
|
inlinevirtualinherited |
◆ AddCompound() [5/6]
void G4PseudoScene::AddCompound |
( |
const G4VHit & |
| ) |
|
|
inlinevirtualinherited |
◆ AddCompound() [6/6]
◆ AddPrimitive() [1/7]
void G4PseudoScene::AddPrimitive |
( |
const G4Circle & |
| ) |
|
|
inlinevirtualinherited |
◆ AddPrimitive() [2/7]
void G4PseudoScene::AddPrimitive |
( |
const G4Plotter & |
| ) |
|
|
inlinevirtualinherited |
◆ AddPrimitive() [3/7]
◆ AddPrimitive() [4/7]
void G4PseudoScene::AddPrimitive |
( |
const G4Polyline & |
| ) |
|
|
inlinevirtualinherited |
◆ AddPrimitive() [5/7]
◆ AddPrimitive() [6/7]
void G4PseudoScene::AddPrimitive |
( |
const G4Square & |
| ) |
|
|
inlinevirtualinherited |
◆ AddPrimitive() [7/7]
void G4PseudoScene::AddPrimitive |
( |
const G4Text & |
| ) |
|
|
inlinevirtualinherited |
◆ AddSolid() [1/14]
void G4PseudoScene::AddSolid |
( |
const G4Box & |
solid | ) |
|
|
inlinevirtualinherited |
◆ AddSolid() [2/14]
void G4PseudoScene::AddSolid |
( |
const G4Cons & |
solid | ) |
|
|
inlinevirtualinherited |
◆ AddSolid() [3/14]
void G4PseudoScene::AddSolid |
( |
const G4Ellipsoid & |
solid | ) |
|
|
inlinevirtualinherited |
◆ AddSolid() [4/14]
void G4PseudoScene::AddSolid |
( |
const G4Orb & |
solid | ) |
|
|
inlinevirtualinherited |
◆ AddSolid() [5/14]
void G4PseudoScene::AddSolid |
( |
const G4Para & |
solid | ) |
|
|
inlinevirtualinherited |
◆ AddSolid() [6/14]
void G4PseudoScene::AddSolid |
( |
const G4Polycone & |
solid | ) |
|
|
inlinevirtualinherited |
◆ AddSolid() [7/14]
void G4PseudoScene::AddSolid |
( |
const G4Polyhedra & |
solid | ) |
|
|
inlinevirtualinherited |
◆ AddSolid() [8/14]
void G4PseudoScene::AddSolid |
( |
const G4Sphere & |
solid | ) |
|
|
inlinevirtualinherited |
◆ AddSolid() [9/14]
◆ AddSolid() [10/14]
void G4PseudoScene::AddSolid |
( |
const G4Torus & |
solid | ) |
|
|
inlinevirtualinherited |
◆ AddSolid() [11/14]
void G4PseudoScene::AddSolid |
( |
const G4Trap & |
solid | ) |
|
|
inlinevirtualinherited |
◆ AddSolid() [12/14]
void G4PseudoScene::AddSolid |
( |
const G4Trd & |
solid | ) |
|
|
inlinevirtualinherited |
◆ AddSolid() [13/14]
void G4PseudoScene::AddSolid |
( |
const G4Tubs & |
solid | ) |
|
|
inlinevirtualinherited |
◆ AddSolid() [14/14]
void G4PseudoScene::AddSolid |
( |
const G4VSolid & |
solid | ) |
|
|
inlinevirtualinherited |
◆ BeginPrimitives()
◆ BeginPrimitives2D()
◆ EndPrimitives()
void G4PseudoScene::EndPrimitives |
( |
| ) |
|
|
inlinevirtualinherited |
◆ EndPrimitives2D()
void G4PseudoScene::EndPrimitives2D |
( |
| ) |
|
|
inlinevirtualinherited |
◆ GetExtent()
const G4VisExtent & G4VGraphicsScene::GetExtent |
( |
| ) |
const |
|
virtualinherited |
◆ GetMass()
G4double G4PhysicalVolumeMassScene::GetMass |
( |
| ) |
const |
|
inline |
◆ GetVolume()
G4double G4PhysicalVolumeMassScene::GetVolume |
( |
| ) |
const |
|
inline |
◆ PostAddSolid()
void G4PseudoScene::PostAddSolid |
( |
| ) |
|
|
inlinevirtualinherited |
◆ PreAddSolid()
◆ ProcessVolume()
void G4PhysicalVolumeMassScene::ProcessVolume |
( |
const G4VSolid & |
solid | ) |
|
|
privatevirtual |
Reimplemented from G4PseudoScene.
Definition at line 67 of file G4PhysicalVolumeMassScene.cc.
68{
71
73
77 }
78
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96 if (currentDepth == 0)
fVolume = currentVolume;
97
102 }
107
108 G4double subtractedMass = currentVolume * motherDensity;
109 G4double addedMass = currentVolume * currentDensity;
110 fMass -= subtractedMass;
112
113
114
115
116
117
118
119
120
121
122
123
124
127 "G4PhysicalVolumeMassScene::AccrueMass: WARNING:"
128 "\n Mass going negative for \""
130 "\", copy "
132 ". Larger than mother?"
134 }
135}
G4GLOB_DLL std::ostream G4cout
G4double GetDensity() const
std::deque< G4double > fDensityStack
G4VPhysicalVolume * GetCurrentPV() const
G4Material * GetCurrentMaterial() const
G4int GetCurrentDepth() const
virtual G4int GetCopyNo() const =0
const G4String & GetName() const
References fDensityStack, fLastDensity, fLastDepth, fMass, fpLastPV, fpPVModel, fPVPCount, fVolume, G4cout, G4endl, G4VPhysicalVolume::GetCopyNo(), G4PhysicalVolumeModel::GetCurrentDepth(), G4PhysicalVolumeModel::GetCurrentMaterial(), G4PhysicalVolumeModel::GetCurrentPV(), G4Material::GetDensity(), and G4VPhysicalVolume::GetName().
◆ Reset()
void G4PhysicalVolumeMassScene::Reset |
( |
| ) |
|
◆ fDensityStack
std::deque<G4double> G4PhysicalVolumeMassScene::fDensityStack |
|
private |
◆ fLastDensity
G4double G4PhysicalVolumeMassScene::fLastDensity |
|
private |
◆ fLastDepth
G4int G4PhysicalVolumeMassScene::fLastDepth |
|
private |
◆ fMass
G4double G4PhysicalVolumeMassScene::fMass |
|
private |
◆ fpCurrentObjectTransformation
const G4Transform3D* G4PseudoScene::fpCurrentObjectTransformation |
|
protectedinherited |
◆ fpLastPV
◆ fpPVModel
◆ fPVPCount
G4int G4PhysicalVolumeMassScene::fPVPCount |
|
private |
◆ fVolume
G4double G4PhysicalVolumeMassScene::fVolume |
|
private |
The documentation for this class was generated from the following files: