67 dataToken_=consumes<FEDRawDataCollection>(dataLabel);
68 produces<int>(
"nibble" ).setBranchAlias(
"nibble");
92 if(tcdsData.
size()>0){
103 std::unique_ptr<int> pOut(
new int(nibble));
104 iEvent.
put( std::move(pOut),
"nibble" );
115 descriptions.
add(
"tcdsRawToDigi", desc);
T getParameter(std::string const &) const
virtual void produce(edm::Event &, const edm::EventSetup &) override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
size_t size() const
Lenght of the data buffer in bytes.
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
ParameterDescriptionBase * add(U const &iLabel, T const &value)
TcdsRawToDigi(const edm::ParameterSet &)
edm::EDGetTokenT< FEDRawDataCollection > dataToken_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.