Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
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) |
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::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 56 of file MP7BufferDumpToRaw.cc.
|
explicit |
Definition at line 124 of file MP7BufferDumpToRaw.cc.
References boardId_, edm::ParameterSet::getUntrackedParameter(), mps_fire::i, dqmiolumiharvest::j, LogDebug, SiStripPI::max, nBoard_, nFramesPerEvent_, corrVsCorr::rx, rxBlockLength_, rxFileReader_, rxIndex_, MP7FileReader::size(), txBlockLength_, txFileReader_, and txIndex_.
|
override |
Definition at line 214 of file MP7BufferDumpToRaw.cc.
|
static |
Definition at line 423 of file MP7BufferDumpToRaw.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
private |
Definition at line 358 of file MP7BufferDumpToRaw.cc.
References groupFilesInBlocks::block, gather_cfg::blocks, boardId_, fwVer_, mps_fire::i, svgfig::load(), LogDebug, and alignCSCRings::s.
Referenced by produce().
|
private |
Definition at line 399 of file MP7BufferDumpToRaw.cc.
References evf::compute_crc(), FEDRawData::data(), evType_, fedId_, RecoTauValidation_cfi::header, iEvent, LogDebug, jetsAK4_Puppi_cff::payload, FEDRawData::resize(), FEDTrailer::set(), slinkHeaderSize_, and slinkTrailerSize_.
Referenced by produce().
|
private |
Definition at line 261 of file MP7BufferDumpToRaw.cc.
References groupFilesInBlocks::block, gather_cfg::blocks, ztail::d, data, MP7PacketReader::get(), MP7FileReader::get(), mps_fire::i, FileData::link(), LogDebug, nFramesPerEvent_, AlCaHLTBitMon_ParallelJobs::p, packetisedData_, rxBlockLength_, rxFileReader_, rxIndex_, rxPacketReader_, txBlockLength_, txFileReader_, txIndex_, and txPacketReader_.
Referenced by produce().
|
overrideprivatevirtual |
Implements edm::one::EDProducerBase.
Definition at line 224 of file MP7BufferDumpToRaw.cc.
References gather_cfg::blocks, fedId_, EcalFEDMonitor_cfi::FEDRawDataCollection, formatAMC(), formatRaw(), getBlocks(), iBoard_, iEvent, LogDebug, eostools::move(), mux_, nBoard_, and FEDRawData::size().
|
private |
Definition at line 97 of file MP7BufferDumpToRaw.cc.
Referenced by formatAMC(), and MP7BufferDumpToRaw().
|
private |
Definition at line 107 of file MP7BufferDumpToRaw.cc.
Referenced by formatRaw().
|
private |
Definition at line 106 of file MP7BufferDumpToRaw.cc.
Referenced by formatRaw(), and produce().
|
private |
Definition at line 108 of file MP7BufferDumpToRaw.cc.
Referenced by formatAMC().
|
private |
Definition at line 96 of file MP7BufferDumpToRaw.cc.
Referenced by produce().
|
private |
Definition at line 102 of file MP7BufferDumpToRaw.cc.
Referenced by produce().
|
private |
Definition at line 103 of file MP7BufferDumpToRaw.cc.
|
private |
Definition at line 95 of file MP7BufferDumpToRaw.cc.
Referenced by MP7BufferDumpToRaw(), and produce().
|
private |
Definition at line 90 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks(), and MP7BufferDumpToRaw().
|
private |
Definition at line 87 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks().
|
private |
Definition at line 100 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks(), and MP7BufferDumpToRaw().
|
private |
Definition at line 75 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks(), and MP7BufferDumpToRaw().
|
private |
Definition at line 77 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks(), and MP7BufferDumpToRaw().
|
private |
Definition at line 81 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks().
|
private |
Definition at line 109 of file MP7BufferDumpToRaw.cc.
Referenced by formatRaw().
|
private |
Definition at line 110 of file MP7BufferDumpToRaw.cc.
Referenced by formatRaw().
|
private |
Definition at line 101 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks(), and MP7BufferDumpToRaw().
|
private |
Definition at line 76 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks(), and MP7BufferDumpToRaw().
|
private |
Definition at line 78 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks(), and MP7BufferDumpToRaw().
|
private |
Definition at line 82 of file MP7BufferDumpToRaw.cc.
Referenced by getBlocks().