Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
larreco
larreco
RecoAlg
CMTool
CMTAlgPriority
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
22
}
cmtool::CPAlgoQSum::CPAlgoQSum
CPAlgoQSum()
Default constructor.
Definition:
CPAlgoQSum.cxx:6
cluster
process_name cluster
Definition:
cheaterreco.fcl:51
cmtool::CPAlgoQSum::_qsum_cut
double _qsum_cut
Definition:
CPAlgoQSum.h:46
cmtool::CPriorityAlgoBase
Definition:
CPriorityAlgoBase.h:27
CPAlgoQSum.h
Class def header for a class CPAlgoQSum.
cmtool::CPAlgoQSum::Priority
virtual float Priority(const ::cluster::ClusterParamsAlg &cluster)
Definition:
CPAlgoQSum.cxx:13
Generated by
1.8.5