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
16 : m_type( static_cast<eformat::RunType>( rn >> 24 ) ), m_n( 0xffffff & rn ) {}
17
18uint32_t eformat::helper::RunNumber::code( void ) const {
19 uint32_t retval = m_type;
20 retval <<= 24;
21 retval |= m_n;
22 return retval;
23}
uint32_t code(void) const
Definition RunNumber.cxx:18
RunNumber(eformat::RunType type, uint32_t n)