A more compact way of storing shape/ofc data — non-const portion.
More...
#include <LArCompactSubset.h>
A more compact way of storing shape/ofc data — non-const portion.
Definition at line 176 of file LArCompactSubset.h.
◆ LArCompactSubsetChannelProxy() [1/2]
LArCompactSubsetChannelProxy::LArCompactSubsetChannelProxy |
( |
| ) |
|
Default constructor.
Makes an invalid proxy.
◆ LArCompactSubsetChannelProxy() [2/2]
LArCompactSubsetChannelProxy::LArCompactSubsetChannelProxy |
( |
unsigned int |
chan, |
|
|
LArCompactSubsetVector & |
subset |
|
) |
| |
Constructor.
chan The channel index we reference.
subset The subset object within which we live.
◆ assign()
Initialize the referenced data from a standalone object.
- Parameters
-
other | The object from which to initialize. |
Definition at line 27 of file LArCompactSubset.cxx.
29 size_t chanSize =
other.waveSize(0);
33 for (
unsigned int tbin = 0; tbin < chanSize; tbin++)
◆ getData()
LArVectorProxy LArCompactSubsetConstChannelProxy::getData |
( |
unsigned int |
which, |
|
|
size_t |
tbin |
|
) |
| const |
|
inherited |
Return one set of wave data from this channel.
- Parameters
-
which | Index of the wave type to return. |
tbin | Time bin index. |
◆ getSize()
size_t LArCompactSubsetConstChannelProxy::getSize |
( |
| ) |
const |
|
inherited |
Return the number of time bins for this channel.
◆ isValid()
bool LArCompactSubsetConstChannelProxy::isValid |
( |
| ) |
const |
|
inherited |
Test to see if the proxy is valid.
◆ OFC_a()
◆ OFC_aSize()
size_t LArCompactSubsetConstChannelProxy::OFC_aSize |
( |
| ) |
const |
|
inherited |
◆ OFC_b()
◆ OFC_bSize()
size_t LArCompactSubsetConstChannelProxy::OFC_bSize |
( |
| ) |
const |
|
inherited |
◆ operator=()
Initialize the referenced data from a standalone object.
- Parameters
-
other | The object from which to initialize. |
◆ shape()
◆ shapeDer()
◆ shapeDerSize()
size_t LArCompactSubsetConstChannelProxy::shapeDerSize |
( |
| ) |
const |
|
inherited |
◆ shapeSize()
size_t LArCompactSubsetConstChannelProxy::shapeSize |
( |
| ) |
const |
|
inherited |
◆ timeBinWidth()
float LArCompactSubsetConstChannelProxy::timeBinWidth |
( |
| ) |
const |
|
inherited |
Return the time bin width for this channel.
◆ timeOffset()
float LArCompactSubsetConstChannelProxy::timeOffset |
( |
| ) |
const |
|
inherited |
Return the time offset for this channel.
◆ m_chan
unsigned int LArCompactSubsetConstChannelProxy::m_chan |
|
protectedinherited |
◆ m_subset
Subset within which we live. Null for an invalid proxy.
Definition at line 169 of file LArCompactSubset.h.
◆ m_subset_nc
Subset within which we live (non-const). Null for an invalid proxy.
Definition at line 211 of file LArCompactSubset.h.
The documentation for this class was generated from the following files:
void setData(unsigned int which, unsigned int chan, size_t tbin, size_t chanSize, const LArVectorProxy &from)
Set wave data for a channel.