All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SubRun.hh
Go to the documentation of this file.
1 #ifndef __sbnanalysis_core_SubRun__
2 #define __sbnanalysis_core_SubRun__
3 
4 /**
5  * \file SubRun.hh
6  *
7  * Subrun-level information.
8  *
9  * Author: A. Mastbaum <mastbaum@uchicago.edu>, 2019/03/01
10  */
11 
12 #include <map>
13 #include <string>
14 #include <vector>
15 #include <TTree.h>
16 #include <TVector3.h>
17 #include "core/Experiment.hh"
18 
19 /**
20  * \class SubRun
21  * \brief The standard subrun data definition.
22  */
23 class SubRun {
24 public:
26  : runID(0), subrunID(0),
27  totpot(0), totgoodpot(0),
28  totspills(0), goodspills(0) {}
29 
30  SubRun(int _runID, int _subrunID,
31  float _totpot, float _totgoodpot,
32  int _totspills, int _goodspills)
33  : runID(_runID), subrunID(_subrunID),
34  totpot(_totpot), totgoodpot(_totgoodpot),
35  totspills(_totspills), goodspills(_goodspills) {}
36 
37  int runID;
38  int subrunID;
39  float totpot;
40  float totgoodpot;
41  int totspills;
43 };
44 
45 #endif // __sbnanalysis_core_SubRun__
46 
float totpot
Definition: SubRun.hh:39
int totspills
Definition: SubRun.hh:41
SubRun()
Definition: SubRun.hh:25
int subrunID
Definition: SubRun.hh:38
float totgoodpot
Definition: SubRun.hh:40
int goodspills
Definition: SubRun.hh:42
int runID
Definition: SubRun.hh:37
The standard subrun data definition.
Definition: SubRun.hh:23
SubRun(int _runID, int _subrunID, float _totpot, float _totgoodpot, int _totspills, int _goodspills)
Definition: SubRun.hh:30