1 #ifndef RECOTOOL_CBALGOSTARTNEAREND_CXX 2 #define RECOTOOL_CBALGOSTARTNEAREND_CXX 20 const ::cluster::ClusterParamsAlg &cluster2)
24 double start_w1 = cluster1.GetParams().start_point.w;
25 double start_t1 = cluster1.GetParams().start_point.t;
26 double end_w1 = cluster1.GetParams().end_point.w;
27 double end_t1 = cluster1.GetParams().end_point.t;
29 double start_w2 = cluster2.GetParams().start_point.w;
30 double start_t2 = cluster2.GetParams().start_point.t;
31 double end_w2 = cluster2.GetParams().end_point.w;
32 double end_t2 = cluster2.GetParams().end_point.t;
34 double angle_1 = cluster1.GetParams().opening_angle;
35 double angle_2 = cluster2.GetParams().opening_angle;
37 size_t hits_1 = cluster1.GetHitVector().size();
38 size_t hits_2 = cluster2.GetHitVector().size();
42 ( ((start_w2-end_w1)*(start_w2-end_w1) +
43 (start_t2-end_t1)*(start_t2-end_t1)) <
_separation) ){
45 std::cout <<
"Start in End!" << std::endl;
50 ( ((start_w1-end_w2)*(start_w1-end_w2) +
51 (start_t1-end_t2)*(start_t1-end_t2)) <
_separation) ){
53 std::cout <<
"Start in End!" << std::endl;
Class def header for a class CBAlgoStartNearEnd.