Public Member Functions | |
AMCDumpToRaw (const edm::ParameterSet &) | |
~AMCDumpToRaw () override | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
~EDProducer () override | |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
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, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
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 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 | |
void | beginJob () override |
void | endJob () override |
void | formatAMC (amc13::Packet &amc13, const std::vector< uint32_t > &load32) |
void | formatRaw (edm::Event &iEvent, amc13::Packet &amc13, FEDRawData &fed_data) |
void | produce (edm::Event &, const edm::EventSetup &) override |
void | readEvent (std::vector< uint32_t > &load32) |
Private Attributes | |
int | boardId_ |
int | evType_ |
int | fedId_ |
std::ifstream | file_ |
std::string | filename_ |
int | fwVer_ |
int | iAmc_ |
int | slinkHeaderSize_ |
int | slinkTrailerSize_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
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::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 51 of file AMCDumpToRaw.cc.
|
explicit |
Definition at line 101 of file AMCDumpToRaw.cc.
|
override |
Definition at line 117 of file AMCDumpToRaw.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 233 of file AMCDumpToRaw.cc.
References file_, filename_, and recoMuon::in.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 246 of file AMCDumpToRaw.cc.
References file_.
|
static |
Definition at line 287 of file AMCDumpToRaw.cc.
References edm::ConfigurationDescriptions::addDefault(), DEFINE_FWK_MODULE, and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 182 of file AMCDumpToRaw.cc.
References amc13::Packet::add(), boardId_, mps_fire::i, iAmc_, and LogDebug.
Referenced by produce().
|
private |
Definition at line 204 of file AMCDumpToRaw.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().
|
overrideprivate |
Definition at line 132 of file AMCDumpToRaw.cc.
References fedId_, formatAMC(), formatRaw(), LogDebug, eostools::move(), edm::Event::put(), readEvent(), FEDRawData::size(), and amc13::Packet::size().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 162 of file AMCDumpToRaw.cc.
References edmIntegrityCheck::d, file_, geometryCSVtoXML::line, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 82 of file AMCDumpToRaw.cc.
Referenced by formatAMC().
|
private |
Definition at line 83 of file AMCDumpToRaw.cc.
Referenced by formatRaw().
|
private |
Definition at line 80 of file AMCDumpToRaw.cc.
Referenced by formatRaw(), and produce().
|
private |
Definition at line 76 of file AMCDumpToRaw.cc.
Referenced by beginJob(), endJob(), and readEvent().
|
private |
Definition at line 77 of file AMCDumpToRaw.cc.
Referenced by beginJob().
|
private |
Definition at line 84 of file AMCDumpToRaw.cc.
|
private |
Definition at line 81 of file AMCDumpToRaw.cc.
Referenced by formatAMC().
|
private |
Definition at line 85 of file AMCDumpToRaw.cc.
Referenced by formatRaw().
|
private |
Definition at line 86 of file AMCDumpToRaw.cc.
Referenced by formatRaw().