15 os << *( defined.first ) <<
" ";
16 if( defined.second ) {
17 div.
rep().stream( os );
20 os <<
"* division not defined * ";
24 os <<
"* division not declared * ";
47 create( name, std::make_unique<Division>( parent, axis, nReplicas, width, offset ));
56 create( name, std::make_unique<Division>( parent, axis, nReplicas, offset ));
65 create( name, std::make_unique<Division>( parent, axis, width, offset ));
77 return rep().nReplicas();
89 return rep().offset();
95 return rep().parent();
def_type isDefined() const
const DDName & name() const
DDName is used to identify DDD entities uniquely.
const DDI::rep_traits< N, C >::reference rep() const
A DDLogicalPart aggregates information concerning material, solid and sensitveness ...
DDDivision()
The default constructor provides an uninitialzed reference object.
std::ostream & operator<<(std::ostream &os, const DDDivision &div)
std::pair< const N *, bool > def_type
DDAxes
analagous to geant4/source/global/HEPGeometry/include/geomdefs.hh
const DDLogicalPart & parent() const
void create(const DDName &name, std::unique_ptr< DDI::Division > vals)