LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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 "
larreco/RecoAlg/CMTool/CMToolBase/CMAlgoBase.h
"
18
#include "
larreco/RecoAlg/ClusterRecoUtil/ClusterParamsAlg.h
"
19
20
namespace
cmtool
{
21
27
class
CPriorityAlgoBase
:
public
CMAlgoBase
{
28
29
public
:
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
#endif
50
// end of doxygen group
cmtool::CPriorityAlgoBase::~CPriorityAlgoBase
virtual ~CPriorityAlgoBase()
Default destructor.
Definition:
CPriorityAlgoBase.h:34
cluster::ClusterParamsAlg
Definition:
ClusterParamsAlg.h:24
cluster
Cluster finding and building.
Definition:
SmallClusterFilter_module.cc:34
cmtool::CPriorityAlgoBase
Definition:
CPriorityAlgoBase.h:27
CMAlgoBase.h
Class def header for a class CMAlgoBase.
ClusterParamsAlg.h
cmtool::CMAlgoBase
Definition:
CMAlgoBase.h:30
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:
CFAlgoQRatio.cxx:3
cluster::ClusterParamsAlg::GetNHits
size_t GetNHits() const
Definition:
ClusterParamsAlg.h:229
larreco
v09_25_00
source
larreco
RecoAlg
CMTool
CMToolBase
CPriorityAlgoBase.h
Generated on Thu May 2 2024 20:59:47 for LArSoft by
1.8.11