Belle II Software development
RunNumber Class Reference

Public Member Functions

 RunNumber (const std::string &node, const std::string &runtype, int expno, int runno, int id=0, long long record_time=0)
 
const std::string & getNode () const
 
const std::string & getRunType () const
 
int getExpNumber () const
 
int getRunNumber () const
 
int getId () const
 
long long getRecordTime () const
 
void setNode (const std::string &node)
 
void setRunType (const std::string &runtype)
 
void setExpNumber (int expno)
 
void setRunNumber (int runno)
 
void setId (int id)
 
void setRecordTime (long long record_time)
 

Private Attributes

std::string m_node
 
std::string m_runtype
 
int m_expno
 
int m_runno
 
int m_id
 
long long m_record_time
 

Detailed Description

Definition at line 20 of file RunNumber.h.

Constructor & Destructor Documentation

◆ RunNumber() [1/2]

RunNumber ( )

Definition at line 12 of file RunNumber.cc.

13 : m_node(), m_runtype(), m_expno(0), m_runno(0),
14 m_id(0), m_record_time(0)
15{
16}

◆ RunNumber() [2/2]

RunNumber ( const std::string &  node,
const std::string &  runtype,
int  expno,
int  runno,
int  id = 0,
long long  record_time = 0 
)

Definition at line 18 of file RunNumber.cc.

22 : m_node(node), m_runtype(runtype), m_expno(expno), m_runno(runno),
23 m_id(id), m_record_time(record_time)
24{
25}

◆ ~RunNumber()

~RunNumber ( )
inline

Definition at line 28 of file RunNumber.h.

28{}

Member Function Documentation

◆ getExpNumber()

int getExpNumber ( ) const
inline

Definition at line 33 of file RunNumber.h.

33{ return m_expno; }

◆ getId()

int getId ( ) const
inline

Definition at line 35 of file RunNumber.h.

35{ return m_id; }

◆ getNode()

const std::string & getNode ( ) const
inline

Definition at line 31 of file RunNumber.h.

31{ return m_node; }

◆ getRecordTime()

long long getRecordTime ( ) const
inline

Definition at line 36 of file RunNumber.h.

36{ return m_record_time; }

◆ getRunNumber()

int getRunNumber ( ) const
inline

Definition at line 34 of file RunNumber.h.

34{ return m_runno; }

◆ getRunType()

const std::string & getRunType ( ) const
inline

Definition at line 32 of file RunNumber.h.

32{ return m_runtype; }

◆ setExpNumber()

void setExpNumber ( int  expno)
inline

Definition at line 39 of file RunNumber.h.

39{ m_expno = expno; }

◆ setId()

void setId ( int  id)
inline

Definition at line 41 of file RunNumber.h.

41{ m_id = id; }

◆ setNode()

void setNode ( const std::string &  node)
inline

Definition at line 37 of file RunNumber.h.

37{ m_node = node; }

◆ setRecordTime()

void setRecordTime ( long long  record_time)
inline

Definition at line 42 of file RunNumber.h.

43 {
44 m_record_time = record_time;
45 }

◆ setRunNumber()

void setRunNumber ( int  runno)
inline

Definition at line 40 of file RunNumber.h.

40{ m_runno = runno; }

◆ setRunType()

void setRunType ( const std::string &  runtype)
inline

Definition at line 38 of file RunNumber.h.

38{ m_runtype = runtype; }

Member Data Documentation

◆ m_expno

int m_expno
private

Definition at line 50 of file RunNumber.h.

◆ m_id

int m_id
private

Definition at line 52 of file RunNumber.h.

◆ m_node

std::string m_node
private

Definition at line 48 of file RunNumber.h.

◆ m_record_time

long long m_record_time
private

Definition at line 53 of file RunNumber.h.

◆ m_runno

int m_runno
private

Definition at line 51 of file RunNumber.h.

◆ m_runtype

std::string m_runtype
private

Definition at line 49 of file RunNumber.h.


The documentation for this class was generated from the following files: