CMS 3D CMS Logo

Public Member Functions | Private Attributes

DDI::Division Class Reference

#include <Division.h>

List of all members.

Public Member Functions

const DDAxes axis () const
 Division (const DDLogicalPart &parent, const DDAxes axis, const int nReplicas, const double width, const double offset)
 Division (const DDLogicalPart &parent, const DDAxes axis, const int nReplicas, const double offset)
 Division (const DDLogicalPart &parent, const DDAxes axis, const double width, const double offset)
const int nReplicas () const
const double offset () const
const DDLogicalPartparent () const
void stream (std::ostream &)
const double width () const

Private Attributes

DDAxes axis_
int nReplicas_
double offset_
DDLogicalPart parent_
double width_

Detailed Description

Definition at line 13 of file Division.h.


Constructor & Destructor Documentation

Division::Division ( const DDLogicalPart parent,
const DDAxes  axis,
const int  nReplicas,
const double  width,
const double  offset 
)

Definition at line 9 of file Division.cc.

Division::Division ( const DDLogicalPart parent,
const DDAxes  axis,
const int  nReplicas,
const double  offset 
)

Definition at line 17 of file Division.cc.

Division::Division ( const DDLogicalPart parent,
const DDAxes  axis,
const double  width,
const double  offset 
)

Definition at line 24 of file Division.cc.


Member Function Documentation

const DDAxes Division::axis ( ) const

Definition at line 31 of file Division.cc.

References axis_.

Referenced by stream().

{ return axis_; }
const int Division::nReplicas ( ) const

Definition at line 32 of file Division.cc.

References nReplicas_.

Referenced by stream().

{ return nReplicas_; }
const double Division::offset ( ) const

Definition at line 34 of file Division.cc.

References offset_.

Referenced by stream().

{ return offset_; }
const DDLogicalPart & Division::parent ( ) const

Definition at line 35 of file Division.cc.

References parent_.

{ return parent_; }
void Division::stream ( std::ostream &  os)

Definition at line 37 of file Division.cc.

References axis(), nReplicas(), offset(), parent_, DDLogicalPart::solid(), and width().

{
  os << std::endl;
  os << "  LogicalPart: " << parent_ << std::endl;
  os << "  Solid: " << parent_.solid() << std::endl;
  os << " axis: " << axis() << " nReplicas: " << nReplicas()
     << " width: " << width() << " offset: " << offset() << std::endl; 
}
const double Division::width ( ) const

Definition at line 33 of file Division.cc.

References width_.

Referenced by stream().

{ return width_; }

Member Data Documentation

Definition at line 44 of file Division.h.

Referenced by axis().

Definition at line 45 of file Division.h.

Referenced by nReplicas().

double DDI::Division::offset_ [private]

Definition at line 47 of file Division.h.

Referenced by offset().

Definition at line 43 of file Division.h.

Referenced by parent(), and stream().

double DDI::Division::width_ [private]

Definition at line 46 of file Division.h.

Referenced by width().