LArSoft
v06_85_00
Liquid Argon Software toolkit - http://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 recob::Hit &recobHit) | |
unsigned | getStatusBits () const |
float | getDocaToAxis () const |
float | getArcLenToPoca () const |
float | getXPosition () const |
float | getTimeTicks () 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 |
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... | |
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 35 of file Cluster3D.h.
Enumerator | |
---|---|
SHAREDINPAIR | |
SHAREDINTRIPLET | |
USEDINPAIR | |
USEDINTRIPLET | |
SHAREDINCLUSTER | |
USEDINCLUSTER | |
USED |
Definition at line 52 of file Cluster3D.h.
reco::ClusterHit2D::ClusterHit2D | ( | ) |
Definition at line 19 of file Cluster3D.cxx.
reco::ClusterHit2D::ClusterHit2D | ( | unsigned | statusBits, |
float | doca, | ||
float | poca, | ||
float | xPosition, | ||
float | timeTicks, | ||
const recob::Hit & | recobHit | ||
) |
Definition at line 26 of file Cluster3D.cxx.
|
inline |
Definition at line 76 of file Cluster3D.h.
|
inline |
Definition at line 70 of file Cluster3D.h.
References m_arcLenToPoca.
|
inline |
Definition at line 69 of file Cluster3D.h.
References m_docaToAxis.
|
inline |
Definition at line 73 of file Cluster3D.h.
References m_hit.
Referenced by lar_cluster3d::StandardHit3DBuilder::BuildHit3D(), lar_cluster3d::StandardHit3DBuilder::findGoodHitPairs(), lar_cluster3d::PrincipalComponentsAlg::getHit2DPocaToAxis(), lar_cluster3d::SpacePointHit3DBuilder::Hit3DBuilder(), lar_cluster3d::StandardHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), lar_cluster3d::Hit2DSetCompare::operator()(), reco::operator<(), reco::operator<<(), lar_cluster3d::SetHitTimeOrder(), reco::RecobClusterParameters::UpdateParameters(), and reco::ClusterParameters::UpdateParameters().
|
inline |
Definition at line 68 of file Cluster3D.h.
References m_statusBits.
Referenced by lar_cluster3d::StandardHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), and lar_cluster3d::StandardHit3DBuilder::makeHitTriplet().
|
inline |
Definition at line 72 of file Cluster3D.h.
References m_timeTicks.
Referenced by lar_cluster3d::StandardHit3DBuilder::BuildHitPairMapByTPC(), lar_cluster3d::SkeletonAlg::FindMedialSkeleton(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), and lar_cluster3d::StandardHit3DBuilder::makeHitTriplet().
|
inline |
Definition at line 71 of file Cluster3D.h.
References m_xPosition.
Referenced by lar_cluster3d::StandardHit3DBuilder::makeHitPair(), and lar_cluster3d::StandardHit3DBuilder::makeHitTriplet().
|
inline |
Definition at line 78 of file Cluster3D.h.
References operator<, and operator<<.
|
inline |
Definition at line 77 of file Cluster3D.h.
|
inline |
Definition at line 75 of file Cluster3D.h.
Referenced by lar_cluster3d::StandardHit3DBuilder::makeDeadChannelPair(), lar_cluster3d::StandardHit3DBuilder::makeHitPair(), and lar_cluster3d::StandardHit3DBuilder::makeHitTriplet().
|
friend |
Definition at line 47 of file Cluster3D.cxx.
Referenced by reco::Cluster3D::clearStatusBits(), setArcLenToPoca(), and reco::PrincipalComponents::setAveHitDoca().
|
friend |
Definition at line 40 of file Cluster3D.cxx.
Referenced by reco::Cluster3D::clearStatusBits(), reco::ClusterHit3D::operator==(), setArcLenToPoca(), and reco::PrincipalComponents::setAveHitDoca().
|
mutableprivate |
arc length to POCA along cluster axis
Definition at line 45 of file Cluster3D.h.
Referenced by getArcLenToPoca().
|
mutableprivate |
DOCA of hit at POCA to associated cluster axis.
Definition at line 44 of file Cluster3D.h.
Referenced by getDocaToAxis(), reco::ClusterHit3D::getDocaToAxis(), and reco::ClusterHit3D::setDocaToAxis().
|
private |
|
mutableprivate |
Volatile status information of this 3D hit.
Definition at line 43 of file Cluster3D.h.
Referenced by reco::ClusterHit3D::bitsAreSet(), reco::ClusterHit3D::clearStatusBits(), getStatusBits(), reco::ClusterHit3D::getStatusBits(), reco::Cluster3D::getStatusBits(), and reco::ClusterHit3D::setStatusBit().
|
private |
The time (in ticks) for this hit.
Definition at line 47 of file Cluster3D.h.
Referenced by getTimeTicks().
|
private |
The x coordinate for this hit.
Definition at line 46 of file Cluster3D.h.
Referenced by getXPosition().