LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
reco::ClusterHit3D Class Reference

#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 &)
 
ClusterHit3Doperator= (ClusterHit3D const &)
 
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 ClusterHit2DVecgetHits () const
 
const std::vector< float > getHitDelTSigVec () const
 
const std::vector< geo::WireID > & getWireIDs () const
 
ClusterHit2DVecgetHits ()
 
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
 
bool operator< (const reco::ClusterHit3D &other) 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::WireIDfWireIDVector
 Wire ID's for the planes making up hit. More...
 

Friends

std::ostream & operator<< (std::ostream &o, const ClusterHit3D &c)
 

Detailed Description

Definition at line 93 of file Cluster3D.h.

Member Enumeration Documentation

Enumerator
REJECTEDHIT 

Hit has been rejected for any reason.

SKELETONHIT 

Hit is a "skeleton" hit.

EDGEHIT 

Hit is an "edge" hit.

SEEDHIT 

Hit is part of Seed for track fits.

MADESPACEPOINT 

Hit has been made into Space Point.

CONVEXHULLVTX 

Point is on primary cluster convex hull.

EXTREMEPOINT 

Is a convex hull extreme point.

SKELETONPOSAVE 

Skeleton hit position averaged.

CLUSTERVISITED 

"visited" by a clustering algorithm

CLUSTERNOISE 

Labelled "noise" by a clustering algorithm.

CLUSTERATTACHED 

attached to a cluster

CLUSTERSHARED 

3D hit has 2D hits shared between clusters

PATHCHECKED 

Path checking algorithm has seen this hit.

SELECTEDBYMST 

Hit has been used in Cluster Splitting MST.

PCAOUTLIER 

Hit labelled outlier in PCA.

HITINVIEW0 

Hit contains 2D hit from view 0 (u plane)

HITINVIEW1 

Hit contains 2D hit from view 1 (v plane)

HITINVIEW2 

Hit contains 2D hit from view 2 (w plane)

Definition at line 95 of file Cluster3D.h.

95  {
96  REJECTEDHIT = 0x80000000,
97  SKELETONHIT = 0x10000000,
98  EDGEHIT = 0x20000000,
99  SEEDHIT = 0x40000000,
100  MADESPACEPOINT = 0x08000000,
101  CONVEXHULLVTX = 0x04000000,
102  EXTREMEPOINT = 0x02000000,
103  SKELETONPOSAVE = 0x00100000,
104  CLUSTERVISITED = 0x00008000,
105  CLUSTERNOISE = 0x00004000,
106  CLUSTERATTACHED = 0x00002000,
107  CLUSTERSHARED = 0x00001000,
108  PATHCHECKED = 0x00000800,
109  SELECTEDBYMST = 0x00000100,
110  PCAOUTLIER = 0x00000080,
111  HITINVIEW0 = 0x00000001,
112  HITINVIEW1 = 0x00000002,
113  HITINVIEW2 = 0x00000004
114  };
Hit contains 2D hit from view 2 (w plane)
Definition: Cluster3D.h:113
3D hit has 2D hits shared between clusters
Definition: Cluster3D.h:107
Hit labelled outlier in PCA.
Definition: Cluster3D.h:110
Hit is an "edge" hit.
Definition: Cluster3D.h:98
Labelled "noise" by a clustering algorithm.
Definition: Cluster3D.h:105
Hit has been rejected for any reason.
Definition: Cluster3D.h:96
Hit contains 2D hit from view 0 (u plane)
Definition: Cluster3D.h:111
Hit has been used in Cluster Splitting MST.
Definition: Cluster3D.h:109
Point is on primary cluster convex hull.
Definition: Cluster3D.h:101
Hit contains 2D hit from view 1 (v plane)
Definition: Cluster3D.h:112
Path checking algorithm has seen this hit.
Definition: Cluster3D.h:108
Is a convex hull extreme point.
Definition: Cluster3D.h:102
Hit has been made into Space Point.
Definition: Cluster3D.h:100
Hit is part of Seed for track fits.
Definition: Cluster3D.h:99
Skeleton hit position averaged.
Definition: Cluster3D.h:103
"visited" by a clustering algorithm
Definition: Cluster3D.h:104
Hit is a "skeleton" hit.
Definition: Cluster3D.h:97
attached to a cluster
Definition: Cluster3D.h:106

Constructor & Destructor Documentation

reco::ClusterHit3D::ClusterHit3D ( )

Definition at line 73 of file Cluster3D.cxx.

References fHitDelTSigVec, fHitVector, and fWireIDVector.

74  : fID(std::numeric_limits<size_t>::max())
75  , fStatusBits(0)
76  , fPosition(Eigen::Vector3f::Zero())
77  , fTotalCharge(0.)
78  , fAvePeakTime(-1.)
79  , fDeltaPeakTime(0.)
80  , fSigmaPeakTime(0.)
81  , fHitChiSquare(0.)
82  , fOverlapFraction(0.)
83  , fChargeAsymmetry(0.)
84  , fDocaToAxis(0.)
85  , fArclenToPoca(0.)
86  {
87  fHitDelTSigVec.clear();
88  fWireIDVector.clear();
89  fHitVector.clear();
90  fHitDelTSigVec.resize(3, 0.);
91  fWireIDVector.resize(3, geo::WireID());
92  fHitVector.resize(3, NULL);
93  }
float fDeltaPeakTime
Largest delta peak time of associated recob::Hits.
Definition: Cluster3D.h:204
float fTotalCharge
Sum of charges of all associated recob::Hits.
Definition: Cluster3D.h:202
size_t fID
"id" of this hit (useful for indexing)
Definition: Cluster3D.h:199
float fSigmaPeakTime
Quad sum of peak time sigmas.
Definition: Cluster3D.h:205
float fAvePeakTime
Average peak time of all associated recob::Hits.
Definition: Cluster3D.h:203
std::vector< geo::WireID > fWireIDVector
Wire ID&#39;s for the planes making up hit.
Definition: Cluster3D.h:213
std::vector< float > fHitDelTSigVec
Delta t of hit to matching pair / sig.
Definition: Cluster3D.h:212
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:200
float fOverlapFraction
Hit overlap fraction start/stop of triplet.
Definition: Cluster3D.h:207
float fHitChiSquare
Hit ChiSquare relative to the average time.
Definition: Cluster3D.h:206
float fDocaToAxis
DOCA to the associated cluster axis.
Definition: Cluster3D.h:209
float fChargeAsymmetry
Assymetry of average of two closest to third charge.
Definition: Cluster3D.h:208
ClusterHit2DVec fHitVector
Hits comprising this 3D hit.
Definition: Cluster3D.h:211
float fArclenToPoca
arc length along axis to DOCA point
Definition: Cluster3D.h:210
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:201
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 95 of file Cluster3D.cxx.

References fHitVector.

110  : fID(id)
111  , fStatusBits(statusBits)
112  , fPosition(position)
113  , fTotalCharge(totalCharge)
114  , fAvePeakTime(avePeakTime)
115  , fDeltaPeakTime(deltaPeakTime)
116  , fSigmaPeakTime(sigmaPeakTime)
117  , fHitChiSquare(hitChiSquare)
118  , fOverlapFraction(overlapFraction)
119  , fChargeAsymmetry(chargeAsymmetry)
120  , fDocaToAxis(docaToAxis)
121  , fArclenToPoca(arclenToPoca)
122  , fHitDelTSigVec(hitDelTSigVec)
123  , fWireIDVector(wireIDs)
124  {
125  fHitVector.resize(3, NULL);
126  std::copy(hitVec.begin(), hitVec.end(), fHitVector.begin());
127  }
float fDeltaPeakTime
Largest delta peak time of associated recob::Hits.
Definition: Cluster3D.h:204
float fTotalCharge
Sum of charges of all associated recob::Hits.
Definition: Cluster3D.h:202
size_t fID
"id" of this hit (useful for indexing)
Definition: Cluster3D.h:199
float fSigmaPeakTime
Quad sum of peak time sigmas.
Definition: Cluster3D.h:205
float fAvePeakTime
Average peak time of all associated recob::Hits.
Definition: Cluster3D.h:203
std::vector< geo::WireID > fWireIDVector
Wire ID&#39;s for the planes making up hit.
Definition: Cluster3D.h:213
std::vector< float > fHitDelTSigVec
Delta t of hit to matching pair / sig.
Definition: Cluster3D.h:212
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:200
float fOverlapFraction
Hit overlap fraction start/stop of triplet.
Definition: Cluster3D.h:207
float fHitChiSquare
Hit ChiSquare relative to the average time.
Definition: Cluster3D.h:206
float fDocaToAxis
DOCA to the associated cluster axis.
Definition: Cluster3D.h:209
float fChargeAsymmetry
Assymetry of average of two closest to third charge.
Definition: Cluster3D.h:208
ClusterHit2DVec fHitVector
Hits comprising this 3D hit.
Definition: Cluster3D.h:211
float fArclenToPoca
arc length along axis to DOCA point
Definition: Cluster3D.h:210
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:201
reco::ClusterHit3D::ClusterHit3D ( const ClusterHit3D toCopy)

Definition at line 129 of file Cluster3D.cxx.

References fArclenToPoca, fAvePeakTime, fChargeAsymmetry, fDeltaPeakTime, fDocaToAxis, fHitChiSquare, fHitDelTSigVec, fHitVector, fID, fOverlapFraction, fPosition, fSigmaPeakTime, fStatusBits, fTotalCharge, and fWireIDVector.

130  {
131  fID = toCopy.fID;
132  fStatusBits = toCopy.fStatusBits;
133  fPosition = toCopy.fPosition;
134  fTotalCharge = toCopy.fTotalCharge;
135  fAvePeakTime = toCopy.fAvePeakTime;
136  fDeltaPeakTime = toCopy.fDeltaPeakTime;
137  fSigmaPeakTime = toCopy.fSigmaPeakTime;
138  fHitChiSquare = toCopy.fHitChiSquare;
139  fOverlapFraction = toCopy.fOverlapFraction;
140  fChargeAsymmetry = toCopy.fChargeAsymmetry;
141  fDocaToAxis = toCopy.fDocaToAxis;
142  fArclenToPoca = toCopy.fArclenToPoca;
143  fHitVector = toCopy.fHitVector;
144  fHitDelTSigVec = toCopy.fHitDelTSigVec;
145  fWireIDVector = toCopy.fWireIDVector;
146  }
float fDeltaPeakTime
Largest delta peak time of associated recob::Hits.
Definition: Cluster3D.h:204
float fTotalCharge
Sum of charges of all associated recob::Hits.
Definition: Cluster3D.h:202
size_t fID
"id" of this hit (useful for indexing)
Definition: Cluster3D.h:199
float fSigmaPeakTime
Quad sum of peak time sigmas.
Definition: Cluster3D.h:205
float fAvePeakTime
Average peak time of all associated recob::Hits.
Definition: Cluster3D.h:203
std::vector< geo::WireID > fWireIDVector
Wire ID&#39;s for the planes making up hit.
Definition: Cluster3D.h:213
std::vector< float > fHitDelTSigVec
Delta t of hit to matching pair / sig.
Definition: Cluster3D.h:212
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:200
float fOverlapFraction
Hit overlap fraction start/stop of triplet.
Definition: Cluster3D.h:207
float fHitChiSquare
Hit ChiSquare relative to the average time.
Definition: Cluster3D.h:206
float fDocaToAxis
DOCA to the associated cluster axis.
Definition: Cluster3D.h:209
float fChargeAsymmetry
Assymetry of average of two closest to third charge.
Definition: Cluster3D.h:208
ClusterHit2DVec fHitVector
Hits comprising this 3D hit.
Definition: Cluster3D.h:211
float fArclenToPoca
arc length along axis to DOCA point
Definition: Cluster3D.h:210
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:201

Member Function Documentation

bool reco::ClusterHit3D::bitsAreSet ( const unsigned int &  bitsToCheck) const
inline

Definition at line 174 of file Cluster3D.h.

174 { return fStatusBits & bitsToCheck; }
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:200
void reco::ClusterHit3D::clearStatusBits ( unsigned  bits) const
inline

Definition at line 178 of file Cluster3D.h.

178 { fStatusBits &= ~bits; }
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:200
float reco::ClusterHit3D::getChargeAsymmetry ( ) const
inline

Definition at line 165 of file Cluster3D.h.

Referenced by lar_cluster3d::SkeletonAlg::AverageSkeletonPositions(), and lar_cluster3d::Cluster3D::MakeAndSaveKinkPoints().

165 { return fChargeAsymmetry; }
float fChargeAsymmetry
Assymetry of average of two closest to third charge.
Definition: Cluster3D.h:208
float reco::ClusterHit3D::getDeltaPeakTime ( ) const
inline

Definition at line 161 of file Cluster3D.h.

Referenced by lar_cluster3d::SkeletonAlg::AverageSkeletonPositions().

161 { return fDeltaPeakTime; }
float fDeltaPeakTime
Largest delta peak time of associated recob::Hits.
Definition: Cluster3D.h:204
float reco::ClusterHit3D::getDocaToAxis ( ) const
inline
float reco::ClusterHit3D::getHitChiSquare ( ) const
inline
const std::vector<float> reco::ClusterHit3D::getHitDelTSigVec ( ) const
inline

Definition at line 169 of file Cluster3D.h.

Referenced by lar_cluster3d::SkeletonAlg::AverageSkeletonPositions().

169 { return fHitDelTSigVec; }
std::vector< float > fHitDelTSigVec
Delta t of hit to matching pair / sig.
Definition: Cluster3D.h:212
ClusterHit2DVec& reco::ClusterHit3D::getHits ( )
inline

Definition at line 172 of file Cluster3D.h.

172 { return fHitVector; }
ClusterHit2DVec fHitVector
Hits comprising this 3D hit.
Definition: Cluster3D.h:211
size_t reco::ClusterHit3D::getID ( ) const
inline

Definition at line 153 of file Cluster3D.h.

Referenced by lar_cluster3d::SkeletonAlg::AverageSkeletonPositions().

153 { return fID; }
size_t fID
"id" of this hit (useful for indexing)
Definition: Cluster3D.h:199
float reco::ClusterHit3D::getOverlapFraction ( ) const
inline

Definition at line 164 of file Cluster3D.h.

Referenced by lar_cluster3d::SkeletonAlg::AverageSkeletonPositions().

164 { return fOverlapFraction; }
float fOverlapFraction
Hit overlap fraction start/stop of triplet.
Definition: Cluster3D.h:207
const Eigen::Vector3f reco::ClusterHit3D::getPosition ( ) const
inline
unsigned int reco::ClusterHit3D::getStatusBits ( ) const
inline
float reco::ClusterHit3D::getTotalCharge ( ) const
inline

Definition at line 159 of file Cluster3D.h.

Referenced by lar_cluster3d::SkeletonAlg::AverageSkeletonPositions(), and lar_cluster3d::Cluster3D::MakeAndSaveKinkPoints().

159 { return fTotalCharge; }
float fTotalCharge
Sum of charges of all associated recob::Hits.
Definition: Cluster3D.h:202
const std::vector<geo::WireID>& reco::ClusterHit3D::getWireIDs ( ) const
inline
float reco::ClusterHit3D::getX ( ) const
inline

Definition at line 156 of file Cluster3D.h.

156 { return fPosition[0]; }
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:201
float reco::ClusterHit3D::getY ( ) const
inline

Definition at line 157 of file Cluster3D.h.

157 { return fPosition[1]; }
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:201
float reco::ClusterHit3D::getZ ( ) const
inline

Definition at line 158 of file Cluster3D.h.

158 { return fPosition[2]; }
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:201
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 156 of file Cluster3D.cxx.

References fArclenToPoca, fAvePeakTime, fChargeAsymmetry, fDeltaPeakTime, fDocaToAxis, fHitChiSquare, fHitDelTSigVec, fHitVector, fID, fOverlapFraction, fPosition, fSigmaPeakTime, fStatusBits, fTotalCharge, and fWireIDVector.

Referenced by lar_cluster3d::StandardHit3DBuilder::makeHitPair(), lar_cluster3d::SnippetHit3DBuilder::makeHitPair(), lar_cluster3d::StandardHit3DBuilder::makeHitTriplet(), and lar_cluster3d::SnippetHit3DBuilder::makeHitTriplet().

171  {
172  fID = id;
173  fStatusBits = statusBits;
174  fPosition = position;
175  fTotalCharge = totalCharge;
176  fAvePeakTime = avePeakTime;
177  fDeltaPeakTime = deltaPeakTime;
178  fSigmaPeakTime = sigmaPeakTime;
179  fHitChiSquare = hitChiSquare;
180  fOverlapFraction = overlapFraction;
181  fChargeAsymmetry = chargeAsymmetry;
182  fDocaToAxis = docaToAxis;
183  fArclenToPoca = arclenToPoca;
184  fHitVector = hitVec;
185  fHitDelTSigVec = hitDelTSigVec;
186  fWireIDVector = wireIDs;
187 
188  return;
189  }
float fDeltaPeakTime
Largest delta peak time of associated recob::Hits.
Definition: Cluster3D.h:204
float fTotalCharge
Sum of charges of all associated recob::Hits.
Definition: Cluster3D.h:202
size_t fID
"id" of this hit (useful for indexing)
Definition: Cluster3D.h:199
float fSigmaPeakTime
Quad sum of peak time sigmas.
Definition: Cluster3D.h:205
float fAvePeakTime
Average peak time of all associated recob::Hits.
Definition: Cluster3D.h:203
std::vector< geo::WireID > fWireIDVector
Wire ID&#39;s for the planes making up hit.
Definition: Cluster3D.h:213
std::vector< float > fHitDelTSigVec
Delta t of hit to matching pair / sig.
Definition: Cluster3D.h:212
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:200
float fOverlapFraction
Hit overlap fraction start/stop of triplet.
Definition: Cluster3D.h:207
float fHitChiSquare
Hit ChiSquare relative to the average time.
Definition: Cluster3D.h:206
float fDocaToAxis
DOCA to the associated cluster axis.
Definition: Cluster3D.h:209
float fChargeAsymmetry
Assymetry of average of two closest to third charge.
Definition: Cluster3D.h:208
ClusterHit2DVec fHitVector
Hits comprising this 3D hit.
Definition: Cluster3D.h:211
float fArclenToPoca
arc length along axis to DOCA point
Definition: Cluster3D.h:210
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:201
bool reco::ClusterHit3D::operator< ( const reco::ClusterHit3D other) const
inline

Definition at line 185 of file Cluster3D.h.

References fPosition.

186  {
187  if (fPosition[2] != other.fPosition[2])
188  return fPosition[2] < other.fPosition[2];
189  else
190  return fPosition[0] < other.fPosition[0];
191  }
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:201
ClusterHit3D & reco::ClusterHit3D::operator= ( ClusterHit3D const &  toCopy)

Definition at line 148 of file Cluster3D.cxx.

References tmp.

149  {
150  using std::swap;
151  auto tmp = toCopy;
152  swap(tmp, *this);
153  return *this;
154  }
Float_t tmp
Definition: plot.C:35
void swap(lar::deep_const_fwd_iterator_nested< CITER, INNERCONTEXTRACT > &a, lar::deep_const_fwd_iterator_nested< CITER, INNERCONTEXTRACT > &b)
bool reco::ClusterHit3D::operator== ( const reco::ClusterHit3D other) const
inline

Definition at line 193 of file Cluster3D.h.

References fID, and recob::operator<<().

193 { return fID == other.fID; }
size_t fID
"id" of this hit (useful for indexing)
Definition: Cluster3D.h:199
void reco::ClusterHit3D::setArclenToPoca ( double  poca) const
inline

Definition at line 180 of file Cluster3D.h.

180 { fArclenToPoca = poca; }
float fArclenToPoca
arc length along axis to DOCA point
Definition: Cluster3D.h:210
void reco::ClusterHit3D::setDocaToAxis ( double  doca) const
inline

Definition at line 179 of file Cluster3D.h.

179 { fDocaToAxis = doca; }
float fDocaToAxis
DOCA to the associated cluster axis.
Definition: Cluster3D.h:209
void reco::ClusterHit3D::setID ( const size_t &  id) const
inline

Definition at line 176 of file Cluster3D.h.

Referenced by lar_cluster3d::StandardHit3DBuilder::findGoodTriplets(), and lar_cluster3d::SnippetHit3DBuilder::findGoodTriplets().

176 { fID = id; }
size_t fID
"id" of this hit (useful for indexing)
Definition: Cluster3D.h:199
void reco::ClusterHit3D::setPosition ( const Eigen::Vector3f &  pos) const
inline

Definition at line 183 of file Cluster3D.h.

Referenced by lar_cluster3d::SkeletonAlg::AverageSkeletonPositions(), lar_cluster3d::StandardHit3DBuilder::makeDeadChannelPair(), and lar_cluster3d::SnippetHit3DBuilder::makeDeadChannelPair().

183 { fPosition = pos; }
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:201
void reco::ClusterHit3D::setStatusBit ( unsigned  bits) const
inline
void reco::ClusterHit3D::setWireID ( const geo::WireID wid) const

Definition at line 191 of file Cluster3D.cxx.

References fWireIDVector, and geo::PlaneID::Plane.

Referenced by lar_cluster3d::StandardHit3DBuilder::makeDeadChannelPair(), and lar_cluster3d::SnippetHit3DBuilder::makeDeadChannelPair().

192  {
193  fWireIDVector[wid.Plane] = wid;
194  }
std::vector< geo::WireID > fWireIDVector
Wire ID&#39;s for the planes making up hit.
Definition: Cluster3D.h:213
PlaneID_t Plane
Index of the plane within its TPC.
Definition: geo_types.h:481

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const ClusterHit3D c 
)
friend

Definition at line 196 of file Cluster3D.cxx.

197  {
198  o << "ClusterHit3D has " << c.getHits().size() << " hits associated";
199 
200  return o;
201  }

Member Data Documentation

float reco::ClusterHit3D::fArclenToPoca
mutableprivate

arc length along axis to DOCA point

Definition at line 210 of file Cluster3D.h.

Referenced by ClusterHit3D(), and initialize().

float reco::ClusterHit3D::fAvePeakTime
private

Average peak time of all associated recob::Hits.

Definition at line 203 of file Cluster3D.h.

Referenced by ClusterHit3D(), and initialize().

float reco::ClusterHit3D::fChargeAsymmetry
private

Assymetry of average of two closest to third charge.

Definition at line 208 of file Cluster3D.h.

Referenced by ClusterHit3D(), and initialize().

float reco::ClusterHit3D::fDeltaPeakTime
private

Largest delta peak time of associated recob::Hits.

Definition at line 204 of file Cluster3D.h.

Referenced by ClusterHit3D(), and initialize().

float reco::ClusterHit3D::fDocaToAxis
mutableprivate

DOCA to the associated cluster axis.

Definition at line 209 of file Cluster3D.h.

Referenced by ClusterHit3D(), and initialize().

float reco::ClusterHit3D::fHitChiSquare
private

Hit ChiSquare relative to the average time.

Definition at line 206 of file Cluster3D.h.

Referenced by ClusterHit3D(), and initialize().

std::vector<float> reco::ClusterHit3D::fHitDelTSigVec
mutableprivate

Delta t of hit to matching pair / sig.

Definition at line 212 of file Cluster3D.h.

Referenced by ClusterHit3D(), and initialize().

ClusterHit2DVec reco::ClusterHit3D::fHitVector
private

Hits comprising this 3D hit.

Definition at line 211 of file Cluster3D.h.

Referenced by ClusterHit3D(), and initialize().

size_t reco::ClusterHit3D::fID
mutableprivate

"id" of this hit (useful for indexing)

Definition at line 199 of file Cluster3D.h.

Referenced by ClusterHit3D(), initialize(), and operator==().

float reco::ClusterHit3D::fOverlapFraction
private

Hit overlap fraction start/stop of triplet.

Definition at line 207 of file Cluster3D.h.

Referenced by ClusterHit3D(), and initialize().

Eigen::Vector3f reco::ClusterHit3D::fPosition
mutableprivate

position of this hit combination in world coordinates

Definition at line 201 of file Cluster3D.h.

Referenced by ClusterHit3D(), initialize(), and operator<().

float reco::ClusterHit3D::fSigmaPeakTime
private

Quad sum of peak time sigmas.

Definition at line 205 of file Cluster3D.h.

Referenced by ClusterHit3D(), and initialize().

unsigned int reco::ClusterHit3D::fStatusBits
mutableprivate

Volatile status information of this 3D hit.

Definition at line 200 of file Cluster3D.h.

Referenced by ClusterHit3D(), and initialize().

float reco::ClusterHit3D::fTotalCharge
private

Sum of charges of all associated recob::Hits.

Definition at line 202 of file Cluster3D.h.

Referenced by ClusterHit3D(), and initialize().

std::vector<geo::WireID> reco::ClusterHit3D::fWireIDVector
mutableprivate

Wire ID's for the planes making up hit.

Definition at line 213 of file Cluster3D.h.

Referenced by ClusterHit3D(), initialize(), and setWireID().


The documentation for this class was generated from the following files: