#include <TKRcontributionIterator.h>
Collaboration diagram for TKRcontributionIterator:
Public Types | |
enum | { ERR_WrongOrder = 1 } |
Public Member Functions | |
TKRcontributionIterator (EBFevent *, TKRcontribution *, TKRmap *) | |
Constructor for iterating over the tracker contribution. | |
TKRcontributionIterator (EBFevent *, TKRcontribution *) | |
Constructor for iterating over the tracker contribution. | |
TKRcontributionIterator (TKRmap *) | |
Constructor for setting up the electronic space to detector space map. | |
TKRcontributionIterator () | |
Do nothing constructor. | |
unsigned | iterateStrips () |
Iterate over tracker strip data. | |
unsigned | iterateStrips (EBFevent *, TKRcontribution *) |
Iterate over tracker strip hits. | |
unsigned | iterateStrips (EBFevent *, TKRcontribution *, TKRmap *) |
Class for iterating over contributions to a TKR contribution Iterate over tracker strip hits. This method calls the strip() virtual function back with every strip hit it finds. Strip data _must_ be iterated over before TOTs can be iterated over. This method uses the event and contribution provided by the caller and the map established by the caller. | |
unsigned | iterateTOTs () |
Iterate over tracker TOT data. | |
unsigned | iterateTOTs (TKRcontribution *) |
Iterate over tracker TOT data. | |
unsigned | iterateTOTs (TKRcontribution *, TKRmap *) |
Iterate over tracker TOT data. | |
virtual int | handleError (TKRcontribution *, unsigned code, unsigned p1=0, unsigned p2=0) const |
Handle all errors possible in TKRcontributionIterator. | |
const EBFevent * | event () const |
const TKRcontribution * | contribution () const |
const TKRmap * | map () const |
const unsigned | stripCount () const |
Return the number of strip hits found by TKRcontributionIterator::iterateStrips(). | |
const unsigned | diagnostic () const |
Return the start of the diagnostic data. | |
const unsigned | error () const |
Return the start of the error data. | |
virtual void | strip (unsigned tower, unsigned layerEnd, unsigned hit)=0 |
Pure virtual method for calling the application back with a tracker strip hit value. | |
virtual void | TOT (unsigned tower, unsigned layerEnd, unsigned tot)=0 |
Pure virtual method for calling the application back with a tracker TOT value. | |
const void | endTots (unsigned offset) |
Copyright: Copyright 2004 by The Board of Trustees of the Leland Stanford Junior University. All rights reserved.
|
Constructor for iterating over the tracker contribution. This constructor caches the event, contribution and map provided by the caller.
|
|
Constructor for iterating over the tracker contribution. This constructor caches the event and contribution provided by the caller.
|
|
Return a pointer to the start of this contribution |
|
Return the start of the diagnostic data.
|
|
Set the byte offset from the start of the TKRcontribution at which the TOT data ends |
|
Return the start of the error data.
|
|
Return a pointer to the EBFevent containing this contribution |
|
Handle all errors possible in TKRcontributionIterator. This method is used to handle errors occurring during the iteration over an TKRcontribution. By default it does nothing, however it is virtual and is able to be overridden by the user.
|
|
Class for iterating over contributions to a TKR contribution Iterate over tracker strip hits. This method calls the strip() virtual function back with every strip hit it finds. Strip data _must_ be iterated over before TOTs can be iterated over. This method uses the event and contribution provided by the caller and the map established by the caller.
|
|
Iterate over tracker strip hits. This method calls the strip() virtual function back with every strip hit it finds. Strip data _must_ be iterated over before TOTs can be iterated over. This method uses the event and contribution provided by the caller and the map established by the ctor.
|
|
Iterate over tracker strip data. This method calls the strip() virtual function back with every strip it finds. This method uses the event, contribution and map established by the ctor.
|
|
Iterate over tracker TOT data. This method calls the TOT() virtual function back with every TOT datum it finds. Strip data _must_ be iterated over before TOTs can be iterated over in order to find where the TOT data begins. This method uses the contribution and map provided by the caller.
|
|
Iterate over tracker TOT data. This method calls the TOT() virtual function back with every TOT datum it finds. Strip data _must_ be iterated over before TOTs can be iterated over in order to find where the TOT data begins. This method uses the contribution provided by the caller and the map established by the ctor.
|
|
Iterate over tracker TOT data. This method calls the TOT() virtual function back with every TOT datum it finds. Strip data _must_ be iterated over before TOTs can be iterated over in order to find where the TOT data begins. This method uses the contribution and map established by the ctor.
|
|
Return a pointer to the tracker map |
|
Pure virtual method for calling the application back with a tracker strip hit value.
|
|
Return the number of strip hits found by TKRcontributionIterator::iterateStrips().
|
|
Pure virtual method for calling the application back with a tracker TOT value.
|