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