Belle II Software  release-08-01-10
MicrotpcMetaEDataHit.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 <beast/microtpc/dataobjects/MicrotpcMetaEDataHit.h>
10 
11 using namespace std;
12 using namespace Belle2;
13 
14 std::vector<int> MicrotpcMetaEDataHit::getcolumn() const
15 {
16  std::vector<int> result;
17  result.reserve(m_column.size());
18  for (int i = 0; i < (int)m_column.size(); i++) {
19  result.emplace_back(m_column[i]);
20  }
21  return result;
22 }
23 std::vector<int> MicrotpcMetaEDataHit::getrow() const
24 {
25  std::vector<int> result;
26  result.reserve(m_row.size());
27  for (int i = 0; i < (int)m_row.size(); i++) {
28  result.emplace_back(m_row[i]);
29  }
30  return result;
31 }
32 std::vector<int> MicrotpcMetaEDataHit::getTOT() const
33 {
34  std::vector<int> result;
35  result.reserve(m_TOT.size());
36  for (int i = 0; i < (int)m_TOT.size(); i++) {
37  result.emplace_back(m_TOT[i]);
38  }
39  return result;
40 }
41 std::vector<int> MicrotpcMetaEDataHit::getBCID() const
42 {
43  std::vector<int> result;
44  result.reserve(m_BCID.size());
45  for (int i = 0; i < (int)m_BCID.size(); i++) {
46  result.emplace_back(m_BCID[i]);
47  }
48  return result;
49 }
50 
Abstract base class for different kinds of events.