1 #ifndef DQM_SiStripMonitorHardware_SiStripSpyDigiConverter_H 2 #define DQM_SiStripMonitorHardware_SiStripSpyDigiConverter_H 4 #include "boost/cstdint.hpp" 39 static std::unique_ptr<DSVRawDigis>
extractPayloadDigis(
const DSVRawDigis * inputScopeDigis,
40 std::vector<uint32_t> * pAPVAddresses,
41 const bool discardDigisWithAPVAddrErr,
43 const uint16_t expectedPos);
46 static std::unique_ptr<DSVRawDigis>
reorderDigis(
const DSVRawDigis* inputPayloadDigis);
55 static void processFED(
const uint16_t aPreviousFedId,
56 const bool discardDigisWithAPVAddrErr,
57 std::vector<uint32_t> * pAPVAddresses,
58 std::vector<DetSetRawDigis> & outputData,
59 std::vector<uint16_t> & aAddrVec,
60 std::vector<uint16_t> & aHeaderBitVec,
61 std::vector<uint16_t> & aTrailBitVec,
62 std::vector<DSVRawDigis::const_iterator> & aFedScopeDigis
69 #endif // DQM_SiStripMonitorHardware_SiStripSpyDigiConverter_H static std::unique_ptr< DSVRawDigis > reorderDigis(const DSVRawDigis *inputPayloadDigis)
Converts scope mode like digis into virgin raw like digis by: -extracting the frame payload...
DSVRawDigis::detset DetSetRawDigis
static std::unique_ptr< DSVRawDigis > extractPayloadDigis(const DSVRawDigis *inputScopeDigis, std::vector< uint32_t > *pAPVAddresses, const bool discardDigisWithAPVAddrErr, const sistrip::SpyUtilities::FrameQuality &aQuality, const uint16_t expectedPos)
Extract frames from the scope digis.
static std::unique_ptr< DSVRawDigis > mergeModuleChannels(const DSVRawDigis *inputPhysicalOrderChannelDigis, const SiStripFedCabling &cabling)
edm::DetSetVector< SiStripRawDigi > DSVRawDigis
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses...
static void processFED(const uint16_t aPreviousFedId, const bool discardDigisWithAPVAddrErr, std::vector< uint32_t > *pAPVAddresses, std::vector< DetSetRawDigis > &outputData, std::vector< uint16_t > &aAddrVec, std::vector< uint16_t > &aHeaderBitVec, std::vector< uint16_t > &aTrailBitVec, std::vector< DSVRawDigis::const_iterator > &aFedScopeDigis)