Belle II Software development
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
11using namespace std;
12using namespace Belle2;
13
14std::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}
23std::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}
32std::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}
41std::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
std::vector< int > getrow() const
Return row vector.
std::vector< int > m_column
Column.
std::vector< int > m_BCID
BCID.
std::vector< int > getcolumn() const
Return column vector.
std::vector< int > getBCID() const
Return BCID vector.
std::vector< int > getTOT() const
Return TOT vector.
Abstract base class for different kinds of events.
STL namespace.