SpillData.h
Go to the documentation of this file.
1 //////////////////////////////////////////////////////////////////////////
2 /// \brief Lightweight module to calculate spill-related information
3 /// \author vahle@wm.edu
4 /// \date
5 //////////////////////////////////////////////////////////////////////////
6 #ifndef SPILLDATA_H
7 #define SPILLDATA_H
8 
9 #include <ostream>
10 #include <vector>
11 
12 namespace sumdata
13 {
14  class SpillData {
15  public:
16  SpillData();
17  ~SpillData();
18 
19  void Print(std::ostream &stream);
20  unsigned long int spilltimesec;
21  unsigned long int spilltimensec;
22  unsigned long int gpsspilltimesec;
23  unsigned long int gpsspilltimensec;
24  signed long long int deltaspilltimensec;
25 
26  double spillpot; ///< POT for spill normalized by 10^12
27  double hornI; ///< kA
28  bool isRHC; ///< is the beam in antineutrino mode, aka RHC
29  bool is0HC; ///< horn off
30  std::vector<double> intx;
31  std::vector<double> inty;
32  std::vector<double> bposx;
33  std::vector<double> bposy;
34  double posx; ///< mm
35  double posy; ///< mm
36  double widthx; ///< mm
37  double widthy; ///< mm
38  bool goodbeam;
39  };
40 
41 } // end namespace sumdata
42 
43 #endif //SPILLDATA_H
44 ///////////////////////////////////////////////////////////////////////////////
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
void Print(std::ostream &stream)
Definition: SpillData.cxx:39
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
TODO.
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