Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larreco
larreco
RecoAlg
EndPointAlg.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
/// \file EndPointAlg.h
3
/// \brief algorithm to find 2D endpoints
4
///
5
/// \author joshua.spitz@yale.edu
6
////////////////////////////////////////////////////////////////////////
7
8
#ifndef ENDPOINTALG_H
9
#define ENDPOINTALG_H
10
11
#include "
art/Framework/Principal/fwd.h
"
12
#include "
canvas/Persistency/Common/PtrVector.h
"
13
namespace
fhicl
{
class
ParameterSet; }
14
15
#include <vector>
16
#include <string>
17
18
namespace
recob
{
19
class
Cluster;
20
class
EndPoint2D;
21
class
Hit
;
22
}
23
24
namespace
cluster
{
25
26
///Algorithm to find 2D end points
27
class
EndPointAlg
{
28
29
public
:
30
31
explicit
EndPointAlg
(
fhicl::ParameterSet
const
& pset);
32
33
void
reconfigure
(
fhicl::ParameterSet
const
& pset);
34
35
size_t
EndPoint(
const
art::PtrVector<recob::Cluster>
& clusIn,
36
std::vector<recob::EndPoint2D> & vtxcol,
37
std::vector
<
art::PtrVector<recob::Hit>
> & vtxHitsOut,
38
art::Event
const
&
evt
,
39
std::string
const
&
label
)
const
;
40
41
private
:
42
43
double
Gaussian(
int
x
,
int
y
,
double
sigma)
const
;
44
double
GaussianDerivativeX(
int
x,
int
y)
const
;
45
double
GaussianDerivativeY(
int
x,
int
y)
const
;
46
void
VSSaveBMPFile(
const
char
*
fileName
,
unsigned
char
*pix,
int
dx,
int
dy)
const
;
47
48
49
int
fTimeBins
;
50
int
fMaxCorners
;
51
double
fGsigma
;
52
int
fWindow
;
53
double
fThreshold
;
54
int
fSaveVertexMap
;
55
};
56
57
}
58
59
60
61
#endif // ENDPOINTALG_H
cluster::EndPointAlg::fGsigma
double fGsigma
Definition:
EndPointAlg.h:51
cluster::EndPointAlg::fSaveVertexMap
int fSaveVertexMap
Definition:
EndPointAlg.h:54
recob
Reconstruction base classes.
Definition:
AdcChannelData.h:91
string
std::string string
Definition:
nybbler.cc:12
vector
struct vector vector
test_nxdot.label
label
Definition:
test_nxdot.py:6
PtrVector.h
cluster
Cluster finding and building.
Definition:
SmallClusterFilter_module.cc:34
cluster::EndPointAlg::fTimeBins
int fTimeBins
Definition:
EndPointAlg.h:49
cluster::EndPointAlg::fThreshold
double fThreshold
Definition:
EndPointAlg.h:53
cluster::EndPointAlg::fWindow
int fWindow
Definition:
EndPointAlg.h:52
dumpTree.fileName
fileName
Definition:
dumpTree.py:9
RunHistoryService::reconfigure
virtual void reconfigure(fhicl::ParameterSet const &pset)
fhicl
Definition:
InputSourceFactory.h:7
cluster::EndPointAlg::fMaxCorners
int fMaxCorners
Definition:
EndPointAlg.h:50
wirecell.validate.cmaps.y
y
Definition:
cmaps.py:73
cluster::EndPointAlg
Algorithm to find 2D end points.
Definition:
EndPointAlg.h:27
fwd.h
art::Event
Definition:
Event.h:22
wirecell.sigproc.minisim.Hit
Hit
Definition:
minisim.py:12
art::PtrVector
Definition:
fwd.h:33
train.x
list x
Definition:
train.py:276
tca::evt
TCEvent evt
Definition:
DataStructs.cxx:7
fhicl::ParameterSet
Definition:
ParameterSet.h:36
Generated by
1.8.11