Public Types | Public Member Functions | Private Attributes | Friends | List of all members
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 &)
 
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
 
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::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 95 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 99 of file Cluster3D.h.

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

Constructor & Destructor Documentation

reco::ClusterHit3D::ClusterHit3D ( )

Definition at line 63 of file Cluster3D.cxx.

64  fStatusBits(0),
65  fPosition(Eigen::Vector3f::Zero()),
66  fTotalCharge(0.),
67  fAvePeakTime(-1.),
68  fDeltaPeakTime(0.),
69  fSigmaPeakTime(0.),
70  fHitChiSquare(0.),
71  fOverlapFraction(0.),
72  fChargeAsymmetry(0.),
73  fDocaToAxis(0.),
74  fArclenToPoca(0.)
75 {
76  fHitDelTSigVec.clear();
77  fWireIDVector.clear();
78  fHitVector.clear();
79  fHitDelTSigVec.resize(3, 0.);
80  fWireIDVector.resize(3, geo::WireID());
81  fHitVector.resize(3, NULL);
82 }
float fDeltaPeakTime
Largest delta peak time of associated recob::Hits.
Definition: Cluster3D.h:209
float fTotalCharge
Sum of charges of all associated recob::Hits.
Definition: Cluster3D.h:207
size_t fID
"id" of this hit (useful for indexing)
Definition: Cluster3D.h:204
float fSigmaPeakTime
Quad sum of peak time sigmas.
Definition: Cluster3D.h:210
float fAvePeakTime
Average peak time of all associated recob::Hits.
Definition: Cluster3D.h:208
std::vector< geo::WireID > fWireIDVector
Wire ID&#39;s for the planes making up hit.
Definition: Cluster3D.h:218
std::vector< float > fHitDelTSigVec
Delta t of hit to matching pair / sig.
Definition: Cluster3D.h:217
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:205
float fOverlapFraction
Hit overlap fraction start/stop of triplet.
Definition: Cluster3D.h:212
static int max(int a, int b)
float fHitChiSquare
Hit ChiSquare relative to the average time.
Definition: Cluster3D.h:211
float fDocaToAxis
DOCA to the associated cluster axis.
Definition: Cluster3D.h:214
float fChargeAsymmetry
Assymetry of average of two closest to third charge.
Definition: Cluster3D.h:213
ClusterHit2DVec fHitVector
Hits comprising this 3D hit.
Definition: Cluster3D.h:216
float fArclenToPoca
arc length along axis to DOCA point
Definition: Cluster3D.h:215
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:206
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.

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

Definition at line 118 of file Cluster3D.cxx.

119 {
120  fID = toCopy.fID;
121  fStatusBits = toCopy.fStatusBits;
122  fPosition = toCopy.fPosition;
123  fTotalCharge = toCopy.fTotalCharge;
124  fAvePeakTime = toCopy.fAvePeakTime;
125  fDeltaPeakTime = toCopy.fDeltaPeakTime;
126  fSigmaPeakTime = toCopy.fSigmaPeakTime;
127  fHitChiSquare = toCopy.fHitChiSquare;
128  fOverlapFraction = toCopy.fOverlapFraction;
129  fChargeAsymmetry = toCopy.fChargeAsymmetry;
130  fDocaToAxis = toCopy.fDocaToAxis;
131  fArclenToPoca = toCopy.fArclenToPoca;
132  fHitVector = toCopy.fHitVector;
133  fHitDelTSigVec = toCopy.fHitDelTSigVec;
134  fWireIDVector = toCopy.fWireIDVector;
135 }
float fDeltaPeakTime
Largest delta peak time of associated recob::Hits.
Definition: Cluster3D.h:209
float fTotalCharge
Sum of charges of all associated recob::Hits.
Definition: Cluster3D.h:207
size_t fID
"id" of this hit (useful for indexing)
Definition: Cluster3D.h:204
float fSigmaPeakTime
Quad sum of peak time sigmas.
Definition: Cluster3D.h:210
float fAvePeakTime
Average peak time of all associated recob::Hits.
Definition: Cluster3D.h:208
std::vector< geo::WireID > fWireIDVector
Wire ID&#39;s for the planes making up hit.
Definition: Cluster3D.h:218
std::vector< float > fHitDelTSigVec
Delta t of hit to matching pair / sig.
Definition: Cluster3D.h:217
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:205
float fOverlapFraction
Hit overlap fraction start/stop of triplet.
Definition: Cluster3D.h:212
float fHitChiSquare
Hit ChiSquare relative to the average time.
Definition: Cluster3D.h:211
float fDocaToAxis
DOCA to the associated cluster axis.
Definition: Cluster3D.h:214
float fChargeAsymmetry
Assymetry of average of two closest to third charge.
Definition: Cluster3D.h:213
ClusterHit2DVec fHitVector
Hits comprising this 3D hit.
Definition: Cluster3D.h:216
float fArclenToPoca
arc length along axis to DOCA point
Definition: Cluster3D.h:215
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:206

Member Function Documentation

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

Definition at line 177 of file Cluster3D.h.

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

Definition at line 181 of file Cluster3D.h.

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

Definition at line 170 of file Cluster3D.h.

170 {return fArclenToPoca;}
float fArclenToPoca
arc length along axis to DOCA point
Definition: Cluster3D.h:215
float reco::ClusterHit3D::getAvePeakTime ( ) const
inline

Definition at line 163 of file Cluster3D.h.

163 {return fAvePeakTime;}
float fAvePeakTime
Average peak time of all associated recob::Hits.
Definition: Cluster3D.h:208
float reco::ClusterHit3D::getChargeAsymmetry ( ) const
inline

Definition at line 168 of file Cluster3D.h.

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

Definition at line 164 of file Cluster3D.h.

164 {return fDeltaPeakTime;}
float fDeltaPeakTime
Largest delta peak time of associated recob::Hits.
Definition: Cluster3D.h:209
float reco::ClusterHit3D::getDocaToAxis ( ) const
inline

Definition at line 169 of file Cluster3D.h.

169 {return fDocaToAxis;}
float fDocaToAxis
DOCA to the associated cluster axis.
Definition: Cluster3D.h:214
float reco::ClusterHit3D::getHitChiSquare ( ) const
inline

Definition at line 166 of file Cluster3D.h.

166 {return fHitChiSquare;}
float fHitChiSquare
Hit ChiSquare relative to the average time.
Definition: Cluster3D.h:211
const std::vector<float> reco::ClusterHit3D::getHitDelTSigVec ( ) const
inline

Definition at line 172 of file Cluster3D.h.

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

Definition at line 171 of file Cluster3D.h.

171 {return fHitVector;}
ClusterHit2DVec fHitVector
Hits comprising this 3D hit.
Definition: Cluster3D.h:216
ClusterHit2DVec& reco::ClusterHit3D::getHits ( )
inline

Definition at line 175 of file Cluster3D.h.

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

Definition at line 156 of file Cluster3D.h.

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

Definition at line 167 of file Cluster3D.h.

167 {return fOverlapFraction;}
float fOverlapFraction
Hit overlap fraction start/stop of triplet.
Definition: Cluster3D.h:212
const Eigen::Vector3f reco::ClusterHit3D::getPosition ( ) const
inline

Definition at line 158 of file Cluster3D.h.

158 {return fPosition;}
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:206
float reco::ClusterHit3D::getSigmaPeakTime ( ) const
inline

Definition at line 165 of file Cluster3D.h.

165 {return fSigmaPeakTime;}
float fSigmaPeakTime
Quad sum of peak time sigmas.
Definition: Cluster3D.h:210
unsigned int reco::ClusterHit3D::getStatusBits ( ) const
inline

Definition at line 157 of file Cluster3D.h.

157 {return fStatusBits;}
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:205
float reco::ClusterHit3D::getTotalCharge ( ) const
inline

Definition at line 162 of file Cluster3D.h.

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

Definition at line 173 of file Cluster3D.h.

173 {return fWireIDVector;}
std::vector< geo::WireID > fWireIDVector
Wire ID&#39;s for the planes making up hit.
Definition: Cluster3D.h:218
float reco::ClusterHit3D::getX ( ) const
inline

Definition at line 159 of file Cluster3D.h.

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

Definition at line 160 of file Cluster3D.h.

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

Definition at line 161 of file Cluster3D.h.

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

152 {
153  fID = id;
154  fStatusBits = statusBits;
156  fTotalCharge = totalCharge;
157  fAvePeakTime = avePeakTime;
158  fDeltaPeakTime = deltaPeakTime;
159  fSigmaPeakTime = sigmaPeakTime;
160  fHitChiSquare = hitChiSquare;
161  fOverlapFraction = overlapFraction;
162  fChargeAsymmetry = chargeAsymmetry;
163  fDocaToAxis = docaToAxis;
164  fArclenToPoca = arclenToPoca;
165  fHitVector = hitVec;
166  fHitDelTSigVec = hitDelTSigVec;
167  fWireIDVector = wireIDs;
168 
169  return;
170 }
float fDeltaPeakTime
Largest delta peak time of associated recob::Hits.
Definition: Cluster3D.h:209
float fTotalCharge
Sum of charges of all associated recob::Hits.
Definition: Cluster3D.h:207
size_t fID
"id" of this hit (useful for indexing)
Definition: Cluster3D.h:204
float fSigmaPeakTime
Quad sum of peak time sigmas.
Definition: Cluster3D.h:210
float fAvePeakTime
Average peak time of all associated recob::Hits.
Definition: Cluster3D.h:208
std::vector< geo::WireID > fWireIDVector
Wire ID&#39;s for the planes making up hit.
Definition: Cluster3D.h:218
std::vector< float > fHitDelTSigVec
Delta t of hit to matching pair / sig.
Definition: Cluster3D.h:217
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:205
float fOverlapFraction
Hit overlap fraction start/stop of triplet.
Definition: Cluster3D.h:212
float fHitChiSquare
Hit ChiSquare relative to the average time.
Definition: Cluster3D.h:211
float fDocaToAxis
DOCA to the associated cluster axis.
Definition: Cluster3D.h:214
float fChargeAsymmetry
Assymetry of average of two closest to third charge.
Definition: Cluster3D.h:213
ClusterHit2DVec fHitVector
Hits comprising this 3D hit.
Definition: Cluster3D.h:216
float fArclenToPoca
arc length along axis to DOCA point
Definition: Cluster3D.h:215
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:206
const bool reco::ClusterHit3D::operator< ( const reco::ClusterHit3D other) const
inline

Definition at line 188 of file Cluster3D.h.

189  {
190  if (fPosition[2] != other.fPosition[2]) return fPosition[2] < other.fPosition[2];
191  else return fPosition[0] < other.fPosition[0];
192  }
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:206
const bool reco::ClusterHit3D::operator== ( const reco::ClusterHit3D other) const
inline

Definition at line 194 of file Cluster3D.h.

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

Definition at line 183 of file Cluster3D.h.

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

Definition at line 182 of file Cluster3D.h.

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

Definition at line 179 of file Cluster3D.h.

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

Definition at line 186 of file Cluster3D.h.

186 {fPosition = pos;}
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:206
void reco::ClusterHit3D::setStatusBit ( unsigned  bits) const
inline

Definition at line 180 of file Cluster3D.h.

180 {fStatusBits |= bits;}
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:205
void reco::ClusterHit3D::setWireID ( const geo::WireID wid) const

Definition at line 172 of file Cluster3D.cxx.

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

Friends And Related Function Documentation

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

Definition at line 177 of file Cluster3D.cxx.

178 {
179  o << "ClusterHit3D has " << c.getHits().size() << " hits associated";
180 
181  return o;
182 }

Member Data Documentation

float reco::ClusterHit3D::fArclenToPoca
mutableprivate

arc length along axis to DOCA point

Definition at line 215 of file Cluster3D.h.

float reco::ClusterHit3D::fAvePeakTime
private

Average peak time of all associated recob::Hits.

Definition at line 208 of file Cluster3D.h.

float reco::ClusterHit3D::fChargeAsymmetry
private

Assymetry of average of two closest to third charge.

Definition at line 213 of file Cluster3D.h.

float reco::ClusterHit3D::fDeltaPeakTime
private

Largest delta peak time of associated recob::Hits.

Definition at line 209 of file Cluster3D.h.

float reco::ClusterHit3D::fDocaToAxis
mutableprivate

DOCA to the associated cluster axis.

Definition at line 214 of file Cluster3D.h.

float reco::ClusterHit3D::fHitChiSquare
private

Hit ChiSquare relative to the average time.

Definition at line 211 of file Cluster3D.h.

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

Delta t of hit to matching pair / sig.

Definition at line 217 of file Cluster3D.h.

ClusterHit2DVec reco::ClusterHit3D::fHitVector
private

Hits comprising this 3D hit.

Definition at line 216 of file Cluster3D.h.

size_t reco::ClusterHit3D::fID
mutableprivate

"id" of this hit (useful for indexing)

Definition at line 204 of file Cluster3D.h.

float reco::ClusterHit3D::fOverlapFraction
private

Hit overlap fraction start/stop of triplet.

Definition at line 212 of file Cluster3D.h.

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

position of this hit combination in world coordinates

Definition at line 206 of file Cluster3D.h.

float reco::ClusterHit3D::fSigmaPeakTime
private

Quad sum of peak time sigmas.

Definition at line 210 of file Cluster3D.h.

unsigned int reco::ClusterHit3D::fStatusBits
mutableprivate

Volatile status information of this 3D hit.

Definition at line 205 of file Cluster3D.h.

float reco::ClusterHit3D::fTotalCharge
private

Sum of charges of all associated recob::Hits.

Definition at line 207 of file Cluster3D.h.

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

Wire ID's for the planes making up hit.

Definition at line 218 of file Cluster3D.h.


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