![]() |
The Gaudi Framework
v26r4
|
Gaudi tag collection service definition. More...
#include <src/NTupleSvc/TagCollectionSvc.h>
Public Member Functions | |
TagCollectionSvc (const std::string &name, ISvcLocator *svc) | |
Standard Constructor. More... | |
~TagCollectionSvc () override=default | |
Standard Destructor. More... | |
![]() | |
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 | 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... | |
![]() | |
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... | |
![]() | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
~extend_interfaces () override=default | |
Virtual destructor. More... | |
Protected Member Functions | |
StatusCode | connect (const std::string &ident, std::string &logname) override |
Add file to list I/O list. More... | |
virtual StatusCode | createService (const std::string &nam, const std::string &typ, const std::vector< Prop > &props, IConversionSvc *&pSvc) |
Create conversion service. More... | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
typedef extends | base_class |
Typedef to this class. More... | |
typedef extend_interfaces< Interfaces...> | extend_interfaces_base |
Typedef to the base of this class. More... | |
typedef extends | base_class |
Typedef to this class. More... | |
typedef extend_interfaces< Interfaces...> | extend_interfaces_base |
Typedef to the base of this class. More... | |
![]() | |
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... | |
![]() | |
typedef std::vector< std::string > | DBaseEntries |
typedef std::map< std::string, Connection > | Connections |
typedef std::pair< std::string, std::string > | Prop |
![]() | |
DBaseEntries | m_output |
Output streams. More... | |
DBaseEntries | m_input |
Input streams. More... | |
Connections | m_connections |
Container of connection points. More... | |
Gaudi tag collection service definition.
Description: See the base class definition files for more detailed documentation of the implementing class. The basic functionality of the implementation is enhanced to allow for more general N-tuples, which can be used also as event tag collections.
M.Frank 1.0
Definition at line 26 of file TagCollectionSvc.h.
TagCollectionSvc::TagCollectionSvc | ( | const std::string & | name, |
ISvcLocator * | svc | ||
) |
Standard Constructor.
Definition at line 46 of file TagCollectionSvc.cpp.
|
overridedefault |
Standard Destructor.
|
overrideprotectedvirtual |
Add file to list I/O list.
Reimplemented from NTupleSvc.
Definition at line 53 of file TagCollectionSvc.cpp.
|
protectedvirtual |
Create conversion service.
nam | Name of the service to be created |
svc | Service type if sepecified in the options |
props |
Definition at line 144 of file TagCollectionSvc.cpp.