#include "PixelMapProducer.h"
Definition at line 51 of file PixelMapProducer.h.
lcvn::WireHelper::WireHelper |
( |
recob::Wire |
wire, |
|
|
double |
thresh = 0. |
|
) |
| |
|
inline |
Definition at line 65 of file PixelMapProducer.cxx.
References geo::GeometryCore::ChannelToWire(), and lcvn::HitHelper::fGeometry.
69 if (!wireids.size())
return ret;
72 if (wireids.size() > 1) {
73 for (
auto iwire : wireids)
74 if (iwire.Plane ==
fWire.
View()) ret = iwire;
std::vector< WireID > ChannelToWire(raw::ChannelID_t const channel) const
Returns a list of wires connected to the specified TPC channel.
geo::View_t View() const
Returns the view the channel belongs to.
geo::GeometryCore const * fGeometry
raw::ChannelID_t Channel() const
Returns the ID of the channel (or InvalidChannelID)
Waveform lcvn::WireHelper::GetWaveform |
( |
| ) |
|
|
virtual |
Definition at line 46 of file PixelMapProducer.cxx.
References lcvn::HitHelper::fThreshold.
51 if (!(ROIs.get_ranges().size()))
return ret;
53 for (
auto iROI = ROIs.begin_range(); iROI != ROIs.end_range(); ++iROI) {
55 std::map<double, double> pulse;
56 for (
int tick = ROI.begin_index();
tick < (int)ROI.end_index();
tick++) {
58 pulse.insert(std::pair<double, double>((
double)
tick, (
double)ROI[tick]));
tick_as<> tick
Tick number, represented by std::ptrdiff_t.
const RegionsOfInterest_t & SignalROI() const
Returns the list of regions of interest.
std::vector< std::map< double, double > > Waveform
double lcvn::WireHelper::fThreshold |
|
protected |
The documentation for this class was generated from the following files: