/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/eformat/eformat-00-00-04/eformat/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

Defines

#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)
template<class TPointer>
size_t eformat::find_fragments (eformat::HeaderMarker marker, TPointer block_start, size_t block_size, TPointer *frag, size_t max_count)


Detailed Description

Defines a set of utilities common to many event operations.

Author:
<a href="mailto:Andre.dos.Anjos@cern.ch>André Rabello dos ANJOS
Author
zhangy
Revision
1.1.1.1
Date
2009/06/19 07:35:41

Definition in file util.h.


Define Documentation

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

Prints in hexadecimal format, in an ostream

Definition at line 107 of file util.h.

Referenced by main(), and eformat::next_fragment().


Generated on Tue Nov 29 23:15:04 2016 for BOSS_7.0.2 by  doxygen 1.4.7