Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

IHistogramSvc Class Reference

Definition of the IHistogramSvc interface class. More...

#include <GaudiKernel/IHistogramSvc.h>

Inheritance diagram for IHistogramSvc:

IDataProviderSvc IInterface List of all members.

Public Methods

virtual IHistogram1Dbook ( const std::string& fullPath, const std::string& title, int binsX, double lowX, double highX ) = 0
 Book histogram and register it with the histogram data store. More...

virtual IHistogram1Dbook ( const std::string& dirPath, const std::string& relPath, const std::string& title, int binsX, double lowX, double highX ) = 0
virtual IHistogram1Dbook ( const std::string& dirPath, int hID, const std::string& title, int binsX, double lowX, double highX ) = 0
virtual IHistogram1Dbook ( DataObject* pParent, const std::string& relPath, const std::string& title, int binsX, double lowX, double highX ) = 0
virtual IHistogram1Dbook ( DataObject* pParent, int hID, const std::string& title, int binsX, double lowX, double highX ) = 0
virtual IHistogram1Dbook ( const std::string& fullPath, const std::string& title, std::vector<double> edges ) = 0
virtual IHistogram1Dbook ( const std::string& dirPath, const std::string& relPath, const std::string& title, std::vector<double> edges ) = 0
virtual IHistogram1Dbook ( const std::string& dirPath, int hID, const std::string& title, std::vector<double> edges ) = 0
virtual IHistogram1Dbook ( DataObject* pParent, const std::string& relPath, const std::string& title, std::vector<double> edges ) = 0
virtual IHistogram1Dbook ( DataObject* pParent, int hID, const std::string& title, std::vector<double> edges ) = 0
virtual IHistogram2Dbook ( const std::string& fullPath, const std::string& title, int binsX, double lowX, double highX, int binsY, double lowY, double highY ) = 0
virtual IHistogram2Dbook ( const std::string& dirPath, const std::string& relPath, const std::string& title, int binsX, double lowX, double highX, int binsY, double lowY, double highY ) = 0
virtual IHistogram2Dbook ( const std::string& dirPath, int hID, const std::string& title, int binsX, double lowX, double highX, int binsY, double lowY, double highY ) = 0
virtual IHistogram2Dbook ( DataObject* pParent, const std::string& relPath, const std::string& title, int binsX, double lowX, double highX, int binsY, double lowY, double highY ) = 0
virtual IHistogram2Dbook ( DataObject* pParent, int hID, const std::string& title, int binsX, double lowX, double highX, int binsY, double lowY, double highY ) = 0
virtual StatusCode registerObject ( const std::string& fullPath, IHistogram* hObj ) = 0
virtual StatusCode registerObject ( const std::string& parentPath, const std::string& objPath, IHistogram* hObj ) = 0
virtual StatusCode registerObject ( const std::string& parentPath, int item, IHistogram* hObj ) = 0
virtual StatusCode registerObject ( DataObject* parentObj, const std::string& objPath, IHistogram* hObj ) = 0
virtual StatusCode registerObject ( IHistogram* parentObj, const std::string& objPath, IHistogram* hObj ) = 0
virtual StatusCode registerObject ( DataObject* parentObj, int item, IHistogram* hObj ) = 0
virtual StatusCode registerObject ( IHistogram* parentObj, int item, IHistogram* hObj ) = 0
virtual StatusCode unregisterObject ( IHistogram* hObj ) = 0
virtual StatusCode unregisterObject ( IHistogram* hObj, const std::string& objectPath ) = 0
virtual StatusCode unregisterObject ( IHistogram* hObj, int item ) = 0
virtual StatusCode retrieveObject ( IDataDirectory* pDirectory, const std::string& path, IHistogram1D*& h1dObj ) = 0
virtual StatusCode retrieveObject ( IDataDirectory* pDirectory, const std::string& path, IHistogram2D*& h2dObj ) = 0
virtual StatusCode retrieveObject ( const std::string& fullPath, IHistogram1D*& h1dObj ) = 0
virtual StatusCode retrieveObject ( const std::string& fullPath, IHistogram2D*& h2dObj ) = 0
virtual StatusCode retrieveObject ( const std::string& parentPath, const std::string& objPath, IHistogram1D*& h1dObj ) = 0
virtual StatusCode retrieveObject ( const std::string& parentPath, const std::string& objPath, IHistogram2D*& h2dObj ) = 0
virtual StatusCode retrieveObject ( const std::string& parentPath, int item, IHistogram1D*& h1dObj ) = 0
virtual StatusCode retrieveObject ( const std::string& parentPath, int item, IHistogram2D*& h2dObj ) = 0
virtual StatusCode retrieveObject ( DataObject* parentObj, const std::string& objPath, IHistogram1D*& h1dObj ) = 0
virtual StatusCode retrieveObject ( DataObject* parentObj, const std::string& objPath, IHistogram2D*& h2dObj ) = 0
virtual StatusCode retrieveObject ( IHistogram* parentObj, const std::string& objPath, IHistogram1D*& h1dObj ) = 0
virtual StatusCode retrieveObject ( IHistogram* parentObj, const std::string& objPath, IHistogram2D*& h2dObj ) = 0
virtual StatusCode retrieveObject ( DataObject* parentObj, int item, IHistogram1D*& h1dObj ) = 0
virtual StatusCode retrieveObject ( DataObject* parentObj, int item, IHistogram2D*& h2dObj ) = 0
virtual StatusCode retrieveObject ( IHistogram* parentObj, int item, IHistogram1D*& h1dObj ) = 0
virtual StatusCode retrieveObject ( IHistogram* parentObj, int item, IHistogram2D*& h2dObj ) = 0
virtual StatusCode findObject ( const std::string& fullPath, IHistogram1D*& h1dObj ) = 0
virtual StatusCode findObject ( const std::string& fullPath, IHistogram2D*& h2dObj ) = 0
virtual StatusCode findObject ( IDataDirectory* pDirectory, const std::string& path, IHistogram1D*& h1dObj ) = 0
virtual StatusCode findObject ( IDataDirectory* pDirectory, const std::string& path, IHistogram2D*& h2dObj ) = 0
virtual StatusCode findObject ( const std::string& parentPath, const std::string& objPath, IHistogram1D*& h1dObj ) = 0
virtual StatusCode findObject ( const std::string& parentPath, const std::string& objPath, IHistogram2D*& h2dObj ) = 0
virtual StatusCode findObject ( const std::string& parentPath, int item, IHistogram1D*& h1dObj ) = 0
virtual StatusCode findObject ( const std::string& parentPath, int item, IHistogram2D*& h2dObj ) = 0
virtual StatusCode findObject ( DataObject* parentObj, const std::string& objPath, IHistogram1D*& h1dObj ) = 0
virtual StatusCode findObject ( DataObject* parentObj, const std::string& objPath, IHistogram2D*& h2dObj ) = 0
virtual StatusCode findObject ( IHistogram* parentObj, const std::string& objPath, IHistogram1D*& h1dObj ) = 0
virtual StatusCode findObject ( IHistogram* parentObj, const std::string& objPath, IHistogram2D*& h2dObj ) = 0
virtual StatusCode findObject ( DataObject* parentObj, int item, IHistogram1D*& h1dObj ) = 0
virtual StatusCode findObject ( DataObject* parentObj, int item, IHistogram2D*& h2dObj ) = 0
virtual StatusCode findObject ( IHistogram* parentObj, int item, IHistogram1D*& h1dObj ) = 0
virtual StatusCode findObject ( IHistogram* parentObj, int item, IHistogram2D*& h2dObj ) = 0
virtual std::ostream& print ( IHistogram* h, std::ostream& s = std::cout) const = 0
virtual std::ostream& write ( IHistogram* h, std::ostream& s = std::cout) const = 0
 Write (ASCII) the histogram table into the output stream.

virtual int write ( IHistogram* h, const char* file_name ) const = 0
 Write (ASCII) the histogram table into a file.

virtual DataObjectcreatePath ( const std::string& newPath ) = 0
virtual DataObjectcreateDirectory ( const std::string& parentDir, const std::string& subDir ) = 0
 Create a sub-directory in a directory. More...

virtual StatusCode registerObject (const std::string& fullPath, DataObject* pObject) = 0
 Re-declaring this here avoids a compiler warning about hidden functions. Refer to ARM Page 210.

virtual StatusCode registerObject (const std::string& parentPath, const std::string& objectPath, DataObject* pObject) = 0
 Register object with the data store. More...

virtual StatusCode registerObject (const std::string& parentPath, int item, DataObject* pObject) = 0
 Register object with the data store. More...

virtual StatusCode registerObject (DataObject* parentObj, const std::string& objectPath, DataObject* pObject) = 0
 Register object with the data store. More...

virtual StatusCode registerObject (DataObject* parentObj, int item, DataObject* pObject) = 0
 Register object with the data store. More...

virtual StatusCode unregisterObject (const std::string& fullPath) = 0
 Unregister object from the data store. More...

virtual StatusCode unregisterObject (const std::string& parentPath, const std::string& objPath) = 0
 Unregister object from the data store. More...

virtual StatusCode unregisterObject (const std::string& parentPath, int item) = 0
 Unregister object from the data store. More...

virtual StatusCode unregisterObject (DataObject* pObject) = 0
 Unregister object from the data store. More...

virtual StatusCode unregisterObject (DataObject* pParent, const std::string& objPath) = 0
 Unregister object from the data store. More...

virtual StatusCode unregisterObject (DataObject* pParent, int item) = 0
 Unregister object from the data store. More...

virtual StatusCode retrieveObject (IDataDirectory* pDirectory, const std::string& path, DataObject*& pObject) = 0
 Retrieve object identified by its directory entry. More...

virtual StatusCode retrieveObject (const std::string& fullPath, DataObject*& pObject) = 0
 Retrieve object identified by its full path from the data store. More...

virtual StatusCode retrieveObject (const std::string& parentPath, const std::string& objectPath, DataObject*& pObject) = 0
 Retrieve object from data store. More...

virtual StatusCode retrieveObject (const std::string& parentPath, int item, DataObject*& pObject) = 0
 Retrieve object from data store. More...

virtual StatusCode retrieveObject (DataObject* parentObj, const std::string& objectPath, DataObject*& pObject) = 0
 Retrieve object from data store. More...

virtual StatusCode retrieveObject (DataObject* parentObj, int item, DataObject*& pObject) = 0
 Retrieve object from data store. More...

virtual StatusCode findObject (IDataDirectory* pDirectory, const std::string& path, DataObject*& pObject) = 0
 Find object identified by its directory entry. More...

virtual StatusCode findObject (const std::string& fullPath, DataObject*& pObject) = 0
 Find object identified by its full path in the data store. More...

virtual StatusCode findObject (const std::string& parentPath, const std::string& objectPath, DataObject*& pObject) = 0
 Find object identified by its parent object and the path to the object relative to the parent. More...

virtual StatusCode findObject (const std::string& parentPath, int item, DataObject*& pObject) = 0
 Find object identified by its parent object and an integer identifier in the data store. More...

virtual StatusCode findObject (DataObject* pNode, const std::string& objectPath, DataObject*& pObject) = 0
 Find object identified by its parent object and the path to the object relative to the parent. More...

virtual StatusCode findObject (DataObject* parentObj, int item, DataObject*& pObject) = 0
 Find object identified by its parent object and an integer identifier in the data store. More...


Static Public Methods

const InterfaceIDinterfaceID ()
 Retrieve interface ID. More...


Detailed Description

Definition of the IHistogramSvc interface class.

Author(s):
Pavel Binko

Definition at line 29 of file IHistogramSvc.h.


Member Function Documentation

virtual IHistogram2D* IHistogramSvc::book ( DataObject * pParent,
int hID,
const std::string & title,
int binsX,
double lowX,
double highX,
int binsY,
double lowY,
double highY ) [pure virtual]
 

virtual IHistogram2D* IHistogramSvc::book ( DataObject * pParent,
const std::string & relPath,
const std::string & title,
int binsX,
double lowX,
double highX,
int binsY,
double lowY,
double highY ) [pure virtual]
 

virtual IHistogram2D* IHistogramSvc::book ( const std::string & dirPath,
int hID,
const std::string & title,
int binsX,
double lowX,
double highX,
int binsY,
double lowY,
double highY ) [pure virtual]
 

virtual IHistogram2D* IHistogramSvc::book ( const std::string & dirPath,
const std::string & relPath,
const std::string & title,
int binsX,
double lowX,
double highX,
int binsY,
double lowY,
double highY ) [pure virtual]
 

virtual IHistogram2D* IHistogramSvc::book ( const std::string & fullPath,
const std::string & title,
int binsX,
double lowX,
double highX,
int binsY,
double lowY,
double highY ) [pure virtual]
 

virtual IHistogram1D* IHistogramSvc::book ( DataObject * pParent,
int hID,
const std::string & title,
std::vector< double > edges ) [pure virtual]
 

virtual IHistogram1D* IHistogramSvc::book ( DataObject * pParent,
const std::string & relPath,
const std::string & title,
std::vector< double > edges ) [pure virtual]
 

virtual IHistogram1D* IHistogramSvc::book ( const std::string & dirPath,
int hID,
const std::string & title,
std::vector< double > edges ) [pure virtual]
 

virtual IHistogram1D* IHistogramSvc::book ( const std::string & dirPath,
const std::string & relPath,
const std::string & title,
std::vector< double > edges ) [pure virtual]
 

virtual IHistogram1D* IHistogramSvc::book ( const std::string & fullPath,
const std::string & title,
std::vector< double > edges ) [pure virtual]
 

virtual IHistogram1D* IHistogramSvc::book ( DataObject * pParent,
int hID,
const std::string & title,
int binsX,
double lowX,
double highX ) [pure virtual]
 

virtual IHistogram1D* IHistogramSvc::book ( DataObject * pParent,
const std::string & relPath,
const std::string & title,
int binsX,
double lowX,
double highX ) [pure virtual]
 

virtual IHistogram1D* IHistogramSvc::book ( const std::string & dirPath,
int hID,
const std::string & title,
int binsX,
double lowX,
double highX ) [pure virtual]
 

virtual IHistogram1D* IHistogramSvc::book ( const std::string & dirPath,
const std::string & relPath,
const std::string & title,
int binsX,
double lowX,
double highX ) [pure virtual]
 

IHistogram1D * IHistogramSvc::book ( const std::string & fullPath,
const std::string & title,
int binsX,
double lowX,
double highX ) [pure virtual]
 

Book histogram and register it with the histogram data store.

Parameters:
fullPath   Full path to the node of the object. The basename (last part of the fullPath) has to be an integer number (otherwise conversion to HBOOK is not possible)
dirPath   Path to parent node of the object, the directory the histogram will be stored in.
pParent   Pointer to parent node
relPath   Histogram identifier (std::string), the relative path to the object with respect to the parent node
hID   Histogram identifier (int) of the histogram
title   Title property of the histogram
binsX   /Y Number of bins on the axis X/Y
lowX   /Y Lower histogram edge on the axis X/Y
highX   /Y Upper histogram edge on the axis X/Y

DataObject * IHistogramSvc::createDirectory ( const std::string & parentDir,
const std::string & subDir ) [pure virtual]
 

Create a sub-directory in a directory.

Parameters:
parentDir   name of the parent directory
subDir   to identify the histogram object in the store returns pointer to DataObject (NULL on failure)

virtual DataObject* IHistogramSvc::createPath ( const std::string & newPath ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( DataObject * parentObj,
int item,
DataObject *& pObject ) [pure virtual]
 

Find object identified by its parent object and an integer identifier in the data store.

In case the object is not present the pointer will be set to NULL.

Parameters:
parentObj   Pointer to parent node of the object.
item   Item identifier.
pObject   Reference to the pointer of the object to be returned.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::findObject ( DataObject * pNode,
const std::string & objectPath,
DataObject *& pObject ) [pure virtual]
 

Find object identified by its parent object and the path to the object relative to the parent.

The result will be returned in the second argument. In case the object is not present the pointer will be set to NULL.

Parameters:
parentObj   Pointer to parent node of the object.
objectPath   Relative path name of the object.
pObject   Reference to the pointer of the object to be returned.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::findObject ( const std::string & parentPath,
int item,
DataObject *& pObject ) [pure virtual]
 

Find object identified by its parent object and an integer identifier in the data store.

In case the object is not present the pointer will be set to NULL.

Parameters:
parentPath   Path to parent node of the object.
item   Item identifier.
pObject   Reference to the pointer of the object to be returned.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::findObject ( const std::string & parentPath,
const std::string & objectPath,
DataObject *& pObject ) [pure virtual]
 

Find object identified by its parent object and the path to the object relative to the parent.

The result will be returned in the second argument. In case the object is not present the pointer will be set to NULL.

Parameters:
parentPath   Path to parent node of the object.
objectPath   Relative path name of the object.
pObject   Reference to the pointer of the object to be returned.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::findObject ( const std::string & fullPath,
DataObject *& pObject ) [pure virtual]
 

Find object identified by its full path in the data store.

The result will be returned in the second argument. In case the object is not present the pointer will be set to NULL.

Parameters:
fullPath   Path name of the object.
pObject   Pointer to the object to be connected.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::findObject ( IDataDirectory * pDirectory,
const std::string & path,
DataObject *& pObject ) [pure virtual]
 

Find object identified by its directory entry.

The result will be returned in the second argument. In case the object is not present the pointer will be set to NULL. FASTEST ACCESS TO THE DATA STORE **

Parameters:
pDirectory   Pointer to the object.
path   String with relative path to directory. Ideally ""!
pObject   Reference to the pointer of the object to be returned.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::findObject ( IHistogram * parentObj,
int item,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( IHistogram * parentObj,
int item,
IHistogram1D *& h1dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( DataObject * parentObj,
int item,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( DataObject * parentObj,
int item,
IHistogram1D *& h1dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( IHistogram * parentObj,
const std::string & objPath,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( IHistogram * parentObj,
const std::string & objPath,
IHistogram1D *& h1dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( DataObject * parentObj,
const std::string & objPath,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( DataObject * parentObj,
const std::string & objPath,
IHistogram1D *& h1dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( const std::string & parentPath,
int item,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( const std::string & parentPath,
int item,
IHistogram1D *& h1dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( const std::string & parentPath,
const std::string & objPath,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( const std::string & parentPath,
const std::string & objPath,
IHistogram1D *& h1dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( IDataDirectory * pDirectory,
const std::string & path,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( IDataDirectory * pDirectory,
const std::string & path,
IHistogram1D *& h1dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( const std::string & fullPath,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::findObject ( const std::string & fullPath,
IHistogram1D *& h1dObj ) [pure virtual]
 

const InterfaceID & IHistogramSvc::interfaceID ( ) [inline, static]
 

Retrieve interface ID.

Reimplemented from IDataProviderSvc.

Definition at line 34 of file IHistogramSvc.h.

virtual std::ostream& IHistogramSvc::print ( IHistogram * h,
std::ostream & s = std::cout ) const [pure virtual]
 

virtual StatusCode IHistogramSvc::registerObject ( DataObject * parentObj,
int item,
DataObject * pObject ) [pure virtual]
 

Register object with the data store.

Connect the object identified by its pointer to the node object identified by its pointer.

Parameters:
parentObj   Pointer to parent object.
item   item number of the object linked to the parent
pObject   Pointer to the object to be connected.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::registerObject ( DataObject * parentObj,
const std::string & objectPath,
DataObject * pObject ) [pure virtual]
 

Register object with the data store.

Connect the object identified by its pointer to the parent object and the relative path of the object with respect to the parent.

Parameters:
parentObj   Pointer to parent object.
objectPath   Path of the object relative to the parent node
pObject   Pointer to the object to be connected.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::registerObject ( const std::string & parentPath,
int item,
DataObject * pObject ) [pure virtual]
 

Register object with the data store.

Connect the object identified by its pointer to the parent object and an integer identifier.

Parameters:
parentPath   Path to parent node of the object.
item   item number of the object linked to the parent
pObject   Pointer to the object to be registered.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::registerObject ( const std::string & parentPath,
const std::string & objectPath,
DataObject * pObject ) [pure virtual]
 

Register object with the data store.

Connect the object identified by the path to the parent object and the path of the object itself relative to the specified parent.

Parameters:
parentPath   Path to parent node of the object.
objectPath   Path of the object relative to the parent node
pObject   Pointer to the object to be registered.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

StatusCode IHistogramSvc::registerObject ( const std::string & fullPath,
DataObject * pObject ) [pure virtual]
 

Re-declaring this here avoids a compiler warning about hidden functions. Refer to ARM Page 210.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::registerObject ( IHistogram * parentObj,
int item,
IHistogram * hObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::registerObject ( DataObject * parentObj,
int item,
IHistogram * hObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::registerObject ( IHistogram * parentObj,
const std::string & objPath,
IHistogram * hObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::registerObject ( DataObject * parentObj,
const std::string & objPath,
IHistogram * hObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::registerObject ( const std::string & parentPath,
int item,
IHistogram * hObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::registerObject ( const std::string & parentPath,
const std::string & objPath,
IHistogram * hObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::registerObject ( const std::string & fullPath,
IHistogram * hObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( DataObject * parentObj,
int item,
DataObject *& pObject ) [pure virtual]
 

Retrieve object from data store.

The object to be retrieved is identified by the pointer to the parent object and an integer identifier. In case the object is not present it will be loaded and converted if possible.

Parameters:
parentObj   Pointer to parent node of the object.
item   Item identifier.
pObject   Reference to the pointer of the object to be returned.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::retrieveObject ( DataObject * parentObj,
const std::string & objectPath,
DataObject *& pObject ) [pure virtual]
 

Retrieve object from data store.

The object to be retrieved is identified by the pointer to the parent object and the relative path with respect to the node. In case the object is not present it will be loaded and converted if possible.

Parameters:
parentObj   Pointer to parent node of the object.
objectPath   Path of the object relative to the parent.
pObject   Reference to the pointer of the object to be returned.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::retrieveObject ( const std::string & parentPath,
int item,
DataObject *& pObject ) [pure virtual]
 

Retrieve object from data store.

The object to be retrieved is identified by the path to the parent object and an integer identifier. In case the object is not present it will be loaded and converted if possible.

Parameters:
parentPath   Path to parent node of the object.
item   Item identifier.
pObject   Reference to the pointer of the object to be returned.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::retrieveObject ( const std::string & parentPath,
const std::string & objectPath,
DataObject *& pObject ) [pure virtual]
 

Retrieve object from data store.

The object to be retrieved is identified by the path of the parent object and the relative path with respect to the node. In case the object is not present it will be loaded and converted if possible.

Parameters:
parentPath   Path to parent node of the object.
objectPath   Path of the object relative to the parent.
pObject   Reference to the pointer of the object to be returned.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::retrieveObject ( const std::string & fullPath,
DataObject *& pObject ) [pure virtual]
 

Retrieve object identified by its full path from the data store.

The result will be returned in the second argument. In case the object is not present it will be loaded and converted if possible.

Parameters:
fullPath   Path name of the object.
pObject   Reference to the pointer of the object to be returned.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::retrieveObject ( IDataDirectory * pDirectory,
const std::string & path,
DataObject *& pObject ) [pure virtual]
 

Retrieve object identified by its directory entry.

The result will be returned in the second argument. In case the object is not present it will be loaded and converted if possible. FASTEST ACCESS TO THE DATA STORE **

Parameters:
pDirectory   Pointer to the object.
path   String with relative path to directory. Ideally ""!
pObject   Reference to the pointer of the object to be returned.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::retrieveObject ( IHistogram * parentObj,
int item,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( IHistogram * parentObj,
int item,
IHistogram1D *& h1dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( DataObject * parentObj,
int item,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( DataObject * parentObj,
int item,
IHistogram1D *& h1dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( IHistogram * parentObj,
const std::string & objPath,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( IHistogram * parentObj,
const std::string & objPath,
IHistogram1D *& h1dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( DataObject * parentObj,
const std::string & objPath,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( DataObject * parentObj,
const std::string & objPath,
IHistogram1D *& h1dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( const std::string & parentPath,
int item,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( const std::string & parentPath,
int item,
IHistogram1D *& h1dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( const std::string & parentPath,
const std::string & objPath,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( const std::string & parentPath,
const std::string & objPath,
IHistogram1D *& h1dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( const std::string & fullPath,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( const std::string & fullPath,
IHistogram1D *& h1dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( IDataDirectory * pDirectory,
const std::string & path,
IHistogram2D *& h2dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::retrieveObject ( IDataDirectory * pDirectory,
const std::string & path,
IHistogram1D *& h1dObj ) [pure virtual]
 

virtual StatusCode IHistogramSvc::unregisterObject ( DataObject * pParent,
int item ) [pure virtual]
 

Unregister object from the data store.

The object and all depending objects will be deleted. The object is identified by parent object and an integer identifier of the object itself.

Parameters:
pParent   Pointer to parent object.
item   Integer identifier of the object item.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::unregisterObject ( DataObject * pParent,
const std::string & objPath ) [pure virtual]
 

Unregister object from the data store.

The object and all depending objects will be deleted. The object is identified by parent object and the path of the object relative to the parent.

Parameters:
pParent   Pointer to parent object.
objPath   Path name of the object relative to the parent.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::unregisterObject ( DataObject * pObject ) [pure virtual]
 

Unregister object from the data store.

The object and all depending objects will be deleted. The object is identified by its pointer. The object must previously have been registered with the data store.

Parameters:
pObject   Pointer to the object.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::unregisterObject ( const std::string & parentPath,
int item ) [pure virtual]
 

Unregister object from the data store.

The object and all depending objects will be deleted. The object is identified by parent path name and an integer identifier of the object itself.

Parameters:
parentPath   Path name of the parent object.
item   Integer identifier of the object item.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::unregisterObject ( const std::string & parentPath,
const std::string & objPath ) [pure virtual]
 

Unregister object from the data store.

The object and all depending objects will be deleted. The object is identified by parent path name and the path of the object relative to the parent.

Parameters:
parentPath   Path name of the parent object.
objPath   Path name of the object relative to the parent.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::unregisterObject ( const std::string & fullPath ) [pure virtual]
 

Unregister object from the data store.

The object and all depending objects will be deleted. The object is identified by full path name.

Parameters:
fullPath   Path name of the object.
Returns:
Status code indicating success or failure.

Reimplemented from IDataProviderSvc.

virtual StatusCode IHistogramSvc::unregisterObject ( IHistogram * hObj,
int item ) [pure virtual]
 

virtual StatusCode IHistogramSvc::unregisterObject ( IHistogram * hObj,
const std::string & objectPath ) [pure virtual]
 

virtual StatusCode IHistogramSvc::unregisterObject ( IHistogram * hObj ) [pure virtual]
 

int IHistogramSvc::write ( IHistogram * h,
const char * file_name ) const [pure virtual]
 

Write (ASCII) the histogram table into a file.

std::ostream & IHistogramSvc::write ( IHistogram * h,
std::ostream & s = std::cout ) const [pure virtual]
 

Write (ASCII) the histogram table into the output stream.


The documentation for this class was generated from the following file:
Generated at Wed Nov 21 12:22:11 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000