ATLAS Offline Software
Loading...
Searching...
No Matches
RootTechFactory.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef ROOTSTORAGESVC_RootTechFactory_H
5#define ROOTSTORAGESVC_RootTechFactory_H 1
6
7// Framework include files
9#include "StorageSvc/DbType.h"
10
11#include "Gaudi/PluginService.h"
12
21 public:
22 typedef Gaudi::PluginService::Factory<ITechFactory*()> Factory;
23
26
28 virtual const std::string& name () const;
29
31 static const char* catalogLabel() { return "ROOT_All"; }
32
38 ITechContainer* createContainer(const std::string& name, const DbType& typ);
39 private:
42 };
43
45 public:
47 RootKeyStorageFactory() : RootTechFactory(pool::ROOTKEY_StorageType) { }
49 static const char* catalogLabel() { return "ROOT_Key"; }
50 };
51
53 public:
55 RootTreeStorageFactory() : RootTechFactory(pool::ROOTTREE_StorageType) { }
57 static const char* catalogLabel() { return "ROOT_Tree"; }
58 };
59
61 public:
63 RootTreeIdxStorageFactory() : RootTechFactory(pool::ROOTTREEINDEX_StorageType) { }
65 static const char* catalogLabel() { return "ROOT_Tree"; }
66 };
67
69 public:
71 RootRNTupleStorageFactory() : RootTechFactory(pool::ROOTRNTUPLE_StorageType) { }
73 static const char* catalogLabel() { return "ROOT_RNTuple"; }
74 };
75
76#endif
Keeps information about storage technology.
Definition DbType.h:15
Description: Interface to the technology specific implementation of the Container object.
Description: Interface to the technology specific implementation of a Database object.
RootKeyStorageFactory()
Standard Constructor.
static const char * catalogLabel()
Label of the specific class.
RootRNTupleStorageFactory()
Standard Constructor.
static const char * catalogLabel()
Label of the specific class.
ITechContainer * createContainer(const std::string &name, const DbType &typ)
Create Root Container object.
ITechDomain * createDomain()
Create Root Domain object.
static const char * catalogLabel()
Label of the specific class.
ITechDomain * m_domainCache
Non-owning cache for the domain pointer.
Gaudi::PluginService::Factory< ITechFactory *()> Factory
ITechDatabase * createDatabase()
Create Root Database object (TFile).
RootTechFactory(DbType typ=pool::ROOT_StorageType)
Standard Constructor.
virtual const std::string & name() const
Name of the Database implementation.
RootTreeIdxStorageFactory()
Standard Constructor.
static const char * catalogLabel()
Label of the specific class.
static const char * catalogLabel()
Label of the specific class.
RootTreeStorageFactory()
Standard Constructor.
Definition DbType.h:67
static const DbType ROOT_StorageType
Definition DbType.h:72