#include <TriggerInfoCnv_p3.h>
Definition at line 11 of file TriggerInfoCnv_p3.h.
◆ TriggerInfoCnv_p3()
TriggerInfoCnv_p3::TriggerInfoCnv_p3 |
( |
| ) |
|
|
inline |
◆ persToTrans()
void TriggerInfoCnv_p3::persToTrans |
( |
std::vector< unsigned int >::const_iterator & |
persObj, |
|
|
TriggerInfo * |
transObj, |
|
|
bool |
bugcompat |
|
) |
| const |
Definition at line 9 of file TriggerInfoCnv_p3.cxx.
10 trans->setStatusElement (*
i); ++
i;
11 trans->setExtendedLevel1ID (*
i); ++
i;
12 trans->setLevel1TriggerType (*
i); ++
i;
17 unsigned int size=(*i); ++
i;
18 std::vector<TriggerInfo::number_type> l1info (
i,
i+
size);
i +=
size;
19 trans->setLevel1TriggerInfo (std::move (l1info));
23 unsigned int size=(*i); ++
i;
24 std::vector<TriggerInfo::number_type> l2info (
i,
i+
size);
i +=
size;
25 trans->setLevel2TriggerInfo (std::move (l2info));
29 unsigned int size=(*i); ++
i;
30 std::vector<TriggerInfo::number_type> efinfo (
i,
i+
size);
i +=
size;
31 trans->setEventFilterInfo (std::move (efinfo));
36 unsigned int size=(*i); ++
i;
39 for (
unsigned int w=0;
w<
size;
w++) {
47 std::vector<TriggerInfo::StreamTag> st;
49 for (
unsigned int w=0;
w<
size;
w++) {
50 st.emplace_back (std::move(
names[
w]), std::move(types[
w]),
t[
w]);
53 trans->setStreamTags (std::move (st));
◆ transToPers()
void TriggerInfoCnv_p3::transToPers |
( |
const TriggerInfo * |
transObj, |
|
|
std::vector< unsigned int > & |
persObj |
|
) |
| const |
Definition at line 57 of file TriggerInfoCnv_p3.cxx.
58 pers.push_back(trans->statusElement());
59 pers.push_back(trans->extendedLevel1ID());
60 pers.push_back(trans->level1TriggerType());
63 const std::vector<TriggerInfo::number_type>& l1info =
64 trans->level1TriggerInfo();
66 pers.push_back(l1info.size());
67 std::copy (l1info.begin(), l1info.end(), std::back_inserter (pers));
71 const std::vector<TriggerInfo::number_type>& l2info =
72 trans->level2TriggerInfo();
73 pers.push_back(l2info.size());
74 std::copy (l2info.begin(), l2info.end(), std::back_inserter (pers));
78 const std::vector<TriggerInfo::number_type>& efinfo =
79 trans->eventFilterInfo();
80 pers.push_back(efinfo.size());
81 std::copy (efinfo.begin(), efinfo.end(), std::back_inserter (pers));
85 size_t sz = trans->streamTags().size();
88 std::vector<bool>
t;
t.reserve(
sz);
89 for (
unsigned int i = 0;
i <
sz; ++
i) {
The documentation for this class was generated from the following files: