26 produces<FEDRawDataCollection>();
46 using namespace sipixelobjects;
48 edm::LogInfo(
"SiPixelDigiToRaw") <<
"[SiPixelDigiToRaw::produce] "
56 typedef vector< edm::DetSet<PixelDigi> >::const_iterator DI;
60 digiCounter += (di->data).
size();
61 digis[ di->id] = di->data;
81 typedef vector<const PixelFEDCabling *>::const_iterator FI;
82 for (FI it = fedList.begin(); it != fedList.end(); it++) {
83 LogDebug(
"SiPixelDigiToRaw")<<
" PRODUCE DATA FOR FED_id: " << (**it).id();
85 FEDRawData& fedRawData = buffers->FEDData( (**it).id() );
86 fedRawData = *rawData;
87 LogDebug(
"SiPixelDigiToRaw")<<
"size of data in fedRawData: "<<fedRawData.
size();
93 <<
"Words/Digis this ev: "<<digiCounter<<
"(fm:"<<formatter.
nDigis()<<
")/"
T getParameter(std::string const &) const
EventNumber_t event() const
SiPixelDigiToRaw(const edm::ParameterSet &)
ctor
static MessageDrop * instance()
unsigned long eventCounter
virtual void produce(edm::Event &, const edm::EventSetup &)
get data, convert to raw event, attach again to Event
size_t size() const
Lenght of the data buffer in bytes.
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
virtual ~SiPixelDigiToRaw()
dtor
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
virtual std::string version() const
map version
edm::ESWatcher< SiPixelFedCablingMapRcd > recordWatcher
edm::ParameterSet config_
bool check(const edm::EventSetup &iSetup)
SiPixelFedCablingTree * cablingTree_
std::vector< const PixelFEDCabling * > fedList() const
tuple size
Write out results.