Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CDBInterface.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CDBInterface.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef FFAMODULES_CDBINTERFACE_H
4
#define FFAMODULES_CDBINTERFACE_H
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <cstdint>
// for uint64_t
9
#include <set>
10
#include <string>
11
#include <tuple>
// for tuple
12
13
class
PHCompositeNode
;
14
class
SphenixClient
;
15
16
class
CDBInterface
:
public
SubsysReco
17
{
18
public
:
19
static
CDBInterface
*
instance
();
20
21
~CDBInterface
()
override
;
22
24
int
End
(
PHCompositeNode
*topNode)
override
;
25
26
void
Print
(
const
std::string
&what =
"ALL"
)
const override
;
27
28
std::string
getUrl
(
const
std::string
&domain,
const
std::string
&
filename
=
""
);
29
30
private
:
31
CDBInterface
(
const
std::string
&
name
=
"CDBInterface"
);
32
33
static
CDBInterface
*
__instance
;
34
SphenixClient
*
cdbclient
=
nullptr
;
35
std::set<std::tuple<std::string, std::string, uint64_t>>
m_UrlVector
;
36
};
37
38
#endif // FFAMODULES_CDBINTERFACE_H
coresoftware
blob
master
offline
framework
ffamodules
CDBInterface.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:04
using
1.8.2 with
sPHENIX GitHub integration