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