Helper class to cut a raw::OpDetWaveform
from a longer waveform data.
More...
#include <PMTsimulationAlg.h>
Public Types | |
using | Sample_t = SampleType |
using | WaveformData_t = std::vector< Sample_t > |
Type of waveform data. More... | |
using | BufferRange_t = std::pair< detinfo::timescales::optical_tick, detinfo::timescales::optical_tick > |
Public Member Functions | |
OpDetWaveformMakerClass (WaveformData_t const &waveform, detinfo::timescales::electronics_time PMTstartTime, util::quantities::nanosecond samplingPeriod) | |
Sampling period. More... | |
raw::OpDetWaveform | create (raw::Channel_t opChannel, BufferRange_t const &bufferRange) const |
Returns an raw::OpDetWaveform with data at the bufferRange . More... | |
raw::OpDetWaveform | operator() (raw::Channel_t opChannel, BufferRange_t const &bufferRange) const |
Public Attributes | |
WaveformData_t const & | fWaveform |
Full data from the PMT channel. More... | |
detinfo::timescales::electronics_time const | fPMTstartTime |
Time of the first sample in waveform. More... | |
util::quantities::nanosecond | fSamplingPeriod |
Helper class to cut a raw::OpDetWaveform
from a longer waveform data.
Definition at line 70 of file PMTsimulationAlg.h.
using icarus::opdet::OpDetWaveformMakerClass< SampleType >::BufferRange_t = std::pair <detinfo::timescales::optical_tick, detinfo::timescales::optical_tick> |
Definition at line 91 of file PMTsimulationAlg.h.
using icarus::opdet::OpDetWaveformMakerClass< SampleType >::Sample_t = SampleType |
Definition at line 85 of file PMTsimulationAlg.h.
using icarus::opdet::OpDetWaveformMakerClass< SampleType >::WaveformData_t = std::vector<Sample_t> |
Type of waveform data.
Definition at line 88 of file PMTsimulationAlg.h.
icarus::opdet::OpDetWaveformMakerClass< SampleType >::OpDetWaveformMakerClass | ( | WaveformData_t const & | waveform, |
detinfo::timescales::electronics_time | PMTstartTime, | ||
util::quantities::nanosecond | samplingPeriod | ||
) |
Sampling period.
Constructor: waveform data, start time and sampling period
Definition at line 1019 of file PMTsimulationAlg.h.
raw::OpDetWaveform icarus::opdet::OpDetWaveformMakerClass< SampleType >::create | ( | raw::Channel_t | opChannel, |
BufferRange_t const & | bufferRange | ||
) | const |
Returns an raw::OpDetWaveform
with data at the bufferRange
.
Definition at line 1033 of file PMTsimulationAlg.h.
|
inline |
Definition at line 112 of file PMTsimulationAlg.h.
detinfo::timescales::electronics_time const icarus::opdet::OpDetWaveformMakerClass< SampleType >::fPMTstartTime |
Time of the first sample in waveform.
Definition at line 96 of file PMTsimulationAlg.h.
util::quantities::nanosecond icarus::opdet::OpDetWaveformMakerClass< SampleType >::fSamplingPeriod |
Definition at line 98 of file PMTsimulationAlg.h.
WaveformData_t const& icarus::opdet::OpDetWaveformMakerClass< SampleType >::fWaveform |
Full data from the PMT channel.
Definition at line 93 of file PMTsimulationAlg.h.