BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
util.h File Reference

Defines a set of utilities common to many event operations. More...

#include <fstream>
#include <stdint.h>
#include <cstdlib>
#include "eformat/HeaderMarker.h"
#include "eformat/WrongMarkerIssue.h"

Go to the source code of this file.

Namespaces

namespace  eformat
 

Macros

#define HEX(m)   "0x" << std::hex << (int)m << std::dec << " (" << (int)m << ")"
 

Functions

uint32_t * eformat::next_fragment (std::fstream &fs, uint32_t *addr=0, size_t size=0)
 
size_t eformat::find_rods (const uint32_t *block_start, size_t block_size, const uint32_t **rod=0, uint32_t *rod_size=0, size_t max_count=0)
 
template<class TPointer >
size_t eformat::find_fragments (eformat::HeaderMarker marker, TPointer block_start, size_t block_size, TPointer *frag=0, size_t max_count=0)
 
size_t eformat::get_robs (const uint32_t *fragment, const uint32_t **rob, size_t max_count)
 

Detailed Description

Defines a set of utilities common to many event operations.

Author
<a href="Andre.nosp@m..dos.nosp@m..Anjo.nosp@m.s@ce.nosp@m.rn.ch>Andr� Rabello dos ANJOS
Author
zhangy
Revision
1.1.1.1
Date
2009/06/19 07:35:41

Definition in file util.h.

Macro Definition Documentation

◆ HEX

#define HEX (   m)    "0x" << std::hex << (int)m << std::dec << " (" << (int)m << ")"

Prints in hexadecimal format, in an ostream

Definition at line 107 of file util.h.