15 #include <Event/Event.h>
16 #include <Event/EventTypes.h>
17 #include <Event/Eventiterator.h>
18 #include <Event/packet.h>
91 uint64_t gtm_bco = packet->
lValue(0,
"BCO");
98 std::cout <<
PHWHERE <<
"evtno: " << EventSequence
99 <<
", bco: 0x" << std::hex << gtm_bco << std::dec
115 if (what ==
"ALL" || what ==
"FEE")
119 std::cout <<
PHWHERE <<
"Beam clock 0x" << std::hex << bcliter << std::dec << std::endl;
122 if (what ==
"ALL" || what ==
"FEEBCLK")
126 std::cout <<
PHWHERE <<
" bclk: 0x"
127 << std::hex << bcliter << std::dec << std::endl;
130 if (what ==
"ALL" || what ==
"STORAGE")
134 std::cout <<
PHWHERE <<
"Beam clock 0x" << std::hex << bcliter.first << std::dec << std::endl;
135 for (
auto feeiter : bcliter.second)
137 std::cout <<
PHWHERE <<
"fee: " << feeiter->get_bco()
138 <<
" at " << std::hex << feeiter << std::dec << std::endl;
142 if (what ==
"ALL" || what ==
"STACK")
146 std::cout <<
PHWHERE <<
"stacked bclk: 0x" << std::hex << iter << std::dec << std::endl;
153 std::vector<uint64_t> toclearbclk;
156 if (iter.first <= bclk)
158 for (
auto pktiter : iter.second)
162 toclearbclk.push_back(iter.first);
174 for (
auto iter : toclearbclk)
178 m_Gl1RawHitMap.erase(iter);
193 std::cout <<
PHWHERE <<
"my bclk 0x" << std::hex << iter
194 <<
" req: 0x" << bclk << std::dec << std::endl;
200 std::cout <<
PHWHERE <<
"FEE " << iter <<
" beamclock 0x" << std::hex << iter
201 <<
" smaller than req bclk: 0x" << bclk << std::dec << std::endl;
236 std::cout <<
PHWHERE <<
"first bclk 0x" << std::hex << lowest_bclk
237 <<
" last bco: 0x" << last_bclk
238 << std::dec << std::endl;
240 if (lowest_bclk >= last_bclk)
263 Gl1RawHit *gl1hitcont = findNode::getClass<Gl1RawHit>(detNode,
"GL1RAWHIT");
268 detNode->addNode(newNode);