LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
SpacePointHit3DBuilder class definiton. More...
Public Types | |
enum | TimeValues { COLLECTARTHITS = 0, BUILDTHREEDHITS = 1, NUMTIMEVALUES } |
enumerate the possible values for time checking if monitoring timing More... | |
using | RecobHitToPtrMap = std::map< const recob::Hit *, art::Ptr< recob::Hit >> |
Defines a structure mapping art representation to internal. More... | |
Public Member Functions | |
SpacePointHit3DBuilder (fhicl::ParameterSet const &pset) | |
Constructor. More... | |
~SpacePointHit3DBuilder () | |
Destructor. More... | |
void | configure (const fhicl::ParameterSet &) override |
Interface for configuring the particular algorithm tool. More... | |
void | Hit3DBuilder (const art::Event &evt, reco::HitPairList &hitPairList, RecobHitToPtrMap &) const override |
Given a set of recob hits, run DBscan to form 3D clusters. More... | |
float | getTimeToExecute (IHit3DBuilder::TimeValues index) const override |
If monitoring, recover the time to execute a particular function. More... | |
Private Types | |
using | Hit2DVector = std::vector< reco::ClusterHit2D > |
Private Attributes | |
art::InputTag | m_spacePointTag |
Data members to follow. More... | |
bool | m_enableMonitoring |
std::vector< float > | m_timeVector |
Hit2DVector | m_clusterHit2DMasterVec |
const detinfo::DetectorProperties * | m_detector |
SpacePointHit3DBuilder class definiton.
Definition at line 39 of file SpacePointHit3DBuilder_tool.cc.
|
private |
Definition at line 71 of file SpacePointHit3DBuilder_tool.cc.
|
inherited |
Defines a structure mapping art representation to internal.
Definition at line 44 of file IHit3DBuilder.h.
|
inherited |
enumerate the possible values for time checking if monitoring timing
Enumerator | |
---|---|
COLLECTARTHITS | |
BUILDTHREEDHITS | |
NUMTIMEVALUES |
Definition at line 57 of file IHit3DBuilder.h.
|
explicit |
Constructor.
pset |
Definition at line 87 of file SpacePointHit3DBuilder_tool.cc.
References configure().
lar_cluster3d::SpacePointHit3DBuilder::~SpacePointHit3DBuilder | ( | ) |
|
overridevirtual |
Interface for configuring the particular algorithm tool.
ParameterSet | The input set of parameters for configuration |
Implements lar_cluster3d::IHit3DBuilder.
Definition at line 100 of file SpacePointHit3DBuilder_tool.cc.
References fhicl::ParameterSet::get(), m_detector, m_enableMonitoring, and m_spacePointTag.
Referenced by SpacePointHit3DBuilder().
|
inlineoverridevirtual |
If monitoring, recover the time to execute a particular function.
Implements lar_cluster3d::IHit3DBuilder.
Definition at line 67 of file SpacePointHit3DBuilder_tool.cc.
References m_timeVector.
|
overridevirtual |
Given a set of recob hits, run DBscan to form 3D clusters.
hitPairList | The input list of 3D hits to run clustering on |
clusterParametersList | A list of cluster objects (parameters from associated hits) |
Recover the 2D hits from art and fill out the local data structures for the 3D clustering
Implements lar_cluster3d::IHit3DBuilder.
Definition at line 108 of file SpacePointHit3DBuilder_tool.cc.
References lar_cluster3d::IHit3DBuilder::BUILDTHREEDHITS, detinfo::DetectorProperties::ConvertTicksToX(), DEFINE_ART_CLASS_TOOL, art::Ptr< T >::get(), art::DataViewImpl::getByLabel(), reco::ClusterHit2D::getHit(), detinfo::DetectorProperties::GetXTicksOffset(), art::Handle< T >::isValid(), geo::kU, geo::kV, geo::kW, m_clusterHit2DMasterVec, m_detector, m_enableMonitoring, m_spacePointTag, m_timeVector, lar_cluster3d::IHit3DBuilder::NUMTIMEVALUES, geo::PlaneID::Plane, reco::ClusterHit2D::SHAREDINTRIPLET, reco::ClusterHit2D::USEDINTRIPLET, weight, recob::Hit::WireID(), and recob::SpacePoint::XYZ().
|
mutableprivate |
Definition at line 82 of file SpacePointHit3DBuilder_tool.cc.
Referenced by Hit3DBuilder().
|
private |
Definition at line 84 of file SpacePointHit3DBuilder_tool.cc.
Referenced by configure(), and Hit3DBuilder().
|
private |
Definition at line 78 of file SpacePointHit3DBuilder_tool.cc.
Referenced by configure(), and Hit3DBuilder().
|
private |
Data members to follow.
Definition at line 76 of file SpacePointHit3DBuilder_tool.cc.
Referenced by configure(), and Hit3DBuilder().
|
mutableprivate |
Definition at line 79 of file SpacePointHit3DBuilder_tool.cc.
Referenced by getTimeToExecute(), and Hit3DBuilder().