Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
garsoft
SummaryDataProducts
POTSummary.h
Go to the documentation of this file.
1
////////////////////////////////////////////////////////////////////////
2
/// \file POTSummary.h
3
///
4
/// Definition of object to store pot related information
5
///
6
/// \version $Id: RunData.h,v 1.1.1.1 2011/03/03 00:19:49 brebel Exp $
7
/// \author brebel@fnal.gov
8
////////////////////////////////////////////////////////////////////////
9
#ifndef POTSUM_H
10
#define POTSUM_H
11
12
#include <iostream>
13
14
namespace
gar
{
15
namespace
sumdata
{
16
17
class
POTSummary
{
18
public
:
19
20
POTSummary
() =
default
;
21
void
aggregate
(
POTSummary
const
&
other
);
22
23
public
:
24
double
totpot
;
25
double
totgoodpot
;
26
unsigned
int
totspills
;
27
unsigned
int
goodspills
;
28
29
#ifndef __GCCXML__
30
31
friend
std::ostream&
operator<<
(std::ostream& o,
POTSummary
const
&
a
);
32
33
public
:
34
double
const
&
TotalPOT
()
const
;
35
unsigned
int
const
&
TotalSpills
()
const
;
36
#endif
37
38
};
39
40
}
// namespace sumdata
41
}
// namespace gar
42
43
#ifndef __GCCXML__
44
45
inline
double
const
&
gar::sumdata::POTSummary::TotalPOT
()
const
{
return
totpot
; }
46
inline
unsigned
int
const
&
gar::sumdata::POTSummary::TotalSpills
()
const
{
return
totspills
; }
47
48
#endif
49
50
#endif //POTSUM_H
51
52
53
54
55
56
gar::sumdata::POTSummary::totspills
unsigned int totspills
Definition:
POTSummary.h:26
gar::sumdata::POTSummary
Definition:
POTSummary.h:17
gar::sumdata::POTSummary::totpot
double totpot
Definition:
POTSummary.h:24
gar::sumdata::POTSummary::totgoodpot
double totgoodpot
Definition:
POTSummary.h:25
gar::sumdata::POTSummary::aggregate
void aggregate(POTSummary const &other)
Definition:
POTSummary.cxx:17
gar::sumdata::POTSummary::POTSummary
POTSummary()=default
gar::sumdata::POTSummary::TotalPOT
double const & TotalPOT() const
Definition:
POTSummary.h:45
a
const double a
Definition:
gUpMuFluxGen.cxx:164
gar::sumdata::POTSummary::operator<<
friend std::ostream & operator<<(std::ostream &o, POTSummary const &a)
Definition:
POTSummary.cxx:25
gar::sumdata::POTSummary::goodspills
unsigned int goodspills
Definition:
POTSummary.h:27
fhicl::other
Definition:
exception.h:26
gar
General GArSoft Utilities.
Definition:
anatest_module.cc:57
sumdata
Definition:
GeometryConfigurationInfo.h:19
gar::sumdata::POTSummary::TotalSpills
unsigned int const & TotalSpills() const
Definition:
POTSummary.h:46
Generated by
1.8.11