All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SRBNBInfo.cxx
Go to the documentation of this file.
2 
3 #include <limits>
4 #include <climits>
5 
6 namespace caf
7 {
9  spill_time_sec(std::numeric_limits<unsigned long int>::max()),
10  spill_time_nsec(std::numeric_limits<unsigned long int>::max()),
11  event(UINT_MAX),
12  TOR860(std::numeric_limits<float>::signaling_NaN()),
13  TOR875(std::numeric_limits<float>::signaling_NaN()),
14  LM875A(std::numeric_limits<float>::signaling_NaN()),
15  LM875B(std::numeric_limits<float>::signaling_NaN()),
16  LM875C(std::numeric_limits<float>::signaling_NaN()),
17  HP875(std::numeric_limits<float>::signaling_NaN()),
18  VP875(std::numeric_limits<float>::signaling_NaN()),
19  HPTG1(std::numeric_limits<float>::signaling_NaN()),
20  VPTG1(std::numeric_limits<float>::signaling_NaN()),
21  HPTG2(std::numeric_limits<float>::signaling_NaN()),
22  VPTG2(std::numeric_limits<float>::signaling_NaN()),
23  BTJT2(std::numeric_limits<float>::signaling_NaN()),
24  THCURR(std::numeric_limits<float>::signaling_NaN()),
25  M875BB_spill_time_diff(std::numeric_limits<float>::signaling_NaN()),
26  M876BB_spill_time_diff(std::numeric_limits<float>::signaling_NaN()),
27  MMBTBB_spill_time_diff(std::numeric_limits<float>::signaling_NaN())
28  {}
29 
31  {
32  spill_time_sec = std::numeric_limits<unsigned long int>::max();
33  spill_time_nsec = std::numeric_limits<unsigned long int>::max();
34  event = UINT_MAX;
35  TOR860 = -999.0;
36  TOR875 = -999.0;
37  LM875A = -999.0;
38  LM875B = -999.0;
39  LM875C = -999.0;
40  HP875 = -999.0;
41  VP875 = -999.0;
42  HPTG1 = -999.0;
43  VPTG1 = -999.0;
44  HPTG2 = -999.0;
45  VPTG2 = -999.0;
46  BTJT2 = -999.0;
47  THCURR = -999.0;
48  M875BB_spill_time_diff = -999.0;
49  M876BB_spill_time_diff = -999.0;
50  MMBTBB_spill_time_diff = -999.0;
51  }
52 
53 } //end namespace caf
float BTJT2
Temperature of air exiting target, units Deg C.
Definition: SRBNBInfo.h:32
double std(const std::vector< short > &wf, const double ped_mean, size_t start, size_t nsample)
Definition: UtilFunc.cxx:42
float TOR860
Definition: SRBNBInfo.h:17
float TOR875
Value used for POT accounting.
Definition: SRBNBInfo.h:18
float LM875C
Loss Monitor after the RWM, unit R/s.
Definition: SRBNBInfo.h:22
unsigned long int spill_time_sec
Definition: SRBNBInfo.h:13
float HP875
Horizontal Position Monitor after Mag 875, units mm.
Definition: SRBNBInfo.h:23
float LM875B
Loss Monitor after the RWM, unit R/s.
Definition: SRBNBInfo.h:21
float THCURR
Current applied to Horn, units kiloAmperes.
Definition: SRBNBInfo.h:34
float LM875A
Loss Monitor before the RWM, unit R/s.
Definition: SRBNBInfo.h:20
unsigned long int spill_time_nsec
Definition: SRBNBInfo.h:14
float VPTG1
Horizontal Position Monitor at Target Station 1, units mm.
Definition: SRBNBInfo.h:27
float HPTG1
Horizontal Position Monitor at Target Station 1, units mm.
Definition: SRBNBInfo.h:26
float M875BB_spill_time_diff
the time difference between M875BB and the matched spill
Definition: SRBNBInfo.h:41
void setDefault()
Definition: SRBNBInfo.cxx:30
float VP875
Verticle Position Monitor after Mag 875, units mm.
Definition: SRBNBInfo.h:24
float HPTG2
Horizontal Position Monitor at Target Station 2, closest to target, units mm.
Definition: SRBNBInfo.h:29
float M876BB_spill_time_diff
the time difference between M876BB and the matched spill
Definition: SRBNBInfo.h:42
float MMBTBB_spill_time_diff
the time difference between MMBTBB and the matched spill
Definition: SRBNBInfo.h:43
float VPTG2
Horizontal Position Monitor at Target Station 2, closest to target, units mm.
Definition: SRBNBInfo.h:30