#include <GiGaCnv/GiGaAssembly.h>
Public Types | |
typedef std::pair< G4LogicalVolume *, std::string > | NickV |
useful typedefs | |
typedef std::pair< NickV, Gaudi::Transform3D > | Volume |
typedef std::vector< Volume > | Volumes |
Public Member Functions | |
GiGaAssembly (const std::string &Name="") | |
Standard constructor. | |
GiGaAssembly (const GiGaAssembly &right) | |
copy constructor | |
virtual | ~GiGaAssembly () |
destructor | |
const Volumes & | volumes () const |
accessor to internal structure - volumes | |
const std::string & | name () const |
accessor to the assembly name | |
void | setName (const std::string &value="") |
set/reset name for the assembly | |
StatusCode | addVolume (const GiGaVolumePair &value, const std::string &name="") |
add "volume" to the assembly. | |
Private Attributes | |
std::string | m_name |
Volumes | m_volumes |
Definition at line 25 of file GiGaAssembly.h.
typedef std::pair<G4LogicalVolume*,std::string> GiGaAssembly::NickV |
typedef std::pair<NickV,Gaudi::Transform3D> GiGaAssembly::Volume |
Definition at line 34 of file GiGaAssembly.h.
typedef std::vector<Volume> GiGaAssembly::Volumes |
Definition at line 36 of file GiGaAssembly.h.
GiGaAssembly::GiGaAssembly | ( | const std::string & | Name = "" |
) |
Standard constructor.
assembly | name |
GiGaAssembly::GiGaAssembly | ( | const GiGaAssembly & | right | ) |
copy constructor
right | object to be copied |
virtual GiGaAssembly::~GiGaAssembly | ( | ) | [virtual] |
destructor
const Volumes& GiGaAssembly::volumes | ( | ) | const [inline] |
accessor to internal structure - volumes
Definition at line 56 of file GiGaAssembly.h.
00056 { return m_volumes ; }
const std::string& GiGaAssembly::name | ( | ) | const [inline] |
accessor to the assembly name
Definition at line 61 of file GiGaAssembly.h.
00061 { return m_name ; }
void GiGaAssembly::setName | ( | const std::string & | value = "" |
) | [inline] |
set/reset name for the assembly
value | new name for the assembly |
Definition at line 66 of file GiGaAssembly.h.
00066 { m_name = value ; }
StatusCode GiGaAssembly::addVolume | ( | const GiGaVolumePair & | value, | |
const std::string & | name = "" | |||
) |
add "volume" to the assembly.
value | the pair to be added | |
name | pair name to be appended |
std::string GiGaAssembly::m_name [private] |
Definition at line 78 of file GiGaAssembly.h.
Volumes GiGaAssembly::m_volumes [private] |
Definition at line 79 of file GiGaAssembly.h.