9 using namespace sistrip;
33 const uint32_t&
event ) {
36 uint16_t
run =
static_cast<uint16_t
>( buffer[10] & 0xFFFF );
98 while ( !found && ii < 20 ) {
99 uint32_t dcu = buffer[21+3*
ii];
100 uint32_t
key = buffer[21+3*ii+1];
101 uint32_t evt = buffer[21+3*ii+2];
102 if ( evt == event ) {
113 std::stringstream ss;
114 ss <<
"[SiStripEventSummary::" << __func__ <<
"]"
115 <<
" Did not find DeviceId/DCUid for event "
125 std::stringstream ss;
126 ss <<
"[SiStripEventSummary::" << __func__ <<
"]"
127 <<
" Found DeviceId/DCUid for event "
129 << std::hex << std::setw(8) << std::setfill(
'0') <<
params_[0] << std::dec
131 << std::hex << std::setw(8) << std::setfill(
'0') <<
params_[3] << std::dec;
164 <<
"[SiStripEventSummary::" << __func__ <<
"]"
165 <<
" Unexpected commissioning task: "
179 const uint32_t& daq2 ) {
182 uint16_t
temp =
static_cast<uint16_t
>( (daq1>>8)&0x3 );
183 if ( temp == uint16_t(1) ) {
valid_ =
true; }
184 else if ( temp == uint16_t(2) ) {
valid_ =
false; }
185 else if ( temp == uint16_t(3) &&
189 <<
"[SiStripEventSummary::" << __func__ <<
"]"
190 <<
" DAQ register contents set to invalid: 0x"
192 << std::setw(8) << std::setfill(
'0') << daq1
199 <<
"[SiStripEventSummary::" << __func__ <<
"]"
200 <<
" Unexpected bit pattern set in DAQ1: 0x"
202 << std::setw(8) << std::setfill(
'0') << daq1
209 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_
static const uint32_t invalid32_
static const char mlDigis_[]
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const uint16_t valid_
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)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
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 &)