7 #include <Event/A_Event.h>
8 #include <Event/Event.h>
9 #include <Event/oEvent.h>
10 #include <Event/packet.h>
11 #include <Event/phenixTypes.h>
25 , m_MyManager(nullptr)
63 std::queue<int> savepacket;
64 unsigned int size = 0;
80 std::map<int, boost::numeric::interval<int> >::const_iterator dropiter;
90 if (packetid < dropiter->first)
108 if (packetid < dropiter->first)
128 cout <<
"Fun4AllEventOutStream: dropping packet " << i
141 while (!savepacket.empty())
143 int index = savepacket.front();
144 new_event.addPacket(
plist[index]);
173 boost::numeric::interval<int> newinterval;
176 newinterval.assign(minpacket, maxpacket);
180 cout <<
"Exception thrown: " << e.what() << endl;
181 cout <<
"for interval[" << minpacket <<
"," << maxpacket <<
"]" << endl;
182 cout <<
"exiting" << endl;
188 cout <<
PHWHERE <<
" boost interval does not cover minpacket " << minpacket << endl;
189 cout <<
"that is seriously wrong, exiting" << endl;
194 cout <<
PHWHERE <<
" boost interval does not cover maxpacket " << maxpacket << endl;
195 cout <<
"that is seriously wrong, exiting" << endl;
205 boost::numeric::interval<int> newinterval;
208 newinterval.assign(minpacket, maxpacket);
212 cout <<
"Exception thrown: " << e.what() << endl;
213 cout <<
"for interval[" << minpacket <<
"," << maxpacket <<
"]" << endl;
214 cout <<
"exiting" << endl;
220 cout <<
PHWHERE <<
" boost interval does not cover minpacket " << minpacket << endl;
221 cout <<
"that is seriously wrong, exiting" << endl;
226 cout <<
PHWHERE <<
" boost interval does not cover maxpacket " << maxpacket << endl;
227 cout <<
"that is seriously wrong, exiting" << endl;