LArSoft  v09_90_00
Liquid Argon Software toolkit - https://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 13 of file POTSummary.h.

Constructor & Destructor Documentation

sumdata::POTSummary::POTSummary ( )
default

Member Function Documentation

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

Definition at line 14 of file POTSummary.cxx.

References goodspills, totgoodpot, totpot, and totspills.

Referenced by sim::POTaccumulator::endJob().

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 19 of file POTSummary.h.

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

double sumdata::POTSummary::totgoodpot = 0.0
double sumdata::POTSummary::totpot = 0.0
int sumdata::POTSummary::totspills = 0

Definition at line 18 of file POTSummary.h.

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


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