#include <DIAGcontributionIterator.h>
Collaboration diagram for DIAGcontributionIterator:
Public Member Functions | |
DIAGcontributionIterator (EBFevent *event, TEMcontribution *contribution, CALmap *calMap, TKRmap *tkrMap) | |
DIAGcontributionIterator constructor initializing the class according to the passed in parameters. | |
DIAGcontributionIterator (EBFevent *event, TEMcontribution *contribution) | |
DIAGcontributionIterator constructor initializing the class according to the passed in parameters. | |
virtual int | handleError (TEMcontribution *, unsigned code, unsigned p1=0, unsigned p2=0) const |
Handle all errors possible in DIAGcontributionIterator. | |
DIAGcontributionIterator () | |
DIAGcontributionIterator constructor initializing the class to an invalid state. | |
unsigned | iterateCAL () |
Iterate over CAL diagnostic contributions. | |
unsigned | iterateCAL (EBFevent *event, TEMcontribution *contribution) |
Iterate over CAL diagnostic contributions. | |
unsigned | iterateCAL (EBFevent *event, TEMcontribution *contribution, CALmap *map) |
Iterate over CAL diagnostic contributions. | |
unsigned | iterateTKR () |
Iterate over TKR diagnostic contributions. | |
unsigned | iterateTKR (EBFevent *event, TEMcontribution *contribution) |
Iterate over TKR diagnostic contributions. | |
unsigned | iterateTKR (EBFevent *event, TEMcontribution *contribution, TKRmap *map) |
Iterate over a TKR diagnostic contribution. | |
const EBFevent * | event () const |
const TEMcontribution * | contribution () const |
const CALmap * | calMap () const |
const TKRmap * | tkrMap () const |
int | status () const |
unsigned | size () const |
void | offset (unsigned o) |
Set the offset into the TEM contribution where the diagnostic data starts. | |
virtual int | CALdiag (unsigned tower, unsigned layer, CALdiagnostic diag) |
Non-pure virtual method for calling the application back with CAL diagnostic data. | |
virtual int | TKRdiag (unsigned tower, unsigned gtcc, TKRdiagnostic diag) |
Non-pure virtual method for calling the application back with TKR diagnostic data. |
Copyright: Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.
|
DIAGcontributionIterator constructor initializing the class according to the passed in parameters.
|
|
DIAGcontributionIterator constructor initializing the class according to the passed in parameters.
|
|
Non-pure virtual method for calling the application back with CAL diagnostic data. If this method is not overridden by the application, it defaults to a do-nothing method.
|
|
Return a pointer to the CAL map |
|
Return a pointer to the start of this contribution |
|
Return a pointer to the EBFevent containing this contribution |
|
Handle all errors possible in DIAGcontributionIterator. This method is used to handle errors occurring during the iteration over an DIAGcontribution. By default it does nothing, however it is virtual and is able to be overridden by the user.
|
|
Iterate over CAL diagnostic contributions. This method calls the CALdiag() virtual function back for every CAL diagnostic word.
|
|
Iterate over CAL diagnostic contributions. This method iterates over the supplied contribution using the cached map.
|
|
Iterate over CAL diagnostic contributions. This method uses the cached contribution and map to interate over.
|
|
Iterate over a TKR diagnostic contribution. This method calls the TKRdiag() virtual function back for every TKR diagnostic word. It also defines the end of the diagnostic part of the TEMcontribution
|
|
Iterate over TKR diagnostic contributions. This method iterates over the supplied contribution using the cached map.
|
|
Iterate over TKR diagnostic contributions. This method uses the cached contribution and map to interate over.
|
|
Return the size of the diagnostic contribution |
|
Return the iteration status code |
|
Non-pure virtual method for calling the application back with TKR diagnostic data. If this method is not overridden by the application, it defaults to a do-nothing method.
|
|
Return a pointer to the TKR map |