LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Row.cpp
Go to the documentation of this file.
1
#include <fstream>
2
#include <sstream>
3
#include <sys/stat.h>
4
#include <cstdlib>
5
#include <cctype>
6
#include <string>
7
8
#include <
nutools/IFDatabase/Row.h
>
9
10
namespace
nutools
{
11
namespace
dbi {
12
13
Row::Row
(
const
std::vector<Column>&
col
) :
14
fInDB(false), fIsVldRow(false), fNModified(0),
15
fChannel(0xffffffff),fVldTime(0),fVldTimeEnd(0)
16
{
17
for
(
unsigned
int
i=0; i<col.size(); ++i) {
18
fCol
.push_back(
Column
(col[i]));
19
}
20
}
21
22
//************************************************************
23
24
Row::Row
(std::vector<ColumnDef>&
col
) :
25
fInDB
(false),
fIsVldRow
(false),
fNModified
(0),
26
fChannel
(0xffffffff),
fVldTime
(0),
fVldTimeEnd
(0)
27
{
28
for
(
unsigned
int
i=0; i<col.size(); ++i)
29
fCol
.push_back(
Column
(col[i]));
30
}
31
32
//************************************************************
33
34
Row::~Row
()
35
{
36
37
}
38
39
//************************************************************
40
void
Row::Clear
()
41
{
42
for
(
unsigned
int
i=0; i<
fCol
.size(); ++i)
43
fCol
[i].
Clear
();
44
45
}
46
}
47
}
48
49
nutools::dbi::Row::fCol
std::vector< Column > fCol
Definition:
Row.h:76
nutools::dbi::Row::fChannel
uint64_t fChannel
Definition:
Row.h:73
nutools::dbi::Row::~Row
~Row()
Definition:
Row.cpp:34
nutools::dbi::Row::fIsVldRow
bool fIsVldRow
Definition:
Row.h:71
Row.h
nutools::dbi::Row::Row
Row(int ncol)
Definition:
Row.h:22
nutools
Simple service to provide a RunHistory configured to the right run.
Definition:
Column.cpp:14
nutools::dbi::Row::fVldTimeEnd
float fVldTimeEnd
Definition:
Row.h:75
nutools::dbi::Row::fVldTime
float fVldTime
Definition:
Row.h:74
col
Int_t col[ntarg]
Definition:
Style.C:29
nutools::dbi::Row::Clear
void Clear()
Definition:
Row.cpp:40
nutools::dbi::Row::fInDB
bool fInDB
Definition:
Row.h:70
nutools::dbi::Row::fNModified
int fNModified
Definition:
Row.h:72
nutools::dbi::Column
Definition:
Column.h:32
nutools
IFDatabase
Row.cpp
Generated on Thu Jul 26 2018 13:10:23 for LArSoft by
1.8.11