39 const ::cluster::ClusterParamsAlg &cluster2)
44 if(cluster1.GetParams().eigenvalue_principal >
_ep_cut &&
45 cluster2.GetParams().eigenvalue_principal >
_ep_cut)
56 size_t N_Hits1 = cluster1.GetHitVector().size();
57 size_t N_Hits2 = cluster2.GetHitVector().size();
58 auto start_point1 = cluster1.GetParams().start_point;
59 auto start_point2 = cluster2.GetParams().start_point;
60 double angle_2d1 = cluster1.GetParams().angle_2d;
61 double angle_2d2 = cluster2.GetParams().angle_2d;
62 double opening_angle1 = cluster1.GetParams().opening_angle;
63 double opening_angle2 = cluster2.GetParams().opening_angle;
64 Polygon2D PolyObject1 = cluster1.GetParams().PolyObject;
65 Polygon2D PolyObject2 = cluster2.GetParams().PolyObject;
66 double length1 = cluster1.GetParams().length;
67 double length2 = cluster2.GetParams().length;
68 double width1 = cluster1.GetParams().width;
69 double width2 = cluster2.GetParams().width;
75 std::cout <<
"Cluster1 Num Hits: " << N_Hits1 <<
std::endl;
76 std::cout <<
"\t Start: (" << start_point1.w <<
" " << start_point1.t <<
" )" <<
std::endl;
77 std::cout <<
"\t Opening ANgle " << opening_angle1*(360/(2*3.14)) << std::endl;
78 std::cout <<
"\t Angle2D: " << angle_2d1 <<
std::endl;
79 std::cout <<
"\t Length: " << length1 <<
std::endl;
80 std::cout <<
"\t Width: " << width1 <<
std::endl;
81 std::cout <<
"Cluster2 Num Hits: " << N_Hits2 <<
std::endl;
82 std::cout <<
"\t Start: (" << start_point2.w <<
" " << start_point2.t <<
" )" <<
std::endl;
83 std::cout <<
"\t Opening ANgle " << opening_angle2*(360/(2*3.14)) << std::endl;
84 std::cout <<
"\t Angle2D: " << angle_2d2 <<
std::endl;
85 std::cout <<
"\t Length: " << length2 <<
std::endl;
86 std::cout <<
"\t Width: " << width2 <<
std::endl;
99 if (
_verbose) { std::cout <<
"*****************************************Separate with TrackSeparate!" <<
std::endl; }
Double_t TimeToCm() const
Double_t WireToCm() const
Class def header for a class CBAlgoTrackSeparate.
QTextStream & endl(QTextStream &s)