40 KHitGroup(
bool has_path =
false,
double path = 0.);
54 const std::vector<std::shared_ptr<const KHitBase>>&
getHits()
const {
return fHits; }
68 void addHit(
const std::shared_ptr<const KHitBase>&
hit);
85 std::shared_ptr<const Surface>
fSurf;
87 std::vector<std::shared_ptr<const KHitBase>>
fHits;
bool operator<(const KHitGroup &obj) const
Less than operator.
const std::vector< std::shared_ptr< const KHitBase > > & getHits() const
Measurement collection accessor.
void setPath(bool has_path, double path)
Set path flag and estimated path distance.
bool getHasPath() const
Path flag.
double getPath() const
Estimated path distance.
KHitGroup(bool has_path=false, double path=0.)
Default constructor.
virtual ~KHitGroup()
Destructor.
void clear()
Clear the collection.
std::shared_ptr< const Surface > fSurf
Common surface.
int fPlane
Plane index of measurements.
Detector simulation of raw signals on wires.
void addHit(const std::shared_ptr< const KHitBase > &hit)
Add a mesaurement into the colleciton.
std::vector< std::shared_ptr< const KHitBase > > fHits
Measuement collection.
const std::shared_ptr< const Surface > & getSurface() const
Surface accessor.
bool operator==(const KHitGroup &obj) const
Equivalance operator.
double fPath
Estimated path distance.
Base class for Kalman filter measurement.
int getPlane() const
Plane index.