32 const uint32_t&
event ) {
35 uint16_t
run =
static_cast<uint16_t
>( buffer[10] & 0xFFFF );
97 while ( !found && ii < 20 ) {
98 uint32_t dcu = buffer[21+3*
ii];
99 uint32_t
key = buffer[21+3*ii+1];
100 uint32_t evt = buffer[21+3*ii+2];
101 if ( evt == event ) {
112 std::stringstream ss;
113 ss <<
"[SiStripEventSummary::" << __func__ <<
"]" 114 <<
" Did not find DeviceId/DCUid for event " 124 std::stringstream ss;
125 ss <<
"[SiStripEventSummary::" << __func__ <<
"]" 126 <<
" Found DeviceId/DCUid for event " 128 << std::hex << std::setw(8) << std::setfill(
'0') <<
params_[0] <<
std::dec 130 << std::hex << std::setw(8) << std::setfill(
'0') <<
params_[3] <<
std::dec;
163 <<
"[SiStripEventSummary::" << __func__ <<
"]" 164 <<
" Unexpected commissioning task: " 178 const uint32_t& daq2 ) {
181 uint16_t
temp =
static_cast<uint16_t
>( (daq1>>8)&0x3 );
182 if ( temp == uint16_t(1) ) {
valid_ =
true; }
183 else if ( temp == uint16_t(2) ) {
valid_ =
false; }
184 else if ( temp == uint16_t(3) &&
188 <<
"[SiStripEventSummary::" << __func__ <<
"]" 189 <<
" DAQ register contents set to invalid: 0x" 191 << std::setw(8) << std::setfill(
'0') << daq1
198 <<
"[SiStripEventSummary::" << __func__ <<
"]" 199 <<
" Unexpected bit pattern set in DAQ1: 0x" 201 << std::setw(8) << std::setfill(
'0') << daq1
208 uint16_t
run =
static_cast<uint16_t
>( daq1&0xFF );
236 params_[2] = (daq2>>0 )&0xFFFF;
239 params_[3] = (daq2>>0)&0xFFFF0000;
252 <<
"[SiStripEventSummary::" << __func__ <<
"]" 253 <<
" Unexpected commissioning task: " 274 return os <<
"[SiStripEventSummary::" << __func__ <<
"]" << std::endl
275 <<
" isSet : " << std::boolalpha << input.
isSet() << std::noboolalpha << std::endl
276 <<
" Trigger FED id : " << input.
triggerFed() << std::endl
277 <<
" isValid : " << std::boolalpha << input.
valid() << std::noboolalpha << std::endl
279 <<
" Event number : " << input.
event() << std::endl
280 <<
" Bunch crossing : " << input.
bx() << std::endl
283 <<
" Commissioning params : " 284 << input.
params()[0] <<
", " 285 << input.
params()[1] <<
", " 286 << input.
params()[2] <<
", " sistrip::FedReadoutMode fedReadoutMode_
std::ostream & operator<<(std::ostream &os, const SiStripEventSummary &input)
static const uint32_t invalid32_
static const char mlDigis_[]
static const uint16_t valid_
static std::string const input
const std::vector< uint32_t > & params() const
static std::string runType(const sistrip::RunType &)
const sistrip::RunType & runType() const
static std::string apvReadoutMode(const sistrip::ApvReadoutMode &)
const uint32_t & bx() const
sistrip::RunType runType_
const uint32_t & event() const
void commissioningInfo(const uint32_t *const buffer, const uint32_t &event)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
uint16_t triggerFed() const
const sistrip::FedReadoutMode & fedReadoutMode() const
const sistrip::ApvReadoutMode & apvReadoutMode() const
std::vector< uint32_t > params_
static std::string fedReadoutMode(const sistrip::FedReadoutMode &)