#include <GiGaCnv/GiGaVolume.h>
Collaboration diagram for GiGaVolume:
Public Member Functions | |
GiGaVolume (G4LogicalVolume *volume=0, GiGaAssembly *assembly=0) | |
Standard constructor. | |
~GiGaVolume () | |
destructor | |
G4LogicalVolume * | volume () const |
accessor to logical volume | |
GiGaAssembly * | assembly () const |
accessor to logical assembly | |
bool | valid () const |
valid? only volume or assembly must be valid! | |
void | setVolume (G4LogicalVolume *value=0) |
set/reset the new value for logical volume | |
void | setAssembly (GiGaAssembly *value=0) |
set/reset the new value for logical assembly | |
Private Attributes | |
G4LogicalVolume * | m_volume |
GiGaAssembly * | m_assembly |
Definition at line 24 of file GiGaVolume.h.
GiGaVolume::GiGaVolume | ( | G4LogicalVolume * | volume = 0 , |
|
GiGaAssembly * | assembly = 0 | |||
) | [inline] |
Standard constructor.
volume | pointer to logical volume | |
assembly | pointer to logical assembly |
Definition at line 33 of file GiGaVolume.h.
00035 : m_volume ( volume ) 00036 , m_assembly ( assembly ) 00037 {};
GiGaVolume::~GiGaVolume | ( | ) | [inline] |
G4LogicalVolume* GiGaVolume::volume | ( | ) | const [inline] |
accessor to logical volume
Definition at line 46 of file GiGaVolume.h.
00046 { return m_volume ; }
GiGaAssembly* GiGaVolume::assembly | ( | ) | const [inline] |
accessor to logical assembly
Definition at line 51 of file GiGaVolume.h.
00051 { return m_assembly ; }
bool GiGaVolume::valid | ( | ) | const [inline] |
void GiGaVolume::setVolume | ( | G4LogicalVolume * | value = 0 |
) | [inline] |
set/reset the new value for logical volume
value | new value for logical volume |
Definition at line 66 of file GiGaVolume.h.
00067 { m_volume = value ; }
void GiGaVolume::setAssembly | ( | GiGaAssembly * | value = 0 |
) | [inline] |
set/reset the new value for logical assembly
value | new value for logical assembly |
Definition at line 72 of file GiGaVolume.h.
00073 { m_assembly = value ; }
G4LogicalVolume* GiGaVolume::m_volume [private] |
Definition at line 77 of file GiGaVolume.h.
GiGaAssembly* GiGaVolume::m_assembly [private] |
Definition at line 78 of file GiGaVolume.h.