9#include <ecl/dataobjects/ECLTrig.h>
10#include <framework/datastore/StoreArray.h>
11#include <ecl/mapper/ECLChannelMapper.h>
19 int crate = mapper->getCrateID(cid);
21 if (crate < 1 || crate > 52) {
22 B2FATAL(
"Could not determine crate ID for cid " << cid);
25 for (
auto& ecl_trig : ecl_trig_arr) {
26 if (ecl_trig.getTrigId() == crate)
return &ecl_trig;
Class to store ECLTrig, still need to be study relation to ECLHit filled in ecl/modules/eclDigitizer/...
static ECLTrig * getByCellID(int cid)
Find ECLTrig by Cell ID using linear search.
static ECLChannelMapper * getInstance(bool use_db=true)
Return main instance of ECLChannelMapper.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.