SimPmtBucketIterator Class Reference

#include <SimPmt.h>

List of all members.

Public Member Functions

 SimPmtBucketIterator (const SimPmt &pmt)
Bool_t End ()
void Next ()
Int_t BucketId ()
SimPmtTimeBucketBucket ()
SimPmtTimeBucketBucketPtr ()

Private Attributes

SimPmt::BucketMap_t::iterator fIt
SimPmt::BucketMap_t::iterator fBegin
SimPmt::BucketMap_t::iterator fEnd

Detailed Description

Definition at line 214 of file SimPmt.h.


Constructor & Destructor Documentation

SimPmtBucketIterator::SimPmtBucketIterator ( const SimPmt pmt  )  [inline]

Definition at line 222 of file SimPmt.h.

00222                                             : 
00223     fIt(pmt.fTimeBuckets.begin()),
00224     fBegin(pmt.fTimeBuckets.begin()),
00225     fEnd(pmt.fTimeBuckets.end()) {};


Member Function Documentation

SimPmtTimeBucket& SimPmtBucketIterator::Bucket (  )  [inline]

Definition at line 230 of file SimPmt.h.

References fIt.

Referenced by SimQieElectronics::ReadoutPmt().

00230 { return *(fIt->second); };

Int_t SimPmtBucketIterator::BucketId (  )  [inline]

Definition at line 229 of file SimPmt.h.

References fIt.

Referenced by SimQieElectronics::ReadoutPmt(), SimVaTimedElectronics::ReadoutPmt(), and SimVaTimedElectronics::ReadoutVarc().

00229 { return fIt->first; }

SimPmtTimeBucket* SimPmtBucketIterator::BucketPtr (  )  [inline]

Definition at line 231 of file SimPmt.h.

00231 { return  (fIt->second); };

Bool_t SimPmtBucketIterator::End (  )  [inline]

Definition at line 227 of file SimPmt.h.

References fEnd, and fIt.

Referenced by SimQieElectronics::ReadoutPmt(), SimVaTimedElectronics::ReadoutPmt(), and SimVaTimedElectronics::ReadoutVarc().

00227 { return (fIt==fEnd);}

void SimPmtBucketIterator::Next (  )  [inline]

Definition at line 228 of file SimPmt.h.

References fEnd, and fIt.

Referenced by SimVaTimedElectronics::ReadoutPmt(), SimQieElectronics::ReadoutPmt(), and SimVaTimedElectronics::ReadoutVarc().

00228 { if(fIt!=fEnd) fIt++; };


Member Data Documentation

SimPmt::BucketMap_t::iterator SimPmtBucketIterator::fBegin [private]

Definition at line 235 of file SimPmt.h.

SimPmt::BucketMap_t::iterator SimPmtBucketIterator::fEnd [private]

Definition at line 236 of file SimPmt.h.

Referenced by End(), and Next().

SimPmt::BucketMap_t::iterator SimPmtBucketIterator::fIt [private]

Definition at line 231 of file SimPmt.h.

Referenced by Bucket(), BucketId(), End(), and Next().


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

Generated on 21 Oct 2017 for loon by  doxygen 1.6.1