LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
CPriorityAlgoBase.h
Go to the documentation of this file.
1
14
#ifndef RECOTOOL_CPRIORITYALGOBASE_H
15
#define RECOTOOL_CPRIORITYALGOBASE_H
16
17
#include "
CMAlgoBase.h
"
18
19
namespace
cmtool
{
20
26
class
CPriorityAlgoBase
:
public
CMAlgoBase
{
27
28
public
:
29
31
CPriorityAlgoBase
(){}
32
34
virtual
~CPriorityAlgoBase
(){}
35
40
virtual
float
Priority
(
const
cluster::ClusterParamsAlg
&
cluster
)
41
{
42
if
(cluster.
GetNHits
())
return
1.;
43
return
0.1;
44
}
45
46
};
47
48
}
49
50
#endif
51
// end of doxygen group
52
cmtool::CPriorityAlgoBase::~CPriorityAlgoBase
virtual ~CPriorityAlgoBase()
Default destructor.
Definition:
CPriorityAlgoBase.h:34
cluster::ClusterParamsAlg
Definition:
ClusterParamsAlg.h:42
cluster
Cluster finding and building.
Definition:
SmallClusterFilter_module.cc:36
cmtool::CPriorityAlgoBase
Definition:
CPriorityAlgoBase.h:26
CMAlgoBase.h
Class def header for a class CMAlgoBase.
cmtool::CMAlgoBase
Definition:
CMAlgoBase.h:29
cmtool::CPriorityAlgoBase::Priority
virtual float Priority(const cluster::ClusterParamsAlg &cluster)
Definition:
CPriorityAlgoBase.h:40
cmtool::CPriorityAlgoBase::CPriorityAlgoBase
CPriorityAlgoBase()
Default constructor.
Definition:
CPriorityAlgoBase.h:31
cmtool
Definition:
CFAlgo3DAngle.cxx:6
cluster::ClusterParamsAlg::GetNHits
size_t GetNHits() const
Definition:
ClusterParamsAlg.h:270
larreco
v07_10_02
source
larreco
RecoAlg
CMTool
CMToolBase
CPriorityAlgoBase.h
Generated on Wed Dec 12 2018 14:42:57 for LArSoft by
1.8.11