Geant4  10.00.p02
G4tgrVolumeAssembly Class Reference

#include <G4tgrVolumeAssembly.hh>

+ Inheritance diagram for G4tgrVolumeAssembly:
+ Collaboration diagram for G4tgrVolumeAssembly:

Public Member Functions

 G4tgrVolumeAssembly ()
 
 G4tgrVolumeAssembly (const std::vector< G4String > &wl)
 
 ~G4tgrVolumeAssembly ()
 
virtual G4tgrPlaceAddPlace (const std::vector< G4String > &wl)
 
const G4StringGetComponentName (G4int ii) const
 
const G4StringGetComponentRM (G4int ii) const
 
G4ThreeVector GetComponentPos (G4int ii) const
 
G4int GetNoComponents () const
 
- Public Member Functions inherited from G4tgrVolume
 G4tgrVolume ()
 
 G4tgrVolume (const std::vector< G4String > &wl)
 
 G4tgrVolume (const G4tgrVolume &vol)
 
virtual ~G4tgrVolume ()
 
G4tgrPlaceDivRepAddPlaceReplica (const std::vector< G4String > &wl)
 
G4tgrPlaceParameterisationAddPlaceParam (const std::vector< G4String > &wl)
 
void AddVisibility (const std::vector< G4String > &wl)
 
void AddRGBColour (const std::vector< G4String > &wl)
 
void AddCheckOverlaps (const std::vector< G4String > &wl)
 
const G4StringGetName () const
 
void SetName (const G4String &name)
 
const G4StringGetType () const
 
G4tgrSolidGetSolid () const
 
const G4StringGetMaterialName () const
 
const std::vector< G4tgrPlace * > GetPlacements () const
 
G4bool GetVisibility () const
 
G4doubleGetColour () const
 
G4doubleGetRGBColour () const
 
G4bool GetCheckOverlaps () const
 
virtual G4tgrVolumeGetVolume (G4int ii) const
 

Protected Attributes

std::vector< G4StringtheComponentNames
 
std::vector< G4StringtheComponentRMs
 
std::vector< G4ThreeVectortheComponentPos
 
- Protected Attributes inherited from G4tgrVolume
G4String theName
 
G4String theType
 
G4String theMaterialName
 
G4tgrSolidtheSolid
 
std::vector< G4tgrPlace * > thePlacements
 
G4bool theVisibility
 
G4doubletheRGBColour
 
G4bool theCheckOverlaps
 

Friends

std::ostream & operator<< (std::ostream &os, const G4tgrVolumeAssembly &obj)
 

Detailed Description

Definition at line 47 of file G4tgrVolumeAssembly.hh.

Constructor & Destructor Documentation

G4tgrVolumeAssembly::G4tgrVolumeAssembly ( )

Definition at line 46 of file G4tgrVolumeAssembly.cc.

G4tgrVolumeAssembly::G4tgrVolumeAssembly ( const std::vector< G4String > &  wl)

Definition at line 58 of file G4tgrVolumeAssembly.cc.

References G4tgrUtils::CheckWLsize(), G4cout, G4endl, G4tgrUtils::GetDouble(), G4tgrUtils::GetInt(), G4tgrUtils::GetString(), G4tgrMessenger::GetVerboseLevel(), theComponentNames, theComponentPos, theComponentRMs, G4tgrVolume::theName, G4tgrVolume::theRGBColour, G4tgrVolume::theSolid, G4tgrVolume::theType, G4tgrVolume::theVisibility, and WLSIZE_GE.

+ Here is the call graph for this function:

G4tgrVolumeAssembly::~G4tgrVolumeAssembly ( )

Definition at line 52 of file G4tgrVolumeAssembly.cc.

Member Function Documentation

G4tgrPlace * G4tgrVolumeAssembly::AddPlace ( const std::vector< G4String > &  wl)
virtual

Reimplemented from G4tgrVolume.

Definition at line 103 of file G4tgrVolumeAssembly.cc.

References G4tgrUtils::CheckWLsize(), G4cout, G4endl, G4tgrVolumeMgr::GetInstance(), G4tgrPlace::GetParentName(), G4tgrPlace::GetType(), G4tgrMessenger::GetVerboseLevel(), G4tgrVolumeMgr::RegisterParentChild(), G4tgrPlace::SetVolume(), G4tgrVolume::theName, G4tgrVolume::thePlacements, and WLSIZE_EQ.

+ Here is the call graph for this function:

const G4String& G4tgrVolumeAssembly::GetComponentName ( G4int  ii) const
inline

Definition at line 58 of file G4tgrVolumeAssembly.hh.

References theComponentNames.

Referenced by G4tgbVolume::ConstructG4PhysVol().

+ Here is the caller graph for this function:

G4ThreeVector G4tgrVolumeAssembly::GetComponentPos ( G4int  ii) const
inline

Definition at line 62 of file G4tgrVolumeAssembly.hh.

References theComponentPos.

Referenced by G4tgbVolume::ConstructG4PhysVol().

+ Here is the caller graph for this function:

const G4String& G4tgrVolumeAssembly::GetComponentRM ( G4int  ii) const
inline

Definition at line 60 of file G4tgrVolumeAssembly.hh.

References theComponentRMs.

Referenced by G4tgbVolume::ConstructG4PhysVol().

+ Here is the caller graph for this function:

G4int G4tgrVolumeAssembly::GetNoComponents ( ) const
inline

Definition at line 64 of file G4tgrVolumeAssembly.hh.

References theComponentNames.

Referenced by G4tgbVolume::ConstructG4PhysVol().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4tgrVolumeAssembly obj 
)
friend

Definition at line 131 of file G4tgrVolumeAssembly.cc.

Member Data Documentation

std::vector<G4String> G4tgrVolumeAssembly::theComponentNames
protected
std::vector<G4ThreeVector> G4tgrVolumeAssembly::theComponentPos
protected

Definition at line 73 of file G4tgrVolumeAssembly.hh.

Referenced by G4tgrVolumeAssembly(), GetComponentPos(), and operator<<().

std::vector<G4String> G4tgrVolumeAssembly::theComponentRMs
protected

Definition at line 72 of file G4tgrVolumeAssembly.hh.

Referenced by G4tgrVolumeAssembly(), GetComponentRM(), and operator<<().


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