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
14namespace 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
69 int m_row;
71 int m_BCID;
73 int m_TOT;
77 int m_pdg;
80
82 };
83
85} // end namespace Belle2
86
87#endif
ClassFANGSHit - digitization simulated hit for the FANGS detector.
Definition: FANGSHit.h:26
int m_column
Column.
Definition: FANGSHit.h:67
FANGSHit()
default constructor for ROOT
Definition: FANGSHit.h:32
int m_trkID
Particle PDG.
Definition: FANGSHit.h:79
int getBCID() const
Return the BCID.
Definition: FANGSHit.h:54
int getrow() const
Return the row.
Definition: FANGSHit.h:52
int m_BCID
BCID.
Definition: FANGSHit.h:71
int m_TOT
TOT.
Definition: FANGSHit.h:73
int m_pdg
Particle PDG.
Definition: FANGSHit.h:77
int getTOT() const
Return the TOT.
Definition: FANGSHit.h:56
int getdetNb() const
Return the TPC number.
Definition: FANGSHit.h:58
int m_detNb
Detector Number.
Definition: FANGSHit.h:75
int m_row
Row.
Definition: FANGSHit.h:69
FANGSHit(int column, int row, int BCID, int TOT, int detNb, int pdg, int trkID)
Standard constructor.
Definition: FANGSHit.h:44
int getPDG() const
Return the PDG of particles.
Definition: FANGSHit.h:60
int getcolumn() const
Return the column.
Definition: FANGSHit.h:50
int gettrkID() const
Return the track ID.
Definition: FANGSHit.h:62
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Class SimHitBase - A common base for subdetector SimHits.
Definition: SimHitBase.h:28
Abstract base class for different kinds of events.