All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 94 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 98 of file Cluster3D.h.

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

Constructor & Destructor Documentation

reco::ClusterHit3D::ClusterHit3D ( )

Definition at line 63 of file Cluster3D.cxx.

63  : fID(std::numeric_limits<size_t>::max()),
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:208
float fTotalCharge
Sum of charges of all associated recob::Hits.
Definition: Cluster3D.h:206
size_t fID
&quot;id&quot; of this hit (useful for indexing)
Definition: Cluster3D.h:203
float fSigmaPeakTime
Quad sum of peak time sigmas.
Definition: Cluster3D.h:209
float fAvePeakTime
Average peak time of all associated recob::Hits.
Definition: Cluster3D.h:207
std::vector< geo::WireID > fWireIDVector
Wire ID&#39;s for the planes making up hit.
Definition: Cluster3D.h:217
std::vector< float > fHitDelTSigVec
Delta t of hit to matching pair / sig.
Definition: Cluster3D.h:216
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:204
float fOverlapFraction
Hit overlap fraction start/stop of triplet.
Definition: Cluster3D.h:211
float fHitChiSquare
Hit ChiSquare relative to the average time.
Definition: Cluster3D.h:210
float fDocaToAxis
DOCA to the associated cluster axis.
Definition: Cluster3D.h:213
float fChargeAsymmetry
Assymetry of average of two closest to third charge.
Definition: Cluster3D.h:212
ClusterHit2DVec fHitVector
Hits comprising this 3D hit.
Definition: Cluster3D.h:215
float fArclenToPoca
arc length along axis to DOCA point
Definition: Cluster3D.h:214
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:205
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),
101  fPosition(position),
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:208
float fTotalCharge
Sum of charges of all associated recob::Hits.
Definition: Cluster3D.h:206
size_t fID
&quot;id&quot; of this hit (useful for indexing)
Definition: Cluster3D.h:203
float fSigmaPeakTime
Quad sum of peak time sigmas.
Definition: Cluster3D.h:209
float fAvePeakTime
Average peak time of all associated recob::Hits.
Definition: Cluster3D.h:207
std::vector< geo::WireID > fWireIDVector
Wire ID&#39;s for the planes making up hit.
Definition: Cluster3D.h:217
std::vector< float > fHitDelTSigVec
Delta t of hit to matching pair / sig.
Definition: Cluster3D.h:216
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:204
float fOverlapFraction
Hit overlap fraction start/stop of triplet.
Definition: Cluster3D.h:211
float fHitChiSquare
Hit ChiSquare relative to the average time.
Definition: Cluster3D.h:210
float fDocaToAxis
DOCA to the associated cluster axis.
Definition: Cluster3D.h:213
float fChargeAsymmetry
Assymetry of average of two closest to third charge.
Definition: Cluster3D.h:212
ClusterHit2DVec fHitVector
Hits comprising this 3D hit.
Definition: Cluster3D.h:215
float fArclenToPoca
arc length along axis to DOCA point
Definition: Cluster3D.h:214
T copy(T const &v)
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:205
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:208
float fTotalCharge
Sum of charges of all associated recob::Hits.
Definition: Cluster3D.h:206
size_t fID
&quot;id&quot; of this hit (useful for indexing)
Definition: Cluster3D.h:203
float fSigmaPeakTime
Quad sum of peak time sigmas.
Definition: Cluster3D.h:209
float fAvePeakTime
Average peak time of all associated recob::Hits.
Definition: Cluster3D.h:207
std::vector< geo::WireID > fWireIDVector
Wire ID&#39;s for the planes making up hit.
Definition: Cluster3D.h:217
std::vector< float > fHitDelTSigVec
Delta t of hit to matching pair / sig.
Definition: Cluster3D.h:216
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:204
float fOverlapFraction
Hit overlap fraction start/stop of triplet.
Definition: Cluster3D.h:211
float fHitChiSquare
Hit ChiSquare relative to the average time.
Definition: Cluster3D.h:210
float fDocaToAxis
DOCA to the associated cluster axis.
Definition: Cluster3D.h:213
float fChargeAsymmetry
Assymetry of average of two closest to third charge.
Definition: Cluster3D.h:212
ClusterHit2DVec fHitVector
Hits comprising this 3D hit.
Definition: Cluster3D.h:215
float fArclenToPoca
arc length along axis to DOCA point
Definition: Cluster3D.h:214
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:205

Member Function Documentation

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

Definition at line 176 of file Cluster3D.h.

176 {return fStatusBits & bitsToCheck;}
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:204
void reco::ClusterHit3D::clearStatusBits ( 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:204
float reco::ClusterHit3D::getArclenToPoca ( ) const
inline

Definition at line 169 of file Cluster3D.h.

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

Definition at line 162 of file Cluster3D.h.

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

Definition at line 167 of file Cluster3D.h.

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

Definition at line 163 of file Cluster3D.h.

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

Definition at line 168 of file Cluster3D.h.

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

Definition at line 165 of file Cluster3D.h.

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

Definition at line 171 of file Cluster3D.h.

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

Definition at line 170 of file Cluster3D.h.

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

Definition at line 174 of file Cluster3D.h.

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

Definition at line 155 of file Cluster3D.h.

155 {return fID;}
size_t fID
&quot;id&quot; of this hit (useful for indexing)
Definition: Cluster3D.h:203
float reco::ClusterHit3D::getOverlapFraction ( ) const
inline

Definition at line 166 of file Cluster3D.h.

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

Definition at line 157 of file Cluster3D.h.

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

Definition at line 164 of file Cluster3D.h.

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

Definition at line 156 of file Cluster3D.h.

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

Definition at line 161 of file Cluster3D.h.

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

Definition at line 172 of file Cluster3D.h.

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

Definition at line 158 of file Cluster3D.h.

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

Definition at line 159 of file Cluster3D.h.

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

Definition at line 160 of file Cluster3D.h.

160 {return fPosition[2];}
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:205
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;
155  fPosition = position;
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:208
float fTotalCharge
Sum of charges of all associated recob::Hits.
Definition: Cluster3D.h:206
size_t fID
&quot;id&quot; of this hit (useful for indexing)
Definition: Cluster3D.h:203
float fSigmaPeakTime
Quad sum of peak time sigmas.
Definition: Cluster3D.h:209
float fAvePeakTime
Average peak time of all associated recob::Hits.
Definition: Cluster3D.h:207
std::vector< geo::WireID > fWireIDVector
Wire ID&#39;s for the planes making up hit.
Definition: Cluster3D.h:217
std::vector< float > fHitDelTSigVec
Delta t of hit to matching pair / sig.
Definition: Cluster3D.h:216
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:204
float fOverlapFraction
Hit overlap fraction start/stop of triplet.
Definition: Cluster3D.h:211
float fHitChiSquare
Hit ChiSquare relative to the average time.
Definition: Cluster3D.h:210
float fDocaToAxis
DOCA to the associated cluster axis.
Definition: Cluster3D.h:213
float fChargeAsymmetry
Assymetry of average of two closest to third charge.
Definition: Cluster3D.h:212
ClusterHit2DVec fHitVector
Hits comprising this 3D hit.
Definition: Cluster3D.h:215
float fArclenToPoca
arc length along axis to DOCA point
Definition: Cluster3D.h:214
Eigen::Vector3f fPosition
position of this hit combination in world coordinates
Definition: Cluster3D.h:205
const bool reco::ClusterHit3D::operator< ( const reco::ClusterHit3D other) const
inline

Definition at line 187 of file Cluster3D.h.

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

Definition at line 193 of file Cluster3D.h.

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

Definition at line 182 of file Cluster3D.h.

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

Definition at line 181 of file Cluster3D.h.

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

Definition at line 178 of file Cluster3D.h.

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

Definition at line 185 of file Cluster3D.h.

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

Definition at line 179 of file Cluster3D.h.

179 {fStatusBits |= bits;}
unsigned int fStatusBits
Volatile status information of this 3D hit.
Definition: Cluster3D.h:204
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:217
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 214 of file Cluster3D.h.

float reco::ClusterHit3D::fAvePeakTime
private

Average peak time of all associated recob::Hits.

Definition at line 207 of file Cluster3D.h.

float reco::ClusterHit3D::fChargeAsymmetry
private

Assymetry of average of two closest to third charge.

Definition at line 212 of file Cluster3D.h.

float reco::ClusterHit3D::fDeltaPeakTime
private

Largest delta peak time of associated recob::Hits.

Definition at line 208 of file Cluster3D.h.

float reco::ClusterHit3D::fDocaToAxis
mutableprivate

DOCA to the associated cluster axis.

Definition at line 213 of file Cluster3D.h.

float reco::ClusterHit3D::fHitChiSquare
private

Hit ChiSquare relative to the average time.

Definition at line 210 of file Cluster3D.h.

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

Delta t of hit to matching pair / sig.

Definition at line 216 of file Cluster3D.h.

ClusterHit2DVec reco::ClusterHit3D::fHitVector
private

Hits comprising this 3D hit.

Definition at line 215 of file Cluster3D.h.

size_t reco::ClusterHit3D::fID
mutableprivate

"id" of this hit (useful for indexing)

Definition at line 203 of file Cluster3D.h.

float reco::ClusterHit3D::fOverlapFraction
private

Hit overlap fraction start/stop of triplet.

Definition at line 211 of file Cluster3D.h.

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

position of this hit combination in world coordinates

Definition at line 205 of file Cluster3D.h.

float reco::ClusterHit3D::fSigmaPeakTime
private

Quad sum of peak time sigmas.

Definition at line 209 of file Cluster3D.h.

unsigned int reco::ClusterHit3D::fStatusBits
mutableprivate

Volatile status information of this 3D hit.

Definition at line 204 of file Cluster3D.h.

float reco::ClusterHit3D::fTotalCharge
private

Sum of charges of all associated recob::Hits.

Definition at line 206 of file Cluster3D.h.

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

Wire ID's for the planes making up hit.

Definition at line 217 of file Cluster3D.h.


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