26 desc.
add<
bool>(
"UseFedKey",
false);
27 desc.
add<
bool>(
"UseWrongDigiType",
false);
28 desc.
add<
bool>(
"CopyBufferHeader",
false);
30 descriptions.
add(
"SiStripDigiToRawModule",desc);
38 inputModuleLabel_( pset.getParameter<std::
string>(
"InputModuleLabel" ) ),
39 inputDigiLabel_( pset.getParameter<std::
string>(
"InputDigiLabel" ) ),
40 copyBufferHeader_(pset.getParameter<bool>(
"CopyBufferHeader")),
45 rawDataTag_(pset.getParameter<edm::
InputTag>(
"RawDataTag"))
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...";
146 <<
"[sistrip::DigiToRawModule::DigiToRawModule]"
147 <<
"Getting raw buffer: ";
154 <<
"[sistrip::DigiToRawModule::DigiToRawModule]"
173 iEvent.
put( buffers );
std::string inputModuleLabel_
T getParameter(std::string const &) const
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 &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::InputTag rawDataTag_
void createFedBuffers(edm::Event &, edm::ESHandle< SiStripFedCabling > &cabling, edm::Handle< edm::DetSetVector< SiStripDigi > > &digis, std::auto_ptr< FEDRawDataCollection > &buffers)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< edm::DetSetVector< SiStripDigi > > tokenDigi
volatile std::atomic< bool > shutdown_flag false
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > tokenRawDigi