ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PhysicalVolumeMassScene Class Reference

#include <geant4/tree/geant4-10.6-release/source/visualization/modeling/include/G4PhysicalVolumeMassScene.hh>

+ Inheritance diagram for G4PhysicalVolumeMassScene:
+ Collaboration diagram for G4PhysicalVolumeMassScene:

Public Member Functions

 G4PhysicalVolumeMassScene (G4PhysicalVolumeModel *)
 
virtual ~G4PhysicalVolumeMassScene ()
 
G4double GetVolume () const
 
G4double GetMass () const
 
void Reset ()
 
- Public Member Functions inherited from G4PseudoScene
 G4PseudoScene ()
 
virtual ~G4PseudoScene ()
 
void PreAddSolid (const G4Transform3D &objectTransformation, const G4VisAttributes &)
 
void PostAddSolid ()
 
void AddSolid (const G4Box &solid)
 
void AddSolid (const G4Cons &solid)
 
void AddSolid (const G4Orb &solid)
 
void AddSolid (const G4Para &solid)
 
void AddSolid (const G4Sphere &solid)
 
void AddSolid (const G4Torus &solid)
 
void AddSolid (const G4Trap &solid)
 
void AddSolid (const G4Trd &solid)
 
void AddSolid (const G4Tubs &solid)
 
void AddSolid (const G4Ellipsoid &solid)
 
void AddSolid (const G4Polycone &solid)
 
void AddSolid (const G4Polyhedra &solid)
 
void AddSolid (const G4TessellatedSolid &solid)
 
void AddSolid (const G4VSolid &solid)
 
void AddCompound (const G4VTrajectory &)
 
void AddCompound (const G4VHit &)
 
void AddCompound (const G4VDigi &)
 
void AddCompound (const G4THitsMap< G4double > &)
 
void AddCompound (const G4THitsMap< G4StatDouble > &)
 
void BeginPrimitives (const G4Transform3D &)
 
void EndPrimitives ()
 
void BeginPrimitives2D (const G4Transform3D &)
 
void EndPrimitives2D ()
 
void AddPrimitive (const G4Polyline &)
 
void AddPrimitive (const G4Scale &)
 
void AddPrimitive (const G4Text &)
 
void AddPrimitive (const G4Circle &)
 
void AddPrimitive (const G4Square &)
 
void AddPrimitive (const G4Polymarker &)
 
void AddPrimitive (const G4Polyhedron &)
 
- Public Member Functions inherited from G4VGraphicsScene
 G4VGraphicsScene ()
 
virtual ~G4VGraphicsScene ()
 
virtual const G4VisExtentGetExtent () const
 

Private Member Functions

void ProcessVolume (const G4VSolid &)
 

Private Attributes

G4PhysicalVolumeModelfpPVModel
 
G4double fVolume
 
G4double fMass
 
G4VPhysicalVolumefpLastPV
 
G4int fPVPCount
 
G4int fLastDepth
 
G4double fLastDensity
 
std::deque< G4doublefDensityStack
 

Additional Inherited Members

- Protected Attributes inherited from G4PseudoScene
const G4Transform3DfpCurrentObjectTransformation
 

Detailed Description

Definition at line 64 of file G4PhysicalVolumeMassScene.hh.

View newest version in sPHENIX GitHub at line 64 of file G4PhysicalVolumeMassScene.hh

Constructor & Destructor Documentation

G4PhysicalVolumeMassScene::G4PhysicalVolumeMassScene ( G4PhysicalVolumeModel pPVModel)

Definition at line 44 of file G4PhysicalVolumeMassScene.cc.

View newest version in sPHENIX GitHub at line 44 of file G4PhysicalVolumeMassScene.cc

G4PhysicalVolumeMassScene::~G4PhysicalVolumeMassScene ( )
virtual

Definition at line 54 of file G4PhysicalVolumeMassScene.cc.

View newest version in sPHENIX GitHub at line 54 of file G4PhysicalVolumeMassScene.cc

Member Function Documentation

G4double G4PhysicalVolumeMassScene::GetMass ( ) const
inline

Definition at line 76 of file G4PhysicalVolumeMassScene.hh.

View newest version in sPHENIX GitHub at line 76 of file G4PhysicalVolumeMassScene.hh

References fMass.

Referenced by G4ASCIITreeSceneHandler::EndModeling().

+ Here is the caller graph for this function:

G4double G4PhysicalVolumeMassScene::GetVolume ( ) const
inline

Definition at line 73 of file G4PhysicalVolumeMassScene.hh.

View newest version in sPHENIX GitHub at line 73 of file G4PhysicalVolumeMassScene.hh

References fVolume.

Referenced by G4ASCIITreeSceneHandler::EndModeling().

+ Here is the caller graph for this function:

void G4PhysicalVolumeMassScene::ProcessVolume ( const G4VSolid solid)
privatevirtual

Implements G4PseudoScene.

Definition at line 67 of file G4PhysicalVolumeMassScene.cc.

View newest version in sPHENIX GitHub at line 67 of file G4PhysicalVolumeMassScene.cc

References fDensityStack, fLastDensity, fLastDepth, fMass, fpLastPV, fpPVModel, fPVPCount, fVolume, G4cout, G4endl, G4VPhysicalVolume::GetCopyNo(), G4PhysicalVolumeModel::GetCurrentDepth(), G4PhysicalVolumeModel::GetCurrentMaterial(), G4PhysicalVolumeModel::GetCurrentPV(), G4Material::GetDensity(), and G4VPhysicalVolume::GetName().

+ Here is the call graph for this function:

void G4PhysicalVolumeMassScene::Reset ( )

Definition at line 56 of file G4PhysicalVolumeMassScene.cc.

View newest version in sPHENIX GitHub at line 56 of file G4PhysicalVolumeMassScene.cc

References fDensityStack, fLastDensity, fLastDepth, fMass, fpLastPV, fPVPCount, and fVolume.

Member Data Documentation

std::deque<G4double> G4PhysicalVolumeMassScene::fDensityStack
private

Definition at line 91 of file G4PhysicalVolumeMassScene.hh.

View newest version in sPHENIX GitHub at line 91 of file G4PhysicalVolumeMassScene.hh

Referenced by ProcessVolume(), and Reset().

G4double G4PhysicalVolumeMassScene::fLastDensity
private

Definition at line 90 of file G4PhysicalVolumeMassScene.hh.

View newest version in sPHENIX GitHub at line 90 of file G4PhysicalVolumeMassScene.hh

Referenced by ProcessVolume(), and Reset().

G4int G4PhysicalVolumeMassScene::fLastDepth
private

Definition at line 89 of file G4PhysicalVolumeMassScene.hh.

View newest version in sPHENIX GitHub at line 89 of file G4PhysicalVolumeMassScene.hh

Referenced by ProcessVolume(), and Reset().

G4double G4PhysicalVolumeMassScene::fMass
private

Definition at line 86 of file G4PhysicalVolumeMassScene.hh.

View newest version in sPHENIX GitHub at line 86 of file G4PhysicalVolumeMassScene.hh

Referenced by GetMass(), ProcessVolume(), and Reset().

G4VPhysicalVolume* G4PhysicalVolumeMassScene::fpLastPV
private

Definition at line 87 of file G4PhysicalVolumeMassScene.hh.

View newest version in sPHENIX GitHub at line 87 of file G4PhysicalVolumeMassScene.hh

Referenced by ProcessVolume(), and Reset().

G4PhysicalVolumeModel* G4PhysicalVolumeMassScene::fpPVModel
private

Definition at line 84 of file G4PhysicalVolumeMassScene.hh.

View newest version in sPHENIX GitHub at line 84 of file G4PhysicalVolumeMassScene.hh

Referenced by ProcessVolume().

G4int G4PhysicalVolumeMassScene::fPVPCount
private

Definition at line 88 of file G4PhysicalVolumeMassScene.hh.

View newest version in sPHENIX GitHub at line 88 of file G4PhysicalVolumeMassScene.hh

Referenced by ProcessVolume(), and Reset().

G4double G4PhysicalVolumeMassScene::fVolume
private

Definition at line 85 of file G4PhysicalVolumeMassScene.hh.

View newest version in sPHENIX GitHub at line 85 of file G4PhysicalVolumeMassScene.hh

Referenced by GetVolume(), ProcessVolume(), and Reset().


The documentation for this class was generated from the following files: