9 #include "nuevdb/EventDisplayBase/EventHolder.h" 13 #include "TPolyLine.h" 70 const art::Event*
event = evdb::EventHolder::Instance()->GetEvent();
73 for (
size_t imod = 0; imod < recoOpt->
fWireLabels.size(); ++imod)
79 event->getByLabel(which, wireVecHandle);
81 for(
size_t wireIdx = 0; wireIdx < wireVecHandle->size(); wireIdx++)
89 std::vector<float> signal = wire->
Signal();
91 TPolyLine& wireWaveform = view2D.AddPolyLine(signal.size(),
fColorMap[imod %
fColorMap.size()], 2, 1);
93 for(
size_t idx = 0; idx < signal.size(); idx++)
97 if (bin >= lowBin && bin <= hiBin) wireWaveform.SetPoint(idx,bin,signal[idx]);
100 wireWaveform.Draw(
"same");
std::vector< art::InputTag > fWireLabels
module labels that produced wires
raw::ChannelID_t Channel() const
Returns the ID of the channel (or InvalidChannelID)
std::vector< float > Signal() const
Return a zero-padded full length vector filled with RoI signal.
QTextStream & bin(QTextStream &s)
Declaration of basic channel signal object.
unsigned int ChannelID_t
Type representing the ID of a readout channel.
Event finding and building.