LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
CBAlgoPolyHitOverlap.cxx
Go to the documentation of this file.
2 
3 namespace cmtool {
4 
6  {
7  // Nothing to be done in the base class
8  this->reconfigure();
9  }
10 
12  {
13 
14  //not sure what needs to be reset/reconfigured for this algo
15 
16  } //end reconfigure function
17 
18  bool CBAlgoPolyHitOverlap::Bool(const ::cluster::ClusterParamsAlg& cluster1,
19  const ::cluster::ClusterParamsAlg& cluster2)
20  {
21 
22  //Check and see if a certain fraction of hits of a cluster
23  //lie within polygon boundary of other cluster
24 
25  if (cluster1.GetNHits() && cluster2.GetNHits()) return false;
26  return false;
27  }
28 
29 }
Class def header for a class CBAlgoPolyHitOverlap.
virtual bool Bool(const ::cluster::ClusterParamsAlg &cluster1, const ::cluster::ClusterParamsAlg &cluster2)
CBAlgoPolyHitOverlap()
Default constructor.
void reconfigure()
Method to re-configure the instance.