35 produces< edm::DetSetVector<CTPPSPixelDigi> >();
44 edm::LogInfo(
"CTPPSPixelRawToDigi") <<
" CTPPSPixelRawToDigi destructor!";
58 bool data_exist=
false;
61 if(tempRawData.
size()!=0){
67 auto collection = std::make_unique<edm::DetSetVector<CTPPSPixelDigi>>();
78 bool errorsInEvent =
false;
82 edm::LogInfo(
"CTPPSPixelRawToDigi")<<
" PRODUCE DIGI FOR FED: " <<
dec <<fedId << endl;
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::set< unsigned int > fedIds() const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::ParameterSet config_
CTPPSPixelRawToDigi(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
size_t size() const
Lenght of the data buffer in bytes.
std::set< unsigned int > fedIds_
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
virtual ~CTPPSPixelRawToDigi()
std::map< CTPPSPixelFramePosition, CTPPSPixelROCInfo > ROCMapping
std::string mappingLabel_
virtual void produce(edm::Event &, const edm::EventSetup &) override
get data, convert to digis attach againe to Event
edm::EDGetTokenT< FEDRawDataCollection > FEDRawDataCollection_