#include <AEMcontributionIterator.h>
Collaboration diagram for AEMcontributionIterator:
Public Types | |
enum | { ERR_TooManyPhas = 1 } |
Public Member Functions | |
AEMcontributionIterator (EBFevent *, AEMcontribution *, ACDmap *) | |
Constructor for iterating over the ACD contribution. | |
AEMcontributionIterator (EBFevent *, AEMcontribution *) | |
Constructor for iterating over the ACD contribution. | |
AEMcontributionIterator (ACDmap *) | |
Constructor for setting up the electronic space to detector space map. | |
AEMcontributionIterator () | |
Do nothing constructor. | |
unsigned | iterate () |
Iterate over the ACD contribution. | |
unsigned | iterate (EBFevent *, AEMcontribution *) |
Iterate over the ACD contribution. | |
unsigned | iterate (EBFevent *, AEMcontribution *, ACDmap *) |
Iterate over the ACD contribution. | |
virtual int | handleError (AEMcontribution *, unsigned code, unsigned p1=0, unsigned p2=0) const |
Handle all errors possible in AEMcontributionIterator. | |
const EBFevent * | event () const |
const AEMcontribution * | contribution () const |
const ACDmap * | map () const |
virtual void | header (unsigned cable, AEMheader hdr)=0 |
Pure virtual method for calling the application back with an ACD cable header. | |
virtual void | pha (unsigned cable, unsigned channel, ACDpha pha)=0 |
Pure virtual method for calling the application back with an ACD PHA object. |
Copyright: Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.
|
Constructor for iterating over the ACD contribution. This constructor caches the event, contribution and map provided by the caller.
|
|
Constructor for iterating over the ACD contribution. This constructor caches the event and contribution provided by the caller.
|
|
Return a pointer to the start of this contribution |
|
Return a pointer to the EBFevent containing this contribution |
|
Handle all errors possible in AEMcontributionIterator. This method is used to handle errors occurring during the iteration over an AEMcontribution. By default it does nothing, however it is virtual and is able to be overridden by the user.
|
|
Pure virtual method for calling the application back with an ACD cable header.
|
|
Iterate over the ACD contribution. This method calls the header() virtual function for each cable contribution encountered and the pha() virtual function with every hit it finds.
|
|
Iterate over the ACD contribution. This method calls the header() virtual function for each cable contribution encountered and the pha() virtual function with every hit it finds. This method uses the event and contribution provided by the caller and the map established by the ctor.
|
|
Iterate over the ACD contribution. This method calls the header() virtual function for each cable contribution encountered and the pha() virtual function with every hit it finds. This method uses the event, contribution and map established by the ctor.
|
|
Return a pointer to the ACD map |
|
Pure virtual method for calling the application back with an ACD PHA object.
|