BOSS
8.0.0
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:Andre.dos.Anjos@cern.ch">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 ) ), m_n( 0xffffff & rn ) {}
17
18
uint32_t
eformat::helper::RunNumber::code
(
void
)
const
{
19
uint32_t retval = m_type;
20
retval <<= 24;
21
retval |= m_n;
22
return
retval;
23
}
eformat::helper::RunNumber::code
uint32_t code(void) const
Definition
RunNumber.cxx:18
eformat::helper::RunNumber::RunNumber
RunNumber(eformat::RunType type, uint32_t n)
Definition
Event/eformat/include/eformat/RunNumber.h:44
eformat
Definition
Event/eformat/include/eformat/BadVersionIssue.h:20
eformat::RunType
RunType
Definition
Event/eformat/include/eformat/RunNumber.h:23
8.0.0
BOSS_Source
Event
eformat
src
RunNumber.cxx
Generated by
1.16.1