Belle II Software
release-05-01-25
FANGSHit.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2010-2011 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
#ifndef FANGSHIT_H
12
#define FANGSHIT_H
13
14
#include <simulation/dataobjects/SimHitBase.h>
15
16
namespace
Belle2
{
28
class
FANGSHit :
public
SimHitBase {
29
public
:
30
//typedef std::vector<unsigned int>::iterator iterator;
31
//typedef std::vector<unsigned int>::const_iterator const_iterator;
32
34
FANGSHit
():
m_column
(0),
m_row
(0),
m_BCID
(0),
m_TOT
(0),
m_detNb
(0),
m_pdg
(0),
m_trkID
(0) {}
35
36
40
FANGSHit
(
int
column,
int
row,
int
BCID,
int
TOT,
int
detNb,
int
pdg,
int
trkID):
41
m_column
(column),
m_row
(row),
m_BCID
(BCID),
m_TOT
(TOT),
m_detNb
(detNb),
m_pdg
(pdg),
m_trkID
(trkID)
42
{
43
}
44
46
int
getcolumn
()
const
{
return
m_column
; }
48
int
getrow
()
const
{
return
m_row
; }
50
int
getBCID
()
const
{
return
m_BCID
; }
52
int
getTOT
()
const
{
return
m_TOT
; }
54
int
getdetNb
()
const
{
return
m_detNb
; }
56
int
getPDG
()
const
{
return
m_pdg
; }
58
int
gettrkID
()
const
{
return
m_trkID
; }
59
60
private
:
61
63
int
m_column
;
65
int
m_row
;
67
int
m_BCID
;
69
int
m_TOT
;
71
int
m_detNb
;
73
int
m_pdg
;
75
int
m_trkID
;
76
77
ClassDef
(
FANGSHit
, 1)
78
};
79
81
}
// end namespace Belle2
82
83
#endif
Belle2::FANGSHit::getdetNb
int getdetNb() const
Return the TPC number.
Definition:
FANGSHit.h:62
Belle2::FANGSHit::gettrkID
int gettrkID() const
Return the track ID.
Definition:
FANGSHit.h:66
Belle2::FANGSHit::FANGSHit
FANGSHit()
default constructor for ROOT
Definition:
FANGSHit.h:42
Belle2::RelationsInterface::ClassDef
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Belle2::FANGSHit::m_TOT
int m_TOT
TOT.
Definition:
FANGSHit.h:77
Belle2::FANGSHit
ClassFANGSHit - digitization simulated hit for the FANGS detector.
Definition:
FANGSHit.h:36
Belle2::FANGSHit::m_BCID
int m_BCID
BCID.
Definition:
FANGSHit.h:75
Belle2::FANGSHit::getrow
int getrow() const
Return the row.
Definition:
FANGSHit.h:56
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::FANGSHit::m_detNb
int m_detNb
Detector Number.
Definition:
FANGSHit.h:79
Belle2::FANGSHit::m_pdg
int m_pdg
Particle PDG.
Definition:
FANGSHit.h:81
Belle2::FANGSHit::m_column
int m_column
Column.
Definition:
FANGSHit.h:71
Belle2::FANGSHit::m_trkID
int m_trkID
Particle PDG.
Definition:
FANGSHit.h:83
Belle2::FANGSHit::getPDG
int getPDG() const
Return the PDG of particles.
Definition:
FANGSHit.h:64
Belle2::FANGSHit::m_row
int m_row
Row.
Definition:
FANGSHit.h:73
Belle2::FANGSHit::getcolumn
int getcolumn() const
Return the column.
Definition:
FANGSHit.h:54
Belle2::FANGSHit::getTOT
int getTOT() const
Return the TOT.
Definition:
FANGSHit.h:60
Belle2::FANGSHit::getBCID
int getBCID() const
Return the BCID.
Definition:
FANGSHit.h:58
beast
fangs
dataobjects
include
FANGSHit.h
Generated on Fri Nov 5 2021 03:47:55 for Belle II Software by
1.8.17