7 "Converting persistent NSW_PadTriggerDataContainer_p1 to transient NSW_PadTriggerDataContainer" <<
endmsg;
10 auto tCollection = std::make_unique<NSW_PadTriggerData>(
11 pCollection.m_sourceid,
20 pCollection.m_orbitid,
25 pCollection.m_trigger_n,
27 pCollection.m_hit_relbcid,
28 pCollection.m_hit_pfeb,
29 pCollection.m_hit_tdschannel,
30 pCollection.m_hit_vmmchannel,
31 pCollection.m_hit_vmm,
32 pCollection.m_hit_padchannel,
33 pCollection.m_pfeb_addr,
34 pCollection.m_pfeb_nchan,
35 pCollection.m_pfeb_disconnected,
36 pCollection.m_trigger_bandid,
37 pCollection.m_trigger_phiid,
38 pCollection.m_trigger_relbcid,
39 pCollection.m_bcid_rel,
40 pCollection.m_bcid_status,
41 pCollection.m_bcid_multzero,
42 pCollection.m_bcid_multiplicity
45 throw std::runtime_error{
"Could not add collection to transient container!" };
54 "Converting transient NSW_PadTriggerDataContainer to persistent NSW_PadTriggerDataContainer_p1" <<
endmsg;
60 pCollection.
m_sourceid = tCollection->getSourceid();
61 pCollection.m_flags = tCollection->getFlags();
62 pCollection.m_ec = tCollection->getEc();
63 pCollection.m_fragid = tCollection->getFragid();
64 pCollection.m_secid = tCollection->getSecid();
65 pCollection.m_spare = tCollection->getSpare();
66 pCollection.m_orbit = tCollection->getOrbit();
67 pCollection.m_bcid = tCollection->getBcid();
68 pCollection.m_l1id = tCollection->getL1id();
69 pCollection.m_orbitid = tCollection->getOrbitid();
70 pCollection.m_orbit1 = tCollection->getOrbit1();
71 pCollection.m_status = tCollection->getStatus();
72 pCollection.m_hit_n = tCollection->getNumberOfHits();
73 pCollection.m_pfeb_n = tCollection->getNumberOfPfebs();
74 pCollection.m_trigger_n = tCollection->getNumberOfTriggers();
75 pCollection.m_bcid_n = tCollection->getNumberOfBcids();
76 pCollection.m_hit_relbcid = tCollection->getHitRelBcids();
77 pCollection.m_hit_pfeb = tCollection->getHitPfebs();
78 pCollection.m_hit_tdschannel = tCollection->getHitTdsChannels();
79 pCollection.m_hit_vmmchannel = tCollection->getHitVmmChannels();
80 pCollection.m_hit_vmm = tCollection->getHitVmms();
81 pCollection.m_hit_padchannel = tCollection->getHitPadChannels();
82 pCollection.m_pfeb_addr = tCollection->getPfebAddrs();
83 pCollection.m_pfeb_nchan = tCollection->getPfebNChannels();
84 pCollection.m_pfeb_disconnected = tCollection->getPfebDisconnecteds();
85 pCollection.m_trigger_bandid = tCollection->getTriggerBandIds();
86 pCollection.m_trigger_phiid = tCollection->getTriggerPhiIds();
87 pCollection.m_trigger_relbcid = tCollection->getTriggerRelBcids();
88 pCollection.m_bcid_rel = tCollection->getBcidRels();
89 pCollection.m_bcid_status = tCollection->getBcidStatuses();
90 pCollection.m_bcid_multzero = tCollection->getBcidMultZeros();
91 pCollection.m_bcid_multiplicity = tCollection->getBcidMultiplicities();
92 persistentObj->
m_collections.push_back(std::move(pCollection));