| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

Public Member Functions | Protected Attributes

# HistogramAgent Class Reference

HistogramAgent base in charge of collecting all the refereces to DataObjects in a transient store that passes some selection criteria. More...

`#include <GaudiKernel/HistogramAgent.h>`

Inheritance diagram for HistogramAgent:
[legend]
Collaboration diagram for HistogramAgent:
[legend]

List of all members.

## Public Member Functions
| HistogramAgent ()
| Default creator.
virtual | ~HistogramAgent ()
| Destructor.
IDataSelector * | selectedObjects ()
| Return the set of selected DataObjects.
virtual bool | analyse (IRegistry *pRegistry, int)
| Analyses a given directory entry.
## Protected Attributes
IDataSelector | m_objects

## Detailed Description

HistogramAgent base in charge of collecting all the refereces to DataObjects in a transient store that passes some selection criteria.

The default behaviour is to collect all entries.

Author:
  Markus Frank

Definition at line 18 of file HistogramAgent.h.

## Constructor & Destructor Documentation

HistogramAgent::HistogramAgent | ( | ) | `[inline]`

Default creator.

Definition at line 23 of file HistogramAgent.h.

                       {
      }

virtual HistogramAgent::~HistogramAgent | ( | ) | `[inline, virtual]`

Destructor.

Definition at line 26 of file HistogramAgent.h.

                                 {
      }

## Member Function Documentation

virtual bool HistogramAgent::analyse | ( | IRegistry * | pRegistry,
|  | int |
| ) |  | `[inline, virtual]`

Analyses a given directory entry.

Implements IDataStoreAgent.

Definition at line 33 of file HistogramAgent.h.

                                                         {
        DataObject* obj = pRegistry->object();
        if ( 0 != obj )  {
          if ( obj->clID() != CLID_StatisticsFile )    {
            m_objects.push_back(obj);
            return true;
          }
        }
        return false;
      }

IDataSelector* HistogramAgent::selectedObjects | ( | ) | `[inline]`

Return the set of selected DataObjects.

Definition at line 29 of file HistogramAgent.h.

                                          {
        return &m_objects;
      }

## Member Data Documentation

IDataSelector HistogramAgent::m_objects`[protected]`

Definition at line 20 of file HistogramAgent.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r4/GaudiSvc/src/ApplicationMgr/HistogramAgent.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines