EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
FairDbSqlContext.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file FairDbSqlContext.h
1
2
3
#ifndef FAIRDBSQLCONTEXT
4
#define FAIRDBSQLCONTEXT
5
6
7
#include "string"
8
9
#include "
FairDbString.h
"
10
#include "
ValContext.h
"
11
12
13
class
FairDbSqlContext
:
public
FairDbString
14
{
15
16
public
:
17
18
19
// Types and enum
20
21
enum
IntervalType
{
kBefore
,
kAfter
,
kMisses
,
22
kThroughout
,
kWithin
,
kOverlaps
,
23
kStarts
,
kEnds
,
24
kUndefined
25
};
26
27
// Constructors and destructors.
28
FairDbSqlContext
(
const
std::string& ctxt =
""
);
29
FairDbSqlContext
(
IntervalType
interval,
30
ValTimeStamp
start
,
31
ValTimeStamp
end,
32
Detector::Detector_t
det,
33
SimFlag::SimFlag_t
sim);
34
35
virtual
~FairDbSqlContext
();
36
37
// State testing member functions
38
39
ValTimeStamp
GetTimeStart
()
const
{
return
fTimeStart
; }
40
ValTimeStamp
GetTimeEnd
()
const
{
return
fTimeEnd
; }
41
Detector::Detector_t
GetDetector
()
const
{
return
fDetType
; }
42
SimFlag::SimFlag_t
GetSimFlag
()
const
{
return
fSimType
; }
43
44
45
// State changing member functions
46
47
private
:
48
49
// Data members
50
51
IntervalType
fIntervalType
;
52
ValTimeStamp
fTimeStart
;
53
ValTimeStamp
fTimeEnd
;
54
Detector::Detector_t
fDetType
;
55
SimFlag::SimFlag_t
fSimType
;
56
57
58
ClassDef(
FairDbSqlContext
,0)
// SQL for Extended Context Query
59
60
};
61
62
63
#endif // FAIRDBSQLCONTEXT
64
EicRoot
blob
master
dbase
dbInterface
FairDbSqlContext.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:33
using
1.8.2 with
EIC GitHub integration