#include <CBAlgoAngleAlign.h>
Definition at line 26 of file CBAlgoAngleAlign.h.
cmtool::CBAlgoAngleAlign::CBAlgoAngleAlign |
( |
| ) |
|
virtual cmtool::CBAlgoAngleAlign::~CBAlgoAngleAlign |
( |
| ) |
|
|
inlinevirtual |
Overloaded (from CBoolAlgoBase) Bool function.
Reimplemented from cmtool::CBoolAlgoBase.
Definition at line 18 of file CBAlgoAngleAlign.cxx.
33 std::cout <<
"\tAngle: " << angle1 << std::endl;
36 std::cout <<
"\tAngle: " << angle2 << std::endl;
45 if(angle1 < -998 || angle2 < -998)
48 bool compatible =
false;
60 if(compatible)
std::cout<<
"These two clusters are compatible in angle."<<std::endl;
const cluster_params & GetParams() const
const std::vector< util::PxHit > & GetHitVector() const
util::PxPoint start_point
start point
double angle_2d
Angle of axis in wire/hit view.
BEGIN_PROLOG could also be cout
void cmtool::CBAlgoAngleAlign::SetAllow180Ambig |
( |
bool |
on | ) |
|
|
inline |
Method to set whether you allow angles to match with +/- 180 deg difference.
Definition at line 44 of file CBAlgoAngleAlign.h.
void cmtool::CBAlgoAngleAlign::SetAngleCut |
( |
double |
angle | ) |
|
|
inline |
Method to set cut value in degrees for angle compatibility test.
Definition at line 47 of file CBAlgoAngleAlign.h.
finds tracks best matching by angle
void cmtool::CBAlgoAngleAlign::SetDebug |
( |
bool |
on | ) |
|
|
inline |
void cmtool::CBAlgoAngleAlign::SetMinNHits |
( |
size_t |
n | ) |
|
|
inline |
bool cmtool::CBAlgoAngleAlign::_allow_180_ambig |
|
protected |
minimum number of hits for cluster to be considered
bool to allow "backwards" clusters (swapped start/end points) to still match in angle, even though they are 180 degrees apart only valid for _use_opening_angle==false
Definition at line 59 of file CBAlgoAngleAlign.h.
bool cmtool::CBAlgoAngleAlign::_debug |
|
protected |
double cmtool::CBAlgoAngleAlign::_MaxAngleSep |
|
protected |
hard shower-axis angle cutoff (only valid for _use_opening_angle==false)
Definition at line 62 of file CBAlgoAngleAlign.h.
size_t cmtool::CBAlgoAngleAlign::_MinNHits |
|
protected |
The documentation for this class was generated from the following files: