#include <Builder.h>
|
typedef std::map< uint32_t, uint32_t > | TE2REMAP |
|
|
virtual StatusCode | initialize (string &initFile) |
|
virtual uint32_t | getTEID (uint32_t teid)=0 |
|
virtual uint32_t | getREID (uint32_t reid)=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 | expectLong (ifstream &f, string msg, string fname, uint64_t &val) |
|
static bool | find (ifstream &f, string msg, string fname) |
|
◆ TE2REMAP
◆ Builder()
Definition at line 8 of file Builder.cxx.
9{
10
11
12 m_buf =
new uint32_t[32768];
13
17
18
19 IJobOptionsSvc* jobSvc;
20 Gaudi::svcLocator()->service("JobOptionsSvc", jobSvc);
21 jobSvc->setMyProperties(
"Builder", &
m_propMgr);
22}
◆ ~Builder()
◆ append2event()
void Builder::append2event |
( |
WriteRawEvent *& |
re, |
|
|
uint32_t |
source_id, |
|
|
uint32_t |
size |
|
) |
| |
|
protected |
Definition at line 76 of file Builder.cxx.
77{
78 uint32_t run_no = re->
run_no();
79 uint32_t lvl1_id = re->
lvl1_id();
80 uint32_t bc_id = 0;
81
83 source_id,
84 run_no,
85 lvl1_id,
86 bc_id,
87 0,
88 0,
89 size,
91 0
92 );
96 }
97 else{
100 }
101
103 source_id,
104 run_no,
105 lvl1_id,
106 bc_id
107 );
110
114
118}
Referenced by EmcBuilder::pack(), HltBuilder::pack(), McParticleBuilder::pack(), MdcBuilder::pack(), MucBuilder::pack(), and TofBuilder::pack().
◆ expect()
bool Builder::expect |
( |
ifstream & |
f, |
|
|
string |
msg, |
|
|
string |
fname |
|
) |
| |
|
static |
◆ expectInt()
bool Builder::expectInt |
( |
ifstream & |
f, |
|
|
string |
msg, |
|
|
string |
fname, |
|
|
uint32_t & |
val1, |
|
|
uint32_t & |
val2 |
|
) |
| |
|
static |
Definition at line 44 of file Builder.cxx.
45{
46 if( !
expect( f, msg, fname ) || f.bad() )
47 return false;
48 f >> val1 >> val2;
49 return true;
50}
static bool expect(ifstream &f, string msg, string fname)
Referenced by EmcBuilder::initialize(), EmcMcHitBuilder::initialize(), HltBuilder::initialize(), MdcBuilder::initialize(), MdcMcHitBuilder::initialize(), MucMcHitBuilder::initialize(), TofBuilder::initialize(), and TofMcHitBuilder::initialize().
◆ expectLong()
bool Builder::expectLong |
( |
ifstream & |
f, |
|
|
string |
msg, |
|
|
string |
fname, |
|
|
uint64_t & |
val |
|
) |
| |
|
static |
◆ find()
bool Builder::find |
( |
ifstream & |
f, |
|
|
string |
msg, |
|
|
string |
fname |
|
) |
| |
|
static |
◆ getREID()
virtual uint32_t Builder::getREID |
( |
uint32_t |
reid | ) |
|
|
pure virtual |
◆ getTEID()
virtual uint32_t Builder::getTEID |
( |
uint32_t |
teid | ) |
|
|
pure virtual |
◆ initialize()
virtual StatusCode Builder::initialize |
( |
string & |
initFile | ) |
|
|
inlinevirtual |
◆ m_buf
◆ m_confFile
string Builder::m_confFile |
|
staticprotected |
◆ m_propMgr
PropertyMgr Builder::m_propMgr |
|
protected |
◆ m_status
uint32_t Builder::m_status |
|
protected |
The documentation for this class was generated from the following files: