Belle II Software
development
MicrotpcHit.h
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
#ifndef MICROTPCHIT_H
10
#define MICROTPCHIT_H
11
12
#include <simulation/dataobjects/SimHitBase.h>
13
14
namespace
Belle2
{
26
class
MicrotpcHit
:
public
SimHitBase
{
27
public
:
28
//typedef std::vector<unsigned int>::iterator iterator;
29
//typedef std::vector<unsigned int>::const_iterator const_iterator;
30
32
//MicrotpcHit(): m_column(0), m_row(0), m_BCID(0), m_TOT(0), m_detNb(0), m_pdg(0) {}
33
//MicrotpcHit(): m_column(0), m_row(0), m_BCID(0), m_TOT(0), m_detNb(0) {}
34
MicrotpcHit
():
m_column
(0),
m_row
(0),
m_BCID
(0),
m_TOT
(0),
m_detNb
(0),
m_pdg
(0),
m_trkID
(0) {}
35
45
/*
46
MicrotpcHit(int column, int row, int BCID, int TOT, int detNb, int pdg):
47
m_column(column), m_row(row), m_BCID(BCID), m_TOT(TOT), m_detNb(detNb), m_pdg(pdg)
48
{
49
}
50
*/
51
/*
52
MicrotpcHit(int column, int row, int BCID, int TOT, int detNb):
53
m_column(column), m_row(row), m_BCID(BCID), m_TOT(TOT), m_detNb(detNb)
54
{
55
}
56
*/
57
MicrotpcHit
(
int
column,
int
row,
int
BCID,
int
TOT,
int
detNb,
int
pdg,
int
trkID):
58
m_column
(column),
m_row
(row),
m_BCID
(BCID),
m_TOT
(TOT),
m_detNb
(detNb),
m_pdg
(pdg),
m_trkID
(trkID)
59
{
60
}
61
63
int
getcolumn
()
const
{
return
m_column
; }
65
int
getrow
()
const
{
return
m_row
; }
67
int
getBCID
()
const
{
return
m_BCID
; }
69
int
getTOT
()
const
{
return
m_TOT
; }
71
int
getdetNb
()
const
{
return
m_detNb
; }
73
int
getPDG
()
const
{
return
m_pdg
; }
75
int
gettrkID
()
const
{
return
m_trkID
; }
76
77
private
:
78
80
int
m_column
;
82
int
m_row
;
84
int
m_BCID
;
86
int
m_TOT
;
88
int
m_detNb
;
90
int
m_pdg
;
92
int
m_trkID
;
93
94
ClassDef
(
MicrotpcHit
, 1)
95
};
96
98
}
// end namespace Belle2
99
100
#endif
Belle2::MicrotpcHit::m_column
int m_column
Column.
Definition
MicrotpcHit.h:80
Belle2::MicrotpcHit::m_trkID
int m_trkID
Particle PDG.
Definition
MicrotpcHit.h:92
Belle2::MicrotpcHit::getBCID
int getBCID() const
Return the BCID.
Definition
MicrotpcHit.h:67
Belle2::MicrotpcHit::getrow
int getrow() const
Return the row.
Definition
MicrotpcHit.h:65
Belle2::MicrotpcHit::MicrotpcHit
MicrotpcHit(int column, int row, int BCID, int TOT, int detNb, int pdg, int trkID)
Standard constructor.
Definition
MicrotpcHit.h:57
Belle2::MicrotpcHit::m_BCID
int m_BCID
BCID.
Definition
MicrotpcHit.h:84
Belle2::MicrotpcHit::m_TOT
int m_TOT
TOT.
Definition
MicrotpcHit.h:86
Belle2::MicrotpcHit::m_pdg
int m_pdg
Particle PDG.
Definition
MicrotpcHit.h:90
Belle2::MicrotpcHit::getTOT
int getTOT() const
Return the TOT.
Definition
MicrotpcHit.h:69
Belle2::MicrotpcHit::getdetNb
int getdetNb() const
Return the TPC number.
Definition
MicrotpcHit.h:71
Belle2::MicrotpcHit::m_detNb
int m_detNb
Detector Number.
Definition
MicrotpcHit.h:88
Belle2::MicrotpcHit::m_row
int m_row
Row.
Definition
MicrotpcHit.h:82
Belle2::MicrotpcHit::getPDG
int getPDG() const
Return the PDG of particles.
Definition
MicrotpcHit.h:73
Belle2::MicrotpcHit::getcolumn
int getcolumn() const
Return the column.
Definition
MicrotpcHit.h:63
Belle2::MicrotpcHit::MicrotpcHit
MicrotpcHit()
default constructor for ROOT
Definition
MicrotpcHit.h:34
Belle2::MicrotpcHit::gettrkID
int gettrkID() const
Return the track ID.
Definition
MicrotpcHit.h:75
Belle2::RelationsInterface< TObject >::ClassDef
ClassDef(RelationsInterface, 0)
Belle2::SimHitBase::SimHitBase
SimHitBase()
Constructor.
Definition
SimHitBase.h:33
Belle2
Abstract base class for different kinds of events.
Definition
MillepedeAlgorithm.h:17
beast
microtpc
dataobjects
include
MicrotpcHit.h
Generated on Mon Sep 1 2025 02:47:34 for Belle II Software by
1.13.2