14 #include "cetlib_except/exception.h" 46 std::map<unsigned int, KHitGroup*> group_map;
57 uint32_t channel = hit.
Channel();
60 if (only_plane >= 0 && hitWireID.
Plane != (
unsigned int)(only_plane))
continue;
65 if (group_map.count(channel) == 0) {
68 group_map[channel] = pgr;
71 pgr = group_map[channel];
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.
Kalman filter wire-time measurement on a SurfWireX surface.
geo::WireID const & WireID() const
Initial tdc tick for hit.
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.
art framework interface to geometry description
cet::coded_exception< error, detail::translate > exception