CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
RPCAMCRawToDigi Class Reference

#include <RPCAMCRawToDigi.h>

Inheritance diagram for RPCAMCRawToDigi:
edm::stream::EDProducer<>

Public Member Functions

void beginRun (edm::Run const &run, edm::EventSetup const &setup) override
 
void produce (edm::Event &event, edm::EventSetup const &setup) override
 
 RPCAMCRawToDigi (edm::ParameterSet const &config)
 
 ~RPCAMCRawToDigi () override
 
- Public Member Functions inherited from edm::stream::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
const EDProduceroperator= (const EDProducer &)=delete
 

Static Public Member Functions

static void compute_crc16_64bit (std::uint16_t &crc, std::uint64_t const &word)
 
static void fillDescriptions (edm::ConfigurationDescriptions &descs)
 

Protected Member Functions

bool processBlocks (int fed, std::uint64_t const *&word, std::uint64_t const *word_end, std::uint16_t &crc, RPCAMCLinkCounters &counters, std::map< RPCAMCLink, rpcamc13::AMCPayload > &amc_payload) const
 
bool processCDFHeaders (int fed, std::uint64_t const *&word, std::uint64_t const *&word_end, std::uint16_t &crc, RPCAMCLinkCounters &counters) const
 
bool processCDFTrailers (int fed, unsigned int nwords, std::uint64_t const *&word, std::uint64_t const *&word_end, std::uint16_t &crc, RPCAMCLinkCounters &counters) const
 

Protected Attributes

bool calculate_crc_
 
bool fill_counters_
 
edm::EDGetTokenT< FEDRawDataCollectionraw_token_
 
std::unique_ptr< RPCAMCUnpackerrpc_unpacker_
 

Additional Inherited Members

- Public Types inherited from edm::stream::EDProducer<>
using CacheTypes = CacheContexts< T... >
 
using GlobalCache = typename CacheTypes::GlobalCache
 
using HasAbility = AbilityChecker< T... >
 
using InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache
 
using LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache
 
using LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache >
 
using LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache
 
using RunCache = typename CacheTypes::RunCache
 
using RunContext = RunContextT< RunCache, GlobalCache >
 
using RunSummaryCache = typename CacheTypes::RunSummaryCache
 

Detailed Description

Definition at line 21 of file RPCAMCRawToDigi.h.

Constructor & Destructor Documentation

◆ RPCAMCRawToDigi()

RPCAMCRawToDigi::RPCAMCRawToDigi ( edm::ParameterSet const &  config)

Definition at line 20 of file RPCAMCRawToDigi.cc.

References fill_counters_, and raw_token_.

21  : calculate_crc_(config.getParameter<bool>("calculateCRC")),
22  fill_counters_(config.getParameter<bool>("fillCounters")),
24  RPCAMCUnpackerFactory::get()->create(config.getParameter<std::string>("RPCAMCUnpacker"),
25  config.getParameter<edm::ParameterSet>("RPCAMCUnpackerSettings"),
26  consumesCollector(),
27  producesCollector())) {
28  if (fill_counters_) {
29  produces<RPCAMCLinkCounters>();
30  }
31 
32  raw_token_ = consumes<FEDRawDataCollection>(config.getParameter<edm::InputTag>("inputTag"));
33 }
def create(alignables, pedeDump, additionalData, outputFile, config)
edm::EDGetTokenT< FEDRawDataCollection > raw_token_
Definition: config.py:1
#define get
std::unique_ptr< RPCAMCUnpacker > rpc_unpacker_

◆ ~RPCAMCRawToDigi()

RPCAMCRawToDigi::~RPCAMCRawToDigi ( )
override

Definition at line 35 of file RPCAMCRawToDigi.cc.

35 {}

Member Function Documentation

◆ beginRun()

void RPCAMCRawToDigi::beginRun ( edm::Run const &  run,
edm::EventSetup const &  setup 
)
override

Definition at line 47 of file RPCAMCRawToDigi.cc.

References rpc_unpacker_, writedatasetfile::run, and singleTopDQM_cfi::setup.

47  {
48  rpc_unpacker_->beginRun(run, setup);
49 }
std::unique_ptr< RPCAMCUnpacker > rpc_unpacker_

◆ compute_crc16_64bit()

void RPCAMCRawToDigi::compute_crc16_64bit ( std::uint16_t &  crc,
std::uint64_t const &  word 
)
inlinestatic

Definition at line 60 of file RPCAMCRawToDigi.h.

References evf::compute_crc_8bit().

Referenced by processBlocks(), processCDFHeaders(), and produce().

61  { // overcome constness problem evf::compute_crc_64bit
62  unsigned char const *uchars(reinterpret_cast<unsigned char const *>(&word));
63  for (unsigned char const *uchar = uchars + 7; uchar >= uchars; --uchar) {
64  crc = evf::compute_crc_8bit(crc, *uchar);
65  }
66 }
uint64_t word
unsigned short compute_crc_8bit(unsigned short crc, unsigned char data)
Definition: CRC16.h:56

◆ fillDescriptions()

void RPCAMCRawToDigi::fillDescriptions ( edm::ConfigurationDescriptions descs)
static

Definition at line 37 of file RPCAMCRawToDigi.cc.

References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, RPCAMCUnpacker::fillDescription(), HLT_2022v12_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.

37  {
39  desc.add<edm::InputTag>("inputTag", edm::InputTag("rawDataCollector", ""));
40  desc.add<bool>("calculateCRC", true);
41  desc.add<bool>("fillCounters", true);
42  desc.add<std::string>("RPCAMCUnpacker", "RPCAMCUnpacker");
44  descs.add("RPCAMCRawToDigi", desc);
45 }
static void fillDescription(edm::ParameterSetDescription &desc)
void add(std::string const &label, ParameterSetDescription const &psetDescription)

◆ processBlocks()

bool RPCAMCRawToDigi::processBlocks ( int  fed,
std::uint64_t const *&  word,
std::uint64_t const *  word_end,
std::uint16_t &  crc,
RPCAMCLinkCounters counters,
std::map< RPCAMCLink, rpcamc13::AMCPayload > &  amc_payload 
) const
protected

Definition at line 196 of file RPCAMCRawToDigi.cc.

References amc, RPCAMCLinkEvents::amc_amc13_block_incomplete_, RPCAMCLinkEvents::amc_amc13_crc_mismatch_, RPCAMCLinkEvents::amc_amc13_evc_bc_invalid_, RPCAMCLinkEvents::amc_amc13_length_incorrect_, RPCAMCLinkEvents::amc_amc13_size_inconsistent_, RPCAMCLinkEvents::amc_event_, RPCAMCLinkEvents::amc_number_mismatch_, RPCAMCLinkEvents::amc_payload_incomplete_, RPCAMCLinkEvents::amc_size_mismatch_, calculate_crc_, compute_crc16_64bit(), counters, RPCAMCLinkEvents::fed_amc13_amc_number_invalid_, RPCAMCLinkEvents::fed_amc13_block_incomplete_, fill_counters_, rpcamc::Header::getAMCNumber(), rpcamc13::AMCHeader::getAMCNumber(), rpcamc::Header::getDataLength(), rpcamc13::AMCHeader::getSize(), rpcamc13::AMCHeader::getSizeInBlock(), rpcamc::Header::hasDataLength(), rpcamc13::AMCHeader::hasTotalSize(), RecoTauValidation_cfi::header, rpcamc13::AMCHeader::isCRCOk(), rpcamc13::AMCHeader::isFirstBlock(), rpcamc13::AMCHeader::isLastBlock(), rpcamc13::AMCHeader::isLengthCorrect(), rpcamc13::AMCHeader::isValid(), RPCAMCLink::max_amcnumber_, jetsAK4_Puppi_cff::payload, and RPCAMCLink::wildcard_.

Referenced by produce().

201  {
202  while (word < word_end) {
204  if (calculate_crc_) {
205  compute_crc16_64bit(crc, *word);
206  }
207  ++word;
208 
209  unsigned int n_amc(header.getNAMC());
210  if (word + n_amc + 1 >= word_end) { // AMC Headers and AMC13 Trailer
211  if (fill_counters_) {
213  }
214  edm::LogWarning("RPCAMCRawToDigi") << "AMC13 Block can not be complete for FED " << fed;
215  word = word_end;
216  return false;
217  }
218 
219  std::uint64_t const *payload_word(word + n_amc);
220  std::uint64_t const *payload_word_end(payload_word);
221  for (unsigned int amc = 0; amc < n_amc; ++amc) {
222  rpcamc13::AMCHeader amc13_amc_header(*word);
223  if (calculate_crc_) {
224  compute_crc16_64bit(crc, *word);
225  }
226  ++word;
227 
228  unsigned int size_in_block(amc13_amc_header.getSizeInBlock());
229  if (size_in_block == 0) {
230  continue;
231  }
232  payload_word = payload_word_end;
233  payload_word_end += size_in_block;
234 
235  unsigned int amc_number(amc13_amc_header.getAMCNumber());
236  if (amc_number > (unsigned int)RPCAMCLink::max_amcnumber_) {
237  if (fill_counters_) {
239  }
240  edm::LogWarning("RPCAMCRawToDigi") << "Invalid AMC Number " << amc_number << " for FED " << fed;
241  continue;
242  }
243 
244  if (payload_word_end > word_end) {
245  if (fill_counters_) {
247  }
248  edm::LogWarning("RPCAMCRawToDigi")
249  << "AMC Block can not be complete for FED " << fed << " at AMC " << amc_number;
250  return false;
251  }
252 
253  rpcamc13::AMCPayload &payload(amc_payload[RPCAMCLink(fed, amc_number)]);
254 
255  if (amc13_amc_header.isFirstBlock()) {
256  payload.setAMCHeader(amc13_amc_header);
257  if (fill_counters_) {
258  counters.add(RPCAMCLinkEvents::amc_event_, RPCAMCLink(fed, amc_number));
259  }
260 
261  if (!amc13_amc_header.isValid()) {
262  if (fill_counters_) {
264  }
265  edm::LogWarning("RPCAMCRawToDigi")
266  << "AMC13 AMC Header is reporting an invalid "
267  << "Event Counter or Bunch Counter for FED " << fed << ", AMC " << amc_number;
268  payload.setValid(false);
269  }
270 
271  rpcamc::Header amc_amc_header(payload_word);
272  if (amc_number != amc_amc_header.getAMCNumber()) {
273  if (fill_counters_) {
275  }
276  edm::LogWarning("RPCAMCRawToDigi")
277  << "AMC Number inconsistent in AMC13 AMC Header vs AMC Header: " << amc_number << " vs "
278  << amc_amc_header.getAMCNumber();
279  payload.setValid(false);
280  }
281 
282  if (amc_amc_header.hasDataLength() && amc13_amc_header.hasTotalSize() &&
283  amc13_amc_header.getSize() != amc_amc_header.getDataLength()) {
284  if (fill_counters_) {
286  }
287  edm::LogWarning("RPCAMCRawToDigi")
288  << "AMC size inconsistent in AMC13 AMC Header vs AMC Header: " << amc13_amc_header.getSize() << " vs "
289  << amc_amc_header.getDataLength();
290  payload.setValid(false);
291  }
292  }
293 
294  if (amc13_amc_header.isLastBlock()) {
295  if (!amc13_amc_header.isFirstBlock()) {
296  edm::LogWarning("RPCAMCRawToDigi") << "Multiple blocks";
297  }
298  payload.getAMCHeader().setCRCOk(amc13_amc_header.isCRCOk());
299  payload.getAMCHeader().setLengthCorrect(amc13_amc_header.isLengthCorrect());
300 
301  if (!amc13_amc_header.isCRCOk()) {
302  if (fill_counters_) {
304  }
305  edm::LogWarning("RPCAMCRawToDigi")
306  << "AMC13 AMC Header is reporting a mismatched "
307  << "Event Counter or Bunch Counter for FED " << fed << ", AMC " << amc_number;
308  payload.setValid(false);
309  }
310 
311  if (!amc13_amc_header.isLengthCorrect()) {
312  if (fill_counters_) {
314  }
315  edm::LogWarning("RPCAMCRawToDigi") << "AMC13 AMC Header is reporting an incorrect length "
316  << "for FED " << fed << ", AMC " << amc_number;
317  payload.setValid(false);
318  }
319 
320  if (amc13_amc_header.hasTotalSize() &&
321  amc13_amc_header.getSize() != (payload.getData().size() + size_in_block)) {
322  if (fill_counters_) {
324  }
325  edm::LogWarning("RPCAMCRawToDigi") << "Size in AMC13 AMC Header doesn't match payload size "
326  << "for FED " << fed << ", AMC " << amc_number;
327  payload.setValid(false);
328  }
329 
330  if (!payload.getData().empty() && (payload.getData().size() + size_in_block) < 3) {
331  if (fill_counters_) {
333  }
334  edm::LogWarning("RPCAMCRawToDigi") << "Size in AMC13 AMC Header doesn't match payload size "
335  << "for FED " << fed << ", AMC " << amc_number;
336  payload.setValid(false);
337  }
338  }
339 
340  if (size_in_block > 0) {
341  payload.insert(payload_word, size_in_block);
342  }
343  }
344 
345  if (calculate_crc_) {
346  for (; word < payload_word_end; ++word) {
347  compute_crc16_64bit(crc, *word);
348  }
349  } else {
350  word = payload_word_end;
351  }
352 
353  if (calculate_crc_) {
354  compute_crc16_64bit(crc, *word);
355  }
356  ++word;
357  }
358  return true;
359 }
static unsigned int const fed_amc13_amc_number_invalid_
static unsigned int const amc_payload_incomplete_
static unsigned int const amc_size_mismatch_
static void compute_crc16_64bit(std::uint16_t &crc, std::uint64_t const &word)
static unsigned int const amc_event_
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ uint32_t const *__restrict__ gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell const int32_t uint32_t CAHitNtupletGeneratorKernelsGPU::Counters * counters
static unsigned int const amc_amc13_evc_bc_invalid_
uint64_t word
double amc
Definition: hdecay.h:20
static unsigned int const amc_amc13_length_incorrect_
static unsigned int const amc_amc13_size_inconsistent_
static unsigned int const amc_number_mismatch_
static unsigned int const fed_amc13_block_incomplete_
unsigned long long uint64_t
Definition: Time.h:13
static unsigned int const amc_amc13_block_incomplete_
static unsigned int const amc_amc13_crc_mismatch_
Log< level::Warning, false > LogWarning
Definition: AMCSpec.h:8

◆ processCDFHeaders()

bool RPCAMCRawToDigi::processCDFHeaders ( int  fed,
std::uint64_t const *&  word,
std::uint64_t const *&  word_end,
std::uint16_t &  crc,
RPCAMCLinkCounters counters 
) const
protected

Definition at line 120 of file RPCAMCRawToDigi.cc.

References calculate_crc_, compute_crc16_64bit(), counters, TauDecayModes::dec, RPCAMCLinkEvents::fed_header_check_fail_, RPCAMCLinkEvents::fed_header_id_mismatch_, fill_counters_, RecoTauValidation_cfi::header, LogDebug, and RPCAMCLink::wildcard_.

Referenced by produce().

124  {
125  bool more_headers(true);
126  for (; word < word_end && more_headers; ++word) {
127  if (calculate_crc_) {
128  compute_crc16_64bit(crc, *word);
129  }
130 
131  LogDebug("RPCAMCRawToDigi") << "CDF Header " << std::hex << *word << std::dec;
132  FEDHeader header(reinterpret_cast<unsigned char const *>(word));
133  if (!header.check()) {
134  if (fill_counters_) {
136  }
137  edm::LogWarning("RPCAMCRawToDigi") << "FED Header check failed for FED id " << fed;
138  ++word;
139  return false;
140  }
141  if (header.sourceID() != fed) {
142  if (fill_counters_) {
144  }
145  edm::LogWarning("RPCAMCRawToDigi") << "FED Header Source ID " << header.sourceID()
146  << " does not match requested FED id " << fed;
147  ++word;
148  return false;
149  }
150 
151  // moreHeaders() not used
152  // more_headers = header.moreHeaders();
153  more_headers = false;
154  }
155 
156  return !more_headers;
157 }
static void compute_crc16_64bit(std::uint16_t &crc, std::uint64_t const &word)
static unsigned int const fed_header_check_fail_
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ uint32_t const *__restrict__ gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell const int32_t uint32_t CAHitNtupletGeneratorKernelsGPU::Counters * counters
uint64_t word
static unsigned int const fed_header_id_mismatch_
Log< level::Warning, false > LogWarning
#define LogDebug(id)

◆ processCDFTrailers()

bool RPCAMCRawToDigi::processCDFTrailers ( int  fed,
unsigned int  nwords,
std::uint64_t const *&  word,
std::uint64_t const *&  word_end,
std::uint16_t &  crc,
RPCAMCLinkCounters counters 
) const
protected

Definition at line 159 of file RPCAMCRawToDigi.cc.

References FEDTrailer::check(), counters, TauDecayModes::dec, RPCAMCLinkEvents::fed_trailer_check_fail_, RPCAMCLinkEvents::fed_trailer_length_mismatch_, fill_counters_, FEDTrailer::fragmentLength(), LogDebug, and RPCAMCLink::wildcard_.

Referenced by produce().

164  {
165  bool more_trailers(true);
166  for (--word_end; word_end > word && more_trailers; --word_end) {
167  FEDTrailer trailer(reinterpret_cast<unsigned char const *>(word_end));
168  LogDebug("RPCAMCRawToDigi") << "CDF Trailer " << std::hex << *word_end << std::dec << ", length "
169  << trailer.fragmentLength();
170  if (!trailer.check()) {
171  if (fill_counters_) {
173  }
174  edm::LogWarning("RPCAMCRawToDigi") << "FED Trailer check failed for FED id " << fed;
175  return false;
176  }
177  if (trailer.fragmentLength() != nwords) {
178  if (fill_counters_) {
180  }
181  edm::LogWarning("RPCAMCRawToDigi") << "FED Trailer length " << trailer.fragmentLength()
182  << " does not match actual data size " << nwords << " for FED id " << fed;
183  return false;
184  }
185 
186  // moreTrailers() not used
187  // more_trailers = trailer.moreTrailers();
188  more_trailers = false;
189  }
190 
191  ++word_end;
192 
193  return !more_trailers;
194 }
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ uint32_t const *__restrict__ gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell const int32_t uint32_t CAHitNtupletGeneratorKernelsGPU::Counters * counters
static unsigned int const fed_trailer_length_mismatch_
uint64_t word
Log< level::Warning, false > LogWarning
static unsigned int const fed_trailer_check_fail_
#define LogDebug(id)

◆ produce()

void RPCAMCRawToDigi::produce ( edm::Event event,
edm::EventSetup const &  setup 
)
override

Definition at line 51 of file RPCAMCRawToDigi.cc.

References calculate_crc_, compute_crc16_64bit(), counters, FEDTrailer::crc(), FEDRawData::data(), RPCAMCLinkEvents::fed_event_, RPCAMCLinkEvents::fed_trailer_crc_mismatch_, FEDRawDataCollection::FEDData(), fill_counters_, LogDebug, eostools::move(), processBlocks(), processCDFHeaders(), processCDFTrailers(), raw_token_, rpc_unpacker_, singleTopDQM_cfi::setup, FEDRawData::size(), and RPCAMCLink::wildcard_.

51  {
52  // Get RAW Data
53  edm::Handle<FEDRawDataCollection> raw_data_collection;
54  event.getByToken(raw_token_, raw_data_collection);
55 
56  std::unique_ptr<RPCAMCLinkCounters> counters(new RPCAMCLinkCounters());
57 
58  std::map<RPCAMCLink, rpcamc13::AMCPayload> amc_payload;
59 
60  // Loop over the FEDs
61  for (int fed : rpc_unpacker_->getFeds()) {
62  if (fill_counters_) {
64  }
65 
66  std::uint16_t crc(0xffff);
67 
68  FEDRawData const &raw_data = raw_data_collection->FEDData(fed);
69  unsigned int nwords(raw_data.size() / sizeof(std::uint64_t));
70  if (!nwords) {
71  continue;
72  }
73 
74  std::uint64_t const *word(reinterpret_cast<std::uint64_t const *>(raw_data.data()));
75  std::uint64_t const *word_end = word + nwords;
76 
77  LogDebug("RPCAMCRawToDigi") << "Handling FED " << fed << " with length " << nwords;
78 
79  // Handle the CDF Headers
80  if (!processCDFHeaders(fed, word, word_end, crc, *counters)) {
81  continue;
82  }
83 
84  // Handle the CDF Trailers
85  if (!processCDFTrailers(fed, nwords, word, word_end, crc, *counters)) {
86  continue;
87  }
88 
89  // Loop over the Blocks
90  if (!processBlocks(fed, word, word_end, crc, *counters, amc_payload)) {
91  continue;
92  }
93 
94  // Complete CRC check with trailer
95  if (calculate_crc_) {
96  word = word_end;
97  word_end = reinterpret_cast<std::uint64_t const *>(raw_data.data()) + nwords - 1;
98  for (; word < word_end; ++word) {
100  }
101  compute_crc16_64bit(crc, (*word & 0xffffffff0000ffff)); // trailer excluding crc
102  FEDTrailer trailer(reinterpret_cast<unsigned char const *>(word_end));
103  if ((unsigned int)(trailer.crc()) != crc) {
104  if (fill_counters_) {
106  }
107  edm::LogWarning("RPCAMCRawToDigi") << "FED Trailer CRC doesn't match for FED id " << fed;
108  continue;
109  }
110  }
111  }
112 
113  rpc_unpacker_->produce(event, setup, amc_payload);
114 
115  if (fill_counters_) {
116  event.put(std::move(counters));
117  }
118 }
static unsigned int const fed_trailer_crc_mismatch_
static void compute_crc16_64bit(std::uint16_t &crc, std::uint64_t const &word)
edm::EDGetTokenT< FEDRawDataCollection > raw_token_
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ uint32_t const *__restrict__ gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell const int32_t uint32_t CAHitNtupletGeneratorKernelsGPU::Counters * counters
size_t size() const
Lenght of the data buffer in bytes.
Definition: FEDRawData.h:45
bool processCDFTrailers(int fed, unsigned int nwords, std::uint64_t const *&word, std::uint64_t const *&word_end, std::uint16_t &crc, RPCAMCLinkCounters &counters) const
uint64_t word
bool processBlocks(int fed, std::uint64_t const *&word, std::uint64_t const *word_end, std::uint16_t &crc, RPCAMCLinkCounters &counters, std::map< RPCAMCLink, rpcamc13::AMCPayload > &amc_payload) const
const FEDRawData & FEDData(int fedid) const
retrieve data for fed
static unsigned int const fed_event_
unsigned long long uint64_t
Definition: Time.h:13
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
Definition: FEDRawData.cc:24
Log< level::Warning, false > LogWarning
bool processCDFHeaders(int fed, std::uint64_t const *&word, std::uint64_t const *&word_end, std::uint16_t &crc, RPCAMCLinkCounters &counters) const
std::unique_ptr< RPCAMCUnpacker > rpc_unpacker_
def move(src, dest)
Definition: eostools.py:511
Definition: event.py:1
#define LogDebug(id)

Member Data Documentation

◆ calculate_crc_

bool RPCAMCRawToDigi::calculate_crc_
protected

Definition at line 55 of file RPCAMCRawToDigi.h.

Referenced by processBlocks(), processCDFHeaders(), and produce().

◆ fill_counters_

bool RPCAMCRawToDigi::fill_counters_
protected

◆ raw_token_

edm::EDGetTokenT<FEDRawDataCollection> RPCAMCRawToDigi::raw_token_
protected

Definition at line 53 of file RPCAMCRawToDigi.h.

Referenced by produce(), and RPCAMCRawToDigi().

◆ rpc_unpacker_

std::unique_ptr<RPCAMCUnpacker> RPCAMCRawToDigi::rpc_unpacker_
protected

Definition at line 57 of file RPCAMCRawToDigi.h.

Referenced by beginRun(), and produce().