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

This acts like a vector of channel objects — const version. More...

#include <LArCompactSubset.h>

Collaboration diagram for LArCompactSubsetConstChannelVector:

Public Member Functions

 LArCompactSubsetConstChannelVector (size_t febIndex, const LArCompactSubsetVector *subset)
 Constructor. More...
 
size_t size () const
 Return the size of this vector (number of channels for this FEB). More...
 
LArCompactSubsetConstChannelProxy operator[] (size_t i) const
 Vector indexing. More...
 

Protected Attributes

size_t m_febIndex
 The index of the FEB with which this vector is associated. More...
 
const LArCompactSubsetVectorm_subset
 The subset within which we live. More...
 

Detailed Description

This acts like a vector of channel objects — const version.

We don't implement the complete vector interface, though; just what's actually used.

Definition at line 392 of file LArCompactSubset.h.

Constructor & Destructor Documentation

◆ LArCompactSubsetConstChannelVector()

LArCompactSubsetConstChannelVector::LArCompactSubsetConstChannelVector ( size_t  febIndex,
const LArCompactSubsetVector subset 
)

Constructor.

Parameters
febIndexFEB index with which we're associated.
subsetSubset within which we live.

Member Function Documentation

◆ operator[]()

LArCompactSubsetConstChannelProxy LArCompactSubsetConstChannelVector::operator[] ( size_t  i) const

Vector indexing.

Returns a channel proxy.

Parameters
iChannel index within the vector.

◆ size()

size_t LArCompactSubsetConstChannelVector::size ( ) const

Return the size of this vector (number of channels for this FEB).

Member Data Documentation

◆ m_febIndex

size_t LArCompactSubsetConstChannelVector::m_febIndex
protected

The index of the FEB with which this vector is associated.

Definition at line 419 of file LArCompactSubset.h.

◆ m_subset

const LArCompactSubsetVector* LArCompactSubsetConstChannelVector::m_subset
protected

The subset within which we live.

Definition at line 422 of file LArCompactSubset.h.


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