A truncated tube section. More...
#include <DDSolid.h>
Public Member Functions | |
double | cutAtDelta () const |
truncation at end of the tube-section More... | |
double | cutAtStart () const |
truncation at begin of the tube-section More... | |
bool | cutInside () const |
true, if truncation is on the inner side of the tube-section More... | |
DDTruncTubs (const DDSolid &s) | |
double | deltaPhi () const |
angular span of the tube-section More... | |
double | rIn () const |
inner radius More... | |
double | rOut () const |
outer radius More... | |
double | startPhi () const |
angular start of the tube-section More... | |
double | zHalf () const |
half of the z-Axis More... | |
Public Member Functions inherited from DDSolid | |
DDSolid () | |
Uninitialilzed solid reference-object; for further details on reference-objects see documentation of DDLogicalPart. More... | |
DDSolid (const DDName &name) | |
Creates a reference-object to a solid named name. More... | |
const std::vector< double > & | parameters () const |
Don't use (only meant to be used by DDbox(), DDtub(), ...) More... | |
DDSolidShape | shape () const |
The type of the solid. More... | |
double | volume () const |
Returns the volume of the given solid (does not work with boolean soids !) More... | |
Public Member Functions inherited from DDBase< DDName, DDI::Solid * > | |
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 |
const DDI::rep_traits< DDName, DDI::Solid * >::reference | rep () const |
DDI::rep_traits< DDName, DDI::Solid * >::reference | rep () |
std::string | toString () const |
const DDI::rep_traits< DDName, DDI::Solid * >::reference | val () const |
const DDI::rep_traits< DDName, DDI::Solid * >::reference | val () |
virtual | ~DDBase () |
Additional Inherited Members | |
Public Types inherited from DDBase< DDName, DDI::Solid * > | |
typedef std::pair< const DDName *, bool > | def_type |
typedef DDI::Solid * | pimpl_type |
typedef DDI::rep_type< DDName, pimpl_type > * | prep_type |
typedef DDI::Singleton < DDI::Store< DDName, DDI::Solid * > > | StoreT |
Static Public Member Functions inherited from DDBase< DDName, DDI::Solid * > | |
static DDI::Store< DDName, DDI::Solid * >::iterator | begin () |
static void | clear () |
static DDI::Store< DDName, DDI::Solid * >::iterator | end () |
static size_t | size () |
Protected Attributes inherited from DDBase< DDName, DDI::Solid * > | |
prep_type | prep_ |
DDTruncTubs::DDTruncTubs | ( | const DDSolid & | s | ) |
Definition at line 194 of file DDSolid.cc.
References ddtrunctubs, DDName::name(), DDBase< N, C >::name(), DDName::ns(), and DDSolid::shape().
double DDTruncTubs::cutAtDelta | ( | ) | const |
truncation at end of the tube-section
Definition at line 216 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), DDCoreToDDXMLOutput::solid(), and DDG4SolidConverter::trunctubs().
double DDTruncTubs::cutAtStart | ( | ) | const |
truncation at begin of the tube-section
Definition at line 214 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), DDCoreToDDXMLOutput::solid(), and DDG4SolidConverter::trunctubs().
bool DDTruncTubs::cutInside | ( | ) | const |
true, if truncation is on the inner side of the tube-section
Definition at line 218 of file DDSolid.cc.
References DDSolid::parameters(), and DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), DDCoreToDDXMLOutput::solid(), and DDG4SolidConverter::trunctubs().
double DDTruncTubs::deltaPhi | ( | ) | const |
angular span of the tube-section
Definition at line 212 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), DDCoreToDDXMLOutput::solid(), and DDG4SolidConverter::trunctubs().
double DDTruncTubs::rIn | ( | ) | const |
inner radius
Definition at line 206 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), DDCoreToDDXMLOutput::solid(), and DDG4SolidConverter::trunctubs().
double DDTruncTubs::rOut | ( | ) | const |
outer radius
Definition at line 208 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), DDCoreToDDXMLOutput::solid(), and DDG4SolidConverter::trunctubs().
double DDTruncTubs::startPhi | ( | ) | const |
angular start of the tube-section
Definition at line 210 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), DDCoreToDDXMLOutput::solid(), and DDG4SolidConverter::trunctubs().
double DDTruncTubs::zHalf | ( | ) | const |
half of the z-Axis
Definition at line 204 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginRun(), TGeoMgrFromDdd::createShape(), DDCoreToDDXMLOutput::solid(), and DDG4SolidConverter::trunctubs().