CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Protected Attributes
VFATFrameCollection::Iterator Class Reference

the VFATFrameCollection interator More...

#include <VFATFrameCollection.h>

Public Member Functions

const VFATFrameData ()
 returns the frame data of the current element More...
 
bool IsEnd ()
 returns whether the iterator points over the end of the collection More...
 
 Iterator (const VFATFrameCollection *c=nullptr)
 constructor, automatically sets the iterator to the beginning More...
 
void Next ()
 shifts the iterator More...
 
TotemFramePosition Position ()
 returns the DAQ position of the current element More...
 

Protected Attributes

const VFATFrameCollectioncollection
 the pointer to the collection More...
 
value_type value
 interator value More...
 

Detailed Description

the VFATFrameCollection interator

Definition at line 49 of file VFATFrameCollection.h.

Constructor & Destructor Documentation

◆ Iterator()

VFATFrameCollection::Iterator::Iterator ( const VFATFrameCollection c = nullptr)
inline

constructor, automatically sets the iterator to the beginning

Definition at line 59 of file VFATFrameCollection.h.

61  { return value.first; }
62 

Member Function Documentation

◆ Data()

const VFATFrame* VFATFrameCollection::Iterator::Data ( )
inline

returns the frame data of the current element

Definition at line 68 of file VFATFrameCollection.h.

70 { return collection->IsEndIterator(value); }

References collection, and VFATFrameCollection::IsEndIterator().

◆ IsEnd()

bool VFATFrameCollection::Iterator::IsEnd ( )
inline

returns whether the iterator points over the end of the collection

Definition at line 74 of file VFATFrameCollection.h.

Referenced by RawToDigiConverter::runCommon().

◆ Next()

void VFATFrameCollection::Iterator::Next ( )
inline

shifts the iterator

Definition at line 71 of file VFATFrameCollection.h.

73 :

◆ Position()

TotemFramePosition VFATFrameCollection::Iterator::Position ( )
inline

returns the DAQ position of the current element

Definition at line 65 of file VFATFrameCollection.h.

References collection, and VFATFrameCollection::NextIterator().

Member Data Documentation

◆ collection

const VFATFrameCollection* VFATFrameCollection::Iterator::collection
protected

the pointer to the collection

Definition at line 55 of file VFATFrameCollection.h.

Referenced by Data(), and Position().

◆ value

value_type VFATFrameCollection::Iterator::value
protected
VFATFrameCollection::NextIterator
virtual value_type NextIterator(const value_type &) const =0
shifts the iterator
VFATFrameCollection::Iterator::collection
const VFATFrameCollection * collection
the pointer to the collection
Definition: VFATFrameCollection.h:55
VFATFrameCollection::IsEndIterator
virtual bool IsEndIterator(const value_type &) const =0
checks whether the iterator points over the end of the collection
value
Definition: value.py:1