Go to the documentation of this file.
100 mappingLabel_(iConfig.getParameter<
std::
string>(
"mappingLabel")) {
105 produces<FEDRawDataCollection>();
129 digiCounter += (di.data).
size();
130 digis[di.id] = di.data;
136 for (
const auto&
p :
mapping->ROCMapping)
138 p.second.iD,
p.second.roc,
p.first.getROC(),
p.first.getFEDId(),
p.first.getChannelIdx()});
144 auto buffers = std::make_unique<FEDRawDataCollection>();
154 CTPPSPixelDataFormatter::RawData::iterator fedbuffer = rawdata.find(*it);
155 if (fedbuffer != rawdata.end())
161 LogDebug(
"CTPPSPixelDigiToRaw") <<
"Words/Digis this iEvent: " << digiCounter <<
"(fm:" << formatter.
nDigis()
173 descriptions.
add(
"ctppsPixelRawData", desc);
bool check(const edm::EventSetup &iSetup)
ParameterDescriptionBase * add(U const &iLabel, T const &value)
unsigned long eventCounter_
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< CTPPSPixelDataFormatter::PPSPixelIndex > v_iDdet2fed_
#define DEFINE_FWK_MODULE(type)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void produce(edm::Event &, const edm::EventSetup &) override
std::set< unsigned int > fedIds_
std::string mappingLabel_
CTPPSPixelDigiToRaw(const edm::ParameterSet &)
edm::EDGetTokenT< edm::DetSetVector< CTPPSPixelDigi > > tCTPPSPixelDigi_
T getParameter(std::string const &) const
edm::ESWatcher< CTPPSPixelDAQMappingRcd > recordWatcher_
CTPPSPixelFramePosition fPos_
~CTPPSPixelDigiToRaw() override