Public Member Functions | |
MP7BufferDumpToRaw (const edm::ParameterSet &) | |
~MP7BufferDumpToRaw () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual void | beginJob () override |
virtual void | endJob () override |
void | formatAMC (amc13::Packet &amc13, const std::vector< Block > &blocks, int iAmc) |
void | formatRaw (edm::Event &iEvent, amc13::Packet &amc13, FEDRawData &fed_data) |
std::vector< Block > | getBlocks (int iAmc) |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::vector< int > | boardId_ |
int | evType_ |
int | fedId_ |
int | fwVer_ |
unsigned | iBoard_ |
bool | mux_ |
int | muxOffset_ |
unsigned | nBoard_ |
unsigned | nFramesPerEvent_ |
bool | packetisedData_ |
std::vector< std::vector< int > > | rxBlockLength_ |
MP7FileReader | rxFileReader_ |
std::vector< unsigned > | rxIndex_ |
MP7PacketReader | rxPacketReader_ |
int | slinkHeaderSize_ |
int | slinkTrailerSize_ |
std::vector< std::vector< int > > | txBlockLength_ |
MP7FileReader | txFileReader_ |
std::vector< unsigned > | txIndex_ |
MP7PacketReader | txPacketReader_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 57 of file MP7BufferDumpToRaw.cc.
|
explicit |
Definition at line 134 of file MP7BufferDumpToRaw.cc.
References boardId_, edm::ParameterSet::getUntrackedParameter(), i, j, LogDebug, bookConverter::max, nBoard_, nFramesPerEvent_, corrVsCorr::rx, rxBlockLength_, rxFileReader_, rxIndex_, MP7FileReader::size(), txBlockLength_, txFileReader_, and txIndex_.
l1t::MP7BufferDumpToRaw::~MP7BufferDumpToRaw | ( | ) |
Definition at line 224 of file MP7BufferDumpToRaw.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 465 of file MP7BufferDumpToRaw.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 475 of file MP7BufferDumpToRaw.cc.
|
static |
Definition at line 515 of file MP7BufferDumpToRaw.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 390 of file MP7BufferDumpToRaw.cc.
References amc13::Packet::add(), createPayload::block, boardId_, fwVer_, i, load(), LogDebug, l1t::MP7, and alignCSCRings::s.
Referenced by produce().
|
private |
Definition at line 436 of file MP7BufferDumpToRaw.cc.
References edm::EventBase::bunchCrossing(), evf::compute_crc(), FEDRawData::data(), edm::EventID::event(), evType_, fedId_, edm::EventBase::id(), LogDebug, FEDRawData::resize(), FEDTrailer::set(), FEDHeader::set(), amc13::Packet::size(), findQualityFiles::size, slinkHeaderSize_, slinkTrailerSize_, and amc13::Packet::write().
Referenced by produce().
|
private |
Definition at line 282 of file MP7BufferDumpToRaw.cc.
References PacketData::begin(), createPayload::block, gather_cfg::blocks, ztail::d, data, MP7PacketReader::get(), MP7FileReader::get(), i, FileData::link(), MainPageGenerator::link, LogDebug, nFramesPerEvent_, AlCaHLTBitMon_ParallelJobs::p, packetisedData_, rxBlockLength_, rxFileReader_, rxIndex_, rxPacketReader_, findQualityFiles::size, txBlockLength_, txFileReader_, txIndex_, and txPacketReader_.
Referenced by produce().
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 239 of file MP7BufferDumpToRaw.cc.
References gather_cfg::blocks, fedId_, formatAMC(), formatRaw(), getBlocks(), iBoard_, LogDebug, mux_, nBoard_, and edm::Event::put().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 106 of file MP7BufferDumpToRaw.cc.
Referenced by formatAMC(), and MP7BufferDumpToRaw().
|
private |
Definition at line 116 of file MP7BufferDumpToRaw.cc.
Referenced by formatRaw().
|
private |
Definition at line 115 of file MP7BufferDumpToRaw.cc.
Referenced by formatRaw(), and produce().
|
private |
Definition at line 117 of file MP7BufferDumpToRaw.cc.
Referenced by formatAMC().
|
private |
Definition at line 105 of file MP7BufferDumpToRaw.cc.
Referenced by produce().
|
private |
Definition at line 111 of file MP7BufferDumpToRaw.cc.
Referenced by produce().
|
private |
Definition at line 112 of file MP7BufferDumpToRaw.cc.
|
private |
Definition at line 104 of file MP7BufferDumpToRaw.cc.
Referenced by MP7BufferDumpToRaw(), and produce().
|
private |
Definition at line 99 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks(), and MP7BufferDumpToRaw().
|
private |
Definition at line 96 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks().
|
private |
Definition at line 109 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks(), and MP7BufferDumpToRaw().
|
private |
Definition at line 84 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks(), and MP7BufferDumpToRaw().
|
private |
Definition at line 86 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks(), and MP7BufferDumpToRaw().
|
private |
Definition at line 90 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks().
|
private |
Definition at line 118 of file MP7BufferDumpToRaw.cc.
Referenced by formatRaw().
|
private |
Definition at line 119 of file MP7BufferDumpToRaw.cc.
Referenced by formatRaw().
|
private |
Definition at line 110 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks(), and MP7BufferDumpToRaw().
|
private |
Definition at line 85 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks(), and MP7BufferDumpToRaw().
|
private |
Definition at line 87 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks(), and MP7BufferDumpToRaw().
|
private |
Definition at line 91 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks().