LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
GraphClusterAlg.h
Go to the documentation of this file.
1
// GraphClusterAlg.h
3
//
4
// GraphClusterAlg class
5
//
6
// Andrzej Szelc (andrzej.szelc@yale.edu)
7
//
9
#ifndef GRAPHCLUSTERALG_H
10
#define GRAPHCLUSTERALG_H
11
12
#include <vector>
13
14
#include "
canvas/Persistency/Common/PtrVector.h
"
15
#include "
canvas/Persistency/Common/Ptr.h
"
16
#include "
art/Framework/Principal/View.h
"
17
18
#ifdef __ROOTCLING__
19
namespace
art
{
20
class
Event
;
21
}
22
23
namespace
fhicl
{
24
class
ParameterSet;
25
}
26
27
namespace
recob
{
28
class
Hit;
29
}
30
31
32
#else
33
#include "
lareventdisplay/EventDisplay/InfoTransfer.h
"
34
#include "
larcore/Geometry/Geometry.h
"
35
#include "
fhiclcpp/ParameterSet.h
"
36
#endif
37
38
39
namespace
util
{
40
class
PxLine;
41
class
PxPoint;
42
}
43
44
namespace
geo
{
45
class
Geometry;
46
}
47
48
49
namespace
recob
{
50
class
Hit;
51
class
Cluster;
52
}
53
54
namespace
evd
{
55
56
class
InfoTransfer;
57
58
59
class
GraphClusterAlg
{
60
61
public
:
62
63
GraphClusterAlg
(
fhicl::ParameterSet
const
& pset);
64
65
void
reconfigure(
fhicl::ParameterSet
const
& pset);
66
67
// void GetStartEndHits(unsigned int plane, recob::Hit * starthit,recob::Hit * endhit);
68
// void GetStartEndHits(unsigned int plane);
69
void
GetStartEndHits(
unsigned
int
plane,
util::PxLine
&startendpoints);
70
71
72
73
//void GetHitList(unsigned int plane,std::vector< art::Ptr <recob::Hit> > ptrhitlist);
74
void
GetHitList(
unsigned
int
plane,
art::PtrVector <recob::Hit>
&ptrhitlist);
75
76
void
GetHitListAndEndPoints(
unsigned
int
plane,
art::PtrVector <recob::Hit>
&ptrhitlist,
util::PxLine
&startendpoints);
77
78
int
CheckValidity(
art::Event
& evt);
79
80
private
:
81
std::vector < util::PxLine > GetSeedLines();
82
83
84
85
unsigned
int
fNPlanes
;
86
87
int
TestFlag
;
88
int
fRun
;
89
int
fSubRun
;
90
int
fEvent
;
91
92
93
94
/*
95
std::vector< recob::Hit * > starthit;
96
std::vector< recob::Hit * > endhit;
97
*/
98
// std::vector < std::vector< recob::Hit * > > hitlist;
99
100
// std::vector < util::PxLine > plines;
101
//
102
// std::vector <unsigned int> swire;
103
// std::vector <unsigned int> ewire;
104
// std::vector <double> stime;
105
// std::vector <double> etime;
106
//
107
108
109
110
};
//class GraphClusterAlg
111
112
}
//namespace evd
113
114
115
116
117
118
#endif
util
Namespace for general, non-LArSoft-specific utilities.
Definition:
PIDAAlg.h:17
evd::GraphClusterAlg::fNPlanes
unsigned int fNPlanes
Definition:
GraphClusterAlg.h:85
recob
Reconstruction base classes.
Definition:
BeamFlashCompatibilityCheck_module.cc:31
evd::GraphClusterAlg::TestFlag
int TestFlag
Definition:
GraphClusterAlg.h:87
PtrVector.h
evd::GraphClusterAlg::fSubRun
int fSubRun
Definition:
GraphClusterAlg.h:89
ParameterSet.h
evd
LArSoft includes.
Definition:
AnalysisBaseDrawer.cxx:50
fhicl
parameter set interface
Definition:
ServiceProviderWrappers.h:37
View.h
InfoTransfer.h
Ptr.h
evd::GraphClusterAlg
Definition:
GraphClusterAlg.h:59
util::PxLine
Definition:
PxUtils.h:63
art::Event
Definition:
Event.h:42
art::PtrVector< recob::Hit >
evd::GraphClusterAlg::fEvent
int fEvent
Definition:
GraphClusterAlg.h:90
art
HLT enums.
Definition:
ServiceProviderWrappers.h:36
evd::GraphClusterAlg::fRun
int fRun
Definition:
GraphClusterAlg.h:88
art::Level::Event
geo
Namespace collecting geometry-related classes utilities.
Definition:
TrackContainmentAlg.hh:20
Geometry.h
art framework interface to geometry description
fhicl::ParameterSet
Definition:
ParameterSet.h:34
lareventdisplay
v06_22_00
source
lareventdisplay
EventDisplay
GraphClusterAlg.h
Generated on Thu Jul 26 2018 13:09:59 for LArSoft by
1.8.11