Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
larcoreobj
larcoreobj
SummaryData
RunData.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
/// \file larcoreobj/SummaryData/RunData.h
3
///
4
/// Definition of object to store run related information
5
///
6
/// \author brebel@fnal.gov
7
////////////////////////////////////////////////////////////////////////
8
#ifndef LARCOREOBJ_SUMMARYDATA_RUNDATA_H
9
#define LARCOREOBJ_SUMMARYDATA_RUNDATA_H
10
11
#include <string>
12
13
namespace
sumdata
{
14
15
class
RunData
{
16
17
public
:
18
19
RunData
();
// Default constructor
20
21
/// What to do when multiple `RunData` objects are found for the same run.
22
///
23
/// @throws std::runtime_error if `other` has a different `DetName()`
24
void
aggregate
(
RunData
const
&
other
);
25
26
private
:
27
28
std::string
fDetName
;
///< Detector name.
29
30
public
:
31
explicit
RunData
(
std::string
const
& detectorName);
32
std::string
const
&
DetName
()
const
;
33
34
35
};
// RunData
36
}
// namespace sumdata
37
38
39
inline
std::string
const
&
sumdata::RunData::DetName
()
const
{
return
fDetName
; }
40
41
42
#endif // LARCOREOBJ_SUMMARYDATA_RUNDATA_H
sumdata::RunData::DetName
std::string const & DetName() const
Definition:
RunData.h:39
string
std::string string
Definition:
nybbler.cc:12
sumdata::RunData::fDetName
std::string fDetName
Detector name.
Definition:
RunData.h:28
sumdata::RunData::RunData
RunData()
Definition:
RunData.cxx:16
fhicl::other
Definition:
exception.h:26
sumdata
Definition:
GeometryConfigurationInfo.h:19
sumdata::RunData::aggregate
void aggregate(RunData const &other)
Definition:
RunData.cxx:28
sumdata::RunData
Definition:
RunData.h:15
Generated by
1.8.11