Gaudi Framework, version v23r2

Home   Generated: Thu Jun 28 2012
Public Member Functions

INTupleSvc Class Reference

#include <GaudiKernel/INTupleSvc.h>

Inheritance diagram for INTupleSvc:
Inheritance graph
[legend]
Collaboration diagram for INTupleSvc:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DeclareInterfaceID (INTupleSvc, 2, 0)
 InterfaceID.
virtual StatusCode create (const CLID &typ, const std::string &title, NTuple::Tuple *&refpTuple)=0
 Create requested N tuple (Hide constructor)
virtual NTuple::Tuplebook (const std::string &fullPath, const CLID &type, const std::string &title)=0
 Book Ntuple and register it with the data store.
virtual NTuple::Tuplebook (const std::string &dirPath, const std::string &relPath, const CLID &type, const std::string &title)=0
 Book Ntuple and register it with the data store.
virtual NTuple::Tuplebook (const std::string &dirPath, long id, const CLID &type, const std::string &title)=0
 Book Ntuple and register it with the data store.
virtual NTuple::Tuplebook (DataObject *pParent, const std::string &relPath, const CLID &type, const std::string &title)=0
 Book Ntuple and register it with the data store.
virtual NTuple::Tuplebook (DataObject *pParent, long id, const CLID &type, const std::string &title)=0
 Book Ntuple and register it with the data store.
virtual NTuple::DirectorycreateDirectory (DataObject *pParent, const std::string &title)=0
 Create Ntuple directory and register it with the data store.
virtual NTuple::DirectorycreateDirectory (DataObject *pParent, long id)=0
 Create Ntuple directory and register it with the data store.
virtual NTuple::DirectorycreateDirectory (const std::string &dirPath, long id)=0
 Create Ntuple directory and register it with the data store.
virtual NTuple::DirectorycreateDirectory (const std::string &dirPath, const std::string &title)=0
 Create Ntuple directory and register it with the data store.
virtual NTuple::DirectorycreateDirectory (const std::string &fullPath)=0
 Create Ntuple directory and register it with the data store.
virtual NTuple::Tupleaccess (const std::string &fullPath, const std::string &filename)=0
 Access N tuple on disk.
virtual StatusCode save (const std::string &fullPath)=0
 Save N tuple to disk.
virtual StatusCode save (NTuple::Tuple *tuple)=0
 Save N tuple to disk.
virtual StatusCode save (DataObject *pParent, const std::string &relPath)=0
 Save N tuple to disk.
virtual StatusCode writeRecord (NTuple::Tuple *tuple)=0
 Write single record to N tuple.
virtual StatusCode writeRecord (const std::string &fullPath)=0
 Write single record to N tuple.
virtual StatusCode writeRecord (DataObject *pParent, const std::string &relPath)=0
 Write single record to N tuple.
virtual StatusCode readRecord (NTuple::Tuple *tuple)=0
 Read single record from N tuple.
virtual StatusCode readRecord (const std::string &fullPath)=0
 Read single record from N tuple.
virtual StatusCode readRecord (DataObject *pParent, const std::string &relPath)=0
 Read single record from N tuple.

Detailed Description

The ntuple service interface allows to:

Author:
Markus Frank
Version:
1.0

Definition at line 37 of file INTupleSvc.h.


Member Function Documentation

virtual NTuple::Tuple* INTupleSvc::access ( const std::string fullPath,
const std::string filename 
) [pure virtual]

Access N tuple on disk.

Parameters:
fullPathFull path to the N tuple within the transient store
filenameName of the file the ntuple resides in.
Returns:
Status code indicating success or failure.
virtual NTuple::Tuple* INTupleSvc::book ( const std::string dirPath,
const std::string relPath,
const CLID type,
const std::string title 
) [pure virtual]

Book Ntuple and register it with the data store.

Connects the object identified by its relative path to the parent object identified by the base name.

Parameters:
dirPathPath to parent node of the object.
relPathRelative path to the object with respect to the parent node. The relative path is the identifier of the tuple.
titleTitle property of the N tuple.
typeClass ID of the N tuple: Column or row wise.
refpTupleReference to pointer to the N tuple to be booled and registered.
Returns:
Status code indicating success or failure.
virtual NTuple::Tuple* INTupleSvc::book ( const std::string dirPath,
long  id,
const CLID type,
const std::string title 
) [pure virtual]

Book Ntuple and register it with the data store.

Connects the object identified by an identifier to the parent object identified by the base name.

Parameters:
dirPathPath to parent node of the object.
idIdentifier of the tuple within the parent's directory.
typeClass ID of the N tuple: Column or row wise.
titleTitle property of the N tuple.
refpTupleReference to pointer to the N tuple to be booled and registered.
Returns:
Status code indicating success or failure.
virtual NTuple::Tuple* INTupleSvc::book ( const std::string fullPath,
const CLID type,
const std::string title 
) [pure virtual]

Book Ntuple and register it with the data store.

Connects the object identified by its full path to the parent object identified by the base name of the full path.

Parameters:
fullPathFull path to the node of the object.
typeClass ID of the N tuple: Column or row wise.
titleTitle property of the N tuple.
refpTupleReference to pointer to the N tuple to be booled and registered.
Returns:
Status code indicating success or failure.
virtual NTuple::Tuple* INTupleSvc::book ( DataObject pParent,
const std::string relPath,
const CLID type,
const std::string title 
) [pure virtual]

Book Ntuple and register it with the data store.

Connects the object identified by an identifier (id) to the parent object identified by the parent's pointer.

Parameters:
pParentPointer to parent object.
relPathRelative path to the object with respect to the parent node. The relative path is the identifier of the tuple.
typeClass ID of the N tuple: Column or row wise.
titleTitle property of the N tuple.
refpTupleReference to pointer to the N tuple to be booled and registered.
Returns:
Status code indicating success or failure.
virtual NTuple::Tuple* INTupleSvc::book ( DataObject pParent,
long  id,
const CLID type,
const std::string title 
) [pure virtual]

Book Ntuple and register it with the data store.

Connects the object identified by its relative path to the parent object identified by the parent's pointer.

Parameters:
pParentPointer to parent object.
idIdentifier of the tuple within the parent's directory.
typeClass ID of the N tuple: Column or row wise.
titleTitle property of the N tuple.
Returns:
Status code indicating success or failure.
virtual StatusCode INTupleSvc::create ( const CLID typ,
const std::string title,
NTuple::Tuple *&  refpTuple 
) [pure virtual]

Create requested N tuple (Hide constructor)

virtual NTuple::Directory* INTupleSvc::createDirectory ( DataObject pParent,
const std::string title 
) [pure virtual]

Create Ntuple directory and register it with the data store.

Connects the object identified by its relative path to the parent object identified by the parent's pointer.

Parameters:
pParentPointer to parent object.
titleDirectory identifier.
Returns:
Status code indicating success or failure.
virtual NTuple::Directory* INTupleSvc::createDirectory ( DataObject pParent,
long  id 
) [pure virtual]

Create Ntuple directory and register it with the data store.

Connects the object identified by its relative path to the parent object identified by the parent's pointer.

Parameters:
pParentPointer to parent object.
idIdentifier of the tuple within the parent's directory.
Returns:
Status code indicating success or failure.
virtual NTuple::Directory* INTupleSvc::createDirectory ( const std::string dirPath,
long  id 
) [pure virtual]

Create Ntuple directory and register it with the data store.

Connects the object identified by its relative path to the parent object identified by the parent's pointer.

Parameters:
dirPathFull directory path to parent
idIdentifier of the tuple within the parent's directory.
Returns:
Status code indicating success or failure.
virtual NTuple::Directory* INTupleSvc::createDirectory ( const std::string dirPath,
const std::string title 
) [pure virtual]

Create Ntuple directory and register it with the data store.

Connects the object identified by its path to the parent object identified by the parent's path.

Parameters:
dirPathFull directory path to parent
titleDirectory identifier.
Returns:
Status code indicating success or failure.
virtual NTuple::Directory* INTupleSvc::createDirectory ( const std::string fullPath ) [pure virtual]

Create Ntuple directory and register it with the data store.

Parameters:
fullPathFull directory path
Returns:
Status code indicating success or failure.
INTupleSvc::DeclareInterfaceID ( INTupleSvc  ,
,
 
)
virtual StatusCode INTupleSvc::readRecord ( const std::string fullPath ) [pure virtual]

Read single record from N tuple.

Parameters:
fullPathFull path to the N tuple in memory.
Returns:
Status code indicating success or failure.
virtual StatusCode INTupleSvc::readRecord ( DataObject pParent,
const std::string relPath 
) [pure virtual]

Read single record from N tuple.

Parameters:
pParentParent object of the N tuple
relPathRelative path to the N tuple in memory with respect to the parent object.
Returns:
Status code indicating success or failure.
virtual StatusCode INTupleSvc::readRecord ( NTuple::Tuple tuple ) [pure virtual]

Read single record from N tuple.

Parameters:
tuplePointer to the Ntuple in memory
Returns:
Status code indicating success or failure.
virtual StatusCode INTupleSvc::save ( NTuple::Tuple tuple ) [pure virtual]

Save N tuple to disk.

Must be called in order to close the ntuple file properly

Parameters:
tuplePointer to the Ntuple in memory
Returns:
Status code indicating success or failure.
virtual StatusCode INTupleSvc::save ( DataObject pParent,
const std::string relPath 
) [pure virtual]

Save N tuple to disk.

Must be called in order to close the ntuple file properly

Parameters:
pParentParent object of the N tuple
relPathRelative path to the N tuple in memory with respect to the parent object.
Returns:
Status code indicating success or failure.
virtual StatusCode INTupleSvc::save ( const std::string fullPath ) [pure virtual]

Save N tuple to disk.

Must be called in order to close the ntuple file properly

Parameters:
fullPathFull path to the N tuple in memory.
Returns:
Status code indicating success or failure.
virtual StatusCode INTupleSvc::writeRecord ( NTuple::Tuple tuple ) [pure virtual]

Write single record to N tuple.

Parameters:
tuplePointer to the Ntuple in memory
Returns:
Status code indicating success or failure.
virtual StatusCode INTupleSvc::writeRecord ( DataObject pParent,
const std::string relPath 
) [pure virtual]

Write single record to N tuple.

Parameters:
pParentParent object of the N tuple
relPathRelative path to the N tuple in memory with respect to the parent object.
Returns:
Status code indicating success or failure.
virtual StatusCode INTupleSvc::writeRecord ( const std::string fullPath ) [pure virtual]

Write single record to N tuple.

Parameters:
fullPathFull path to the N tuple in memory.
Returns:
Status code indicating success or failure.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Thu Jun 28 2012 23:27:41 for Gaudi Framework, version v23r2 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004