![]() |
![]() |
Public Member Functions | |
MP7BufferDumpToRaw (const edm::ParameterSet &) | |
~MP7BufferDumpToRaw () | |
![]() | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
![]() | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
![]() | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
![]() | |
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 | |
![]() | |
typedef EDProducer | ModuleType |
![]() | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
typedef ProductLabels | Labels |
![]() | |
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(), mps_fire::i, LogDebug, hpstanc_transforms::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(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 390 of file MP7BufferDumpToRaw.cc.
References amc13::Packet::add(), groupFilesInBlocks::block, boardId_, fwVer_, mps_fire::i, svgfig::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_, RecoTauValidation_cfi::header, edm::EventBase::id(), LogDebug, jetCorrFactors_cfi::payload, 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(), groupFilesInBlocks::block, gather_cfg::blocks, edmIntegrityCheck::d, data, MP7PacketReader::get(), MP7FileReader::get(), mps_fire::i, FileData::link(), LogDebug, nFramesPerEvent_, AlCaHLTBitMon_ParallelJobs::p, packetisedData_, rxBlockLength_, rxFileReader_, rxIndex_, rxPacketReader_, findQualityFiles::size, txBlockLength_, txFileReader_, txIndex_, and txPacketReader_.
Referenced by produce().
|
overrideprivatevirtual |
Definition at line 239 of file MP7BufferDumpToRaw.cc.
References gather_cfg::blocks, fedId_, formatAMC(), formatRaw(), getBlocks(), iBoard_, LogDebug, eostools::move(), mux_, nBoard_, edm::Event::put(), FEDRawData::size(), and amc13::Packet::size().
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().