64 this,
"IOPerfStats",
"",
"Enable TTree IOperfStats if not empty; otherwise perf stat file name" };
66 "Share files? If set to YES, files will not be closed on finalize" };
69 "Records name to fire incident for file records" };
73 "Minimum buffer size to use for writing TTree baskets" };
75 "Maximum buffer size to use for writing TTree baskets" };
77 "Resize TBasket buffers to fit approximately this many events" };
80 "Compression-algorithm:compression-level, empty: do nothing" };
93 std::shared_ptr<RootConnectionSetup>
m_setup;
137 IConverter* createConverter(
long typ,
const CLID& wanted,
const ICnvFactory* fac )
override;
140 void loadConverter(
DataObject* pObj )
override;
210 virtual StatusCode createNullRep(
const std::string& path );
218 virtual StatusCode createNullRef(
const std::string& path );
unsigned int CLID
Class ID definition.
StatusCode createAddress(long svc_type, const CLID &clid, const std::string *par, const unsigned long *ip, IOpaqueAddress *&refpAddress) override
Create a Generic address using explicit arguments to identify a single object.
ConversionSvc(const std::string &name, ISvcLocator *svc, long type)
Standard Constructor.
A DataObject is the base class of any identifiable object on any data store.
ABC describing basic data connection.
Implementation of property with value of concrete type.
virtual StatusCode disconnect(const std::string &dbName)
Disconnect from an existing data stream.
TClass * m_classDO
TClass pointer to DataObject class.
StatusCode connectOutput(const std::string &outputFile, const std::string &openMode) override
Connect the output file to the service with open mode.
Gaudi::Property< int > m_approxEventsPerBasket
SmartIF< IIncidentSvc > m_incidentSvc
Reference to incident service.
TClass * getClass(DataObject *pObject)
Helper: Get TClass for a given DataObject pointer.
MsgStream & log() const
Helper: Use message streamer.
StatusCode connectOutput(const std::string &outputFile) override
Connect the output file to the service.
StatusCode updateServiceState(IOpaqueAddress *) override
Update state of the service.
Gaudi::Property< int > m_maxBufferSize
Gaudi::Property< bool > m_incidentEnabled
Gaudi::Property< int > m_splitLevel
Gaudi::RootDataConnection * m_current
On writing: reference to active output stream.
StatusCode createAddress(long svc_type, const CLID &clid, const std::string *par, const unsigned long *ip, IOpaqueAddress *&refpAddress) override
IAddressCreator implementation: Address creation.
TClass * m_classRefs
TClass pointer to reference class.
SmartIF< Gaudi::IIODataManager > m_ioMgr
Reference to the I/O data manager.
RootCnvSvc(const std::string &name, ISvcLocator *svc)
Standard constructor.
std::string m_currSection
Property: ROOT section name.
Gaudi::Property< std::string > m_compression
StatusCode commitOutput(const std::string &outputFile, bool do_commit) override
Commit pending output.
std::shared_ptr< RootConnectionSetup > m_setup
Setup structure (ref-counted) and passed to data connections.
Gaudi::Property< std::string > m_ioPerfStats
Gaudi::Property< std::string > m_recordName
std::unique_ptr< MsgStream > m_log
Message streamer.
Gaudi::Property< int > m_minBufferSize
StatusCode createAddress(long svc_type, const CLID &clid, const std::string &refAddress, IOpaqueAddress *&refpAddress) override
IAddressCreator implementation: Creates an address in string form to object form.
std::set< std::string > m_badFiles
Set with bad files/tables.
Gaudi::Property< std::string > m_shareFiles
Concrete implementation of the IDataConnection interface to access ROOT files.
The data converters are responsible to translate data from one representation into another.
The interface implemented by the IncidentSvc service.
Opaque address interface definition.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition of the MsgStream class used to transmit messages.
Small smart pointer class with automatic reference counting for IInterface.
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...