7 #include <Event/Eventiterator.h>
8 #include <Event/fileEventiterator.h>
33 std::cout <<
PHWHERE <<
"trying to open " << filenam << std::endl;
36 std::cout <<
"Closing currently open file "
38 <<
" and opening " << filenam << std::endl;
46 std::cout <<
Name() <<
": opening file " <<
FileName() << std::endl;
55 std::cout <<
PHWHERE <<
Name() <<
": could not open file " << fname << std::endl;
67 std::cout <<
Name() <<
": fileclose: No Input file open" << std::endl;
81 if (what ==
"ALL" || what ==
"FEE")
85 std::cout <<
"Beam clock 0x" << std::hex << bcliter.first << std::dec << std::endl;
86 for (
auto feeiter : bcliter.second)
88 std::cout <<
"FEM: " << feeiter << std::endl;
92 if (what ==
"ALL" || what ==
"FEEBCLK")
96 std::cout <<
"FEE" << bcliter.first <<
" bclk: 0x"
97 << std::hex << bcliter.second << std::dec << std::endl;
100 if (what ==
"ALL" || what ==
"STACK")
104 std::cout <<
"stacked bclk: 0x" << std::hex << iter << std::dec << std::endl;
120 std::cout <<
"my bclk 0x" << std::hex << iter.second
121 <<
" req: 0x" << bclk << std::dec << std::endl;
123 if (iter.second < bclk)
127 std::cout <<
"FEE " << iter.first <<
" beamclock 0x" << std::hex << iter.second
128 <<
" smaller than req bclk: 0x" << bclk << std::dec << std::endl;
140 std::cout <<
"clearing bclk 0x" << std::hex << currentbclk << std::dec << std::endl;