Belle II Software  release-05-02-19
RunNumber.h
1 #ifndef _Belle2_RunNumber_h
2 #define _Belle2_RunNumber_h
3 
4 #include <vector>
5 #include <string>
6 
7 namespace Belle2 {
13  class RunNumber {
14 
15  public:
16  RunNumber();
17  RunNumber(const std::string& node,
18  const std::string& runtype,
19  int expno, int runno,
20  int id = 0, long long record_time = 0);
21  ~RunNumber() {}
22 
23  public:
24  const std::string& getNode() const { return m_node; }
25  const std::string& getRunType() const { return m_runtype; }
26  int getExpNumber() const { return m_expno; }
27  int getRunNumber() const { return m_runno; }
28  int getId() const { return m_id; }
29  long long getRecordTime() const { return m_record_time; }
30  void setNode(const std::string& node) { m_node = node; }
31  void setRunType(const std::string& runtype) { m_runtype = runtype; }
32  void setExpNumber(int expno) { m_expno = expno; }
33  void setRunNumber(int runno) { m_runno = runno; }
34  void setId(int id) { m_id = id; }
35  void setRecordTime(long long record_time)
36  {
37  m_record_time = record_time;
38  }
39 
40  private:
41  std::string m_node;
42  std::string m_runtype;
43  int m_expno;
44  int m_runno;
45  int m_id;
46  long long m_record_time;
47 
48  };
49 
50  typedef std::vector<RunNumber> RunNumberList;
51 
53 }
54 
55 #endif
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::RunNumber
Definition: RunNumber.h:13