Belle II Software  release-05-01-25
MicrotpcHit.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 MICROTPCHIT_H
12 #define MICROTPCHIT_H
13 
14 #include <simulation/dataobjects/SimHitBase.h>
15 
16 namespace Belle2 {
28  class MicrotpcHit : public SimHitBase {
29  public:
30  //typedef std::vector<unsigned int>::iterator iterator;
31  //typedef std::vector<unsigned int>::const_iterator const_iterator;
32 
34  //MicrotpcHit(): m_column(0), m_row(0), m_BCID(0), m_TOT(0), m_detNb(0), m_pdg(0) {}
35  //MicrotpcHit(): m_column(0), m_row(0), m_BCID(0), m_TOT(0), m_detNb(0) {}
36  MicrotpcHit(): m_column(0), m_row(0), m_BCID(0), m_TOT(0), m_detNb(0), m_pdg(0), m_trkID(0) {}
37 
41  /*
42  MicrotpcHit(int column, int row, int BCID, int TOT, int detNb, int pdg):
43  m_column(column), m_row(row), m_BCID(BCID), m_TOT(TOT), m_detNb(detNb), m_pdg(pdg)
44  {
45  }
46  */
47  /*
48  MicrotpcHit(int column, int row, int BCID, int TOT, int detNb):
49  m_column(column), m_row(row), m_BCID(BCID), m_TOT(TOT), m_detNb(detNb)
50  {
51  }
52  */
53  MicrotpcHit(int column, int row, int BCID, int TOT, int detNb, int pdg, int trkID):
54  m_column(column), m_row(row), m_BCID(BCID), m_TOT(TOT), m_detNb(detNb), m_pdg(pdg), m_trkID(trkID)
55  {
56  }
57 
59  int getcolumn() const { return m_column; }
61  int getrow() const { return m_row; }
63  int getBCID() const { return m_BCID; }
65  int getTOT() const { return m_TOT; }
67  int getdetNb() const { return m_detNb; }
69  int getPDG() const { return m_pdg; }
71  int gettrkID() const { return m_trkID; }
72 
73  private:
74 
76  int m_column;
78  int m_row;
80  int m_BCID;
82  int m_TOT;
84  int m_detNb;
86  int m_pdg;
88  int m_trkID;
89 
91  };
92 
94 } // end namespace Belle2
95 
96 #endif
Belle2::MicrotpcHit::m_detNb
int m_detNb
Detector Number.
Definition: MicrotpcHit.h:92
Belle2::MicrotpcHit::m_trkID
int m_trkID
Particle PDG.
Definition: MicrotpcHit.h:96
Belle2::MicrotpcHit
ClassMicrotpcHit - digitization simulated hit for the Microtpc detector.
Definition: MicrotpcHit.h:36
Belle2::RelationsInterface::ClassDef
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
Belle2::MicrotpcHit::m_BCID
int m_BCID
BCID.
Definition: MicrotpcHit.h:88
Belle2::MicrotpcHit::gettrkID
int gettrkID() const
Return the track ID.
Definition: MicrotpcHit.h:79
Belle2::MicrotpcHit::MicrotpcHit
MicrotpcHit()
default constructor for ROOT
Definition: MicrotpcHit.h:44
Belle2::MicrotpcHit::m_row
int m_row
Row.
Definition: MicrotpcHit.h:86
Belle2::MicrotpcHit::getPDG
int getPDG() const
Return the PDG of particles.
Definition: MicrotpcHit.h:77
Belle2::MicrotpcHit::getBCID
int getBCID() const
Return the BCID.
Definition: MicrotpcHit.h:71
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::MicrotpcHit::m_TOT
int m_TOT
TOT.
Definition: MicrotpcHit.h:90
Belle2::MicrotpcHit::getdetNb
int getdetNb() const
Return the TPC number.
Definition: MicrotpcHit.h:75
Belle2::MicrotpcHit::m_pdg
int m_pdg
Particle PDG.
Definition: MicrotpcHit.h:94
Belle2::MicrotpcHit::m_column
int m_column
Column.
Definition: MicrotpcHit.h:84
Belle2::MicrotpcHit::getTOT
int getTOT() const
Return the TOT.
Definition: MicrotpcHit.h:73
Belle2::MicrotpcHit::getcolumn
int getcolumn() const
Return the column.
Definition: MicrotpcHit.h:67
Belle2::MicrotpcHit::getrow
int getrow() const
Return the row.
Definition: MicrotpcHit.h:69