A plug-in module that takes StripDigis as input from the Event and creates an EDProduct comprising a FEDRawDataCollection. More...
#include <SiStripDigiToRawModule.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Attributes | |
bool | copyBufferHeader_ |
DigiToRaw * | digiToRaw_ |
uint32_t | eventCounter_ |
std::string | inputDigiLabel_ |
std::string | inputModuleLabel_ |
FEDReadoutMode | mode_ |
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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 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_cff::DigiToRaw, digiToRaw_, edm::ParameterSet::getParameter(), inputDigiLabel_, inputModuleLabel_, HLT_FULL_cff::InputTag, edm::isDebugEnabled(), LogDebug, mode_, 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.
sistrip::DigiToRawModule::~DigiToRawModule | ( | ) |
Definition at line 115 of file SiStripDigiToRawModule.cc.
References digiToRaw_, edm::isDebugEnabled(), and LogDebug.
|
inlinevirtual |
Definition at line 35 of file SiStripDigiToRawModule.h.
|
inlinevirtual |
Definition at line 36 of file SiStripDigiToRawModule.h.
|
static |
Definition at line 21 of file SiStripDigiToRawModule.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
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::stream::EDProducerBase.
Definition at line 131 of file SiStripDigiToRawModule.cc.
References copyBufferHeader_, sistrip::DigiToRaw::createFedBuffers(), digiToRaw_, alignCSCRings::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 46 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().
|
private |
Definition at line 49 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), produce(), and ~DigiToRawModule().
|
private |
Definition at line 50 of file SiStripDigiToRawModule.h.
Referenced by produce().
|
private |
Definition at line 44 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule().
|
private |
Definition at line 43 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule().
|
private |
Definition at line 47 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule().
|
private |
Definition at line 53 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 52 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().
|
private |
Definition at line 54 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().
|
private |
Definition at line 51 of file SiStripDigiToRawModule.h.
Referenced by DigiToRawModule(), and produce().