Geant4  10.00.p01
G4tgrVolume Class Reference

#include <G4tgrVolume.hh>

+ Inheritance diagram for G4tgrVolume:
+ Collaboration diagram for G4tgrVolume:

Public Member Functions

 G4tgrVolume ()
 
 G4tgrVolume (const std::vector< G4String > &wl)
 
 G4tgrVolume (const G4tgrVolume &vol)
 
virtual ~G4tgrVolume ()
 
virtual G4tgrPlaceAddPlace (const std::vector< G4String > &wl)
 
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

G4String theName
 
G4String theType
 
G4String theMaterialName
 
G4tgrSolidtheSolid
 
std::vector< G4tgrPlace * > thePlacements
 
G4bool theVisibility
 
G4doubletheRGBColour
 
G4bool theCheckOverlaps
 

Friends

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

Detailed Description

Definition at line 60 of file G4tgrVolume.hh.

Constructor & Destructor Documentation

G4tgrVolume::G4tgrVolume ( )

Definition at line 49 of file G4tgrVolume.cc.

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

Definition at line 65 of file G4tgrVolume.cc.

References G4tgrVolumeMgr::CreateSolid(), G4tgrVolumeMgr::FindSolid(), G4cout, G4endl, G4tgrVolumeMgr::GetInstance(), G4tgrUtils::GetString(), G4tgrMessenger::GetVerboseLevel(), theCheckOverlaps, theMaterialName, theName, theRGBColour, theSolid, theType, and theVisibility.

+ Here is the call graph for this function:

G4tgrVolume::G4tgrVolume ( const G4tgrVolume vol)

Definition at line 113 of file G4tgrVolume.cc.

References GetCheckOverlaps(), GetMaterialName(), GetName(), GetPlacements(), GetRGBColour(), GetSolid(), GetType(), GetVisibility(), theCheckOverlaps, theMaterialName, theName, thePlacements, theRGBColour, theSolid, theType, and theVisibility.

+ Here is the call graph for this function:

G4tgrVolume::~G4tgrVolume ( )
virtual

Definition at line 58 of file G4tgrVolume.cc.

References theRGBColour.

Member Function Documentation

void G4tgrVolume::AddCheckOverlaps ( const std::vector< G4String > &  wl)

------— Set check overlaps

Definition at line 271 of file G4tgrVolume.cc.

References G4tgrUtils::CheckWLsize(), G4tgrUtils::GetBool(), theCheckOverlaps, and WLSIZE_GE.

+ Here is the call graph for this function:

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

Reimplemented in G4tgrVolumeAssembly.

Definition at line 138 of file G4tgrVolume.cc.

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

Referenced by G4tgrLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4tgrPlaceParameterisation * G4tgrVolume::AddPlaceParam ( const std::vector< G4String > &  wl)

Definition at line 218 of file G4tgrVolume.cc.

References G4cout, G4endl, G4tgrVolumeMgr::GetInstance(), G4tgrPlace::GetParentName(), G4tgrMessenger::GetVerboseLevel(), G4tgrVolumeMgr::RegisterParentChild(), G4tgrPlace::SetVolume(), theName, and thePlacements.

Referenced by G4tgrLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4tgrPlaceDivRep * G4tgrVolume::AddPlaceReplica ( const std::vector< G4String > &  wl)

Definition at line 180 of file G4tgrVolume.cc.

References G4tgrUtils::CheckWLsize(), G4cout, G4endl, G4Exception(), G4tgrUtils::GetDouble(), G4tgrVolumeMgr::GetInstance(), G4tgrPlace::GetParentName(), G4tgrMessenger::GetVerboseLevel(), JustWarning, G4tgrVolumeMgr::RegisterParentChild(), G4tgrPlace::SetType(), G4tgrPlace::SetVolume(), theName, thePlacements, WLSIZE_GE, and WLSIZE_LE.

Referenced by G4tgrLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4tgrVolume::AddRGBColour ( const std::vector< G4String > &  wl)

------— Set transparency

Definition at line 253 of file G4tgrVolume.cc.

References G4tgrUtils::CheckWLsize(), G4tgrUtils::GetDouble(), theRGBColour, and WLSIZE_GE.

+ Here is the call graph for this function:

void G4tgrVolume::AddVisibility ( const std::vector< G4String > &  wl)

Definition at line 242 of file G4tgrVolume.cc.

References G4tgrUtils::CheckWLsize(), G4tgrUtils::GetBool(), theVisibility, and WLSIZE_EQ.

+ Here is the call graph for this function:

G4bool G4tgrVolume::GetCheckOverlaps ( ) const
inline

Definition at line 100 of file G4tgrVolume.hh.

References theCheckOverlaps.

Referenced by G4tgbVolume::ConstructG4PhysVol(), and G4tgrVolume().

+ Here is the caller graph for this function:

G4double* G4tgrVolume::GetColour ( ) const
inline

Definition at line 97 of file G4tgrVolume.hh.

References theRGBColour.

Referenced by G4tgbVolume::GetColour().

+ Here is the caller graph for this function:

const G4String& G4tgrVolume::GetMaterialName ( ) const
inline

Definition at line 93 of file G4tgrVolume.hh.

References theMaterialName.

Referenced by G4tgbVolume::ConstructG4LogVol(), G4tgbVolume::ConstructG4PhysVol(), and G4tgrVolume().

+ Here is the caller graph for this function:

const G4String& G4tgrVolume::GetName ( void  ) const
inline

Definition at line 89 of file G4tgrVolume.hh.

References theName.

Referenced by G4tgbDetectorConstruction::Construct(), G4tgbDetectorBuilder::ConstructDetector(), G4tgbVolume::ConstructG4Volumes(), G4tgrVolumeMgr::DumpSummary(), G4tgrVolumeMgr::DumpVolumeLeaf(), G4tgrVolume(), G4tgbVolume::GetName(), G4tgrVolumeMgr::GetTopVolume(), G4tgrVolumeMgr::RegisterMe(), and G4tgrVolumeMgr::UnRegisterMe().

+ Here is the caller graph for this function:

const std::vector<G4tgrPlace*> G4tgrVolume::GetPlacements ( ) const
inline

Definition at line 95 of file G4tgrVolume.hh.

References thePlacements.

Referenced by G4tgrVolume(), and G4tgrVolumeMgr::GetTopVolume().

+ Here is the caller graph for this function:

G4double* G4tgrVolume::GetRGBColour ( ) const
inline

Definition at line 98 of file G4tgrVolume.hh.

References theRGBColour.

Referenced by G4tgrVolume().

+ Here is the caller graph for this function:

G4tgrSolid* G4tgrVolume::GetSolid ( ) const
inline

Definition at line 92 of file G4tgrVolume.hh.

References theSolid.

Referenced by G4tgbVolume::ConstructG4Volumes(), G4tgrSolidBoolean::G4tgrSolidBoolean(), and G4tgrVolume().

+ Here is the caller graph for this function:

const G4String& G4tgrVolume::GetType ( ) const
inline

Definition at line 91 of file G4tgrVolume.hh.

References theType.

Referenced by G4tgbVolume::ConstructG4PhysVol(), G4tgbVolume::ConstructG4Volumes(), G4tgrLineProcessor::FindVolume(), G4tgrVolume(), and G4tgrVolumeMgr::GetTopVolume().

+ Here is the caller graph for this function:

G4bool G4tgrVolume::GetVisibility ( ) const
inline

Definition at line 96 of file G4tgrVolume.hh.

References theVisibility.

Referenced by G4tgrVolume(), and G4tgbVolume::GetVisibility().

+ Here is the caller graph for this function:

G4tgrVolume * G4tgrVolume::GetVolume ( G4int  ii) const
virtual

Definition at line 127 of file G4tgrVolume.cc.

References G4UIcommand::ConvertToString(), FatalException, and G4Exception().

+ Here is the call graph for this function:

void G4tgrVolume::SetName ( const G4String name)
inline

Definition at line 90 of file G4tgrVolume.hh.

References name, and theName.

Friends And Related Function Documentation

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

Definition at line 283 of file G4tgrVolume.cc.

Member Data Documentation

G4bool G4tgrVolume::theCheckOverlaps
protected

Definition at line 121 of file G4tgrVolume.hh.

Referenced by AddCheckOverlaps(), G4tgrVolume(), GetCheckOverlaps(), and operator<<().

G4String G4tgrVolume::theMaterialName
protected
std::vector<G4tgrPlace*> G4tgrVolume::thePlacements
protected
G4tgrSolid* G4tgrVolume::theSolid
protected

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