34 uint16_t
run = static_cast<uint16_t>(
buffer[10] & 0xFFFF);
46 }
else if (
buffer[15] == 1) {
48 }
else if (
buffer[15] == 2) {
50 }
else if (
buffer[15] == 3) {
52 }
else if (
buffer[15] == 4) {
96 uint32_t evt =
buffer[21 + 3 *
ii + 2];
108 std::stringstream
ss;
109 ss <<
"[SiStripEventSummary::" << __func__ <<
"]"
110 <<
" Did not find DeviceId/DCUid for event " <<
event <<
"!";
119 std::stringstream
ss;
120 ss <<
"[SiStripEventSummary::" << __func__ <<
"]"
121 <<
" Found DeviceId/DCUid for event " <<
event <<
": 0x" << std::hex << std::setw(8) << std::setfill(
'0')
148 <<
" Unexpected commissioning task: " <<
runType_;
160 uint16_t
temp = static_cast<uint16_t>((daq1 >> 8) & 0x3);
161 if (
temp == uint16_t(1)) {
163 }
else if (
temp == uint16_t(2)) {
168 <<
" DAQ register contents set to invalid: 0x" << std::hex << std::setw(8)
169 << std::setfill(
'0') << daq1 <<
std::dec;
175 <<
" Unexpected bit pattern set in DAQ1: 0x" << std::hex << std::setw(8)
176 << std::setfill(
'0') << daq1 <<
std::dec;
182 uint16_t
run = static_cast<uint16_t>(daq1 & 0xFF);
191 params_[0] = (daq2 >> 8) & 0xFF;
192 params_[1] = (daq2 >> 4) & 0x0F;
193 params_[2] = (daq2 >> 0) & 0x0F;
195 params_[0] = (daq2 >> 8) & 0xFF;
196 params_[1] = (daq2 >> 4) & 0x0F;
197 params_[2] = (daq2 >> 0) & 0x0F;
198 params_[3] = (daq2 >> 16) & 0xFF;
201 params_[0] = (daq2 >> 8) & 0xFF;
202 params_[1] = (daq2 >> 0) & 0xFF;
204 params_[1] = (daq2 >> 0) & 0xFF;
206 params_[0] = (daq2 >> 0) & 0xFF;
210 params_[2] = (daq2 >> 0) & 0xFFFF;
213 params_[3] = (daq2 >> 0) & 0xFFFF0000;
215 params_[1] = (daq2 >> 0) & 0xFF;
217 params_[0] = (daq2 >> 8) & 0xFF;
218 params_[1] = (daq2 >> 0) & 0xFF;
222 params_[0] = (daq2 >> 0) & 0xFF;
226 <<
" Unexpected commissioning task: " <<
runType_;
236 }
else if (
mode == 2) {
238 }
else if (
mode == 6) {
240 }
else if (
mode == 10) {
242 }
else if (
mode == 12) {
252 return os <<
"[SiStripEventSummary::" << __func__ <<
"]" << std::endl
253 <<
" isSet : " << std::boolalpha <<
input.isSet() << std::noboolalpha << std::endl
254 <<
" Trigger FED id : " <<
input.triggerFed() << std::endl
255 <<
" isValid : " << std::boolalpha <<
input.valid() << std::noboolalpha << std::endl
257 <<
" Event number : " <<
input.event() << std::endl
258 <<
" Bunch crossing : " <<
input.bx() << std::endl
261 <<
" Commissioning params : " <<
input.params()[0] <<
", " <<
input.params()[1] <<
", " <<
input.params()[2]
262 <<
", " <<
input.params()[3] << std::endl;