#include <DebugDigisPrintout.h>
Definition at line 11 of file DebugDigisPrintout.h.
◆ operator()()
std::string rpcrawtodigi::DebugDigisPrintout::operator() |
( |
const RPCDigiCollection * |
digis | ) |
|
|
inline |
Definition at line 29 of file DebugDigisPrintout.h.
30 std::ostringstream
str;
31 str <<
"DebugDigisPrintout:";
35 std::vector<MyDigi> myDigis;
39 for (DigiRangeIterator it = digis->begin(); it != digis->end(); it++) {
42 uint32_t rawDetId = rpcDetId.
rawId();
44 for (std::vector<RPCDigi>::const_iterator
id =
range.first;
id !=
range.second;
id++) {
47 MyDigi myDigi = {rawDetId, digi.
strip(), digi.
bx()};
48 if (myDigis.end() ==
std::find(myDigis.begin(), myDigis.end(), myDigi))
49 myDigis.push_back(myDigi);
52 std::sort(myDigis.begin(), myDigis.end());
53 str <<
" dets: " << nDet <<
" allDigis: " << nDigisAll <<
" unigueDigis: " << myDigis.size() << std::endl;
54 for (std::vector<MyDigi>::const_iterator it = myDigis.begin(); it != myDigis.end(); ++it)
55 str <<
"debugDIGI: " << it->det <<
", " << it->strip <<
", " << it->bx << std::endl;
References RPCDigi::bx(), spr::find(), FastTimerService_cff::range, DetId::rawId(), jetUpdater_cfi::sort, str, and RPCDigi::strip().