Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larreco
larreco
RecoAlg
CMTool
CMTAlgPriority
CPAlgoQSum.h
Go to the documentation of this file.
1
/**
2
* \file CPAlgoQSum.h
3
*
4
* \ingroup CMTool
5
*
6
* \brief Class def header for a class CPAlgoQSum
7
*
8
* @author kazuhiro
9
*/
10
11
/** \addtogroup CMTool
12
13
@{*/
14
#ifndef RECOTOOL_CPALGOQSUM_H
15
#define RECOTOOL_CPALGOQSUM_H
16
17
#include "
larreco/RecoAlg/CMTool/CMToolBase/CPriorityAlgoBase.h
"
18
19
namespace
cmtool
{
20
/**
21
\class CPAlgoQSum
22
Simple algorithm to determine priority based on charge sum
23
If charge sum < set cut value by a user, returns -1.
24
*/
25
class
CPAlgoQSum
:
public
CPriorityAlgoBase
{
26
27
public
:
28
29
/// Default constructor
30
CPAlgoQSum
();
31
32
/// Default destructor
33
virtual
~CPAlgoQSum
(){};
34
35
/**
36
Core function: given the CPAN input, return a float which indicates
37
the user-defined priority for analysis.
38
*/
39
virtual
float
Priority
(const ::cluster::ClusterParamsAlg &
cluster
);
40
41
/// Setter for minimum charge
42
void
SetMinQ
(
double
v) {
_qsum_cut
= v; }
43
44
protected
:
45
46
double
_qsum_cut
;
47
48
};
49
}
50
#endif
51
/** @} */
// end of doxygen group
52
cmtool::CPAlgoQSum::CPAlgoQSum
CPAlgoQSum()
Default constructor.
Definition:
CPAlgoQSum.cxx:6
cmtool::CPAlgoQSum
Definition:
CPAlgoQSum.h:25
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
cmtool::CPAlgoQSum::~CPAlgoQSum
virtual ~CPAlgoQSum()
Default destructor.
Definition:
CPAlgoQSum.h:33
CPriorityAlgoBase.h
Class def header for a class CPriorityAlgoBase.
cmtool::CPAlgoQSum::SetMinQ
void SetMinQ(double v)
Setter for minimum charge.
Definition:
CPAlgoQSum.h:42
cmtool
Definition:
CFAlgoQRatio.cxx:3
cmtool::CPAlgoQSum::Priority
virtual float Priority(const ::cluster::ClusterParamsAlg &cluster)
Definition:
CPAlgoQSum.cxx:13
Generated by
1.8.11