A truncated tube section. More...
#include <DDSolid.h>
Public Member Functions | |
double | cutAtDelta (void) const |
truncation at end of the tube-section | |
double | cutAtStart (void) const |
truncation at begin of the tube-section | |
bool | cutInside (void) const |
true, if truncation is on the inner side of the tube-section | |
DDTruncTubs (const DDSolid &s) | |
double | deltaPhi (void) const |
angular span of the tube-section | |
double | rIn (void) const |
inner radius | |
double | rOut (void) const |
outer radius | |
double | startPhi (void) const |
angular start of the tube-section | |
double | zHalf (void) const |
half of the z-Axis | |
Private Member Functions | |
DDTruncTubs (void) |
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().
: DDSolid(s) { if (s.shape() != ddtrunctubs) { edm::LogError ("DDSolid") << "s.shape()=" << s.shape() << " " << s << std::endl; std::string ex = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is no DDTruncTubs\n"; ex = ex + "Use a different solid interface!"; throw DDException(ex); } }
DDTruncTubs::DDTruncTubs | ( | void | ) | [private] |
double DDTruncTubs::cutAtDelta | ( | void | ) | 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().
{ return rep().parameters()[6];}
double DDTruncTubs::cutAtStart | ( | void | ) | 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().
{ return rep().parameters()[5];}
bool DDTruncTubs::cutInside | ( | void | ) | 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().
{ return bool(rep().parameters()[7]);}
double DDTruncTubs::deltaPhi | ( | void | ) | 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().
{ return rep().parameters()[4];}
double DDTruncTubs::rIn | ( | void | ) | 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().
{ return rep().parameters()[1];}
double DDTruncTubs::rOut | ( | void | ) | 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().
{ return rep().parameters()[2];}
double DDTruncTubs::startPhi | ( | void | ) | 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().
{ return rep().parameters()[3];}
double DDTruncTubs::zHalf | ( | void | ) | 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().
{ return rep().parameters()[0];}