#include <DDDivision.h>
Public Member Functions | |
DDAxes | axis () const |
DDDivision () | |
The default constructor provides an uninitialzed reference object. More... | |
DDDivision (const DDName &name) | |
Creates a refernce object referring to the appropriate XML specification. More... | |
DDDivision (const DDName &name, const DDLogicalPart &parent, DDAxes axis, double width, double offset) | |
Registers (creates) a reference object representing a Division. More... | |
DDDivision (const DDName &name, const DDLogicalPart &parent, DDAxes axis, int nReplicas, double offset) | |
Registers (creates) a reference object representing a Division. More... | |
DDDivision (const DDName &name, const DDLogicalPart &parent, DDAxes axis, int nReplicas, double width, double offset) | |
Registers (creates) a reference object representing a Division. More... | |
int | nReplicas () const |
double | offset () const |
const DDLogicalPart & | parent () const |
double | width () const |
Public Member Functions inherited from DDBase< DDName, std::unique_ptr< DDI::Division > > | |
void | create (const DDName &name) |
void | create (const DDName &name, std::unique_ptr< DDI::Division > vals) |
DDBase () | |
const DDName & | ddname () const |
def_type | isDefined () const |
bool | isValid () const |
true, if the wrapped pointer is valid More... | |
const DDName & | name () const |
operator bool () const | |
bool | operator< (const DDBase &b) const |
bool | operator== (const DDBase &b) const |
bool | operator> (const DDBase &b) const |
DDI::rep_traits< DDName, std::unique_ptr< DDI::Division > >::reference | rep () |
const DDI::rep_traits< DDName, std::unique_ptr< DDI::Division > >::reference | rep () const |
std::string | toString () const |
const DDI::rep_traits< DDName, std::unique_ptr< DDI::Division > >::reference | val () |
const DDI::rep_traits< DDName, std::unique_ptr< DDI::Division > >::reference | val () const |
virtual | ~DDBase () |
Additional Inherited Members | |
Public Types inherited from DDBase< DDName, std::unique_ptr< DDI::Division > > | |
using | def_type = std::pair< const DDName *, bool > |
using | StoreT = DDI::Singleton< DDI::Store< DDName, std::unique_ptr< DDI::Division > > > |
Static Public Member Functions inherited from DDBase< DDName, std::unique_ptr< DDI::Division > > | |
static auto | begin () |
static auto | end () |
Definition at line 78 of file DDDivision.h.
DDDivision::DDDivision | ( | ) |
The default constructor provides an uninitialzed reference object.
Definition at line 25 of file DDDivision.cc.
DDDivision::DDDivision | ( | const DDName & | name | ) |
Creates a refernce object referring to the appropriate XML specification.
Definition at line 27 of file DDDivision.cc.
References DDBase< DDName, std::unique_ptr< DDI::Division > >::create(), and DDBase< DDName, std::unique_ptr< DDI::Division > >::name().
DDDivision::DDDivision | ( | const DDName & | name, |
const DDLogicalPart & | parent, | ||
DDAxes | axis, | ||
int | nReplicas, | ||
double | width, | ||
double | offset | ||
) |
Registers (creates) a reference object representing a Division.
... Constructor with number of divisions and width
Definition at line 29 of file DDDivision.cc.
References axis(), DDBase< DDName, std::unique_ptr< DDI::Division > >::create(), DDBase< DDName, std::unique_ptr< DDI::Division > >::name(), nReplicas(), offset(), parent(), and width().
DDDivision::DDDivision | ( | const DDName & | name, |
const DDLogicalPart & | parent, | ||
DDAxes | axis, | ||
int | nReplicas, | ||
double | offset | ||
) |
Registers (creates) a reference object representing a Division.
... Constructor with number of divisions
Definition at line 39 of file DDDivision.cc.
References axis(), DDBase< DDName, std::unique_ptr< DDI::Division > >::create(), DDBase< DDName, std::unique_ptr< DDI::Division > >::name(), nReplicas(), offset(), and parent().
DDDivision::DDDivision | ( | const DDName & | name, |
const DDLogicalPart & | parent, | ||
DDAxes | axis, | ||
double | width, | ||
double | offset | ||
) |
Registers (creates) a reference object representing a Division.
... Constructor with width
Definition at line 44 of file DDDivision.cc.
References axis(), DDBase< DDName, std::unique_ptr< DDI::Division > >::create(), DDBase< DDName, std::unique_ptr< DDI::Division > >::name(), offset(), parent(), and width().
DDAxes DDDivision::axis | ( | ) | const |
Definition at line 49 of file DDDivision.cc.
References DDBase< DDName, std::unique_ptr< DDI::Division > >::rep().
Referenced by DDDivision(), DDDividedTrdX::makeDDTranslation(), DDDividedTrdY::makeDDTranslation(), DDDividedTrdZ::makeDDTranslation(), and DDLDivision::makeDivider().
int DDDivision::nReplicas | ( | ) | const |
Definition at line 51 of file DDDivision.cc.
References DDBase< DDName, std::unique_ptr< DDI::Division > >::rep().
Referenced by DDDividedPolyconeZ::checkParametersValidity(), DDDividedBoxX::DDDividedBoxX(), DDDividedBoxY::DDDividedBoxY(), DDDividedBoxZ::DDDividedBoxZ(), DDDividedConsPhi::DDDividedConsPhi(), DDDividedConsRho::DDDividedConsRho(), DDDividedConsZ::DDDividedConsZ(), DDDividedGeometryObject::DDDividedGeometryObject(), DDDividedPolyconePhi::DDDividedPolyconePhi(), DDDividedPolyconeRho::DDDividedPolyconeRho(), DDDividedPolyconeZ::DDDividedPolyconeZ(), DDDividedPolyhedraPhi::DDDividedPolyhedraPhi(), DDDividedPolyhedraRho::DDDividedPolyhedraRho(), DDDividedPolyhedraZ::DDDividedPolyhedraZ(), DDDividedTrdX::DDDividedTrdX(), DDDividedTrdY::DDDividedTrdY(), DDDividedTrdZ::DDDividedTrdZ(), DDDividedTubsPhi::DDDividedTubsPhi(), DDDividedTubsRho::DDDividedTubsRho(), DDDividedTubsZ::DDDividedTubsZ(), and DDDivision().
double DDDivision::offset | ( | ) | const |
Definition at line 55 of file DDDivision.cc.
References DDBase< DDName, std::unique_ptr< DDI::Division > >::rep().
Referenced by DDDividedGeometryObject::checkNDivAndWidth(), DDDividedGeometryObject::checkOffset(), DDDividedPolyconeRho::checkParametersValidity(), DDDividedPolyhedraRho::checkParametersValidity(), DDDividedPolyhedraPhi::checkParametersValidity(), DDDividedPolyconeZ::checkParametersValidity(), DDDividedPolyhedraZ::checkParametersValidity(), DDDividedBoxX::DDDividedBoxX(), DDDividedBoxY::DDDividedBoxY(), DDDividedBoxZ::DDDividedBoxZ(), DDDividedConsPhi::DDDividedConsPhi(), DDDividedConsRho::DDDividedConsRho(), DDDividedConsZ::DDDividedConsZ(), DDDividedPolyconePhi::DDDividedPolyconePhi(), DDDividedPolyconeRho::DDDividedPolyconeRho(), DDDividedPolyconeZ::DDDividedPolyconeZ(), DDDividedPolyhedraPhi::DDDividedPolyhedraPhi(), DDDividedPolyhedraRho::DDDividedPolyhedraRho(), DDDividedPolyhedraZ::DDDividedPolyhedraZ(), DDDividedTrdX::DDDividedTrdX(), DDDividedTrdY::DDDividedTrdY(), DDDividedTrdZ::DDDividedTrdZ(), DDDividedTubsPhi::DDDividedTubsPhi(), DDDividedTubsRho::DDDividedTubsRho(), DDDividedTubsZ::DDDividedTubsZ(), DDDivision(), DDDividedConsRho::makeDDLogicalPart(), DDDividedTubsRho::makeDDLogicalPart(), DDDividedPolyconeRho::makeDDLogicalPart(), DDDividedPolyhedraRho::makeDDLogicalPart(), DDDividedTubsPhi::makeDDLogicalPart(), DDDividedConsPhi::makeDDLogicalPart(), DDDividedPolyhedraPhi::makeDDLogicalPart(), DDDividedPolyconePhi::makeDDLogicalPart(), DDDividedConsZ::makeDDLogicalPart(), DDDividedTrdZ::makeDDLogicalPart(), DDDividedBoxX::makeDDTranslation(), DDDividedTrdX::makeDDTranslation(), DDDividedBoxY::makeDDTranslation(), DDDividedTrdY::makeDDTranslation(), DDDividedBoxZ::makeDDTranslation(), DDDividedConsZ::makeDDTranslation(), DDDividedTubsZ::makeDDTranslation(), and DDDividedTrdZ::makeDDTranslation().
const DDLogicalPart & DDDivision::parent | ( | ) | const |
Definition at line 57 of file DDDivision.cc.
References DDBase< DDName, std::unique_ptr< DDI::Division > >::rep().
Referenced by DDDividedGeometryObject::checkNDivAndWidth(), DDDividedPolyhedraRho::checkParametersValidity(), DDDividedPolyconeRho::checkParametersValidity(), DDDividedTrdX::checkParametersValidity(), DDDividedTrdY::checkParametersValidity(), DDDividedPolyhedraPhi::checkParametersValidity(), DDDividedTrdZ::checkParametersValidity(), DDDividedPolyconeZ::checkParametersValidity(), DDDividedPolyhedraZ::checkParametersValidity(), DDDividedGeometryObject::checkParametersValidity(), DDDividedBoxX::DDDividedBoxX(), DDDividedBoxY::DDDividedBoxY(), DDDividedBoxZ::DDDividedBoxZ(), DDDividedConsPhi::DDDividedConsPhi(), DDDividedConsRho::DDDividedConsRho(), DDDividedConsZ::DDDividedConsZ(), DDDividedPolyconePhi::DDDividedPolyconePhi(), DDDividedPolyconeRho::DDDividedPolyconeRho(), DDDividedPolyconeZ::DDDividedPolyconeZ(), DDDividedPolyhedraPhi::DDDividedPolyhedraPhi(), DDDividedPolyhedraRho::DDDividedPolyhedraRho(), DDDividedPolyhedraZ::DDDividedPolyhedraZ(), DDDividedTrdX::DDDividedTrdX(), DDDividedTrdY::DDDividedTrdY(), DDDividedTrdZ::DDDividedTrdZ(), DDDividedTubsPhi::DDDividedTubsPhi(), DDDividedTubsRho::DDDividedTubsRho(), DDDividedTubsZ::DDDividedTubsZ(), DDDivision(), DDDividedGeometryObject::execute(), DDDividedTubsRho::getMaxParameter(), DDDividedBoxX::getMaxParameter(), DDDividedConsRho::getMaxParameter(), DDDividedPolyhedraRho::getMaxParameter(), DDDividedTrdX::getMaxParameter(), DDDividedPolyconeRho::getMaxParameter(), DDDividedConsPhi::getMaxParameter(), DDDividedBoxY::getMaxParameter(), DDDividedTubsPhi::getMaxParameter(), DDDividedPolyconePhi::getMaxParameter(), DDDividedPolyhedraPhi::getMaxParameter(), DDDividedTrdY::getMaxParameter(), DDDividedTubsZ::getMaxParameter(), DDDividedBoxZ::getMaxParameter(), DDDividedConsZ::getMaxParameter(), DDDividedTrdZ::getMaxParameter(), DDDividedPolyconeZ::getMaxParameter(), DDDividedPolyhedraZ::getMaxParameter(), DDDividedConsRho::makeDDLogicalPart(), DDDividedBoxX::makeDDLogicalPart(), DDDividedTubsRho::makeDDLogicalPart(), DDDividedTrdX::makeDDLogicalPart(), DDDividedPolyhedraRho::makeDDLogicalPart(), DDDividedPolyconeRho::makeDDLogicalPart(), DDDividedGeometryObject::makeDDLogicalPart(), DDDividedBoxY::makeDDLogicalPart(), DDDividedTubsPhi::makeDDLogicalPart(), DDDividedConsPhi::makeDDLogicalPart(), DDDividedTrdY::makeDDLogicalPart(), DDDividedPolyhedraPhi::makeDDLogicalPart(), DDDividedPolyconePhi::makeDDLogicalPart(), DDDividedConsZ::makeDDLogicalPart(), DDDividedTubsZ::makeDDLogicalPart(), DDDividedBoxZ::makeDDLogicalPart(), DDDividedPolyhedraZ::makeDDLogicalPart(), DDDividedPolyconeZ::makeDDLogicalPart(), DDDividedTrdZ::makeDDLogicalPart(), DDDividedConsPhi::makeDDRotation(), DDDividedTubsPhi::makeDDRotation(), DDDividedPolyconePhi::makeDDRotation(), DDDividedPolyhedraPhi::makeDDRotation(), DDDividedBoxX::makeDDTranslation(), DDDividedTrdX::makeDDTranslation(), DDDividedBoxY::makeDDTranslation(), DDDividedTrdY::makeDDTranslation(), DDDividedBoxZ::makeDDTranslation(), DDDividedTubsZ::makeDDTranslation(), DDDividedConsZ::makeDDTranslation(), DDDividedTrdZ::makeDDTranslation(), DDDividedPolyhedraZ::makeDDTranslation(), DDDividedPolyconeZ::makeDDTranslation(), and DDLDivision::makeDivider().
double DDDivision::width | ( | ) | const |
Definition at line 53 of file DDDivision.cc.
References DDBase< DDName, std::unique_ptr< DDI::Division > >::rep().
Referenced by DDDividedPolyconeZ::checkParametersValidity(), DDDividedBoxX::DDDividedBoxX(), DDDividedBoxY::DDDividedBoxY(), DDDividedBoxZ::DDDividedBoxZ(), DDDividedConsPhi::DDDividedConsPhi(), DDDividedConsRho::DDDividedConsRho(), DDDividedConsZ::DDDividedConsZ(), DDDividedGeometryObject::DDDividedGeometryObject(), DDDividedPolyconePhi::DDDividedPolyconePhi(), DDDividedPolyconeRho::DDDividedPolyconeRho(), DDDividedPolyconeZ::DDDividedPolyconeZ(), DDDividedPolyhedraPhi::DDDividedPolyhedraPhi(), DDDividedPolyhedraRho::DDDividedPolyhedraRho(), DDDividedPolyhedraZ::DDDividedPolyhedraZ(), DDDividedTrdX::DDDividedTrdX(), DDDividedTrdY::DDDividedTrdY(), DDDividedTrdZ::DDDividedTrdZ(), DDDividedTubsPhi::DDDividedTubsPhi(), DDDividedTubsRho::DDDividedTubsRho(), DDDividedTubsZ::DDDividedTubsZ(), and DDDivision().