Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larreco
larreco
RecoAlg
CMTool
CMTAlgMerge
CBAlgoPolyHitOverlap.cxx
Go to the documentation of this file.
1
#include "
CBAlgoPolyHitOverlap.h
"
2
3
namespace
cmtool
{
4
5
CBAlgoPolyHitOverlap::CBAlgoPolyHitOverlap
() :
CBoolAlgoBase
()
6
{
7
// Nothing to be done in the base class
8
this->
reconfigure
();
9
}
10
11
12
void
CBAlgoPolyHitOverlap::reconfigure
(){
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
}
cmtool::CBoolAlgoBase
Definition:
CBoolAlgoBase.h:27
CBAlgoPolyHitOverlap.h
Class def header for a class CBAlgoPolyHitOverlap.
cmtool::CBAlgoPolyHitOverlap::Bool
virtual bool Bool(const ::cluster::ClusterParamsAlg &cluster1, const ::cluster::ClusterParamsAlg &cluster2)
Definition:
CBAlgoPolyHitOverlap.cxx:19
cmtool::CBAlgoPolyHitOverlap::CBAlgoPolyHitOverlap
CBAlgoPolyHitOverlap()
Default constructor.
Definition:
CBAlgoPolyHitOverlap.cxx:5
cmtool::CBAlgoPolyHitOverlap::reconfigure
void reconfigure()
Method to re-configure the instance.
Definition:
CBAlgoPolyHitOverlap.cxx:12
cmtool
Definition:
CFAlgoQRatio.cxx:3
Generated by
1.8.11