ATLAS Offline Software
LArCompactSubset.h
Go to the documentation of this file.
1 // This file's extension implies that it's C, but it's really -*- C++ -*-.
2 /*
3  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
4 */
81 #ifndef LARRAWCONDITIONS_LARCOMPACTSUBSET_H
82 #define LARRAWCONDITIONS_LARCOMPACTSUBSET_H
83 
84 #include "LArElecCalib/ILArShape.h"
85 #include "LArElecCalib/ILArOFC.h"
86 #include <cstddef>
87 
88 
90 class LAr2DWaveBase;
91 
92 
93 //==========================================================================
94 
95 
100 {
101 public:
106 
107 
114  const LArCompactSubsetVector& subset);
115 
116 
120  bool isValid() const;
121 
122 
126  float timeOffset() const;
127 
128 
132  float timeBinWidth() const;
133 
134 
138  size_t getSize () const;
139 
140 
146  LArVectorProxy getData (unsigned int which, size_t tbin) const;
147 
148 
149  //=== LArShapeP2 interface. The two wave types are shape and derivative.
150 
151  size_t shapeSize() const;
152  size_t shapeDerSize() const;
153  ILArShape::ShapeRef_t shape (size_t tbin) const;
154  ILArShape::ShapeRef_t shapeDer (size_t tbin) const;
155 
156  //=== LArOFCP1 interface. The two wave types are OFC A and B coeffiecients.
157 
158  size_t OFC_aSize() const;
159  size_t OFC_bSize() const;
160  ILArOFC::OFCRef_t OFC_a (size_t tbin) const;
161  ILArOFC::OFCRef_t OFC_b (size_t tbin) const;
162 
163 
164 protected:
166  unsigned int m_chan;
167 
170 };
171 
172 
178 {
179 public:
184 
185 
192  LArCompactSubsetVector& subset);
193 
194 
200 
201 
206  void assign (const LAr2DWaveBase& other);
207 
208 
209 private:
212 };
213 
214 
215 //==========================================================================
216 
217 
227 {
228 public:
234 
235 
240 
241 
245  operator bool() const;
246 };
247 
248 
249 //==========================================================================
250 
251 
259 {
260 public:
264  {
265  public:
270 
271 
275  const_iterator (unsigned int chan, const LArCompactSubsetVector& subset);
276 
277 
283 
284 
288  bool operator== (const const_iterator& other) const;
289 
290 
294  bool operator!= (const const_iterator& other) const;
295 
296 
301 
302 
307  const_iterator operator- (size_t delta) const;
308 
309 
314  long operator- (const const_iterator& other) const;
315 
316 
317  private:
319  unsigned int m_chan;
320 
323  };
324 
325 
328 
329 
336  LArCompactSubsetVector* subset);
337 
338 
342  size_t size() const;
343 
344 
350 
351 
357 
358 
361 
362 
365 
366 
374  void resize (size_t sz);
375 
376 
377 protected:
379  size_t m_febIndex;
380 
383 };
384 
385 
393 {
394 public:
401  const LArCompactSubsetVector* subset);
402 
403 
407  size_t size() const;
408 
409 
415 
416 
417 protected:
419  size_t m_febIndex;
420 
423 };
424 
425 
426 //==========================================================================
427 
428 
438 {
439 public:
444 
445 
451 
452 
457 
458 
463 
464 
469 };
470 
471 
472 //==========================================================================
473 
474 
479 {
480 public:
481  typedef unsigned int FebId;
482 
483 
489  LArCompactSubsetFebPair (size_t febIndex,
490  LArCompactSubsetVector& subset);
491 
492 
495 };
496 
497 
502 {
503 public:
504  typedef unsigned int FebId;
505 
506 
513  const LArCompactSubsetVector& subset);
514 
515 
516  const FebId& first;
518 };
519 
520 
521 //==========================================================================
522 
523 
530 {
531 public:
533  static const unsigned int nWaves = 2;
534 
536  typedef unsigned int FebId;
537 
538 
544  class iterator
545  {
546  public:
547  typedef long difference_type;
548 
549 
555  iterator (size_t febIndex,
556  LArCompactSubsetVector& subset);
557 
558 
563 
564 
568  bool operator== (const iterator& other) const;
569 
570 
574  bool operator!= (const iterator& other) const;
575 
576 
581 
582 
587  iterator operator+ (size_t delta);
588 
589 
595 
596 
597  private:
599  size_t m_febIndex;
600 
603  };
604 
605 
612  {
613  public:
614  typedef long difference_type;
615 
616 
622  const_iterator (size_t febIndex,
623  const LArCompactSubsetVector& subset);
624 
625 
630 
631 
635  bool operator== (const const_iterator& other) const;
636 
637 
641  bool operator!= (const const_iterator& other) const;
642 
643 
648 
649 
654  const_iterator operator+ (size_t delta) const;
655 
656 
662 
663 
664  private:
666  size_t m_febIndex;
667 
670  };
671 
672 
677  LArCompactSubsetVector (size_t nfeb = 0);
678 
679 
680 
684  size_t size() const;
685 
686 
692 
693 
699 
700 
703 
704 
707 
708 
711 
712 
715 
716 
723  void resize (size_t sz);
724 
725 
726  //======
727  // Functions used by P->T conversion.
728 
733  void shrink_to_fit();
734 
735 
736  //======
737  // Functions used by LArCompactSubsetFebPair
738 
743  FebId& febIdRef (size_t febIndex);
744 
745 
750  const FebId& febIdRef (size_t febIndex) const;
751 
752 
753  //======
754  // Functions used by LArCompactSubsetChannelVector
755 
760  size_t febSize (unsigned int febIndex) const;
761 
762 
770  unsigned int chanIndex (unsigned int febIndex) const;
771 
772 
780  void resizeChanVec (size_t febIndex, size_t sz);
781 
782 
783  //======
784  // Functions used by LArCompactSubsetChannelProxy.
785 
786 
790  size_t getChanSize() const;
791 
792 
800  size_t getSize (unsigned int chan) const;
801 
802 
810  float timeOffset (unsigned int chan) const;
811 
812 
820  float timeBinWidth (unsigned int chan) const;
821 
822 
829  LArVectorProxy getData (unsigned int which, unsigned int chan, size_t tbin)
830  const;
831 
832 
843  void setTimings (unsigned int chan, float timeOffset, float timeBinWidth);
844 
845 
858  void setData (unsigned int which,
859  unsigned int chan,
860  size_t tbin,
861  size_t chanSize,
862  const LArVectorProxy& from);
863 
864 
872  template <class T, class OTHERIT, class COPIER>
873  static void copySubset (OTHERIT otherBeg,
874  OTHERIT otherEnd,
876  COPIER copier);
877 
878 
879 private:
881  unsigned int m_chanSize;
882 
884  unsigned int m_nSamples;
885 
890 
892  // The length of this gives the length of the subset `vector'.
893  // Indexed by febIndex.
894  std::vector<FebId> m_febids;
895 
897  // Channel index of the start of data for the corresponding FebId.
898  // An extra entry at the end gives the total channel count.
899  std::vector<unsigned int> m_indices;
900 
902  // Indexed by channel and time bin numbers, chan*m_chanSize + tbin.
903  // Gives the slot corresponding to this channel/time bin, or -1 if
904  // it's empty.
905  std::vector<int> m_slots;
906 
908  // This is divided into slots, each containing nWaves * m_nSamples words.
909  // (All wave types for one time bin for one channel.)
910  std::vector<float> m_data;
911 };
912 
913 
915 
916 
917 #endif // not LARRAWCONDITIONS_LARCOMPACTSUBSET_H
LArCompactSubsetVector::m_data
std::vector< float > m_data
The wave data.
Definition: LArCompactSubset.h:910
LArCompactSubsetChannelProxy::LArCompactSubsetChannelProxy
LArCompactSubsetChannelProxy(unsigned int chan, LArCompactSubsetVector &subset)
Constructor.
LArCompactSubsetFebPair::first
FebId & first
Definition: LArCompactSubset.h:493
LArCompactSubsetChannelVector::size
size_t size() const
Return the size of this vector (number of channels for this FEB).
LArCompactSubsetVector::begin
iterator begin()
Begin iterator.
fitman.sz
sz
Definition: fitman.py:527
LArCompactSubsetChannelVector::const_iterator::operator-
const_iterator operator-(size_t delta) const
Adjust iterator backwards.
LArCompactSubsetConstChannelProxy::getData
LArVectorProxy getData(unsigned int which, size_t tbin) const
Return one set of wave data from this channel.
LArCompactSubsetChannelVector::const_iterator::const_iterator
const_iterator(unsigned int chan, const LArCompactSubsetVector &subset)
Constructor from channel index and subset reference.
LArCompactSubsetConstFebPair::second
LArCompactSubsetConstChannelVector second
Definition: LArCompactSubset.h:517
LArCompactSubsetConstChannelProxy::OFC_b
ILArOFC::OFCRef_t OFC_b(size_t tbin) const
LArCompactSubsetVector::FebId
unsigned int FebId
Type for FEB IDs. Would be better to get this from somewhere common...
Definition: LArCompactSubset.h:536
LArCompactSubsetConstChannelVector::operator[]
LArCompactSubsetConstChannelProxy operator[](size_t i) const
Vector indexing.
LArCompactSubsetVector::setData
void setData(unsigned int which, unsigned int chan, size_t tbin, size_t chanSize, const LArVectorProxy &from)
Set wave data for a channel.
Definition: LArCompactSubset.cxx:177
LArCompactSubsetVector::size
size_t size() const
Return the size of this vector.
LArCompactSubsetConstChannelProxy::getSize
size_t getSize() const
Return the number of time bins for this channel.
LArCompactSubsetChannelPointer
This acts as a pointer to a LArCompactSubsetChannelProxy.
Definition: LArCompactSubset.h:227
LArCompactSubsetVector::const_iterator::m_subset
const LArCompactSubsetVector & m_subset
The subset within which we live.
Definition: LArCompactSubset.h:669
LArCompactSubsetVector::getChanSize
size_t getChanSize() const
Return the number of time bins used in this subset.
LArCompactSubsetChannelVector::const_iterator::operator*
LArCompactSubsetConstChannelProxy operator*() const
Iterator dereference.
LArCompactSubsetChannelVectorPointer::LArCompactSubsetChannelVectorPointer
LArCompactSubsetChannelVectorPointer(const LArCompactSubsetChannelVector *p)
Constructor.
LArCompactSubsetConstChannelVector::LArCompactSubsetConstChannelVector
LArCompactSubsetConstChannelVector(size_t febIndex, const LArCompactSubsetVector *subset)
Constructor.
LArCompactSubsetVector::iterator::m_febIndex
size_t m_febIndex
Index we're currently referencing.
Definition: LArCompactSubset.h:599
LArCompactSubsetChannelProxy::LArCompactSubsetChannelProxy
LArCompactSubsetChannelProxy()
Default constructor.
LArCompactSubsetVector::const_iterator::operator*
LArCompactSubsetConstFebPair operator*()
‘Dereference’ the iterator.
LArCompactSubsetVector::m_nSamples
unsigned int m_nSamples
Number of samples per wave. 0 before any waves have been added.
Definition: LArCompactSubset.h:884
LArCompactSubsetVector::iterator::m_subset
LArCompactSubsetVector & m_subset
The subset within which we live.
Definition: LArCompactSubset.h:602
LArCompactSubsetVector::resize
void resize(size_t sz)
Change the size of the vector.
Definition: LArCompactSubset.cxx:64
LArCompactSubsetVector::const_iterator::operator++
const_iterator & operator++()
Advance iterator.
LArCompactSubsetConstFebPair::first
const FebId & first
Definition: LArCompactSubset.h:516
LArCompactSubsetConstChannelProxy::timeBinWidth
float timeBinWidth() const
Return the time bin width for this channel.
LArCompactSubsetConstChannelProxy::shapeDerSize
size_t shapeDerSize() const
LArCompactSubsetChannelVector::end
const_iterator end() const
End iterator.
LArCompactSubsetConstFebPair::FebId
unsigned int FebId
Definition: LArCompactSubset.h:504
LArCompactSubsetVector::copySubset
static void copySubset(OTHERIT otherBeg, OTHERIT otherEnd, LArCompactSubsetVector &to, COPIER copier)
Helper used by LArConditionsSubset::assign.
ILArOFC.h
LArCompactSubsetConstFebPair
This acts like a FEB ID/channel vector pair.
Definition: LArCompactSubset.h:502
LArCompactSubsetChannelVector::const_iterator::operator!=
bool operator!=(const const_iterator &other) const
Iterator inequality test.
LArCompactSubsetVector::iterator::operator*
LArCompactSubsetFebPair operator*()
‘Dereference’ the iterator.
LArCompactSubsetConstChannelProxy::m_chan
unsigned int m_chan
Channel index to which we're referring.
Definition: LArCompactSubset.h:166
LArCompactSubsetChannelVector::LArCompactSubsetChannelVector
LArCompactSubsetChannelVector(size_t febIndex, LArCompactSubsetVector *subset)
Constructor.
LArCompactSubsetChannelVector
This acts like a vector of channel objects.
Definition: LArCompactSubset.h:259
LArCompactSubsetFebPair
This acts like a FEB ID/channel vector pair.
Definition: LArCompactSubset.h:479
LArCompactSubsetConstFebPair::LArCompactSubsetConstFebPair
LArCompactSubsetConstFebPair(size_t febIndex, const LArCompactSubsetVector &subset)
Constructor.
LArCompactSubsetConstChannelVector::m_subset
const LArCompactSubsetVector * m_subset
The subset within which we live.
Definition: LArCompactSubset.h:422
LArCompactSubsetVector::iterator::operator+
iterator operator+(size_t delta)
Adjust iterator.
LArCompactSubsetVector::getSize
size_t getSize(unsigned int chan) const
Return the number of time bins for channel index CHAN.
LArCompactSubsetVector::const_iterator::const_iterator
const_iterator(size_t febIndex, const LArCompactSubsetVector &subset)
Constructor.
LArCompactSubsetConstChannelProxy::shapeSize
size_t shapeSize() const
LArCompactSubsetConstChannelProxy::LArCompactSubsetConstChannelProxy
LArCompactSubsetConstChannelProxy()
Default constructor.
LArCompactSubsetChannelVectorPointer::operator*
LArCompactSubsetChannelVector operator*()
‘Dereference’ the pointer.
LArCompactSubsetVector::end
const_iterator end() const
End iterator.
LArCompactSubsetChannelProxy::m_subset_nc
LArCompactSubsetVector * m_subset_nc
Subset within which we live (non-const). Null for an invalid proxy.
Definition: LArCompactSubset.h:211
LArCompactSubsetVector::getData
LArVectorProxy getData(unsigned int which, unsigned int chan, size_t tbin) const
Retrieve wave data.
Definition: LArCompactSubset.cxx:122
LArCompactSubsetVector::m_slots
std::vector< int > m_slots
Map from channel indices to wave slots.
Definition: LArCompactSubset.h:905
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
LArCompactSubsetChannelVector::resize
void resize(size_t sz)
Resize this vector.
LArCompactSubsetVector::chanIndex
unsigned int chanIndex(unsigned int febIndex) const
Return the index of the first channel for a FEB index.
lumiFormat.i
int i
Definition: lumiFormat.py:85
ReadCellNoiseFromCool.chan
chan
Definition: ReadCellNoiseFromCool.py:52
LArCompactSubsetConstChannelProxy
A more compact way of storing shape/ofc data — const portion.
Definition: LArCompactSubset.h:100
LArCompactSubsetChannelVector::const_iterator::m_chan
unsigned int m_chan
Channel index at which we're currently pointing.
Definition: LArCompactSubset.h:319
LArCompactSubsetConstChannelProxy::shapeDer
ILArShape::ShapeRef_t shapeDer(size_t tbin) const
LArCompactSubsetChannelVector::const_iterator::const_iterator
const_iterator()
Default constructor.
LArCompactSubsetVector::nWaves
static const unsigned int nWaves
Number of wave types we store.
Definition: LArCompactSubset.h:533
LArCompactSubsetConstChannelVector::size
size_t size() const
Return the size of this vector (number of channels for this FEB).
LArCompactSubsetVector::operator[]
LArCompactSubsetFebPair operator[](size_t i)
Vector indexing.
LArCompactSubsetConstChannelProxy::shape
ILArShape::ShapeRef_t shape(size_t tbin) const
LArCompactSubsetVector::const_iterator::operator==
bool operator==(const const_iterator &other) const
Compare iterators for equality.
LArCompactSubsetVector::m_timeOffset
float m_timeOffset
Time parameters.
Definition: LArCompactSubset.h:888
LArCompactSubsetChannelPointer::LArCompactSubsetChannelPointer
LArCompactSubsetChannelPointer(const LArCompactSubsetChannelProxy *p)
Constructor.
LArCompactSubsetConstChannelProxy::m_subset
const LArCompactSubsetVector * m_subset
Subset within which we live. Null for an invalid proxy.
Definition: LArCompactSubset.h:169
LArCompactSubset.icc
LArCompactSubsetConstChannelVector::m_febIndex
size_t m_febIndex
The index of the FEB with which this vector is associated.
Definition: LArCompactSubset.h:419
python.Utils.unixtools.which
def which(filename, env=os.environ)
UNIX-style which ---------------------------------------------------------—.
Definition: unixtools.py:39
LArCompactSubsetVector::const_iterator::difference_type
long difference_type
Definition: LArCompactSubset.h:614
LArCompactSubsetVector::const_iterator::operator!=
bool operator!=(const const_iterator &other) const
Compare iterators for inequality.
LArCompactSubsetChannelVector::const_iterator::operator++
const_iterator & operator++()
Iterator increment.
LArCompactSubsetVector::febIdRef
const FebId & febIdRef(size_t febIndex) const
Return a reference to a FEB ID variable.
LArCompactSubsetVector::iterator::operator++
iterator & operator++()
Advance iterator.
LArCompactSubsetVector::febSize
size_t febSize(unsigned int febIndex) const
Return the number of channels for a given FEB index.
LArCompactSubsetConstChannelVector
This acts like a vector of channel objects — const version.
Definition: LArCompactSubset.h:393
ILArShape.h
LArCompactSubsetChannelVector::const_iterator::m_subset
const LArCompactSubsetVector * m_subset
Subset within which we live.
Definition: LArCompactSubset.h:322
LArCompactSubsetConstChannelProxy::OFC_a
ILArOFC::OFCRef_t OFC_a(size_t tbin) const
LArCompactSubsetVector::iterator::difference_type
long difference_type
Definition: LArCompactSubset.h:547
LArCompactSubsetVector::const_iterator
const_iterator class.
Definition: LArCompactSubset.h:612
LArCompactSubsetChannelVector::iterator
const_iterator iterator
No separate non-const iterator.
Definition: LArCompactSubset.h:327
LArCompactSubsetChannelVector::begin
const_iterator begin() const
Begin iterator.
LArCompactSubsetVector::const_iterator::operator-
difference_type operator-(const const_iterator &other) const
Iterator difference.
LArCompactSubsetVector
This acts like a vector of FEB ID / channel vector pairs.
Definition: LArCompactSubset.h:530
LArCompactSubsetChannelProxy::assign
void assign(const LAr2DWaveBase &other)
Initialize the referenced data from a standalone object.
Definition: LArCompactSubset.cxx:27
LArCompactSubsetChannelVector::const_iterator
Iterator for LArCompactSubsetChannelVector.
Definition: LArCompactSubset.h:264
LArCompactSubsetVector::shrink_to_fit
void shrink_to_fit()
Release any allocated but unused storage.
Definition: LArCompactSubset.cxx:85
LArCompactSubsetVector::resizeChanVec
void resizeChanVec(size_t febIndex, size_t sz)
Resize one channel vector.
Definition: LArCompactSubset.cxx:102
LArCompactSubsetVector::iterator::operator==
bool operator==(const iterator &other) const
Compare iterators for equality.
LArCompactSubsetVector::timeOffset
float timeOffset(unsigned int chan) const
Return the time offset for channel index CHAN.
CxxUtils::to
CONT to(RANGE &&r)
Definition: ranges.h:39
LArCompactSubsetVector::const_iterator::operator+
const_iterator operator+(size_t delta) const
Adjust iterator.
LArCompactSubsetChannelVectorPointer::LArCompactSubsetChannelVectorPointer
LArCompactSubsetChannelVectorPointer()
Default constructor.
LArCompactSubsetVector::febIdRef
FebId & febIdRef(size_t febIndex)
Return a reference to a FEB ID variable.
LArCompactSubsetChannelProxy
A more compact way of storing shape/ofc data — non-const portion.
Definition: LArCompactSubset.h:178
LArCompactSubsetChannelVector::m_febIndex
size_t m_febIndex
The index of the FEB with which this vector is associated.
Definition: LArCompactSubset.h:379
LArCompactSubsetVector::m_timeBinWidth
float m_timeBinWidth
Definition: LArCompactSubset.h:889
LArCompactSubsetVector::end
iterator end()
End iterator.
LArCompactSubsetChannelProxy::operator=
LArCompactSubsetChannelProxy & operator=(const LAr2DWaveBase &other)
Initialize the referenced data from a standalone object.
LArCompactSubsetChannelVectorPointer::operator*
LArCompactSubsetConstChannelVector operator*() const
‘Dereference’ the pointer.
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
LArCompactSubsetVector::iterator::operator!=
bool operator!=(const iterator &other) const
Compare iterators for inequality.
LAr2DWaveBase
Per-channel class holding wave information in time bins.
Definition: LAr2DWaveBase.h:49
LArCompactSubsetVector::m_indices
std::vector< unsigned int > m_indices
Map from FEB indices to channel indices.
Definition: LArCompactSubset.h:899
LArCompactSubsetChannelVectorPointer::operator->
const LArCompactSubsetChannelVector * operator->() const
‘Dereference’ the pointer.
LArCompactSubsetChannelVector::const_iterator::operator==
bool operator==(const const_iterator &other) const
Iterator equality test.
LArCompactSubsetConstChannelProxy::OFC_bSize
size_t OFC_bSize() const
LArCompactSubsetVector::LArCompactSubsetVector
LArCompactSubsetVector(size_t nfeb=0)
Constructor.
Definition: LArCompactSubset.cxx:47
LArCompactSubsetConstChannelProxy::timeOffset
float timeOffset() const
Return the time offset for this channel.
LArCompactSubsetVector::iterator
Iterator class.
Definition: LArCompactSubset.h:545
LArCompactSubsetChannelVector::m_subset
LArCompactSubsetVector * m_subset
The subset within which we live.
Definition: LArCompactSubset.h:382
LArCompactSubsetFebPair::FebId
unsigned int FebId
Definition: LArCompactSubset.h:481
LArCompactSubsetVector::timeBinWidth
float timeBinWidth(unsigned int chan) const
Return the time bin width for channel index CHAN.
LArCompactSubsetVector::setTimings
void setTimings(unsigned int chan, float timeOffset, float timeBinWidth)
Set timing information for a channel.
Definition: LArCompactSubset.cxx:150
LArCompactSubsetVector::iterator::operator-
difference_type operator-(const iterator &other)
Iterator difference.
LArCompactSubsetFebPair::second
LArCompactSubsetChannelVector second
Definition: LArCompactSubset.h:494
LArCompactSubsetFebPair::LArCompactSubsetFebPair
LArCompactSubsetFebPair(size_t febIndex, LArCompactSubsetVector &subset)
Constructor.
LArCompactSubsetChannelVector::operator[]
LArCompactSubsetChannelProxy operator[](size_t i)
Vector indexing.
LArCompactSubsetVector::iterator::iterator
iterator(size_t febIndex, LArCompactSubsetVector &subset)
Constructor.
LArCompactSubsetVector::begin
const_iterator begin() const
Begin iterator.
xAOD::bool
setBGCode setTAP setLVL2ErrorBits bool
Definition: TrigDecision_v1.cxx:60
LArCompactSubsetConstChannelProxy::LArCompactSubsetConstChannelProxy
LArCompactSubsetConstChannelProxy(unsigned int chan, const LArCompactSubsetVector &subset)
Constructor.
LArCompactSubsetChannelPointer::operator*
LArCompactSubsetChannelProxy operator*() const
‘Dereference’ the pointer.
LArCompactSubsetVector::const_iterator::m_febIndex
size_t m_febIndex
Index we're currently referencing.
Definition: LArCompactSubset.h:666
LArCompactSubsetChannelVectorPointer
This acts as a pointer to a LArCompactSubsetChannelVector.
Definition: LArCompactSubset.h:438
LArCompactSubsetVector::m_febids
std::vector< FebId > m_febids
Vector of stored FebIds.
Definition: LArCompactSubset.h:894
LArCompactSubsetVector::m_chanSize
unsigned int m_chanSize
Number of time bins per channels. 0 before any waves have been added.
Definition: LArCompactSubset.h:881
LArCompactSubsetConstChannelProxy::OFC_aSize
size_t OFC_aSize() const
LArVectorProxy
Proxy for accessing a range of float values like a vector.
Definition: LArVectorProxy.h:38
LArCompactSubsetConstChannelProxy::isValid
bool isValid() const
Test to see if the proxy is valid.