4 #ifdef SiStripMonitorHardware_BuildEventMatchingCode
40 uint8_t& apvAddress)
const;
41 void copyData(
const uint32_t eventId,
42 const uint8_t apvAddress,
53 std::unique_ptr<SpyUtilities>
utils_;
63 : filterNonMatchingEvents_(
config.getParameter<
bool>(
"FilterNonMatchingEvents")),
64 doMerge_(
config.getParameter<
bool>(
"MergeData")),
65 primaryStreamRawDataTag_(
config.getParameter<
edm::
InputTag>(
"PrimaryEventRawDataTag")),
70 produces<FEDRawDataCollection>(
"RawSpyData");
71 produces<std::vector<uint32_t> >(
"SpyTotalEventCount");
72 produces<std::vector<uint32_t> >(
"SpyL1ACount");
73 produces<std::vector<uint32_t> >(
"SpyAPVAddress");
74 produces<edm::DetSetVector<SiStripRawDigi> >(
"SpyScope");
75 produces<edm::DetSetVector<SiStripRawDigi> >(
"SpyPayload");
76 produces<edm::DetSetVector<SiStripRawDigi> >(
"SpyReordered");
77 produces<edm::DetSetVector<SiStripRawDigi> >(
"SpyVirginRaw");
87 uint8_t apvAddress = 0;
109 uint8_t& apvAddress)
const {
113 for (
auto iFedId = cabling.
fedIds().begin(); iFedId != cabling.
fedIds().end(); ++iFedId) {
118 <<
". Exception was: An exception of category 'FEDBuffer' occurred.\n"
119 << st_buffer <<
" (see debug output for details)";
123 const auto st_chan =
buffer.findChannels();
125 LogDebug(
messageLabel_) <<
"Failed to build FED buffer for FED ID " << *iFedId <<
". Exception was " << st_chan
126 <<
" (see above for more details)";
129 if (!
buffer.doChecks(
true)) {
133 l1ID =
buffer.daqLvl1ID();
134 apvAddress =
buffer.trackerSpecialHeader().apveAddress();
135 if (apvAddress != 0) {
143 for (
auto iConn = connections.begin(); iConn != connections.end(); ++iConn) {
144 if (!iConn->isConnected()) {
147 if (!
buffer.channelGood(iConn->fedCh(),
true)) {
161 const uint8_t apvAddress,
167 if (matchedCollections.
rawData.get())
192 #endif //SiStripMonitorHardware_BuildEventMatchingCode