Belle II Software development
ECLDsp.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#include <ecl/dataobjects/ECLDsp.h>
10#include <framework/datastore/StoreArray.h>
11
12using namespace Belle2;
13
15{
16 static StoreArray<ECLDsp> ecl_dsp_arr;
17 for (auto& ecl_dsp : ecl_dsp_arr) {
18 if (ecl_dsp.getCellId() == cid) return &ecl_dsp;
19 }
20 return nullptr;
21}
22
Class to store ECL ShaperDSP waveform ADC data.
Definition: ECLDsp.h:25
static ECLDsp * getByCellID(int cid)
Find ECLDsp by Cell ID using linear search.
Definition: ECLDsp.cc:14
Accessor to arrays stored in the data store.
Definition: StoreArray.h:113
Abstract base class for different kinds of events.