A plug-in module that takes StripDigis as input from the Event and creates an EDProduct comprising a FEDRawDataCollection. More...
#include <SiStripDigiToRawModule.h>
Private Attributes | |
DigiToRaw * | digiToRaw_ |
uint32_t | eventCounter_ |
std::string | inputDigiLabel_ |
std::string | inputModuleLabel_ |
FEDReadoutMode | mode_ |
bool | rawdigi_ |
edm::EDGetTokenT < edm::DetSetVector < SiStripDigi > > | tokenDigi |
edm::EDGetTokenT < edm::DetSetVector < SiStripRawDigi > > | tokenRawDigi |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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) |
A plug-in module that takes StripDigis as input from the Event and creates an EDProduct comprising a FEDRawDataCollection.
Definition at line 24 of file SiStripDigiToRawModule.h.
sistrip::DigiToRawModule::DigiToRawModule | ( | const edm::ParameterSet & | pset | ) |
Creates instance of DigiToRaw converter, defines EDProduct type.
Definition at line 21 of file SiStripDigiToRawModule.cc.
References DigiToRaw_cff::DigiToRaw, digiToRaw_, edm::ParameterSet::getParameter(), inputDigiLabel_, inputModuleLabel_, edm::isDebugEnabled(), LogDebug, mode_, 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_LITE, AlCaHLTBitMon_QueryRunRegistry::string, tokenDigi, and tokenRawDigi.
sistrip::DigiToRawModule::~DigiToRawModule | ( | ) |
Definition at line 81 of file SiStripDigiToRawModule.cc.
References digiToRaw_, edm::isDebugEnabled(), and LogDebug.
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
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.
Implements edm::EDProducer.
Definition at line 97 of file SiStripDigiToRawModule.cc.
References sistrip::DigiToRaw::createFedBuffers(), digiToRaw_, eventCounter_, edm::EventSetup::get(), edm::Event::getByToken(), edm::Event::put(), rawdigi_, tokenDigi, and tokenRawDigi.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Definition at line 42 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), produce(), and ~DigiToRawModule().
|
private |
Definition at line 43 of file SiStripDigiToRawModule.h.
Referenced by produce().
|
private |
Definition at line 39 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule().
|
private |
Definition at line 38 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule().
|
private |
Definition at line 40 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule().
|
private |
Definition at line 41 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().
|
private |
Definition at line 45 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().
|
private |
Definition at line 44 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().