Input: edm::DetSetVector<SiStripDigi>. Output: FEDRawDataCollection. More...
#include <SiStripDigiToRaw.h>
Private Member Functions | |
template<class Digi_t > | |
void | createFedBuffers_ (edm::Event &, edm::ESHandle< SiStripFedCabling > &cabling, edm::Handle< edm::DetSetVector< Digi_t > > &digis, std::unique_ptr< FEDRawDataCollection > &buffers, bool zeroSuppressed) |
template<class Digi_t > | |
void | createFedBuffers_ (edm::Event &, edm::ESHandle< SiStripFedCabling > &cabling, edm::Handle< FEDRawDataCollection > &rawbuffers, edm::Handle< edm::DetSetVector< Digi_t > > &digis, std::unique_ptr< FEDRawDataCollection > &buffers, bool zeroSuppressed) |
uint16_t | STRIP (const edm::DetSet< SiStripDigi >::const_iterator &it, const edm::DetSet< SiStripDigi >::const_iterator &begin) const |
uint16_t | STRIP (const edm::DetSet< SiStripRawDigi >::const_iterator &it, const edm::DetSet< SiStripRawDigi >::const_iterator &begin) const |
Private Attributes | |
FEDBufferGenerator | bufferGenerator_ |
FEDReadoutMode | mode_ |
uint8_t | packetCode_ |
bool | useFedKey_ |
WarningSummary | warnings_ |
Input: edm::DetSetVector<SiStripDigi>. Output: FEDRawDataCollection.
Definition at line 30 of file SiStripDigiToRaw.h.
sistrip::DigiToRaw::DigiToRaw | ( | FEDReadoutMode | mode, |
uint8_t | packetCode, | ||
bool | use_fed_key | ||
) |
Definition at line 24 of file SiStripDigiToRaw.cc.
References bufferGenerator_, edm::isDebugEnabled(), LogDebug, mode_, and sistrip::FEDBufferGenerator::setReadoutMode().
sistrip::DigiToRaw::~DigiToRaw | ( | ) |
void sistrip::DigiToRaw::createFedBuffers | ( | edm::Event & | event, |
edm::ESHandle< SiStripFedCabling > & | cabling, | ||
edm::Handle< edm::DetSetVector< SiStripDigi > > & | collection, | ||
std::unique_ptr< FEDRawDataCollection > & | buffers | ||
) |
Input: DetSetVector of SiStripDigis. Output: FEDRawDataCollection. Retrieves and iterates through FED buffers, extract FEDRawData from collection and (optionally) dumps raw data to stdout, locates start of FED buffer by identifying DAQ header, creates new Fed9UEvent object using current FEDRawData buffer, dumps FED buffer to stdout, retrieves data from various header fields
Definition at line 55 of file SiStripDigiToRaw.cc.
References universalConfigTemplate::collection, and createFedBuffers_().
Referenced by sistrip::DigiToRawModule::produce().
void sistrip::DigiToRaw::createFedBuffers | ( | edm::Event & | event, |
edm::ESHandle< SiStripFedCabling > & | cabling, | ||
edm::Handle< edm::DetSetVector< SiStripRawDigi > > & | digis, | ||
std::unique_ptr< FEDRawDataCollection > & | buffers | ||
) |
Definition at line 62 of file SiStripDigiToRaw.cc.
References universalConfigTemplate::collection, and createFedBuffers_().
void sistrip::DigiToRaw::createFedBuffers | ( | edm::Event & | event, |
edm::ESHandle< SiStripFedCabling > & | cabling, | ||
edm::Handle< FEDRawDataCollection > & | rawbuffers, | ||
edm::Handle< edm::DetSetVector< SiStripDigi > > & | digis, | ||
std::unique_ptr< FEDRawDataCollection > & | buffers | ||
) |
Definition at line 70 of file SiStripDigiToRaw.cc.
References universalConfigTemplate::collection, and createFedBuffers_().
void sistrip::DigiToRaw::createFedBuffers | ( | edm::Event & | event, |
edm::ESHandle< SiStripFedCabling > & | cabling, | ||
edm::Handle< FEDRawDataCollection > & | rawbuffers, | ||
edm::Handle< edm::DetSetVector< SiStripRawDigi > > & | digis, | ||
std::unique_ptr< FEDRawDataCollection > & | buffers | ||
) |
Definition at line 78 of file SiStripDigiToRaw.cc.
References universalConfigTemplate::collection, and createFedBuffers_().
|
private |
Definition at line 87 of file SiStripDigiToRaw.cc.
References universalConfigTemplate::collection, and apvshotsanalyzer_cfi::zeroSuppressed.
Referenced by createFedBuffers().
|
private |
Definition at line 98 of file SiStripDigiToRaw.cc.
References sistrip::WarningSummary::add(), sistrip::TrackerSpecialHeader::apvAddressErrorRegister(), sistrip::TrackerSpecialHeader::apveAddress(), sistrip::TrackerSpecialHeader::bufferFormat(), bufferGenerator_, universalConfigTemplate::collection, gather_cfg::cout, sistrip::FEDBufferGenerator::daqHeader(), sistrip::FEDBufferGenerator::daqTrailer(), edm::DetSet< T >::data, MillePedeFileConverter_cfg::e, cppFunctionSkipper::exception, sistrip::FEDCH_PER_FEUNIT, SiStripFedCabling::fedConnections(), FEDRawDataCollection::FEDData(), SiStripFedCabling::fedIds(), sistrip::TrackerSpecialHeader::fedStatusRegister(), sistrip::TrackerSpecialHeader::feEnableRegister(), sistrip::FEDBufferGenerator::feHeader(), sistrip::TrackerSpecialHeader::feOverflowRegister(), sistrip::FEUNITS_PER_FED, dqm-mbProfile::format, sistrip::FEDBufferGenerator::generateBuffer(), sistrip::FEDBufferGenerator::getBufferFormat(), sistrip::FEDBufferGenerator::getDAQEventType(), sistrip::HEADER_TYPE_FULL_DEBUG, sistrip::HEADER_TYPE_INVALID, sistrip::TrackerSpecialHeader::headerType(), sistrip::invalid32_, sistrip::invalid_, edm::isDebugEnabled(), edm::HandleBase::isValid(), submitPVResolutionJobs::key, sistrip::FEDFEHeader::lengthInBytes(), mode_, sistrip::PACKET_CODE_ZERO_SUPPRESSED10, packetCode_, sistrip::preconstructCheckFEDBuffer(), sistrip::TrackerSpecialHeader::print(), sistrip::FEDFEHeader::print(), sistrip::READOUT_MODE_PREMIX_RAW, sistrip::READOUT_MODE_SCOPE, sistrip::READOUT_MODE_ZERO_SUPPRESSED, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE10, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE10_CMOVERRIDE, sistrip::TrackerSpecialHeader::readoutMode(), sistrip::FEDBufferGenerator::setFEUnitEnables(), sistrip::FEDBufferGenerator::setHeaderType(), sistrip::FEDBufferGenerator::setL1ID(), sistrip::FEDBufferGenerator::setReadoutMode(), FEDRawData::size(), contentValuesCheck::ss, nano_mu_digi_cff::strip, STRIP(), sistrip::STRIPS_PER_FEDCH, sistrip::SUCCESS, sistrip::FEDBufferGenerator::trackerSpecialHeader(), useFedKey_, relativeConstraints::value, warnings_, and apvshotsanalyzer_cfi::zeroSuppressed.
|
inline |
Definition at line 57 of file SiStripDigiToRaw.h.
References ALCARECOPromptCalibProdSiPixelAli0T_cff::mode.
|
inline |
Definition at line 59 of file SiStripDigiToRaw.h.
Referenced by sistrip::DigiToRawModule::endStream().
|
inlineprivate |
Definition at line 444 of file SiStripDigiToRaw.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.
Referenced by createFedBuffers_().
|
inlineprivate |
Definition at line 448 of file SiStripDigiToRaw.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.
|
private |
Definition at line 85 of file SiStripDigiToRaw.h.
Referenced by createFedBuffers_(), and DigiToRaw().
|
private |
Definition at line 82 of file SiStripDigiToRaw.h.
Referenced by createFedBuffers_(), and DigiToRaw().
|
private |
Definition at line 83 of file SiStripDigiToRaw.h.
Referenced by createFedBuffers_().
|
private |
Definition at line 84 of file SiStripDigiToRaw.h.
Referenced by createFedBuffers_().
|
private |
Definition at line 87 of file SiStripDigiToRaw.h.
Referenced by createFedBuffers_().