#include <Cluster3D.h>
Public Types | |
enum | StatusBits { REJECTEDHIT = 0x80000000, SKELETONHIT = 0x10000000, EDGEHIT = 0x20000000, SEEDHIT = 0x40000000, MADESPACEPOINT = 0x08000000, CONVEXHULLVTX = 0x04000000, EXTREMEPOINT = 0x02000000, SKELETONPOSAVE = 0x00100000, CLUSTERVISITED = 0x00008000, CLUSTERNOISE = 0x00004000, CLUSTERATTACHED = 0x00002000, CLUSTERSHARED = 0x00001000, PATHCHECKED = 0x00000800, SELECTEDBYMST = 0x00000100, PCAOUTLIER = 0x00000080, HITINVIEW0 = 0x00000001, HITINVIEW1 = 0x00000002, HITINVIEW2 = 0x00000004 } |
Public Member Functions | |
ClusterHit3D () | |
ClusterHit3D (size_t id, unsigned int statusBits, const Eigen::Vector3f &position, float totalCharge, float avePeakTime, float deltaPeakTime, float sigmaPeakTime, float hitChiSquare, float overlapFraction, float chargeAsymmetry, float docaToAxis, float arclenToPoca, const ClusterHit2DVec &hitVec, const std::vector< float > &hitDelTSigVec, const std::vector< geo::WireID > &wireIDVec) | |
ClusterHit3D (const ClusterHit3D &) | |
void | initialize (size_t id, unsigned int statusBits, const Eigen::Vector3f &position, float totalCharge, float avePeakTime, float deltaPeakTime, float sigmaPeakTime, float hitChiSquare, float overlapFraction, float chargeAsymmetry, float docaToAxis, float arclenToPoca, const ClusterHit2DVec &hitVec, const std::vector< float > &hitDelTSigVec, const std::vector< geo::WireID > &wireIDVec) |
size_t | getID () const |
unsigned int | getStatusBits () const |
const Eigen::Vector3f | getPosition () const |
float | getX () const |
float | getY () const |
float | getZ () const |
float | getTotalCharge () const |
float | getAvePeakTime () const |
float | getDeltaPeakTime () const |
float | getSigmaPeakTime () const |
float | getHitChiSquare () const |
float | getOverlapFraction () const |
float | getChargeAsymmetry () const |
float | getDocaToAxis () const |
float | getArclenToPoca () const |
const ClusterHit2DVec & | getHits () const |
const std::vector< float > | getHitDelTSigVec () const |
const std::vector< geo::WireID > & | getWireIDs () const |
ClusterHit2DVec & | getHits () |
bool | bitsAreSet (const unsigned int &bitsToCheck) const |
void | setID (const size_t &id) const |
void | setStatusBit (unsigned bits) const |
void | clearStatusBits (unsigned bits) const |
void | setDocaToAxis (double doca) const |
void | setArclenToPoca (double poca) const |
void | setWireID (const geo::WireID &wid) const |
void | setPosition (const Eigen::Vector3f &pos) const |
const bool | operator< (const reco::ClusterHit3D &other) const |
const bool | operator== (const reco::ClusterHit3D &other) const |
Private Attributes | |
size_t | fID |
"id" of this hit (useful for indexing) More... | |
unsigned int | fStatusBits |
Volatile status information of this 3D hit. More... | |
Eigen::Vector3f | fPosition |
position of this hit combination in world coordinates More... | |
float | fTotalCharge |
Sum of charges of all associated recob::Hits. More... | |
float | fAvePeakTime |
Average peak time of all associated recob::Hits. More... | |
float | fDeltaPeakTime |
Largest delta peak time of associated recob::Hits. More... | |
float | fSigmaPeakTime |
Quad sum of peak time sigmas. More... | |
float | fHitChiSquare |
Hit ChiSquare relative to the average time. More... | |
float | fOverlapFraction |
Hit overlap fraction start/stop of triplet. More... | |
float | fChargeAsymmetry |
Assymetry of average of two closest to third charge. More... | |
float | fDocaToAxis |
DOCA to the associated cluster axis. More... | |
float | fArclenToPoca |
arc length along axis to DOCA point More... | |
ClusterHit2DVec | fHitVector |
Hits comprising this 3D hit. More... | |
std::vector< float > | fHitDelTSigVec |
Delta t of hit to matching pair / sig. More... | |
std::vector< geo::WireID > | fWireIDVector |
Wire ID's for the planes making up hit. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &o, const ClusterHit3D &c) |
Definition at line 94 of file Cluster3D.h.
Definition at line 98 of file Cluster3D.h.
reco::ClusterHit3D::ClusterHit3D | ( | ) |
Definition at line 63 of file Cluster3D.cxx.
reco::ClusterHit3D::ClusterHit3D | ( | size_t | id, |
unsigned int | statusBits, | ||
const Eigen::Vector3f & | position, | ||
float | totalCharge, | ||
float | avePeakTime, | ||
float | deltaPeakTime, | ||
float | sigmaPeakTime, | ||
float | hitChiSquare, | ||
float | overlapFraction, | ||
float | chargeAsymmetry, | ||
float | docaToAxis, | ||
float | arclenToPoca, | ||
const ClusterHit2DVec & | hitVec, | ||
const std::vector< float > & | hitDelTSigVec, | ||
const std::vector< geo::WireID > & | wireIDVec | ||
) |
Definition at line 84 of file Cluster3D.cxx.
reco::ClusterHit3D::ClusterHit3D | ( | const ClusterHit3D & | toCopy | ) |
Definition at line 118 of file Cluster3D.cxx.
|
inline |
Definition at line 176 of file Cluster3D.h.
|
inline |
Definition at line 180 of file Cluster3D.h.
|
inline |
Definition at line 169 of file Cluster3D.h.
|
inline |
Definition at line 162 of file Cluster3D.h.
|
inline |
Definition at line 167 of file Cluster3D.h.
|
inline |
Definition at line 163 of file Cluster3D.h.
|
inline |
Definition at line 168 of file Cluster3D.h.
|
inline |
Definition at line 165 of file Cluster3D.h.
|
inline |
Definition at line 171 of file Cluster3D.h.
|
inline |
Definition at line 170 of file Cluster3D.h.
|
inline |
Definition at line 174 of file Cluster3D.h.
|
inline |
Definition at line 155 of file Cluster3D.h.
|
inline |
Definition at line 166 of file Cluster3D.h.
|
inline |
Definition at line 157 of file Cluster3D.h.
|
inline |
Definition at line 164 of file Cluster3D.h.
|
inline |
Definition at line 156 of file Cluster3D.h.
|
inline |
Definition at line 161 of file Cluster3D.h.
|
inline |
Definition at line 172 of file Cluster3D.h.
|
inline |
Definition at line 158 of file Cluster3D.h.
|
inline |
Definition at line 159 of file Cluster3D.h.
|
inline |
Definition at line 160 of file Cluster3D.h.
void reco::ClusterHit3D::initialize | ( | size_t | id, |
unsigned int | statusBits, | ||
const Eigen::Vector3f & | position, | ||
float | totalCharge, | ||
float | avePeakTime, | ||
float | deltaPeakTime, | ||
float | sigmaPeakTime, | ||
float | hitChiSquare, | ||
float | overlapFraction, | ||
float | chargeAsymmetry, | ||
float | docaToAxis, | ||
float | arclenToPoca, | ||
const ClusterHit2DVec & | hitVec, | ||
const std::vector< float > & | hitDelTSigVec, | ||
const std::vector< geo::WireID > & | wireIDVec | ||
) |
Definition at line 137 of file Cluster3D.cxx.
|
inline |
Definition at line 187 of file Cluster3D.h.
|
inline |
Definition at line 193 of file Cluster3D.h.
|
inline |
Definition at line 182 of file Cluster3D.h.
|
inline |
Definition at line 181 of file Cluster3D.h.
|
inline |
Definition at line 178 of file Cluster3D.h.
|
inline |
Definition at line 185 of file Cluster3D.h.
|
inline |
Definition at line 179 of file Cluster3D.h.
void reco::ClusterHit3D::setWireID | ( | const geo::WireID & | wid | ) | const |
Definition at line 172 of file Cluster3D.cxx.
|
friend |
Definition at line 177 of file Cluster3D.cxx.
|
mutableprivate |
arc length along axis to DOCA point
Definition at line 214 of file Cluster3D.h.
|
private |
Average peak time of all associated recob::Hits.
Definition at line 207 of file Cluster3D.h.
|
private |
Assymetry of average of two closest to third charge.
Definition at line 212 of file Cluster3D.h.
|
private |
Largest delta peak time of associated recob::Hits.
Definition at line 208 of file Cluster3D.h.
|
mutableprivate |
DOCA to the associated cluster axis.
Definition at line 213 of file Cluster3D.h.
|
private |
Hit ChiSquare relative to the average time.
Definition at line 210 of file Cluster3D.h.
|
mutableprivate |
Delta t of hit to matching pair / sig.
Definition at line 216 of file Cluster3D.h.
|
private |
Hits comprising this 3D hit.
Definition at line 215 of file Cluster3D.h.
|
mutableprivate |
"id" of this hit (useful for indexing)
Definition at line 203 of file Cluster3D.h.
|
private |
Hit overlap fraction start/stop of triplet.
Definition at line 211 of file Cluster3D.h.
|
mutableprivate |
position of this hit combination in world coordinates
Definition at line 205 of file Cluster3D.h.
|
private |
Quad sum of peak time sigmas.
Definition at line 209 of file Cluster3D.h.
|
mutableprivate |
Volatile status information of this 3D hit.
Definition at line 204 of file Cluster3D.h.
|
private |
Sum of charges of all associated recob::Hits.
Definition at line 206 of file Cluster3D.h.
|
mutableprivate |
Wire ID's for the planes making up hit.
Definition at line 217 of file Cluster3D.h.