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