25 desc.
add<
bool>(
"UseFedKey",
false);
26 desc.
add<
bool>(
"UseWrongDigiType",
false);
27 desc.
add<
bool>(
"CopyBufferHeader",
false);
30 descriptions.
add(
"SiStripDigiToRawModule",desc);
49 <<
"[sistrip::DigiToRawModule::DigiToRawModule]" 50 <<
" Constructing object...";
72 <<
"[sistrip::DigiToRawModule::DigiToRawModule]" 78 <<
"[sistrip::DigiToRawModule::DigiToRawModule]" 79 <<
" Digi to raw is not supported for spy channel data";
86 <<
"[sistrip::DigiToRawModule::DigiToRawModule]" 87 <<
" You are using the wrong type of digis!";
103 <<
"[sistrip::DigiToRawModule::DigiToRawModule]" 104 <<
"Copying buffer header from collection " <<
rawDataTag_;
109 produces<FEDRawDataCollection>();
118 <<
"[sistrip::DigiToRawModule::~DigiToRawModule]" 119 <<
" Destructing object...";
136 auto buffers = std::make_unique<FEDRawDataCollection>();
146 <<
"[sistrip::DigiToRawModule::DigiToRawModule]" 147 <<
"Getting raw buffer: ";
154 <<
"[sistrip::DigiToRawModule::DigiToRawModule]"
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
Input: edm::DetSetVector<SiStripDigi>. Output: FEDRawDataCollection.
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_
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)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > tokenDigi
void produce(edm::Event &, const edm::EventSetup &) override
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > tokenRawDigi
~DigiToRawModule() override