BOSS
7.1.1
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
Files
File List
File Members
All
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
!
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
!
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
old/util.h
Go to the documentation of this file.
1
//Dear emacs, this is -*- c++ -*-
2
3
/**
4
* @file eformat/old/util.h
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
* @brief A set of utilities to convert old eformat (v2.4) tags into new (v3)
11
* ones.
12
*/
13
14
#ifndef EFORMAT_OLD_UTIL_H
15
#define EFORMAT_OLD_UTIL_H
16
17
#include <stdint.h>
18
19
namespace
eformat
{
20
21
namespace
old {
22
23
/**
24
* Gets an old source identitifier (v2.4) and transforms it into a new one,
25
* for version 3.0 of the event format
26
*
27
* @param old_id The old source identifier
28
*/
29
uint32_t
convert_source
(uint32_t old_id);
30
31
/**
32
* Converts a full event fragment, from the old to new format, using the
33
* space of contiguous memory storage area given. If the event given is
34
* already on v3.0 format, no conversion takes place.
35
*
36
* @param src A pointer to the first word of the event, lying in a @b
37
* contiguous area of memory.
38
* @param dest The destination area of memory, preallocated
39
* @param max The maximum number of words that fit in the preallocated
40
* memory area "dest".
41
*
42
* @return A counter, for the number of words copied from the source to the
43
* destination. If that number is zero, something wrong happened.
44
*/
45
uint32_t
convert
(
const
uint32_t* src, uint32_t* dest, uint32_t
max
);
46
47
}
48
49
}
50
51
#endif
/* EFORMAT_OLD_UTIL_H */
max
#define max(a, b)
Definition
Eepipi/Eepipi-00-01-00/src/ee2eepp/basesv5.1/f2c.h:154
eformat::old::convert
uint32_t convert(const uint32_t *src, uint32_t *dest, uint32_t max)
Definition
util24.cxx:248
eformat::old::convert_source
uint32_t convert_source(uint32_t old_id)
Definition
util24.cxx:28
eformat
Definition
BadVersionIssue.h:20
7.1.1
Event
eformat
eformat-00-01-00
eformat
old
util.h
Generated by
1.12.0