BOSS 7.1.3
BESIII Offline Software System
Loading...
Searching...
No Matches
FullEventFragment24.cxx
Go to the documentation of this file.
1//Dear emacs, this is -*- c++ -*-
2
3/**
4 * @file old/FullEventFragment.cxx
5 * @author <a href="mailto:[email protected]">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 old FullEventFragment class
11 */
12
17
23
25{
26 eformat::old::Header::check(); //< first do a generic check
27 if (nspecific() != 10) { //@warning THIS IS WRONG!!! It should be 9
28 throw EFORMAT_SIZE_CHECK(10, nspecific());
29 }
30 return true;
31}
32
34{
35 check(); // check myself
36 for (size_t i=0; i<noffset(); ++i) {
38 sd.check_tree();
39 }
40 return true;
41}
42
43
44
Defines the constants used by Event Fragments.
When size checks do not match, this exception must be thrown.
#define EFORMAT_SIZE_CHECK(actual, informed)
virtual bool check() const
Definition Header24.cxx:29
Header(const uint32_t *it, uint32_t match)
Definition Header24.cxx:21
const uint32_t * child(size_t n) const
Definition Header24.cxx:39
uint32_t noffset() const
Definition old/Header.h:110
uint32_t nspecific() const
Definition old/Header.h:123
const uint32_t * specific_header(void) const
Definition old/Header.h:130
Defines the Event Fragment entity. The definition is based on the update of ATL-DAQ-98-129,...
Defines the subdetector fragment entity. The definition is based on the update of ATL-DAQ-98-129,...