![]() |
![]() |
#include <DetectorDescription/Core/src/TruncTubs.h>
Public Member Functions | |
void | stream (std::ostream &os) const |
TruncTubs (double zHalf, double rIn, double rOut, double startPhi, double deltaPhi, double cutAtStart, double cutAtDelta, bool cutInside) | |
double | volume () |
Definition at line 9 of file TruncTubs.h.
DDI::TruncTubs::TruncTubs | ( | double | zHalf, | |
double | rIn, | |||
double | rOut, | |||
double | startPhi, | |||
double | deltaPhi, | |||
double | cutAtStart, | |||
double | cutAtDelta, | |||
bool | cutInside | |||
) |
Definition at line 5 of file TruncTubs.cc.
References DDI::Solid::p_.
00012 : Solid(ddtrunctubs) 00013 { 00014 p_.push_back(zHalf); 00015 p_.push_back(rIn); 00016 p_.push_back(rOut); 00017 p_.push_back(startPhi); 00018 p_.push_back(deltaPhi); 00019 p_.push_back(cutAtStart); 00020 p_.push_back(cutAtDelta); 00021 p_.push_back(cutInside); 00022 }
void DDI::TruncTubs::stream | ( | std::ostream & | os | ) | const [virtual] |
Reimplemented from DDI::Solid.
Definition at line 25 of file TruncTubs.cc.
References DDI::Solid::p_.
00026 { 00027 os << " zHalf=" << p_[0]/cm 00028 << "cm rIn=" << p_[1]/cm 00029 << "cm rOut=" << p_[2]/cm 00030 << "cm startPhi=" << p_[3]/deg 00031 << "deg deltaPhi=" << p_[4]/deg 00032 << "deg cutAtStart=" << p_[5]/cm 00033 << "cm cutAtDelta=" << p_[6]/cm 00034 << "cm cutInside=" << p_[7]; 00035 }
double DDI::TruncTubs::volume | ( | ) | [inline] |