25 #include "boost/scoped_array.hpp"
58 produces<SiStripEventSummary>();
71 bool fedFound =
false;
72 uint32_t fedEventNumber = 0;
73 uint32_t fedBxNumber = 0;
76 if (fedData.
size() && fedData.
data()) {
80 <<
"An exception of category 'FEDBuffer' occurred.\n"
85 fedEventNumber =
buffer.daqLvl1ID();
86 fedBxNumber =
buffer.daqBXID();
99 pSummary->triggerFed(0);
101 pSummary->event(fedEventNumber);
102 pSummary->bx(fedBxNumber);
104 const int maxTriggerFedBufferSize = 84;
105 boost::scoped_array<uint32_t> fakeTriggerFedData(
new uint32_t[maxTriggerFedBufferSize]);
106 for (uint8_t
i = 0;
i < maxTriggerFedBufferSize; ++
i) {
107 fakeTriggerFedData[
i] = 0;
110 fakeTriggerFedData[15] = 1;
112 fakeTriggerFedData[0] = 0;
114 fakeTriggerFedData[20] = 1;
118 pSummary->commissioningInfo(fakeTriggerFedData.get(), fedEventNumber);
153 <<
". Parameters need to be set from real trigger FED. Parameters will be set to 0.";