Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | Friends | List of all members
geomtools::geom_info Class Reference

A record for geometry information about a physical volume in a virtual geometry. More...

#include <bayeux/geomtools/geom_info.h>

Public Member Functions

 geom_info ()
 Default constructor. More...
 
 geom_info (const geom_id &)
 Constructor. More...
 
 geom_info (const geom_id &, const placement &, const logical_volume &)
 Constructor. More...
 
bool has_logical () const
 Check if a logical volume is defined. More...
 
const placementget_world_placement () const
 Return the placement of the physical volume in the world coordinate system. More...
 
const logical_volumeget_logical () const
 Return the logical volume. More...
 
const geom_idget_id () const
 Return the geometry Id. More...
 
const geom_idget_gid () const
 Return the geometry Id. More...
 
const geom_idget_geom_id () const
 Return the geometry Id. More...
 
const datatools::propertiesget_properties () const
 Return a reference to the non mutable container of auxiliary properties. More...
 
datatools::propertiesget_properties ()
 Return a reference to the mutable container of auxiliary properties. More...
 

Friends

std::ostream & operator<< (std::ostream &, const geom_info &)
 Basic print. More...
 

Detailed Description

A record for geometry information about a physical volume in a virtual geometry.

Constructor & Destructor Documentation

◆ geom_info() [1/3]

geomtools::geom_info::geom_info ( )

Default constructor.

◆ geom_info() [2/3]

geomtools::geom_info::geom_info ( const geom_id )

Constructor.

◆ geom_info() [3/3]

geomtools::geom_info::geom_info ( const geom_id ,
const placement ,
const logical_volume  
)

Constructor.

Member Function Documentation

◆ get_geom_id()

const geom_id& geomtools::geom_info::get_geom_id ( ) const

Return the geometry Id.

◆ get_gid()

const geom_id& geomtools::geom_info::get_gid ( ) const

Return the geometry Id.

◆ get_id()

const geom_id& geomtools::geom_info::get_id ( ) const

Return the geometry Id.

◆ get_logical()

const logical_volume& geomtools::geom_info::get_logical ( ) const

Return the logical volume.

◆ get_properties() [1/2]

const datatools::properties& geomtools::geom_info::get_properties ( ) const

Return a reference to the non mutable container of auxiliary properties.

◆ get_properties() [2/2]

datatools::properties& geomtools::geom_info::get_properties ( )

Return a reference to the mutable container of auxiliary properties.

◆ get_world_placement()

const placement& geomtools::geom_info::get_world_placement ( ) const

Return the placement of the physical volume in the world coordinate system.

◆ has_logical()

bool geomtools::geom_info::has_logical ( ) const

Check if a logical volume is defined.

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  ,
const geom_info  
)
friend

Basic print.


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