All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NuMISpillInfo.h
Go to the documentation of this file.
1 #ifndef sbncode_NuMISpillInfo_H
2 #define sbncode_NuMISpillInfo_H
3 
4 /*
5  NuMI spill information for POT accounting work (work in progress)
6 */
7 
8 #include <vector>
9 
10 namespace sbn {
11  class NuMISpillInfo {
12  public:
13  // In all lists -- the first is the average of a couple bunches,
14  // then the last 6 are the elements per-bunch
15  std::vector< double > HP121; //!< List of Horizontal position at start per-bunch
16  std::vector< double > VP121; //!< List of Vertical position at start per-bunch
17  std::vector< double > HPTGT; //!< List of Horizontal position at target per-bunch
18  std::vector< double > VPTGT; //!< List of Vertical position at target per-bunch
19  std::vector< double > HITGT; //!< List of Horizontal-Monitor intensity at target per-bunch
20  std::vector< double > VITGT; //!< List of Vertical-Monitor intensity at tartget per bunch
21  std::vector< double > MTGTDS; //MULTIWIRES
22  float HRNDIR; // horn polarity (based on sign)
23  float NSLINA; // horn current /4
24  float NSLINB; // horn current /4
25  float NSLINC; // horn current /4
26  float NSLIND; // horn current /4
27  float TRTGTD; //!< Best monitored POT at Target
28  float TR101D; //!< Best monitored POT at Start
29  float TORTGT; //!< Other monitored POT at Target
30  float TOR101; //!< Other monitored POT at Start
31  float time; //!< Time of device used to lookup spill
32 
33  unsigned long int spill_time_s; //!< The IFDB Beam Spill Time, unit sec
34  unsigned long int spill_time_ns; //!< The IFDB Beam Spill Time, unit nsec
35 
36  unsigned int event;
37  unsigned int daq_gates;
38 
39  double POT() const{return TRTGTD;}
40  };
41 }
42 
43 #endif
float TOR101
Other monitored POT at Start.
Definition: NuMISpillInfo.h:30
std::vector< double > HP121
List of Horizontal position at start per-bunch.
Definition: NuMISpillInfo.h:15
float TR101D
Best monitored POT at Start.
Definition: NuMISpillInfo.h:28
float TRTGTD
Best monitored POT at Target.
Definition: NuMISpillInfo.h:27
float time
Time of device used to lookup spill.
Definition: NuMISpillInfo.h:31
unsigned int daq_gates
Definition: NuMISpillInfo.h:37
std::vector< double > HPTGT
List of Horizontal position at target per-bunch.
Definition: NuMISpillInfo.h:17
double POT() const
Definition: NuMISpillInfo.h:39
float TORTGT
Other monitored POT at Target.
Definition: NuMISpillInfo.h:29
unsigned long int spill_time_s
The IFDB Beam Spill Time, unit sec.
Definition: NuMISpillInfo.h:33
std::vector< double > VITGT
List of Vertical-Monitor intensity at tartget per bunch.
Definition: NuMISpillInfo.h:20
std::vector< double > MTGTDS
Definition: NuMISpillInfo.h:21
std::vector< double > HITGT
List of Horizontal-Monitor intensity at target per-bunch.
Definition: NuMISpillInfo.h:19
unsigned long int spill_time_ns
The IFDB Beam Spill Time, unit nsec.
Definition: NuMISpillInfo.h:34
unsigned int event
Definition: NuMISpillInfo.h:36
std::vector< double > VP121
List of Vertical position at start per-bunch.
Definition: NuMISpillInfo.h:16
std::vector< double > VPTGT
List of Vertical position at target per-bunch.
Definition: NuMISpillInfo.h:18