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 | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
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::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<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
A plug-in module that takes StripDigis as input from the Event and creates an EDProduct comprising a FEDRawDataCollection.
Definition at line 28 of file SiStripDigiToRawModule.h.
sistrip::DigiToRawModule::DigiToRawModule | ( | const edm::ParameterSet & | pset | ) |
Creates instance of DigiToRaw converter, defines EDProduct type.
Definition at line 37 of file SiStripDigiToRawModule.cc.
References copyBufferHeader_, digiToRaw_, edm::ParameterSet::getParameter(), inputDigiTag_, edm::isDebugEnabled(), LogDebug, mode_, packetCode_, 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 115 of file SiStripDigiToRawModule.cc.
References digiToRaw_, edm::isDebugEnabled(), and LogDebug.
|
inlinevirtual |
Definition at line 35 of file SiStripDigiToRawModule.h.
|
inlinevirtual |
|
override |
Definition at line 177 of file SiStripDigiToRawModule.cc.
References digiToRaw_, and sistrip::DigiToRaw::printWarningSummary().
|
static |
Definition at line 21 of file SiStripDigiToRawModule.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), 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 131 of file SiStripDigiToRawModule.cc.
References copyBufferHeader_, sistrip::DigiToRaw::createFedBuffers(), digiToRaw_, MillePedeFileConverter_cfg::e, eventCounter_, edm::EventSetup::get(), edm::Event::getByToken(), edm::isDebugEnabled(), eostools::move(), edm::Event::put(), rawDataTag_, rawdigi_, tokenDigi, tokenRawBuffer, and tokenRawDigi.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 45 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().
|
private |
Definition at line 49 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), endStream(), produce(), and ~DigiToRawModule().
|
private |
Definition at line 50 of file SiStripDigiToRawModule.h.
Referenced by produce().
|
private |
Definition at line 51 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule().
|
private |
Definition at line 46 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule().
|
private |
Definition at line 47 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule().
|
private |
Definition at line 54 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().
|
private |
Definition at line 48 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().
|
private |
Definition at line 53 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().
|
private |
Definition at line 55 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().
|
private |
Definition at line 52 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().