#include <NTupleSvc.h>
Inheritance diagram for NTupleSvc:

Public Methods | |
| virtual StatusCode | initialize () |
| DataSvc overrides: Initialize the service. More... | |
| virtual StatusCode | finalize () |
| DataSvc overrides: stop the service. More... | |
| virtual StatusCode | queryInterface (const IID& riid, void** ppvInterface) |
| DataSvc overrides: Query interface. More... | |
| virtual StatusCode | loadObject (IDataDirectory* pDirectory) |
| DataSvc overrides: Load data object. More... | |
| virtual NTuple::Directory* | createDirectory (DataObject* pParent, const std::string& title) |
| Create Ntuple directory and register it with the data store. More... | |
| virtual NTuple::Directory* | createDirectory (DataObject* pParent, long id) |
| Create Ntuple directory and register it with the data store. More... | |
| virtual NTuple::Directory* | createDirectory (const std::string& dirPath, long id) |
| Create Ntuple directory and register it with the data store. More... | |
| virtual NTuple::Directory* | createDirectory (const std::string& dirPath, const std::string& title) |
| Create Ntuple directory and register it with the data store. More... | |
| virtual NTuple::Directory* | createDirectory (const std::string& fullPath) |
| Create Ntuple directory and register it with the data store. More... | |
| virtual StatusCode | create (const CLID& typ, const std::string& title, NTuple::Tuple*& refpTuple) |
| Create requested N tuple (Hide constructor). More... | |
| virtual NTuple::Tuple* | book (const std::string& fullPath, const CLID& type, const std::string& title) |
| Book Ntuple and register it with the data store. More... | |
| virtual NTuple::Tuple* | book (const std::string& dirPath, const std::string& relPath, const CLID& type, const std::string& title) |
| Book Ntuple and register it with the data store. More... | |
| virtual NTuple::Tuple* | book (const std::string& dirPath, long id, const CLID& type, const std::string& title) |
| Book Ntuple and register it with the data store. More... | |
| virtual NTuple::Tuple* | book (DataObject* pParent, const std::string& relPath, const CLID& type, const std::string& title) |
| Book Ntuple and register it with the data store. More... | |
| virtual NTuple::Tuple* | book (DataObject* pParent, long id, const CLID& type, const std::string& title) |
| Book Ntuple and register it with the data store. More... | |
| virtual NTuple::Tuple* | access (const std::string& fullPath, const std::string& filename) |
| Access N tuple on disk. More... | |
| virtual StatusCode | save (const std::string& fullPath) |
| Save N tuple to disk. Must be called in order to close the ntuple file properly. More... | |
| virtual StatusCode | save (NTuple::Tuple* tuple) |
| Save N tuple to disk. Must be called in order to close the ntuple file properly. More... | |
| virtual StatusCode | save (DataObject* pParent, const std::string& relPath) |
| Save N tuple to disk. Must be called in order to close the ntuple file properly. More... | |
| virtual StatusCode | writeRecord ( NTuple::Tuple* tuple ) |
| Write single record to N tuple. More... | |
| virtual StatusCode | writeRecord ( const std::string& fullPath ) |
| Write single record to N tuple. More... | |
| virtual StatusCode | writeRecord ( DataObject* pParent, const std::string& relPath ) |
| Write single record to N tuple. More... | |
| virtual StatusCode | readRecord ( NTuple::Tuple* tuple ) |
| Read single record from N tuple. More... | |
| virtual StatusCode | readRecord ( const std::string& fullPath ) |
| Read single record from N tuple. More... | |
| virtual StatusCode | readRecord ( DataObject* pParent, const std::string& relPath) |
| Read single record from N tuple. More... | |
| virtual bool | isConnected (const std::string& identifier) const |
| Check if a datasource is connected. More... | |
| virtual StatusCode | connect (const std::string& ident) |
| Add file to list I/O list. More... | |
| virtual StatusCode | connect (const std::string& ident, std::string& logname) |
| Add file to list I/O list. More... | |
| virtual StatusCode | disconnect (const std::string& nam) |
| Close open connection. More... | |
| virtual StatusCode | disconnectAll () |
| Close all open connections. More... | |
Protected Types | |
| typedef std::vector< std::string > | DBaseEntries |
| typedef std::map<std::string, IConversionSvc*> | Connections |
| typedef std::pair<std::string, std::string> | Prop |
Protected Methods | |
| NTupleSvc (const std::string& name, ISvcLocator* svc) | |
| Standard Constructor. More... | |
| virtual | ~NTupleSvc () |
| Standard Destructor. More... | |
| StatusCode | connectToHistogramPersistency (const std::string& nam, const std::string& svtTyp, const std::vector<Prop>& props, IConversionSvc*& pSvc) |
| Create conversion service using histogram persistency. More... | |
| StatusCode | createService (const std::string& nam, const std::string& svtTyp, const std::vector<Prop>& props, IConversionSvc*& pSvc) |
| Create conversion service. More... | |
| StatusCode | attachTuple (const std::string& filename, const std::string& logname, const char typ, unsigned char t) |
| Attach output/input file. More... | |
| StatusCode | updateDirectories () |
| Update directory data. More... | |
Protected Attributes | |
| DBaseEntries | m_output |
| Output streams. More... | |
| DBaseEntries | m_input |
| Input streams. More... | |
| std::string | m_storeName |
| Top level store name. More... | |
| Connections | m_connections |
| Container of connection points. More... | |
Friends | |
| class | SvcFactory< NTupleSvc > |
Description: See the Interface definition files for more detailed documentation of the implementing class.
Dependencies:
History :
+---------+----------------------------------------------+--------+
| Date | Comment | Who |
+---------+----------------------------------------------+--------+
| 21/04/99| Initial version. | MF |
+---------+----------------------------------------------+--------+
Author: M.Frank Version: 1.0
Definition at line 47 of file NTupleSvc.h.
|
|
Definition at line 55 of file NTupleSvc.h. |
|
|
Definition at line 54 of file NTupleSvc.h. |
|
|
Definition at line 56 of file NTupleSvc.h. Referenced by connect(). |
|
|
Standard Constructor.
Definition at line 59 of file NTupleSvc.cpp. |
|
|
Standard Destructor.
Definition at line 68 of file NTupleSvc.cpp. |
|
|
Access N tuple on disk.
Definition at line 606 of file NTupleSvc.cpp. |
|
|
Attach output/input file.
Definition at line 535 of file NTupleSvc.cpp. Referenced by connect(). |
|
|
Book Ntuple and register it with the data store.
Definition at line 499 of file NTupleSvc.cpp. |
|
|
Book Ntuple and register it with the data store.
Definition at line 471 of file NTupleSvc.cpp. |
|
|
Book Ntuple and register it with the data store.
Definition at line 465 of file NTupleSvc.cpp. |
|
|
Book Ntuple and register it with the data store.
Definition at line 457 of file NTupleSvc.cpp. |
|
|
Book Ntuple and register it with the data store.
Definition at line 443 of file NTupleSvc.cpp. Referenced by book(). |
|
|
Add file to list I/O list.
Definition at line 244 of file NTupleSvc.cpp. |
|
|
Add file to list I/O list.
Definition at line 239 of file NTupleSvc.cpp. Referenced by initialize(). |
|
|
Create conversion service using histogram persistency.
Definition at line 364 of file NTupleSvc.cpp. Referenced by connect(). |
|
|
Create requested N tuple (Hide constructor).
Definition at line 425 of file NTupleSvc.cpp. Referenced by book(). |
|
|
Create Ntuple directory and register it with the data store.
Definition at line 564 of file NTupleSvc.cpp. |
|
|
Create Ntuple directory and register it with the data store.
Definition at line 528 of file NTupleSvc.cpp. |
|
|
Create Ntuple directory and register it with the data store.
Definition at line 522 of file NTupleSvc.cpp. |
|
|
Create Ntuple directory and register it with the data store.
Definition at line 516 of file NTupleSvc.cpp. |
|
|
Create Ntuple directory and register it with the data store.
Definition at line 505 of file NTupleSvc.cpp. Referenced by book(), and createDirectory(). |
|
|
Create conversion service.
Definition at line 332 of file NTupleSvc.cpp. Referenced by connect(). |
|
|
Close open connection.
Definition at line 185 of file NTupleSvc.cpp. |
|
|
Close all open connections.
Definition at line 201 of file NTupleSvc.cpp. Referenced by finalize(). |
|
|
DataSvc overrides: stop the service.
Definition at line 215 of file NTupleSvc.cpp. |
|
|
DataSvc overrides: Initialize the service.
Definition at line 72 of file NTupleSvc.cpp. |
|
|
Check if a datasource is connected.
Definition at line 99 of file NTupleSvc.cpp. |
|
|
DataSvc overrides: Load data object.
Definition at line 104 of file NTupleSvc.cpp. |
|
|
DataSvc overrides: Query interface.
Definition at line 224 of file NTupleSvc.cpp. |
|
|
Read single record from N tuple.
Definition at line 713 of file NTupleSvc.cpp. |
|
|
Read single record from N tuple.
Definition at line 703 of file NTupleSvc.cpp. |
|
|
Read single record from N tuple.
Definition at line 689 of file NTupleSvc.cpp. Referenced by readRecord(). |
|
|
Save N tuple to disk. Must be called in order to close the ntuple file properly.
Definition at line 641 of file NTupleSvc.cpp. |
|
|
Save N tuple to disk. Must be called in order to close the ntuple file properly.
Definition at line 623 of file NTupleSvc.cpp. |
|
|
Save N tuple to disk. Must be called in order to close the ntuple file properly.
Definition at line 612 of file NTupleSvc.cpp. Referenced by save(). |
|
|
Update directory data.
Definition at line 135 of file NTupleSvc.cpp. Referenced by finalize(). |
|
|
Write single record to N tuple.
Definition at line 679 of file NTupleSvc.cpp. |
|
|
Write single record to N tuple.
Definition at line 669 of file NTupleSvc.cpp. |
|
|
Write single record to N tuple.
Definition at line 651 of file NTupleSvc.cpp. Referenced by writeRecord(). |
|
|
Definition at line 53 of file NTupleSvc.h. |
|
|
Container of connection points.
Definition at line 146 of file NTupleSvc.h. |
|
|
Input streams.
Definition at line 142 of file NTupleSvc.h. |
|
|
Output streams.
Definition at line 140 of file NTupleSvc.h. |
|
|
Top level store name.
Definition at line 144 of file NTupleSvc.h. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000