Public Member Functions | Public Attributes | List of all members
sumdata::SpillData Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-10-26/SummaryData/SpillData.h"

Public Member Functions

 SpillData ()
 
 ~SpillData ()
 
void Print (std::ostream &stream)
 

Public Attributes

unsigned long int spilltimesec
 
unsigned long int spilltimensec
 
unsigned long int gpsspilltimesec
 
unsigned long int gpsspilltimensec
 
signed long long int deltaspilltimensec
 
double spillpot
 POT for spill normalized by 10^12. More...
 
double hornI
 kA More...
 
bool isRHC
 is the beam in antineutrino mode, aka RHC More...
 
bool is0HC
 horn off More...
 
std::vector< double > intx
 
std::vector< double > inty
 
std::vector< double > bposx
 
std::vector< double > bposy
 
double posx
 mm More...
 
double posy
 mm More...
 
double widthx
 mm More...
 
double widthy
 mm More...
 
bool goodbeam
 

Detailed Description

Definition at line 14 of file SpillData.h.

Constructor & Destructor Documentation

sumdata::SpillData::SpillData ( )

Definition at line 11 of file SpillData.cxx.

11  :
12  spilltimesec(0),
13  spilltimensec(0),
14  gpsspilltimesec(0),
16  deltaspilltimensec(-9999999),
17  spillpot(0.),
18  hornI(0.),
19  isRHC(0.),
20  is0HC(0.),
21  intx(),
22  inty(),
23  bposx(),
24  bposy(),
25  posx(-9999.),
26  posy(-9999.),
27  widthx(-9999.),
28  widthy(-9999.),
29  goodbeam(false)
30  {
31  }
bool isRHC
is the beam in antineutrino mode, aka RHC
Definition: SpillData.h:28
unsigned long int gpsspilltimesec
Definition: SpillData.h:22
bool is0HC
horn off
Definition: SpillData.h:29
std::vector< double > bposy
Definition: SpillData.h:33
std::vector< double > bposx
Definition: SpillData.h:32
std::vector< double > intx
Definition: SpillData.h:30
signed long long int deltaspilltimensec
Definition: SpillData.h:24
double widthx
mm
Definition: SpillData.h:36
unsigned long int spilltimensec
Definition: SpillData.h:21
double hornI
kA
Definition: SpillData.h:27
double posy
mm
Definition: SpillData.h:35
unsigned long int spilltimesec
Definition: SpillData.h:20
double posx
mm
Definition: SpillData.h:34
unsigned long int gpsspilltimensec
Definition: SpillData.h:23
double widthy
mm
Definition: SpillData.h:37
double spillpot
POT for spill normalized by 10^12.
Definition: SpillData.h:26
std::vector< double > inty
Definition: SpillData.h:31
sumdata::SpillData::~SpillData ( )

Definition at line 34 of file SpillData.cxx.

35  {
36  }

Member Function Documentation

void sumdata::SpillData::Print ( std::ostream &  stream)

Definition at line 39 of file SpillData.cxx.

References deltaspilltimensec, allTimeWatchdog::endl, goodbeam, hornI, is0HC, isRHC, posx, posy, spillpot, spilltimensec, spilltimesec, widthx, and widthy.

40  {
41  stream << "SpillData Information\n"
42  << "time(sec): " << spilltimesec << "\n"
43  << "time(nsec): " << spilltimensec << "\n"
44  << "delta time(nsec): " << deltaspilltimensec << "\n"
45  << "pot: " << spillpot << "\n"
46  << "horn current: " << hornI << "\n"
47  << "Are we in RHC running? " << isRHC << "\n"
48  << "Are we in horn off running? " << is0HC << "\n"
49  << "(X,Y) position at target: (" << posx << "," << posy << ")\n"
50  << "Width (x,y): (" << widthx << "," << widthy << ")\n"
51  << "Is beam good? " << goodbeam << std::endl;
52  }
bool isRHC
is the beam in antineutrino mode, aka RHC
Definition: SpillData.h:28
bool is0HC
horn off
Definition: SpillData.h:29
signed long long int deltaspilltimensec
Definition: SpillData.h:24
double widthx
mm
Definition: SpillData.h:36
unsigned long int spilltimensec
Definition: SpillData.h:21
double hornI
kA
Definition: SpillData.h:27
double posy
mm
Definition: SpillData.h:35
unsigned long int spilltimesec
Definition: SpillData.h:20
double posx
mm
Definition: SpillData.h:34
double widthy
mm
Definition: SpillData.h:37
double spillpot
POT for spill normalized by 10^12.
Definition: SpillData.h:26

Member Data Documentation

std::vector<double> sumdata::SpillData::bposx

Definition at line 32 of file SpillData.h.

Referenced by caf::CAFMaker::FillSpillVars().

std::vector<double> sumdata::SpillData::bposy

Definition at line 33 of file SpillData.h.

Referenced by caf::CAFMaker::FillSpillVars().

signed long long int sumdata::SpillData::deltaspilltimensec
bool sumdata::SpillData::goodbeam
unsigned long int sumdata::SpillData::gpsspilltimensec

Definition at line 23 of file SpillData.h.

Referenced by caf::CAFMaker::FillSpillVars().

unsigned long int sumdata::SpillData::gpsspilltimesec

Definition at line 22 of file SpillData.h.

double sumdata::SpillData::hornI
std::vector<double> sumdata::SpillData::intx

Definition at line 30 of file SpillData.h.

Referenced by caf::CAFMaker::FillSpillVars().

std::vector<double> sumdata::SpillData::inty

Definition at line 31 of file SpillData.h.

Referenced by caf::CAFMaker::FillSpillVars().

bool sumdata::SpillData::is0HC
bool sumdata::SpillData::isRHC
double sumdata::SpillData::posx
double sumdata::SpillData::posy
double sumdata::SpillData::spillpot
unsigned long int sumdata::SpillData::spilltimensec
unsigned long int sumdata::SpillData::spilltimesec

Definition at line 20 of file SpillData.h.

Referenced by caf::CAFMaker::FillSpillVars(), and Print().

double sumdata::SpillData::widthx
double sumdata::SpillData::widthy

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