LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
EndPointAlg.h
Go to the documentation of this file.
1
8
#ifndef ENDPOINTALG_H
9
#define ENDPOINTALG_H
10
11
#include "
art/Framework/Principal/Event.h
"
12
#include "
fhiclcpp/ParameterSet.h
"
13
#include "
canvas/Persistency/Common/Ptr.h
"
14
#include "
canvas/Persistency/Common/PtrVector.h
"
15
#include "TMath.h"
16
#include <vector>
17
#include <string>
18
19
namespace
recob
{
20
class
Cluster;
21
class
EndPoint2D;
22
class
Hit;
23
}
24
25
namespace
cluster
{
26
28
class
EndPointAlg
{
29
30
public
:
31
32
explicit
EndPointAlg
(
fhicl::ParameterSet
const
& pset);
33
virtual
~
EndPointAlg
();
34
35
void
reconfigure(
fhicl::ParameterSet
const
& pset);
36
37
size_t
EndPoint(
const
art::PtrVector<recob::Cluster>
& clusIn,
38
std::vector<recob::EndPoint2D> & vtxcol,
39
std::vector
<
art::PtrVector<recob::Hit>
> & vtxHitsOut,
40
art::Event
const
& evt,
41
std::string
const
&
label
);
42
43
private
:
44
45
double
Gaussian(
int
x
,
int
y
,
double
sigma);
46
double
GaussianDerivativeX(
int
x,
int
y);
47
double
GaussianDerivativeY(
int
x,
int
y);
48
void
VSSaveBMPFile(
const
char
*fileName,
unsigned
char
*pix,
int
dx,
int
dy);
49
50
51
int
fTimeBins
;
52
int
fMaxCorners
;
53
double
fGsigma
;
54
int
fWindow
;
55
double
fThreshold
;
56
int
fSaveVertexMap
;
57
};
58
59
}
60
61
62
63
#endif // ENDPOINTALG_H
x
Float_t x
Definition:
compare.C:6
cluster::EndPointAlg::fGsigma
double fGsigma
Definition:
EndPointAlg.h:53
cluster::EndPointAlg::fSaveVertexMap
int fSaveVertexMap
Definition:
EndPointAlg.h:56
recob
Reconstruction base classes.
Definition:
BeamFlashCompatibilityCheck_module.cc:31
label
const std::string label
Definition:
BlipMaker_module.cc:27
y
Float_t y
Definition:
compare.C:6
PtrVector.h
cluster
Cluster finding and building.
Definition:
SmallClusterFilter_module.cc:36
cluster::EndPointAlg::fTimeBins
int fTimeBins
Definition:
EndPointAlg.h:51
cluster::EndPointAlg::fThreshold
double fThreshold
Definition:
EndPointAlg.h:55
ParameterSet.h
Event.h
lar::dump::vector
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition:
DumpUtils.h:265
cluster::EndPointAlg::fWindow
int fWindow
Definition:
EndPointAlg.h:54
cluster::EndPointAlg::fMaxCorners
int fMaxCorners
Definition:
EndPointAlg.h:52
Ptr.h
cluster::EndPointAlg
Algorithm to find 2D end points.
Definition:
EndPointAlg.h:28
art::Event
Definition:
Event.h:42
art::PtrVector
Definition:
fwd.h:27
fhicl::ParameterSet
Definition:
ParameterSet.h:34
larreco
v06_64_02
source
larreco
RecoAlg
EndPointAlg.h
Generated on Thu Jul 26 2018 13:10:13 for LArSoft by
1.8.11