| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

GiGaAssembly Class Reference

GiGa representation of Logical Assembly. More...

#include <GiGaCnv/GiGaAssembly.h>

List of all members.


Public Types

typedef std::pair< G4LogicalVolume *,
std::string > 
NickV
 useful typedefs
typedef std::pair< NickV,
Gaudi::Transform3D
Volume
typedef std::vector< VolumeVolumes

Public Member Functions

 GiGaAssembly (const std::string &Name="")
 Standard constructor.
 GiGaAssembly (const GiGaAssembly &right)
 copy constructor
virtual ~GiGaAssembly ()
 destructor
const Volumesvolumes () 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

Detailed Description

GiGa representation of Logical Assembly.

Author:
Vanya Belyaev Ivan.Belyaev@itep.ru
Date:
17/01/2002

Definition at line 25 of file GiGaAssembly.h.


Member Typedef Documentation

typedef std::pair<G4LogicalVolume*,std::string> GiGaAssembly::NickV

useful typedefs

Definition at line 32 of file GiGaAssembly.h.

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.


Constructor & Destructor Documentation

GiGaAssembly::GiGaAssembly ( const std::string &  Name = ""  ) 

Standard constructor.

Parameters:
assembly name

GiGaAssembly::GiGaAssembly ( const GiGaAssembly right  ) 

copy constructor

Parameters:
right object to be copied

virtual GiGaAssembly::~GiGaAssembly (  )  [virtual]

destructor


Member Function Documentation

const Volumes& GiGaAssembly::volumes (  )  const [inline]

accessor to internal structure - volumes

Returns:
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

Returns:
name of the assembly

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

Parameters:
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.

Parameters:
value the pair to be added
name pair name to be appended
Returns:
status code


Member Data Documentation

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.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:03:52 2011 for GiGaCnv by doxygen 1.4.7