1#include "GaudiKernel/Bootstrap.h"
2#include "GaudiKernel/ISvcLocator.h"
3#include "GaudiKernel/IJobOptionsSvc.h"
4#include "RawDataCnv/EventManagement/Builder.h"
12 m_buf =
new uint32_t[32768];
19 IJobOptionsSvc* jobSvc;
20 Gaudi::svcLocator()->service(
"JobOptionsSvc", jobSvc);
21 jobSvc->setMyProperties(
"Builder", &
m_propMgr);
33 cerr <<
"Error: file " << fname <<
" is bad" << endl;
40 cerr <<
"Error: expected `" << msg <<
"|" << str <<
"` in " << fname << endl;
46 if( !
expect( f, msg, fname ) || f.bad() )
54 if ( !
expect(f, msg, fname) || f.bad() )
63 cerr <<
"Error: file " << fname <<
" bad checked" << endl;
70 if ( str == msg )
return true;
78 uint32_t run_no = re->
run_no();
79 uint32_t lvl1_id = re->
lvl1_id();
static bool expectLong(ifstream &f, string msg, string fname, uint64_t &val)
void append2event(WriteRawEvent *&re, uint32_t source_id, uint32_t size, uint32_t shift=0)
static bool expect(ifstream &f, string msg, string fname)
static bool expectInt(ifstream &f, string msg, string fname, uint32_t &val1, uint32_t &val2)
static bool find(ifstream &f, string msg, string fname)