7 #ifndef GAUDIROOTCNV_GAUDIROOTCNVSVC_H
8 #define GAUDIROOTCNV_GAUDIROOTCNVSVC_H
11 #include "GaudiKernel/ConversionSvc.h"
12 #include "GaudiKernel/DataObject.h"
13 #include "GaudiKernel/ClassID.h"
38 class IDataConnection;
39 class RootDataConnection;
40 class RootConnectionSetup;
94 std::unique_ptr<MsgStream>
m_log;
137 const ICnvFactory* fac);
148 virtual StatusCode connectOutput(
const std::string& outputFile,
149 const std::string& openMode);
156 virtual StatusCode connectOutput(
const std::string& outputFile);
168 virtual StatusCode commitOutput(
const std::string& outputFile,
176 virtual StatusCode disconnect(
const std::string& dbName);
189 virtual StatusCode createAddress(
long svc_type,
191 const std::string*
par,
192 const unsigned long* ip,
206 const std::string& refAddress,
266 #endif // GAUDIROOTCNV_GAUDIROOTCNVSVC_H
Definition of the MsgStream class used to transmit messages.
MsgStream & log() const
Helper: Use message streamer.
Small smart pointer class with automatic reference counting for IInterface.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
The data converters are responsible to translate data from one representation into another...
std::string m_currSection
Property: ROOT section name.
int m_basketSize
Property: Basket optimization parameter for ROOT TTree (total basket size)
std::unique_ptr< MsgStream > m_log
Message streamer.
std::set< std::string > m_badFiles
Set with bad files/tables.
SmartIF< Gaudi::IIODataManager > m_ioMgr
Reference to the I/O data manager.
int m_splitLevel
Property: Split level optimization parameter for ROOT TTree.
TClass * m_classDO
TClass pointer to DataObject class.
This class is used for returning status codes from appropriate routines.
unsigned int CLID
Class ID definition.
bool m_incidentEnabled
Property: Flag to enable incidents on FILE_OPEN.
std::string m_shareFiles
Property: Share files ? If set to YES, files will not be closed on finalize.
TClass * m_classRefs
TClass pointer to reference class.
virtual StatusCode createAddress(long svc_type, const CLID &clid, const std::string &refAddress, IOpaqueAddress *&refpAddress)
IAddressCreator implementation: Creates an address in string form to object form. ...
std::string m_compression
Property: Compression-algorithm:compression-level.
std::string m_recordName
Property: Records name to fire incident for file records.
virtual StatusCode createAddress(long svc_type, const CLID &clid, const std::string *par, const unsigned long *ip, IOpaqueAddress *&refpAddress)
Create a Generic address using explicit arguments to identify a single object.
SmartIF< IIncidentSvc > m_incidentSvc
Reference to incident service.
Opaque address interface definition.
Base class for all conversion services.
std::string m_ioPerfStats
Property: Enable TTree IOperfStats if not empty; otherwise perf stat file name.
A DataObject is the base class of any identifiable object on any data store.
Concrete implementation of the IDataConnection interface to access ROOT files.
Helper functions to set/get the application return code.
The interface implemented by the IncidentSvc service.
int m_bufferSize
Property: Buffer size optimization parameter for ROOT TTree.
virtual StatusCode updateServiceState(IOpaqueAddress *)
Update state of the service.
int m_autoFlush
Property: AutoFlush parameter for ROOT TTree (Number of events between auto flushes) ...