#include <DetectorDescription/Core/interface/DDSolid.h>
Public Member Functions | |
double | cutAtDelta () const |
truncation at end of the tube-section | |
double | cutAtStart () const |
truncation at begin of the tube-section | |
bool | cutInside () const |
true, if truncation is on the inner side of the tube-section | |
DDTruncTubs (const DDSolid &s) | |
double | deltaPhi () const |
angular span of the tube-section | |
double | rIn () const |
inner radius | |
double | rOut () const |
outer radius | |
double | startPhi () const |
angular start of the tube-section | |
double | zHalf () const |
half of the z-Axis |
Definition at line 164 of file DDSolid.h.
DDTruncTubs::DDTruncTubs | ( | const DDSolid & | s | ) |
Definition at line 174 of file DDSolid.cc.
References ddtrunctubs, lat::endl(), DDName::name(), DDBase< N, C >::name(), DDName::ns(), and DDSolid::shape().
00174 : DDSolid(s) 00175 { 00176 if (s.shape() != ddtrunctubs) { 00177 edm::LogError ("DDSolid") << "s.shape()=" << s.shape() << " " << s << std::endl; 00178 std::string ex = "Solid [" + s.name().ns() + ":" + s.name().name() + "] is no DDTruncTubs\n"; 00179 ex = ex + "Use a different solid interface!"; 00180 throw DDException(ex); 00181 } 00182 }
double DDTruncTubs::cutAtDelta | ( | ) | const |
truncation at end of the tube-section
Definition at line 196 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginJob(), and DDG4SolidConverter::trunctubs().
00196 { return rep().parameters()[6];}
double DDTruncTubs::cutAtStart | ( | ) | const |
truncation at begin of the tube-section
Definition at line 194 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginJob(), and DDG4SolidConverter::trunctubs().
00194 { return rep().parameters()[5];}
bool DDTruncTubs::cutInside | ( | ) | const |
true, if truncation is on the inner side of the tube-section
Definition at line 198 of file DDSolid.cc.
References DDSolid::parameters(), and DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginJob(), and DDG4SolidConverter::trunctubs().
00198 { return bool(rep().parameters()[7]);}
double DDTruncTubs::deltaPhi | ( | ) | const |
angular span of the tube-section
Definition at line 192 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginJob(), and DDG4SolidConverter::trunctubs().
00192 { return rep().parameters()[4];}
double DDTruncTubs::rIn | ( | ) | const |
inner radius
Definition at line 186 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginJob(), and DDG4SolidConverter::trunctubs().
00186 { return rep().parameters()[1];}
double DDTruncTubs::rOut | ( | ) | const |
outer radius
Definition at line 188 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginJob(), and DDG4SolidConverter::trunctubs().
00188 { return rep().parameters()[2];}
double DDTruncTubs::startPhi | ( | ) | const |
angular start of the tube-section
Definition at line 190 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginJob(), and DDG4SolidConverter::trunctubs().
00190 { return rep().parameters()[3];}
double DDTruncTubs::zHalf | ( | ) | const |
half of the z-Axis
Definition at line 184 of file DDSolid.cc.
References DDBase< DDName, DDI::Solid * >::rep().
Referenced by SolidsForOnline::beginJob(), and DDG4SolidConverter::trunctubs().
00184 { return rep().parameters()[0];}