Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larreco
larreco
RecoAlg
CMTool
CMTAlgPriority
CPAlgoQSum.cxx
Go to the documentation of this file.
1
#include "
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
22
}
cmtool::CPAlgoQSum::CPAlgoQSum
CPAlgoQSum()
Default constructor.
Definition:
CPAlgoQSum.cxx:6
cmtool::CPAlgoQSum::_qsum_cut
double _qsum_cut
Definition:
CPAlgoQSum.h:46
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
Generated by
1.8.11