LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "Cluster3D.h"
Public Types | |
enum | StatusBits { SHAREDINPAIR = 0x00080000, SHAREDINTRIPLET = 0x00040000, USEDINPAIR = 0x00008000, USEDINTRIPLET = 0x00004000, SHAREDINCLUSTER = 0x00000200, USEDINCLUSTER = 0x00000100, USED = 0x00000001 } |
Public Member Functions | |
ClusterHit2D () | |
ClusterHit2D (unsigned statusBits, float doca, float poca, float xPosition, float timeTicks, const geo::WireID &wireID, const recob::Hit *recobHit) | |
ClusterHit2D (const ClusterHit2D &) | |
ClusterHit2D & | operator= (ClusterHit2D const &) |
unsigned | getStatusBits () const |
float | getDocaToAxis () const |
float | getArcLenToPoca () const |
float | getXPosition () const |
float | getTimeTicks () const |
const geo::WireID & | WireID () const |
const recob::Hit * | getHit () const |
void | setStatusBit (unsigned bits) const |
void | clearStatusBits (unsigned bits) const |
void | setDocaToAxis (float doca) const |
void | setArcLenToPoca (float poca) const |
void | setHit (const recob::Hit *hit) |
Private Attributes | |
unsigned | m_statusBits |
Volatile status information of this 3D hit. More... | |
float | m_docaToAxis |
DOCA of hit at POCA to associated cluster axis. More... | |
float | m_arcLenToPoca |
arc length to POCA along cluster axis More... | |
float | m_xPosition |
The x coordinate for this hit. More... | |
float | m_timeTicks |
The time (in ticks) for this hit. More... | |
geo::WireID | m_wireID |
Keep track this particular hit's wireID. More... | |
const recob::Hit * | m_hit |
Hit we are augmenting. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, const ClusterHit2D &c) |
bool | operator< (const ClusterHit2D &a, const ClusterHit2D &b) |
Definition at line 36 of file Cluster3D.h.
Enumerator | |
---|---|
SHAREDINPAIR | |
SHAREDINTRIPLET | |
USEDINPAIR | |
USEDINTRIPLET | |
SHAREDINCLUSTER | |
USEDINCLUSTER | |
USED |
Definition at line 50 of file Cluster3D.h.
reco::ClusterHit2D::ClusterHit2D | ( | ) |
Definition at line 17 of file Cluster3D.cxx.
reco::ClusterHit2D::ClusterHit2D | ( | unsigned | statusBits, |
float | doca, | ||
float | poca, | ||
float | xPosition, | ||
float | timeTicks, | ||
const geo::WireID & | wireID, | ||
const recob::Hit * | recobHit | ||
) |
Definition at line 27 of file Cluster3D.cxx.
reco::ClusterHit2D::ClusterHit2D | ( | const ClusterHit2D & | toCopy | ) |
Definition at line 43 of file Cluster3D.cxx.
References m_arcLenToPoca, m_docaToAxis, m_hit, m_statusBits, m_timeTicks, m_wireID, and m_xPosition.
|
inline |
Definition at line 80 of file Cluster3D.h.
|
inline |
Definition at line 73 of file Cluster3D.h.
|
inline |
Definition at line 72 of file Cluster3D.h.
|
inline |
Definition at line 77 of file Cluster3D.h.
Referenced by lar_cluster3d::StandardHit3DBuilder::BuildHit3D(), lar_cluster3d::StandardHit3DBuilder::CreateNewRecobHitCollection(), lar_cluster3d::SnippetHit3DBuilder::CreateNewRecobHitCollection(), lar_cluster3d::StandardHit3DBuilder::DistanceFromPointToHitWire(), lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), lar_cluster3d::SnippetHit3DBuilder::makeHitPair(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), lar_cluster3d::SnippetHit3DBuilder::makeHitTriplet(), lar_cluster3d::Hit2DSetCompare::operator()(), reco::operator<(), reco::operator<<(), lar_cluster3d::SetHitTimeOrder(), and reco::RecobClusterParameters::UpdateParameters().
|
inline |
Definition at line 71 of file Cluster3D.h.
Referenced by lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), lar_cluster3d::StandardHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::SnippetHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), lar_cluster3d::SnippetHit3DBuilder::makeHitPair(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), and lar_cluster3d::SnippetHit3DBuilder::makeHitTriplet().
|
inline |
Definition at line 75 of file Cluster3D.h.
Referenced by lar_cluster3d::StandardHit3DBuilder::BuildHit3D(), lar_cluster3d::StandardHit3DBuilder::BuildHitPairMapByTPC(), lar_cluster3d::SkeletonAlg::FindMedialSkeleton(), lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), lar_cluster3d::SnippetHit3DBuilder::makeHitPair(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), and lar_cluster3d::SnippetHit3DBuilder::makeHitTriplet().
|
inline |
Definition at line 74 of file Cluster3D.h.
Referenced by lar_cluster3d::StandardHit3DBuilder::makeHitPair(), lar_cluster3d::SnippetHit3DBuilder::makeHitPair(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), and lar_cluster3d::SnippetHit3DBuilder::makeHitTriplet().
ClusterHit2D & reco::ClusterHit2D::operator= | ( | ClusterHit2D const & | toCopy | ) |
Definition at line 54 of file Cluster3D.cxx.
References tmp.
|
inline |
Definition at line 82 of file Cluster3D.h.
|
inline |
Definition at line 81 of file Cluster3D.h.
|
inline |
|
inline |
Definition at line 79 of file Cluster3D.h.
Referenced by lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), lar_cluster3d::StandardHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::SnippetHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), lar_cluster3d::SnippetHit3DBuilder::makeHitPair(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), and lar_cluster3d::SnippetHit3DBuilder::makeHitTriplet().
|
inline |
Definition at line 76 of file Cluster3D.h.
Referenced by lar_cluster3d::StandardHit3DBuilder::findGoodHitPairs(), lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), lar_cluster3d::StandardHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::SnippetHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), lar_cluster3d::SnippetHit3DBuilder::makeHitPair(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), lar_cluster3d::SnippetHit3DBuilder::makeHitTriplet(), reco::RecobClusterParameters::UpdateParameters(), and reco::ClusterParameters::UpdateParameters().
|
friend |
Definition at line 68 of file Cluster3D.cxx.
|
friend |
Definition at line 62 of file Cluster3D.cxx.
|
mutableprivate |
arc length to POCA along cluster axis
Definition at line 43 of file Cluster3D.h.
Referenced by ClusterHit2D().
|
mutableprivate |
DOCA of hit at POCA to associated cluster axis.
Definition at line 42 of file Cluster3D.h.
Referenced by ClusterHit2D().
|
private |
|
mutableprivate |
Volatile status information of this 3D hit.
Definition at line 41 of file Cluster3D.h.
Referenced by ClusterHit2D().
|
private |
The time (in ticks) for this hit.
Definition at line 45 of file Cluster3D.h.
Referenced by ClusterHit2D().
|
private |
Keep track this particular hit's wireID.
Definition at line 46 of file Cluster3D.h.
Referenced by ClusterHit2D().
|
private |
The x coordinate for this hit.
Definition at line 44 of file Cluster3D.h.
Referenced by ClusterHit2D().