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) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
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) |
template<Transition B> | |
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 (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 49 of file AMCDumpToRaw.cc.
|
explicit |
Definition at line 97 of file AMCDumpToRaw.cc.
|
override |
Definition at line 109 of file AMCDumpToRaw.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 200 of file AMCDumpToRaw.cc.
References file_, filename_, and recoMuon::in.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 209 of file AMCDumpToRaw.cc.
References file_.
|
static |
Definition at line 244 of file AMCDumpToRaw.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 159 of file AMCDumpToRaw.cc.
References boardId_, mps_fire::i, iAmc_, and LogDebug.
Referenced by produce().
|
private |
Definition at line 176 of file AMCDumpToRaw.cc.
References evf::compute_crc(), FEDRawData::data(), evType_, fedId_, RecoTauValidation_cfi::header, iEvent, LogDebug, jets_cff::payload, FEDRawData::resize(), FEDTrailer::set(), findQualityFiles::size, slinkHeaderSize_, and slinkTrailerSize_.
Referenced by produce().
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 119 of file AMCDumpToRaw.cc.
References fedId_, EcalFEDMonitor_cfi::FEDRawDataCollection, formatAMC(), formatRaw(), iEvent, LogDebug, eostools::move(), readEvent(), and FEDRawData::size().
|
private |
Definition at line 145 of file AMCDumpToRaw.cc.
References ztail::d, file_, mps_splice::line, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 79 of file AMCDumpToRaw.cc.
Referenced by formatAMC().
|
private |
Definition at line 80 of file AMCDumpToRaw.cc.
Referenced by formatRaw().
|
private |
Definition at line 77 of file AMCDumpToRaw.cc.
Referenced by formatRaw(), and produce().
|
private |
Definition at line 73 of file AMCDumpToRaw.cc.
Referenced by beginJob(), endJob(), and readEvent().
|
private |
Definition at line 74 of file AMCDumpToRaw.cc.
Referenced by beginJob().
|
private |
Definition at line 81 of file AMCDumpToRaw.cc.
|
private |
Definition at line 78 of file AMCDumpToRaw.cc.
Referenced by formatAMC().
|
private |
Definition at line 82 of file AMCDumpToRaw.cc.
Referenced by formatRaw().
|
private |
Definition at line 83 of file AMCDumpToRaw.cc.
Referenced by formatRaw().