RecoCollectorBase Class Reference
[The reconstruction framework (odinreco)]

#include <collector.h>

Inheritance diagram for RecoCollectorBase:

Inheritance graph
[legend]

List of all members.

Protected Member Functions

bool completed (const RecoCoord &coord, unsigned int custom_count)
bool calculate_count (RecoQueryContext &context, const RecoCoord &inmask, const RecoCoord &outmask)


Detailed Description

Base class for all collector templates to hold code common to all collectors.

Definition at line 35 of file collector.h.


Member Function Documentation

bool RecoCollectorBase::completed ( const RecoCoord coord,
unsigned int  custom_count 
) [protected]

Removes 'coord' from the todo map, returns 'true' only if the current set is fully collected, i.e. the todo map is emtpy. Note: Do not lock any mutexes when calling this function. If 'custom_count' is non-zero, it will be used instead of the cached 'count'.

bool RecoCollectorBase::calculate_count ( RecoQueryContext context,
const RecoCoord inmask,
const RecoCoord outmask 
) [protected]

Calcuate the count, i.e. number inputs to be processed before executing the next step. 'inmask' and 'outmask' are used to filter on particular indices when calculating the todo map.


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

Generated on Wed Sep 30 15:33:10 2009 by  doxygen 1.5.6