Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
garsoft
DetectorInfo
RunHistory.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
// \file GArProperties.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 GArSoft Utilities
13
namespace
gar
{
14
namespace
detinfo
{
15
16
enum
RunType_t
{
17
kUnknownRunType
=0,
18
kProductionRun
,
19
kCommissioningRun
,
20
kTestRun
,
21
kPedestalRun
,
22
kCalibrationRun
,
23
kNRunType
24
};
25
26
class
SubRun
{
27
public
:
28
virtual
~SubRun
() =
default
;
29
30
virtual
uint64_t
TStart
()
const
= 0;
31
};
32
33
class
RunHistory
{
34
public
:
35
virtual
~
RunHistory
() =
default
;
36
37
virtual
bool
Update
(uint64_t) = 0;
38
39
virtual
int
RunNumber()
const
= 0;
40
virtual
int
NSubruns()
const
= 0;
41
virtual
int
RunType()
const
= 0;
42
virtual
std::string
RunTypeAsString()
const
= 0;
43
virtual
uint64_t
TStart
()
const
= 0;
44
virtual
uint64_t TStop()
const
= 0;
45
virtual
uint64_t Duration()
const
= 0;
46
47
};
// class RunHistory
48
}
//namespace detinfo
49
}
// gar
50
#endif // RunHistory_H
gar::detinfo::kTestRun
Definition:
RunHistory.h:20
string
std::string string
Definition:
nybbler.cc:12
gar::detinfo::SubRun::~SubRun
virtual ~SubRun()=default
gar::detinfo::SubRun::TStart
virtual uint64_t TStart() const =0
gar::detinfo::SubRun
Definition:
RunHistory.h:26
gar::detinfo::kPedestalRun
Definition:
RunHistory.h:21
gar::detinfo::RunType_t
RunType_t
Definition:
RunHistory.h:16
gar::detinfo::kCommissioningRun
Definition:
RunHistory.h:19
gar::detinfo::kUnknownRunType
Definition:
RunHistory.h:17
detinfo
General LArSoft Utilities.
Definition:
CalibrationTreeBuilder.h:23
gar::detinfo::kCalibrationRun
Definition:
RunHistory.h:22
gar
General GArSoft Utilities.
Definition:
anatest_module.cc:57
gar::detinfo::kNRunType
Definition:
RunHistory.h:23
gar::detinfo::RunHistory
Definition:
RunHistory.h:33
gar::detinfo::kProductionRun
Definition:
RunHistory.h:18
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