ECCE @ EIC Software
Reference for
ECCE @ 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
PgPostCalBank.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PgPostCalBank.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef PDBCALPG_PGPOSTCALBANK_H
4
#define PDBCALPG_PGPOSTCALBANK_H
5
6
#include <pdbcalbase/PdbBankID.h>
7
#include <pdbcalbase/PdbCalBank.h>
8
9
#include <
phool/PHTimeStamp.h
>
10
11
#include <TObject.h>
12
13
#include <cstring>
14
#include <iostream>
15
16
class
PgPostCalBank
:
public
PdbCalBank
17
{
18
public
:
19
PgPostCalBank
() {}
20
virtual
~PgPostCalBank
() {}
21
22
virtual
void
printHeader
()
const
{ std::cout <<
"I'm PgPostCalBank"
<< std::endl; }
23
virtual
void
printEntry
(
size_t
) = 0;
24
virtual
void
print
() = 0;
25
26
// virtual bool commit() = 0;
27
virtual
size_t
getLength
() = 0;
28
virtual
PdbCalChan
&
getEntry
(
size_t
) = 0;
29
virtual
void
setLength
(
size_t
val) = 0;
30
31
virtual
PdbBankID
getBankID
()
const
{
return
0; }
32
virtual
PHTimeStamp
getInsertTime
()
const
{
return
PHTimeStamp
((time_t) 0); }
33
virtual
PHTimeStamp
getStartValTime
()
const
{
return
PHTimeStamp
((time_t) 0); }
34
virtual
PHTimeStamp
getEndValTime
()
const
{
return
PHTimeStamp
((time_t) 0); }
35
virtual
std::string
getDescription
()
const
{
return
0; }
36
virtual
std::string
getUserName
()
const
{
return
0; }
37
virtual
std::string
getTableName
()
const
{
return
0; }
38
39
virtual
void
setBankID
(
const
PdbBankID
&
/*val*/
) {}
40
virtual
void
setInsertTime
(
const
PHTimeStamp
&
/*val*/
) {}
41
virtual
void
setStartValTime
(
const
PHTimeStamp
&
/*val*/
) {}
42
virtual
void
setEndValTime
(
const
PHTimeStamp
&
/*val*/
) {}
43
virtual
void
setDescription
(
const
std::string&
/*val*/
) {}
44
virtual
void
setUserName
(
const
std::string&
/*val*/
) {}
45
virtual
void
setTableName
(
const
std::string&
/*val*/
) {}
46
47
virtual
int
isValid
(
const
PHTimeStamp
&)
const
{
return
0; }
48
49
ClassDefOverride
(
PgPostCalBank
, 2);
50
};
51
52
#endif
coresoftware
blob
master
offline
database
pdbcal
pg
PgPostCalBank.h
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:33
using
1.8.2 with
ECCE GitHub integration