LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
sumdata::POTSummary Class Reference

#include "POTSummary.h"

Public Member Functions

 POTSummary ()=default
 
void aggregate (POTSummary const &other)
 

Public Attributes

double totpot = 0.0
 
double totgoodpot = 0.0
 
int totspills = 0
 
int goodspills = 0
 

Detailed Description

Definition at line 14 of file POTSummary.h.

Constructor & Destructor Documentation

sumdata::POTSummary::POTSummary ( )
default

Member Function Documentation

void sumdata::POTSummary::aggregate ( POTSummary const &  other)

Definition at line 15 of file POTSummary.cxx.

References goodspills, totgoodpot, totpot, and totspills.

15  {
16  totpot += other.totpot ;
17  totgoodpot += other.totgoodpot;
18  totspills += other.totspills ;
19  goodspills += other.goodspills;
20  } // POTSummary::aggregate()

Member Data Documentation

int sumdata::POTSummary::goodspills = 0

Definition at line 20 of file POTSummary.h.

Referenced by aggregate(), and sumdata::operator<<().

double sumdata::POTSummary::totgoodpot = 0.0

Definition at line 17 of file POTSummary.h.

Referenced by aggregate(), evgen::GENIEGen::endSubRun(), and sumdata::operator<<().

double sumdata::POTSummary::totpot = 0.0

Definition at line 16 of file POTSummary.h.

Referenced by aggregate(), evgen::GENIEGen::endSubRun(), and sumdata::operator<<().

int sumdata::POTSummary::totspills = 0

Definition at line 19 of file POTSummary.h.

Referenced by aggregate(), and sumdata::operator<<().


The documentation for this class was generated from the following files: