LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
CPAlgoPolyArea.cxx
Go to the documentation of this file.
1
#include "
larreco/RecoAlg/CMTool/CMTAlgPriority/CPAlgoPolyArea.h
"
2
3
namespace
cmtool
{
4
5
//----------------------------------------------------------
6
CPAlgoPolyArea::CPAlgoPolyArea
() :
CPriorityAlgoBase
()
7
//----------------------------------------------------------
8
{
9
_area_cut
= 0;
10
}
11
12
//------------------------------------------------------------------------------
13
float
CPAlgoPolyArea::Priority
(const ::cluster::ClusterParamsAlg&
cluster
)
14
//------------------------------------------------------------------------------
15
{
16
17
auto
area = cluster.GetParams().PolyObject.Area();
18
19
return
(area <
_area_cut
? -1 : area);
20
}
21
22
}
CPAlgoPolyArea.h
Class def header for a class CPAlgoPolyArea.
cmtool::CPAlgoPolyArea::Priority
virtual float Priority(const ::cluster::ClusterParamsAlg &cluster)
Definition:
CPAlgoPolyArea.cxx:13
cmtool::CPAlgoPolyArea::_area_cut
double _area_cut
Definition:
CPAlgoPolyArea.h:41
cluster
Cluster finding and building.
Definition:
SmallClusterFilter_module.cc:34
cmtool::CPriorityAlgoBase
Definition:
CPriorityAlgoBase.h:27
cmtool::CPAlgoPolyArea::CPAlgoPolyArea
CPAlgoPolyArea()
Default constructor.
Definition:
CPAlgoPolyArea.cxx:6
cmtool
Definition:
CFAlgoQRatio.cxx:3
larreco
v09_25_00
source
larreco
RecoAlg
CMTool
CMTAlgPriority
CPAlgoPolyArea.cxx
Generated on Thu May 2 2024 20:59:47 for LArSoft by
1.8.11