Belle II Software
development
FANGSHit.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 FANGSHIT_H
10
#define FANGSHIT_H
11
12
#include <simulation/dataobjects/SimHitBase.h>
13
14
namespace
Belle2
{
26
class
FANGSHit
:
public
SimHitBase
{
27
public
:
28
//typedef std::vector<unsigned int>::iterator iterator;
29
//typedef std::vector<unsigned int>::const_iterator const_iterator;
30
32
FANGSHit
():
m_column
(0),
m_row
(0),
m_BCID
(0),
m_TOT
(0),
m_detNb
(0),
m_pdg
(0),
m_trkID
(0) {}
33
34
44
FANGSHit
(
int
column,
int
row,
int
BCID,
int
TOT,
int
detNb,
int
pdg,
int
trkID):
45
m_column
(column),
m_row
(row),
m_BCID
(BCID),
m_TOT
(TOT),
m_detNb
(detNb),
m_pdg
(pdg),
m_trkID
(trkID)
46
{
47
}
48
50
int
getcolumn
()
const
{
return
m_column
; }
52
int
getrow
()
const
{
return
m_row
; }
54
int
getBCID
()
const
{
return
m_BCID
; }
56
int
getTOT
()
const
{
return
m_TOT
; }
58
int
getdetNb
()
const
{
return
m_detNb
; }
60
int
getPDG
()
const
{
return
m_pdg
; }
62
int
gettrkID
()
const
{
return
m_trkID
; }
63
64
private
:
65
67
int
m_column
;
69
int
m_row
;
71
int
m_BCID
;
73
int
m_TOT
;
75
int
m_detNb
;
77
int
m_pdg
;
79
int
m_trkID
;
80
81
ClassDef
(
FANGSHit
, 1)
82
};
83
85
}
// end namespace Belle2
86
87
#endif
Belle2::FANGSHit::m_column
int m_column
Column.
Definition
FANGSHit.h:67
Belle2::FANGSHit::FANGSHit
FANGSHit()
default constructor for ROOT
Definition
FANGSHit.h:32
Belle2::FANGSHit::m_trkID
int m_trkID
Particle PDG.
Definition
FANGSHit.h:79
Belle2::FANGSHit::getBCID
int getBCID() const
Return the BCID.
Definition
FANGSHit.h:54
Belle2::FANGSHit::getrow
int getrow() const
Return the row.
Definition
FANGSHit.h:52
Belle2::FANGSHit::m_BCID
int m_BCID
BCID.
Definition
FANGSHit.h:71
Belle2::FANGSHit::m_TOT
int m_TOT
TOT.
Definition
FANGSHit.h:73
Belle2::FANGSHit::m_pdg
int m_pdg
Particle PDG.
Definition
FANGSHit.h:77
Belle2::FANGSHit::getTOT
int getTOT() const
Return the TOT.
Definition
FANGSHit.h:56
Belle2::FANGSHit::getdetNb
int getdetNb() const
Return the TPC number.
Definition
FANGSHit.h:58
Belle2::FANGSHit::m_detNb
int m_detNb
Detector Number.
Definition
FANGSHit.h:75
Belle2::FANGSHit::m_row
int m_row
Row.
Definition
FANGSHit.h:69
Belle2::FANGSHit::FANGSHit
FANGSHit(int column, int row, int BCID, int TOT, int detNb, int pdg, int trkID)
Standard constructor.
Definition
FANGSHit.h:44
Belle2::FANGSHit::getPDG
int getPDG() const
Return the PDG of particles.
Definition
FANGSHit.h:60
Belle2::FANGSHit::getcolumn
int getcolumn() const
Return the column.
Definition
FANGSHit.h:50
Belle2::FANGSHit::gettrkID
int gettrkID() const
Return the track ID.
Definition
FANGSHit.h:62
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
fangs
dataobjects
include
FANGSHit.h
Generated on Mon Sep 1 2025 02:47:31 for Belle II Software by
1.13.2