CBAlgoPolyHitOverlap.cxx
Go to the documentation of this file.
1 #include "CBAlgoPolyHitOverlap.h"
2 
3 namespace cmtool {
4 
6  {
7  // Nothing to be done in the base class
8  this->reconfigure();
9  }
10 
11 
13 
14  //not sure what needs to be reset/reconfigured for this algo
15 
16  }//end reconfigure function
17 
18 
19  bool CBAlgoPolyHitOverlap::Bool(const ::cluster::ClusterParamsAlg &cluster1,
20  const ::cluster::ClusterParamsAlg &cluster2)
21  {
22 
23  //Check and see if a certain fraction of hits of a cluster
24  //lie within polygon boundary of other cluster
25 
26  if(cluster1.GetNHits() && cluster2.GetNHits()) return false;
27  return false;
28  }
29 
30 
31 }
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.