![]() |
The Gaudi Framework
v27r0
|
#include <src/NTupleSvc/NTupleSvc.h>


Classes | |
| struct | Connection |
Public Member Functions | |
| virtual StatusCode | initialize () |
| DataSvc overrides: Initialize the service. More... | |
| virtual StatusCode | reinitialize () |
| DataSvc overrides: reinitialize service. More... | |
| virtual StatusCode | finalize () |
| DataSvc overrides: stop the service. More... | |
| virtual IConversionSvc * | getDataLoader (IRegistry *pReg) |
| DataSvc overrides: Retrieve data loader. 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... | |
| NTupleSvc (const std::string &name, ISvcLocator *svc) | |
| Standard Constructor. More... | |
| virtual | ~NTupleSvc () |
| Standard Destructor. More... | |
Public Member Functions inherited from extends< BASE, Interfaces > | |
| void * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. More... | |
| StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. More... | |
| std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. More... | |
| ~extends () override=default | |
| Virtual destructor. More... | |
| void * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. More... | |
| StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. More... | |
| std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. More... | |
| ~extends () override=default | |
| Virtual destructor. More... | |
Public Member Functions inherited from extend_interfaces< Interfaces...> | |
| ~extend_interfaces () override=default | |
| Virtual destructor. More... | |
| ~extend_interfaces () override=default | |
| Virtual destructor. More... | |
Protected Types | |
| typedef std::vector< std::string > | DBaseEntries |
| typedef std::map< std::string, Connection > | Connections |
| typedef std::pair< std::string, std::string > | Prop |
Protected Member Functions | |
| StatusCode | createService (const std::string &nam, const std::string &typ, const std::vector< Prop > &props, IConversionSvc *&pSvc) |
| Create conversion service. More... | |
| void | releaseConnection (Connection &c) |
| Finalize single service. More... | |
| StatusCode | attachTuple (const std::string &filename, const std::string &logname, const char typ, const long 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... | |
| Connections | m_connections |
| Container of connection points. More... | |
Additional Inherited Members | |
Public Types inherited from extends< BASE, Interfaces > | |
| using | base_class = extends |
| Typedef to this class. More... | |
| using | extend_interfaces_base = extend_interfaces< Interfaces...> |
| Typedef to the base of this class. More... | |
| using | base_class = extends |
| Typedef to this class. More... | |
| using | extend_interfaces_base = extend_interfaces< Interfaces...> |
| Typedef to the base of this class. More... | |
Public Types inherited from extend_interfaces< Interfaces...> | |
| using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
| take union of the ext_iids of all Interfaces... More... | |
| using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
| take union of the ext_iids of all Interfaces... More... | |
NTuple service.
See the Interface definition files for more detailed documentation of the implementing class. Base class: Gaudi/DataSvc/DataSvc.h Generic N tuple service interface: Gaudi/Interfaces/INTupleSvc.h Generic IAddressCreator interface: Gaudi/Interfaces/IAddressCreator.h Generic IConversionSvc interface: Gaudi/Interfaces/IConversionSvc.h
Definition at line 24 of file NTupleSvc.h.
|
protected |
Definition at line 34 of file NTupleSvc.h.
|
protected |
Definition at line 33 of file NTupleSvc.h.
|
protected |
Definition at line 35 of file NTupleSvc.h.
| NTupleSvc::NTupleSvc | ( | const std::string & | name, |
| ISvcLocator * | svc | ||
| ) |
|
virtual |
|
virtual |
|
protected |
Attach output/input file.
Definition at line 466 of file NTupleSvc.cpp.
|
virtual |
Book Ntuple and register it with the data store.
Definition at line 359 of file NTupleSvc.cpp.
|
virtual |
Book Ntuple and register it with the data store.
Definition at line 395 of file NTupleSvc.cpp.
|
virtual |
Book Ntuple and register it with the data store.
Definition at line 403 of file NTupleSvc.cpp.
|
virtual |
Book Ntuple and register it with the data store.
Definition at line 408 of file NTupleSvc.cpp.
|
virtual |
Book Ntuple and register it with the data store.
Definition at line 426 of file NTupleSvc.cpp.
|
virtual |
Add file to list I/O list.
Definition at line 208 of file NTupleSvc.cpp.
|
virtual |
Add file to list I/O list.
Reimplemented in TagCollectionSvc.
Definition at line 213 of file NTupleSvc.cpp.
|
virtual |
Create requested N tuple (Hide constructor)
Eventually allow loading through factory?
Definition at line 338 of file NTupleSvc.cpp.
|
virtual |
Create Ntuple directory and register it with the data store.
Definition at line 434 of file NTupleSvc.cpp.
|
virtual |
Create Ntuple directory and register it with the data store.
Definition at line 449 of file NTupleSvc.cpp.
|
virtual |
Create Ntuple directory and register it with the data store.
Definition at line 454 of file NTupleSvc.cpp.
|
virtual |
Create Ntuple directory and register it with the data store.
Definition at line 459 of file NTupleSvc.cpp.
|
virtual |
Create Ntuple directory and register it with the data store.
Definition at line 490 of file NTupleSvc.cpp.
|
protected |
Create conversion service.
CGL: set the storage type
Definition at line 277 of file NTupleSvc.cpp.
|
virtual |
Close open connection.
Definition at line 182 of file NTupleSvc.cpp.
|
virtual |
Close all open connections.
Definition at line 193 of file NTupleSvc.cpp.
|
virtual |
DataSvc overrides: stop the service.
stop the service.
Definition at line 200 of file NTupleSvc.cpp.
|
virtual |
DataSvc overrides: Retrieve data loader.
DataSvc override: Retrieve data loader.
Definition at line 108 of file NTupleSvc.cpp.
|
virtual |
DataSvc overrides: Initialize the service.
Initialize the service.
Definition at line 75 of file NTupleSvc.cpp.
|
virtual |
Check if a datasource is connected.
Definition at line 102 of file NTupleSvc.cpp.
|
virtual |
Read single record from N tuple.
Definition at line 611 of file NTupleSvc.cpp.
|
virtual |
Read single record from N tuple.
Definition at line 640 of file NTupleSvc.cpp.
|
virtual |
Read single record from N tuple.
Definition at line 647 of file NTupleSvc.cpp.
|
virtual |
DataSvc overrides: reinitialize service.
Initialize the service.
Definition at line 97 of file NTupleSvc.cpp.
|
protected |
|
virtual |
Save N tuple to disk. Must be called in order to close the ntuple file properly.
Definition at line 531 of file NTupleSvc.cpp.
|
virtual |
Save N tuple to disk. Must be called in order to close the ntuple file properly.
Definition at line 539 of file NTupleSvc.cpp.
|
virtual |
Save N tuple to disk. Must be called in order to close the ntuple file properly.
Definition at line 562 of file NTupleSvc.cpp.
|
protected |
Update directory data.
Definition at line 119 of file NTupleSvc.cpp.
|
virtual |
Write single record to N tuple.
Definition at line 569 of file NTupleSvc.cpp.
|
virtual |
Write single record to N tuple.
Definition at line 597 of file NTupleSvc.cpp.
|
virtual |
Write single record to N tuple.
Definition at line 604 of file NTupleSvc.cpp.
|
protected |
Container of connection points.
Definition at line 126 of file NTupleSvc.h.
|
protected |
Input streams.
Definition at line 124 of file NTupleSvc.h.
|
protected |
Output streams.
Definition at line 122 of file NTupleSvc.h.