19 const ::cluster::ClusterParamsAlg &cluster2)
22 double angle1 = cluster1.GetParams().angle_2d;
23 double angle2 = cluster2.GetParams().angle_2d;
24 size_t hits1 = cluster1.GetHitVector().size();
25 size_t hits2 = cluster2.GetHitVector().size();
33 std::cout <<
"\tAngle: " << angle1 << std::endl;
34 std::cout <<
"\t Start: (" << cluster1.GetParams().start_point.w <<
", " << cluster1.GetParams().start_point.t <<
")" << std::endl;
36 std::cout <<
"\tAngle: " << angle2 << std::endl;
37 std::cout <<
"\t Start: (" << cluster2.GetParams().start_point.w <<
", " << cluster2.GetParams().start_point.t <<
")" << 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;
BEGIN_PROLOG could also be cout
Class def header for a class CBAlgoAngleAlign.