13 #include "cetlib_except/exception.h" 46 std::map<unsigned int, KHitGroup*> group_map;
60 if (only_plane >= 0 && hitWireID.
Plane != (
unsigned int)(only_plane))
continue;
65 if (group_map.count(channel) == 0) {
74 << __func__ <<
": no group map for channel " << channel <<
"\n";
void fill(const detinfo::DetectorPropertiesData &clock_data, const art::PtrVector< recob::Hit > &hits, int only_plane) override
A KHitContainer for KHitWireX type measurements.
geo::WireID WireID() const
Kalman filter wire-time measurement on a SurfWireX surface.
art framework interface to geometry description
typename data_t::const_iterator const_iterator
const std::list< KHitGroup > & getUnsorted() const
PlaneID_t Plane
Index of the plane within its TPC.
Detector simulation of raw signals on wires.
void addHit(const std::shared_ptr< const KHitBase > &hit)
Add a mesaurement into the colleciton.
const std::shared_ptr< const Surface > & getSurface() const
Surface accessor.
2D representation of charge deposited in the TDC/wire plane
raw::ChannelID_t Channel() const
ID of the readout channel the hit was extracted from.
cet::coded_exception< error, detail::translate > exception