BOSS
7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
RunNumber.cxx
Go to the documentation of this file.
1
//Dear emacs, this is -*- c++ -*-
2
3
/**
4
* @file RunNumber.cxx
5
* @author <a href="mailto:
[email protected]
">Andre DOS ANJOS</a>
6
* $Author: zhangy $
7
* $Revision: 1.1.1.1 $
8
* $Date: 2009/06/19 07:35:41 $
9
*
10
* Implements the RunNumber helper class.
11
*/
12
13
#include "eformat/RunNumber.h"
14
15
eformat::helper::RunNumber::RunNumber
(uint32_t rn)
16
: m_type(static_cast<
eformat
::
RunType
>(rn>>24)),
17
m_n(0xffffff&rn)
18
{
19
}
20
21
uint32_t
eformat::helper::RunNumber::code
(
void
)
const
22
{
23
uint32_t retval = m_type;
24
retval <<= 24;
25
retval |= m_n;
26
return
retval;
27
}
28
29
eformat::helper::RunNumber::code
uint32_t code(void) const
Definition:
RunNumber.cxx:21
eformat::helper::RunNumber::RunNumber
RunNumber(eformat::RunType type, uint32_t n)
Definition:
Event/eformat/eformat-00-00-04/eformat/RunNumber.h:47
eformat
Definition:
Event/eformat/eformat-00-00-04/eformat/BadVersionIssue.h:20
eformat::RunType
RunType
Definition:
Event/eformat/eformat-00-00-04/eformat/RunNumber.h:23
source
Event
eformat
eformat-00-00-04
src
RunNumber.cxx
Generated by
1.9.6