LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
CPAlgoPolyArea.cxx
Go to the documentation of this file.
1
#ifndef RECOTOOL_CPALGOPOLYAREA_CXX
2
#define RECOTOOL_CPALGOPOLYAREA_CXX
3
4
#include "
CPAlgoPolyArea.h
"
5
6
namespace
cmtool
{
7
8
//----------------------------------------------------------
9
CPAlgoPolyArea::CPAlgoPolyArea
() :
CPriorityAlgoBase
()
10
//----------------------------------------------------------
11
{
12
_area_cut
= 0;
13
}
14
15
//------------------------------------------------------------------------------
16
float
CPAlgoPolyArea::Priority
(const ::cluster::ClusterParamsAlg &
cluster
)
17
//------------------------------------------------------------------------------
18
{
19
20
auto
area = cluster.GetParams().PolyObject.Area();
21
22
return
( area <
_area_cut
? -1 : area);
23
}
24
25
}
26
#endif
CPAlgoPolyArea.h
Class def header for a class CPAlgoPolyArea.
cmtool::CPAlgoPolyArea::Priority
virtual float Priority(const ::cluster::ClusterParamsAlg &cluster)
Definition:
CPAlgoPolyArea.cxx:16
cmtool::CPAlgoPolyArea::_area_cut
double _area_cut
Definition:
CPAlgoPolyArea.h:46
cluster
Cluster finding and building.
Definition:
SmallClusterFilter_module.cc:36
cmtool::CPriorityAlgoBase
Definition:
CPriorityAlgoBase.h:26
cmtool::CPAlgoPolyArea::CPAlgoPolyArea
CPAlgoPolyArea()
Default constructor.
Definition:
CPAlgoPolyArea.cxx:9
cmtool
Definition:
CFAlgo3DAngle.cxx:6
larreco
v07_10_02
source
larreco
RecoAlg
CMTool
CMTAlgPriority
CPAlgoPolyArea.cxx
Generated on Wed Dec 12 2018 14:42:57 for LArSoft by
1.8.11