17 const ::cluster::ClusterParamsAlg &cluster2)
21 double start_w1 = cluster1.GetParams().start_point.w;
22 double start_t1 = cluster1.GetParams().start_point.t;
23 double end_w1 = cluster1.GetParams().end_point.w;
24 double end_t1 = cluster1.GetParams().end_point.t;
26 double start_w2 = cluster2.GetParams().start_point.w;
27 double start_t2 = cluster2.GetParams().start_point.t;
28 double end_w2 = cluster2.GetParams().end_point.w;
29 double end_t2 = cluster2.GetParams().end_point.t;
31 double angle_1 = cluster1.GetParams().opening_angle;
32 double angle_2 = cluster2.GetParams().opening_angle;
34 size_t hits_1 = cluster1.GetHitVector().size();
35 size_t hits_2 = cluster2.GetHitVector().size();
39 ( ((start_w2-end_w1)*(start_w2-end_w1) +
40 (start_t2-end_t1)*(start_t2-end_t1)) <
_separation) ){
42 std::cout <<
"Start in End!" <<
std::endl;
47 ( ((start_w1-end_w2)*(start_w1-end_w2) +
48 (start_t1-end_t2)*(start_t1-end_t2)) <
_separation) ){
50 std::cout <<
"Start in End!" <<
std::endl;
Class def header for a class CBAlgoStartNearEnd.
QTextStream & endl(QTextStream &s)