8 using namespace sistrip;
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 );
235 params_[2] = (daq2>>0 )&0xFFFF;
238 params_[3] = (daq2>>0)&0xFFFF0000;
251 <<
"[SiStripEventSummary::" << __func__ <<
"]"
252 <<
" Unexpected commissioning task: "
273 return os <<
"[SiStripEventSummary::" << __func__ <<
"]" << std::endl
274 <<
" isSet : " << std::boolalpha << input.
isSet() << std::noboolalpha << std::endl
275 <<
" Trigger FED id : " << input.
triggerFed() << std::endl
276 <<
" isValid : " << std::boolalpha << input.
valid() << std::noboolalpha << std::endl
278 <<
" Event number : " << input.
event() << std::endl
279 <<
" Bunch crossing : " << input.
bx() << std::endl
282 <<
" Commissioning params : "
283 << input.
params()[0] <<
", "
284 << input.
params()[1] <<
", "
285 << 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_
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)
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
string key
FastSim: produces sample of signal events, overlayed with premixed minbias events.
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 &)