Belle II Software  release-05-01-25
MicrotpcMetaEDataHit.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010-2016 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Igal Jaegle *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #include <beast/microtpc/dataobjects/MicrotpcMetaEDataHit.h>
12 
13 using namespace std;
14 using namespace Belle2;
15 
16 std::vector<int> MicrotpcMetaEDataHit::getcolumn() const
17 {
18  std::vector<int> result;
19  result.reserve(m_column.size());
20  for (int i = 0; i < (int)m_column.size(); i++) {
21  result.emplace_back(m_column[i]);
22  }
23  return result;
24 }
25 std::vector<int> MicrotpcMetaEDataHit::getrow() const
26 {
27  std::vector<int> result;
28  result.reserve(m_row.size());
29  for (int i = 0; i < (int)m_row.size(); i++) {
30  result.emplace_back(m_row[i]);
31  }
32  return result;
33 }
34 std::vector<int> MicrotpcMetaEDataHit::getTOT() const
35 {
36  std::vector<int> result;
37  result.reserve(m_TOT.size());
38  for (int i = 0; i < (int)m_TOT.size(); i++) {
39  result.emplace_back(m_TOT[i]);
40  }
41  return result;
42 }
43 std::vector<int> MicrotpcMetaEDataHit::getBCID() const
44 {
45  std::vector<int> result;
46  result.reserve(m_BCID.size());
47  for (int i = 0; i < (int)m_BCID.size(); i++) {
48  result.emplace_back(m_BCID[i]);
49  }
50  return result;
51 }
52 
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19