ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
LArCompactSubsetConstChannelProxy Class Reference

A more compact way of storing shape/ofc data — const portion. More...

#include <LArCompactSubset.h>

Inheritance diagram for LArCompactSubsetConstChannelProxy:
Collaboration diagram for LArCompactSubsetConstChannelProxy:

Public Member Functions

 LArCompactSubsetConstChannelProxy ()
 Default constructor. More...
 
 LArCompactSubsetConstChannelProxy (unsigned int chan, const LArCompactSubsetVector &subset)
 Constructor. More...
 
bool isValid () const
 Test to see if the proxy is valid. More...
 
float timeOffset () const
 Return the time offset for this channel. More...
 
float timeBinWidth () const
 Return the time bin width for this channel. More...
 
size_t getSize () const
 Return the number of time bins for this channel. More...
 
LArVectorProxy getData (unsigned int which, size_t tbin) const
 Return one set of wave data from this channel. More...
 
size_t shapeSize () const
 
size_t shapeDerSize () const
 
ILArShape::ShapeRef_t shape (size_t tbin) const
 
ILArShape::ShapeRef_t shapeDer (size_t tbin) const
 
size_t OFC_aSize () const
 
size_t OFC_bSize () const
 
ILArOFC::OFCRef_t OFC_a (size_t tbin) const
 
ILArOFC::OFCRef_t OFC_b (size_t tbin) const
 

Protected Attributes

unsigned int m_chan
 Channel index to which we're referring. More...
 
const LArCompactSubsetVectorm_subset
 Subset within which we live. Null for an invalid proxy. More...
 

Detailed Description

A more compact way of storing shape/ofc data — const portion.

Definition at line 99 of file LArCompactSubset.h.

Constructor & Destructor Documentation

◆ LArCompactSubsetConstChannelProxy() [1/2]

LArCompactSubsetConstChannelProxy::LArCompactSubsetConstChannelProxy ( )

Default constructor.

Makes an invalid proxy.

◆ LArCompactSubsetConstChannelProxy() [2/2]

LArCompactSubsetConstChannelProxy::LArCompactSubsetConstChannelProxy ( unsigned int  chan,
const LArCompactSubsetVector subset 
)

Constructor.

chan The channel index we reference.

subset The subset object within which we live.

Member Function Documentation

◆ getData()

LArVectorProxy LArCompactSubsetConstChannelProxy::getData ( unsigned int  which,
size_t  tbin 
) const

Return one set of wave data from this channel.

Parameters
whichIndex of the wave type to return.
tbinTime bin index.

◆ getSize()

size_t LArCompactSubsetConstChannelProxy::getSize ( ) const

Return the number of time bins for this channel.

◆ isValid()

bool LArCompactSubsetConstChannelProxy::isValid ( ) const

Test to see if the proxy is valid.

◆ OFC_a()

ILArOFC::OFCRef_t LArCompactSubsetConstChannelProxy::OFC_a ( size_t  tbin) const

◆ OFC_aSize()

size_t LArCompactSubsetConstChannelProxy::OFC_aSize ( ) const

◆ OFC_b()

ILArOFC::OFCRef_t LArCompactSubsetConstChannelProxy::OFC_b ( size_t  tbin) const

◆ OFC_bSize()

size_t LArCompactSubsetConstChannelProxy::OFC_bSize ( ) const

◆ shape()

ILArShape::ShapeRef_t LArCompactSubsetConstChannelProxy::shape ( size_t  tbin) const

◆ shapeDer()

ILArShape::ShapeRef_t LArCompactSubsetConstChannelProxy::shapeDer ( size_t  tbin) const

◆ shapeDerSize()

size_t LArCompactSubsetConstChannelProxy::shapeDerSize ( ) const

◆ shapeSize()

size_t LArCompactSubsetConstChannelProxy::shapeSize ( ) const

◆ timeBinWidth()

float LArCompactSubsetConstChannelProxy::timeBinWidth ( ) const

Return the time bin width for this channel.

◆ timeOffset()

float LArCompactSubsetConstChannelProxy::timeOffset ( ) const

Return the time offset for this channel.

Member Data Documentation

◆ m_chan

unsigned int LArCompactSubsetConstChannelProxy::m_chan
protected

Channel index to which we're referring.

Definition at line 166 of file LArCompactSubset.h.

◆ m_subset

const LArCompactSubsetVector* LArCompactSubsetConstChannelProxy::m_subset
protected

Subset within which we live. Null for an invalid proxy.

Definition at line 169 of file LArCompactSubset.h.


The documentation for this class was generated from the following file: