#include <GraphClusterAlg.h>
Definition at line 31 of file GraphClusterAlg.h.
Definition at line 23 of file GraphClusterAlg.cxx.
unsigned int Nplanes(unsigned int tpc=0, unsigned int cstat=0) const
Returns the total number of wire planes in the specified TPC.
void reconfigure(fhicl::ParameterSet const &pset)
LArSoft geometry interface.
int evd::GraphClusterAlg::CheckValidity |
( |
art::Event & |
evt | ) |
|
Definition at line 216 of file GraphClusterAlg.cxx.
MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
EventNumber_t event() const
SubRunNumber_t subRun() const
Definition at line 176 of file GraphClusterAlg.cxx.
180 std::vector< art::Ptr <recob::Hit> > ptlist=intr->
GetHitList(plane);
185 if(ptlist.size()==0) {
186 mf::LogVerbatim(
"GraphClusterAlg") << (
"hit list of zero size, please select some hits");
MaybeLogger_< ELseverityLevel::ELsev_info, true > LogVerbatim
typename data_t::const_iterator const_iterator
void push_back(Ptr< U > const &p)
std::vector< art::Ptr< recob::Hit > > GetHitList(unsigned int plane)
Definition at line 55 of file GraphClusterAlg.cxx.
void GetStartEndHits(unsigned int plane, util::PxLine &startendpoints)
void GetHitList(unsigned int plane, art::PtrVector< recob::Hit > &ptrhitlist)
Definition at line 201 of file GraphClusterAlg.cxx.
208 std::vector < util::PxLine > plines = intr->
GetSeedList();
210 std::cout <<
" Received Seed List of Size: " << plines.size() <<
std::endl;
std::vector< util::PxLine > GetSeedList()
QTextStream & endl(QTextStream &s)
void evd::GraphClusterAlg::GetStartEndHits |
( |
unsigned int |
plane, |
|
|
util::PxLine & |
startendpoints |
|
) |
| |
Definition at line 65 of file GraphClusterAlg.cxx.
67 std::vector < double > starthit;
68 std::vector < double > endhit;
73 startendpoints.
w0=starthit[0];
74 startendpoints.
t0=starthit[1];
75 startendpoints.
w1=endhit[0];
76 startendpoints.
t1=endhit[1];
77 startendpoints.
plane=plane;
std::vector< double > GetStartHitCoords(unsigned int plane)
double t1
defined to be the ending t-position (of line or seed depending)
double w0
defined to be the vertex w-position
double w1
defined to be the ending w-position (of line or seed depending)
std::vector< double > GetEndHitCoords(unsigned int plane)
double t0
defined to be the vertex t-position
int evd::GraphClusterAlg::fEvent |
|
private |
unsigned int evd::GraphClusterAlg::fNPlanes |
|
private |
int evd::GraphClusterAlg::fRun |
|
private |
int evd::GraphClusterAlg::fSubRun |
|
private |
int evd::GraphClusterAlg::TestFlag |
|
private |
The documentation for this class was generated from the following files: