1 #ifndef BASICTOOL_GEOCONE_CXX
2 #define BASICTOOL_GEOCONE_CXX
12 _angle = atan(_radius/_length);
16 const double dirx,
const double diry,
const double dirz,
17 const double length,
const double radius)
18 : HalfLine(x, y, z, dirx, diry, dirz)
21 std::ostringstream
msg;
22 msg <<
"<<" << __FUNCTION__ <<
">>"
23 <<
" Cone Length cannot be 0." << std::endl;
24 throw GeoAlgoException(msg.str());
28 _angle = atan(_radius/_length);
32 const double length,
const double radius)
33 : HalfLine( start, dir )
36 std::ostringstream
msg;
37 msg <<
"<<" << __FUNCTION__ <<
">>"
38 <<
" Cone Length cannot be 0." << std::endl;
39 throw GeoAlgoException(msg.str());
43 _angle = atan(_radius/_length);
55 std::ostringstream
msg;
56 msg <<
"<<" << __FUNCTION__ <<
">>"
57 <<
" Cone Length cannot be 0." << std::endl;
58 throw GeoAlgoException(msg.str());
process_name opflash particleana ie ie ie z
double _radius
Radius of the cone at the base.
process_name opflash particleana ie x
double _angle
Opening Angle.
double _length
Helight (length) of the cone.
double Length() const
Length getter.
recob::tracking::Point_t Point_t
Cone()
Default constructor.
process_name opflash particleana ie ie y
double Angle() const
Angle getter.
double Radius() const
Length getter.
recob::tracking::Vector_t Vector_t