26 desc.
add<
bool>(
"UseFedKey",
false);
27 desc.
add<
bool>(
"UseWrongDigiType",
false);
28 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]"
std::string inputModuleLabel_
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
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void produce(edm::Event &, const edm::EventSetup &)
FEDReadoutMode fedReadoutModeFromString(const std::string &readoutModeString)
std::string inputDigiLabel_
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
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > tokenRawDigi