A plug-in module that takes StripDigis as input from the Event and creates an EDProduct comprising a FEDRawDataCollection. More...
#include <SiStripDigiToRawModule.h>
Public Member Functions | |
virtual void | beginJob () |
DigiToRawModule (const edm::ParameterSet &) | |
virtual void | endJob () |
void | endStream () override |
void | produce (edm::Event &, const edm::EventSetup &) override |
~DigiToRawModule () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
EDProducer (const EDProducer &)=delete | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
const EDProducer & | operator= (const EDProducer &)=delete |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Attributes | |
bool | copyBufferHeader_ |
DigiToRaw * | digiToRaw_ |
uint32_t | eventCounter_ |
edm::InputTag | inputDigiTag_ |
FEDReadoutMode | mode_ |
uint8_t | packetCode_ |
edm::InputTag | rawDataTag_ |
bool | rawdigi_ |
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > | tokenCabling |
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > | tokenDigi |
edm::EDGetTokenT< FEDRawDataCollection > | tokenRawBuffer |
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > | tokenRawDigi |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
A plug-in module that takes StripDigis as input from the Event and creates an EDProduct comprising a FEDRawDataCollection.
Definition at line 32 of file SiStripDigiToRawModule.h.
sistrip::DigiToRawModule::DigiToRawModule | ( | const edm::ParameterSet & | pset | ) |
Creates instance of DigiToRaw converter, defines EDProduct type.
Definition at line 36 of file SiStripDigiToRawModule.cc.
References copyBufferHeader_, DigiToRaw_cff::DigiToRaw, digiToRaw_, inputDigiTag_, edm::isDebugEnabled(), LogDebug, mode_, packetCode_, muonDTDigis_cfi::pset, rawDataTag_, rawdigi_, sistrip::READOUT_MODE_INVALID, sistrip::READOUT_MODE_PREMIX_RAW, sistrip::READOUT_MODE_PROC_RAW, sistrip::READOUT_MODE_SCOPE, sistrip::READOUT_MODE_SPY, sistrip::READOUT_MODE_VIRGIN_RAW, sistrip::READOUT_MODE_ZERO_SUPPRESSED, sistrip::READOUT_MODE_ZERO_SUPPRESSED_FAKE, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE10, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE10_CMOVERRIDE, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_BOTBOT, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_BOTBOT_CMOVERRIDE, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_CMOVERRIDE, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_TOPBOT, sistrip::READOUT_MODE_ZERO_SUPPRESSED_LITE8_TOPBOT_CMOVERRIDE, AlCaHLTBitMon_QueryRunRegistry::string, tokenDigi, tokenRawBuffer, and tokenRawDigi.
|
override |
Definition at line 138 of file SiStripDigiToRawModule.cc.
References digiToRaw_, edm::isDebugEnabled(), and LogDebug.
|
inlinevirtual |
Definition at line 37 of file SiStripDigiToRawModule.h.
|
inlinevirtual |
Definition at line 38 of file SiStripDigiToRawModule.h.
|
override |
Definition at line 197 of file SiStripDigiToRawModule.cc.
References digiToRaw_, and sistrip::DigiToRaw::printWarningSummary().
|
static |
Definition at line 20 of file SiStripDigiToRawModule.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Retrieves cabling map from EventSetup, retrieves a DetSetVector of SiStripDigis from Event, creates a FEDRawDataCollection (EDProduct), uses DigiToRaw converter to fill FEDRawDataCollection, attaches FEDRawDataCollection to Event.
Definition at line 154 of file SiStripDigiToRawModule.cc.
References copyBufferHeader_, sistrip::DigiToRaw::createFedBuffers(), digiToRaw_, MillePedeFileConverter_cfg::e, eventCounter_, edm::EventSetup::getHandle(), iEvent, edm::isDebugEnabled(), eostools::move(), rawDataTag_, rawdigi_, tokenCabling, tokenDigi, tokenRawBuffer, and tokenRawDigi.
|
private |
Definition at line 46 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().
|
private |
Definition at line 50 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), endStream(), produce(), and ~DigiToRawModule().
|
private |
Definition at line 51 of file SiStripDigiToRawModule.h.
Referenced by produce().
|
private |
Definition at line 52 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule().
|
private |
Definition at line 47 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule().
|
private |
Definition at line 48 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule().
|
private |
Definition at line 55 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().
|
private |
Definition at line 49 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().
|
private |
Definition at line 57 of file SiStripDigiToRawModule.h.
Referenced by produce().
|
private |
Definition at line 54 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().
|
private |
Definition at line 56 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().
|
private |
Definition at line 53 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().