Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
N21-01-24
SummaryData
POTSum.h
Go to the documentation of this file.
1
/////////////////////////////////////////////////////////////////
2
/// \brief Lightweight module that calculates total POT
3
/// \author vahle@wm.edu
4
/// \date
5
/////////////////////////////////////////////////////////////////
6
#ifndef POTSUM_H
7
#define POTSUM_H
8
9
#include <iostream>
10
11
namespace
sumdata
{
12
13
class
POTSum
{
14
public
:
15
POTSum
();
16
~POTSum
();
17
18
#ifndef __GCCXML__
19
POTSum
(
double
totPOT,
20
double
totgoodPOT,
21
int
totSpills,
22
int
goodSpills);
23
#endif
24
25
void
Print
(std::ostream &
stream
);
26
27
double
totpot
;
///< normalized by 10^12 POT
28
double
totgoodpot
;
///< normalized by 10^12 POT
29
30
int
totspills
;
31
int
goodspills
;
32
33
void
operator +=
(
sumdata::POTSum
const
&
b
);
34
};
35
36
}
37
38
inline
void
sumdata::POTSum::operator +=
(
sumdata::POTSum
const
&
b
)
39
{
40
this->
totpot
+= b.
totpot
;
41
this->
totgoodpot
+= b.
totgoodpot
;
42
this->
totspills
+= b.
totspills
;
43
this->
goodspills
+= b.
goodspills
;
44
45
return
;
46
}
47
48
#endif //POTSUM_H
49
/////////////////////////////////////////////////////////////////////////////
50
51
52
53
sumdata::POTSum::Print
void Print(std::ostream &stream)
Definition:
POTSum.cxx:37
runNovaSAM.stream
stream
Definition:
runNovaSAM.py:251
sumdata::POTSum
Definition:
POTSum.h:13
sumdata::POTSum::operator+=
void operator+=(sumdata::POTSum const &b)
Definition:
POTSum.h:38
sumdata::POTSum::~POTSum
~POTSum()
Definition:
POTSum.cxx:32
sumdata::POTSum::POTSum
POTSum()
Definition:
POTSum.cxx:11
sumdata::POTSum::goodspills
int goodspills
Definition:
POTSum.h:31
b
const hit & b
Definition:
hits.cxx:21
sumdata
TODO.
Definition:
SpillEvaluator.h:15
sumdata::POTSum::totspills
int totspills
Definition:
POTSum.h:30
sumdata::POTSum::totgoodpot
double totgoodpot
normalized by 10^12 POT
Definition:
POTSum.h:28
sumdata::POTSum::totpot
double totpot
normalized by 10^12 POT
Definition:
POTSum.h:27
Generated on Sun Jan 24 2021 14:13:19 for NOvA by
1.8.11