19 const std::map<unsigned short, double> &signals,
21 std::vector<CTPPSPixelDigi> &output_digi,
24 for (std::map<unsigned short, double>::const_iterator
i = signals.begin();
i != signals.end(); ++
i) {
26 unsigned short pixel_no =
i->first;
29 <<
"Dummy ROC adc and threshold : " <<
i->second <<
", " <<
threshold_;
34 uint32_t
col = pixel_no / 160;
35 uint32_t row = pixel_no % 160;
59 output_digi_links.push_back(theSignalProvenance[pixel_no]);
62 <<
"digi links size=" << theSignalProvenance[pixel_no].size();
63 for (
unsigned int u = 0; u < theSignalProvenance[pixel_no].size(); ++u) {
65 <<
" digi: particle=" << theSignalProvenance[pixel_no][u].first
66 <<
" energy [electrons]=" << theSignalProvenance[pixel_no][u].second;
74 for (
unsigned int i = 0;
i < output_digi.size(); ++
i) {
76 <<
"Dummy ROC Simulator " <<
det_id_ <<
" row= "
77 << output_digi[
i].row() <<
" col= " << output_digi[
i].column() <<
" adc= " << output_digi[
i].adc();