8 using namespace rpcrawtodigi;
13 static const int nOrbits = 3564;
16 if (diff > nOrbits/2) diff -= nOrbits;
17 if (diff < -nOrbits/2) diff += nOrbits;
54 Record mask = 0xFF << 8;
57 if (lb1 != lb2)
return false;
63 std::vector<EventRecords>
result;
64 typedef vector<EventRecords>::const_iterator ICR;
65 typedef vector<EventRecords>::iterator IR;
66 for (ICR
id= data.begin(), idEnd = data.end();
id != idEnd; ++
id) {
68 for (IR ir = result.begin(), irEnd = result.end(); ir != irEnd; ++ir) {
70 if (
id->samePartition(
event)) {
72 lbd |=
id->recordCD().data();
77 if (!merged) result.push_back(*
id);
85 std::ostringstream str;
91 for (vector<DataRecord>::const_iterator ie=
theErrors.begin(); ie <
theErrors.end(); ++ie) {
std::string print(const DataRecord::DataRecordType &type) const
const RecordSLD & recordSLD() const
int dataToTriggerDelay() const
void add(const DataRecord &record)
const RecordCD & recordCD() const
std::string print() const
const Data & data() const
std::string print() const
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
static std::vector< EventRecords > mergeRecords(const std::vector< EventRecords > &r)
std::string print() const
std::vector< DataRecord > theErrors
const RecordBX & recordBX() const
std::string print() const
std::string print() const
std::string print() const
bool samePartition(const EventRecords &r) const
char data[epos_bytes_allocation]
DataRecordType type() const
std::string print() const