LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
RunHistory.h
Go to the documentation of this file.
1
// \file LArProperties.h
3
//
4
// \brief pure virtual base interface for run history
5
//
6
// \author jpaley@fnal.gov
7
//
9
#ifndef DETINFO_IRUNHISTORY_H
10
#define DETINFO_IRUNHISTORY_H
11
13
namespace
detinfo
{
14
15
enum
RunType_t
{
16
kUnknownRunType
=0,
17
kProductionRun
,
18
kCommissioningRun
,
19
kTestRun
,
20
kPedestalRun
,
21
kCalibrationRun
,
22
kNRunType
23
};
24
25
class
SubRun
{
26
public
:
27
virtual
~SubRun
() =
default
;
28
29
virtual
uint64_t
TStart
()
const
= 0;
30
};
31
32
class
RunHistory
{
33
public
:
34
virtual
~
RunHistory
() =
default
;
35
36
virtual
bool
Update
(uint64_t) = 0;
37
38
virtual
int
RunNumber()
const
= 0;
39
virtual
int
NSubruns()
const
= 0;
40
virtual
int
RunType()
const
= 0;
41
virtual
std::string RunTypeAsString()
const
= 0;
42
virtual
uint64_t
TStart
()
const
= 0;
43
virtual
uint64_t TStop()
const
= 0;
44
virtual
uint64_t Duration()
const
= 0;
45
46
};
// class RunHistory
47
}
//namespace detinfo
48
#endif // RunHistory_H
detinfo::SubRun
Definition:
RunHistory.h:25
detinfo::kCommissioningRun
Definition:
RunHistory.h:18
detinfo::RunType_t
RunType_t
Definition:
RunHistory.h:15
detinfo::kTestRun
Definition:
RunHistory.h:19
detinfo::kUnknownRunType
Definition:
RunHistory.h:16
detinfo::RunHistory
Definition:
RunHistory.h:32
detinfo::SubRun::~SubRun
virtual ~SubRun()=default
detinfo::SubRun::TStart
virtual uint64_t TStart() const =0
Update
c1 Update()
detinfo::kProductionRun
Definition:
RunHistory.h:17
detinfo
General LArSoft Utilities.
Definition:
DetectorClocksService.h:18
detinfo::kPedestalRun
Definition:
RunHistory.h:20
detinfo::kCalibrationRun
Definition:
RunHistory.h:21
detinfo::kNRunType
Definition:
RunHistory.h:22
lardataalg
v1_02_01
source
lardataalg
DetectorInfo
RunHistory.h
Generated on Thu Jul 26 2018 13:09:57 for LArSoft by
1.8.11