Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larreco
larreco
RecoAlg
ClusterMatchTQ.h
Go to the documentation of this file.
1
//////////////////////////////////////////////////////////////////////
2
///
3
/// ClusterMatchTQ class
4
///
5
/// tjyang@fnal.gov
6
///
7
/// Algorithm for matching clusters between different views
8
/// based on time and charge information
9
///
10
/// Input: a list of clusters and all hits associated with clusters
11
/// Output: a vector of index vectors. Each group of indices represent
12
/// a particle candidate
13
////////////////////////////////////////////////////////////////////////
14
#ifndef CLUSTERMATCHTQ_H
15
#define CLUSTERMATCHTQ_H
16
17
#include "canvas/Persistency/Common/FindManyP.h"
18
#include "
canvas/Persistency/Common/Ptr.h
"
19
#include "
fhiclcpp/fwd.h
"
20
21
#include "
lardataobj/RecoBase/Cluster.h
"
22
#include "
lardataobj/RecoBase/Hit.h
"
23
namespace
detinfo
{
24
class
DetectorClocksData;
25
class
DetectorPropertiesData;
26
}
27
28
#include <vector>
29
30
namespace
cluster
{
31
class
ClusterMatchTQ
{
32
public
:
33
ClusterMatchTQ
(
fhicl::ParameterSet
const
& pset);
34
35
std::vector<std::vector<unsigned int>> MatchedClusters(
36
const
detinfo::DetectorClocksData
& clockdata,
37
const
detinfo::DetectorPropertiesData
& detProp,
38
const
std::vector
<
art::Ptr<recob::Cluster>
>& clusterlist,
39
const
art::FindManyP<recob::Hit>&
fm
)
const
;
40
41
private
:
42
double
fKSCut
;
43
bool
fEnableU
;
44
bool
fEnableV
;
45
bool
fEnableZ
;
46
47
};
// class ClusterMatchTQ
48
}
// namespace cluster
49
50
#endif //ifndef CLUSTERMATCHTQ_H
detinfo::DetectorPropertiesData
Definition:
DetectorPropertiesData.h:11
vector
struct vector vector
cluster
Cluster finding and building.
Definition:
SmallClusterFilter_module.cc:34
cluster::ClusterMatchTQ::fEnableZ
bool fEnableZ
Definition:
ClusterMatchTQ.h:45
Cluster.h
Ptr.h
cluster::ClusterMatchTQ::fKSCut
double fKSCut
Definition:
ClusterMatchTQ.h:42
detinfo
General LArSoft Utilities.
Definition:
CalibrationTreeBuilder.h:23
cluster::ClusterMatchTQ
Definition:
ClusterMatchTQ.h:31
Hit.h
Declaration of signal hit object.
detinfo::DetectorClocksData
Contains all timing reference information for the detector.
Definition:
DetectorClocksData.h:283
cluster::ClusterMatchTQ::fEnableU
bool fEnableU
Definition:
ClusterMatchTQ.h:43
fwd.h
genie::units::fm
static constexpr double fm
Definition:
Units.h:75
cluster::ClusterMatchTQ::fEnableV
bool fEnableV
Definition:
ClusterMatchTQ.h:44
art::Ptr< recob::Cluster >
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11