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 | 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::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 49 of file AMCDumpToRaw.cc.
|
explicit |
Definition at line 92 of file AMCDumpToRaw.cc.
|
override |
Definition at line 104 of file AMCDumpToRaw.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 195 of file AMCDumpToRaw.cc.
References file_, filename_, and recoMuon::in.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 204 of file AMCDumpToRaw.cc.
References file_.
|
static |
Definition at line 207 of file AMCDumpToRaw.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
private |
Definition at line 154 of file AMCDumpToRaw.cc.
References boardId_, mps_fire::i, iAmc_, and LogDebug.
Referenced by produce().
|
private |
Definition at line 171 of file AMCDumpToRaw.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().
|
overrideprivatevirtual |
Implements edm::one::EDProducerBase.
Definition at line 114 of file AMCDumpToRaw.cc.
References fedId_, EcalFEDMonitor_cfi::FEDRawDataCollection, formatAMC(), formatRaw(), iEvent, LogDebug, eostools::move(), readEvent(), and FEDRawData::size().
|
private |
Definition at line 140 of file AMCDumpToRaw.cc.
References ztail::d, file_, mps_splice::line, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
private |
Definition at line 74 of file AMCDumpToRaw.cc.
Referenced by formatAMC().
|
private |
Definition at line 75 of file AMCDumpToRaw.cc.
Referenced by formatRaw().
|
private |
Definition at line 72 of file AMCDumpToRaw.cc.
Referenced by formatRaw(), and produce().
|
private |
Definition at line 68 of file AMCDumpToRaw.cc.
Referenced by beginJob(), endJob(), and readEvent().
|
private |
Definition at line 69 of file AMCDumpToRaw.cc.
Referenced by beginJob().
|
private |
Definition at line 76 of file AMCDumpToRaw.cc.
|
private |
Definition at line 73 of file AMCDumpToRaw.cc.
Referenced by formatAMC().
|
private |
Definition at line 77 of file AMCDumpToRaw.cc.
Referenced by formatRaw().
|
private |
Definition at line 78 of file AMCDumpToRaw.cc.
Referenced by formatRaw().