All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
BNBSpillInfo.h
Go to the documentation of this file.
1 #ifndef sbncode_BNBSpillInfo_H
2 #define sbncode_BNBSpillInfo_H
3 
4 /**
5 
6  * @file sbnobj/Common/POTAccounting/BNBSpillInfo.h
7  * @author Joseph Zennamo, FNAL (jaz8600@fnal.gov)
8  */
9 
10 #include <vector>
11 
12 namespace sbn {
13  class BNBSpillInfo {
14  public:
15  //typedef enum triggertype { kBNB, kEXT, kUnbiased, kNUMI } TriggerType; //!< Which beamline are we looking at
16 
17  unsigned long int spill_time_s; //!< The IFDB Beam Spill Time, unit sec
18  unsigned long int spill_time_ns; //!< The IFDB Beam Spill Time, unit nsec
19 
20  unsigned int event;
21 
22  //BeamQuaility
23  //quality//BNB
24 
25  float TOR860; //!< Toroid before Mag 875, units e12 Protons
26  float TOR875; //!< Toroid after Mag 875, units e12 Protons
27 
28  float LM875A; //!< Loss Monitor before the RWM, unit R/s
29  float LM875B; //!< Loss Monitor after the RWM, unit R/s
30  float LM875C; //!< Loss Monitor after the RWM, unit R/s
31  float HP875; //!< Horizontal Position Monitor after Mag 875, units mm
32  float VP875; //!< Verticle Position Monitor after Mag 875, units mm
33 
34  float HPTG1; //!< Horizontal Position Monitor at Target Station 1, units mm
35  float VPTG1; //!< Horizontal Position Monitor at Target Station 1, units mm
36 
37  float HPTG2; //!< Horizontal Position Monitor at Target Station 2, closest to target, units mm
38  float VPTG2; //!< Horizontal Position Monitor at Target Station 2, closest to target, units mm
39 
40  float BTJT2; //!< Temperature of air exiting target, units Deg C
41 
42  float THCURR; //!< Current applied to Horn, units kiloAmperes
43 
44  // https://cdcvs.fnal.gov/redmine/projects/ubraw/repository/revisions/master/entry/ubraw/BeamDAQ/MWRData.cpp
45  std::vector< int > M875BB; //!< Multiwire station before Mag 875...?
46  std::vector< int > M876BB; //!< Multiwire station after Mag 875...?
47  std::vector< int > MMBTBB; //!< Multiwire station at the target station,
48 
49  float M875BB_spill_time_diff; //!< the time difference between M875BB and the matched spill
50  float M876BB_spill_time_diff; //!< the time difference between M876BB and the matched spill
51  float MMBTBB_spill_time_diff; //!< the time difference between MMBTBB and the matched spill
52 
53  double POT() const{return TOR875;}
54 
55  };
56 } // end namespace sbn
57 
58 #endif
float M876BB_spill_time_diff
the time difference between M876BB and the matched spill
Definition: BNBSpillInfo.h:50
std::vector< int > M876BB
Multiwire station after Mag 875...?
Definition: BNBSpillInfo.h:46
float LM875C
Loss Monitor after the RWM, unit R/s.
Definition: BNBSpillInfo.h:30
float VPTG2
Horizontal Position Monitor at Target Station 2, closest to target, units mm.
Definition: BNBSpillInfo.h:38
float VPTG1
Horizontal Position Monitor at Target Station 1, units mm.
Definition: BNBSpillInfo.h:35
unsigned long int spill_time_ns
The IFDB Beam Spill Time, unit nsec.
Definition: BNBSpillInfo.h:18
float MMBTBB_spill_time_diff
the time difference between MMBTBB and the matched spill
Definition: BNBSpillInfo.h:51
float TOR875
Toroid after Mag 875, units e12 Protons.
Definition: BNBSpillInfo.h:26
float LM875A
Loss Monitor before the RWM, unit R/s.
Definition: BNBSpillInfo.h:28
float BTJT2
Temperature of air exiting target, units Deg C.
Definition: BNBSpillInfo.h:40
double POT() const
Definition: BNBSpillInfo.h:53
std::vector< int > MMBTBB
Multiwire station at the target station,.
Definition: BNBSpillInfo.h:47
float HP875
Horizontal Position Monitor after Mag 875, units mm.
Definition: BNBSpillInfo.h:31
float HPTG2
Horizontal Position Monitor at Target Station 2, closest to target, units mm.
Definition: BNBSpillInfo.h:37
float THCURR
Current applied to Horn, units kiloAmperes.
Definition: BNBSpillInfo.h:42
unsigned long int spill_time_s
The IFDB Beam Spill Time, unit sec.
Definition: BNBSpillInfo.h:17
float VP875
Verticle Position Monitor after Mag 875, units mm.
Definition: BNBSpillInfo.h:32
unsigned int event
Definition: BNBSpillInfo.h:20
float TOR860
Toroid before Mag 875, units e12 Protons.
Definition: BNBSpillInfo.h:25
std::vector< int > M875BB
Multiwire station before Mag 875...?
Definition: BNBSpillInfo.h:45
float LM875B
Loss Monitor after the RWM, unit R/s.
Definition: BNBSpillInfo.h:29
float M875BB_spill_time_diff
the time difference between M875BB and the matched spill
Definition: BNBSpillInfo.h:49
float HPTG1
Horizontal Position Monitor at Target Station 1, units mm.
Definition: BNBSpillInfo.h:34