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