Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
lardataalg
lardataalg
DetectorInfo
RunHistory.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
// \file LArProperties.h
3
//
4
// \brief pure virtual base interface for run history
5
//
6
// \author jpaley@fnal.gov
7
//
8
////////////////////////////////////////////////////////////////////////
9
#ifndef DETINFO_IRUNHISTORY_H
10
#define DETINFO_IRUNHISTORY_H
11
12
///General LArSoft Utilities
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
string
std::string string
Definition:
nybbler.cc:12
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
detinfo::kProductionRun
Definition:
RunHistory.h:17
detinfo
General LArSoft Utilities.
Definition:
CalibrationTreeBuilder.h:23
detinfo::kPedestalRun
Definition:
RunHistory.h:20
detinfo::kCalibrationRun
Definition:
RunHistory.h:21
detinfo::kNRunType
Definition:
RunHistory.h:22
tca::Update
bool Update(detinfo::DetectorClocksData const &clockData, detinfo::DetectorPropertiesData const &detProp, const TCSlice &slc, PFPStruct &pfp, bool prt)
Definition:
PFPUtils.cxx:1056
Generated by
1.8.11