25 desc.
add<
bool>(
"UseFedKey",
false);
26 desc.
add<
bool>(
"UseWrongDigiType",
false);
27 desc.
add<
bool>(
"CopyBufferHeader",
false);
30 descriptions.
add(
"SiStripDigiToRawModule", desc);
47 LogDebug(
"DigiToRawModule") <<
"[sistrip::DigiToRawModule::DigiToRawModule]" 48 <<
" Constructing object...";
97 <<
"[sistrip::DigiToRawModule::DigiToRawModule]" 103 edm::LogWarning(
"DigiToRawModule") <<
"[sistrip::DigiToRawModule::DigiToRawModule]" 104 <<
" Digi to raw is not supported for spy channel data";
111 edm::LogWarning(
"DigiToRawModule") <<
"[sistrip::DigiToRawModule::DigiToRawModule]" 112 <<
" You are using the wrong type of digis!";
127 edm::LogWarning(
"DigiToRawModule") <<
"[sistrip::DigiToRawModule::DigiToRawModule]" 128 <<
"Copying buffer header from collection " <<
rawDataTag_;
133 produces<FEDRawDataCollection>();
140 LogDebug(
"DigiToRaw") <<
"[sistrip::DigiToRawModule::~DigiToRawModule]" 141 <<
" Destructing object...";
157 auto buffers = std::make_unique<FEDRawDataCollection>();
166 edm::LogWarning(
"DigiToRawModule") <<
"[sistrip::DigiToRawModule::DigiToRawModule]" 167 <<
"Getting raw buffer: ";
173 edm::LogWarning(
"DigiToRawModule") <<
"[sistrip::DigiToRawModule::DigiToRawModule]"
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
edm::EDGetTokenT< FEDRawDataCollection > tokenRawBuffer
void endStream() override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
uint8_t packetCodeFromString(const std::string &packetCodeString, FEDReadoutMode mode)
void printWarningSummary() const
FEDReadoutMode fedReadoutModeFromString(const std::string &readoutModeString)
edm::InputTag inputDigiTag_
DigiToRawModule(const edm::ParameterSet &)
edm::InputTag rawDataTag_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > tokenRawDigi
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void createFedBuffers(edm::Event &, edm::ESHandle< SiStripFedCabling > &cabling, edm::Handle< edm::DetSetVector< SiStripDigi > > &digis, std::unique_ptr< FEDRawDataCollection > &buffers)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > tokenDigi
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void produce(edm::Event &, const edm::EventSetup &) override
~DigiToRawModule() override