Belle II Software  release-08-01-10
Ph1bpipeSimHit.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 Ph1bpipeSIMHIT_H
10 #define Ph1bpipeSIMHIT_H
11 
12 // ROOT
13 #include <TObject.h>
14 
15 namespace Belle2 {
28  class Ph1bpipeSimHit : public TObject {
29  public:
32 
33 
38  Ph1bpipeSimHit(float energyDep, int detNb):
39  m_energyDep(energyDep), m_detNb(detNb) {}
40 
42  float getEnergyDep() const { return m_energyDep; }
44  int getdetNb() const { return m_detNb; }
45 
46 
47  private:
49  float m_energyDep;
51  int m_detNb;
52 
53  ClassDef(Ph1bpipeSimHit, 1)
54  };
55 
57 } // end namespace Belle2
58 
59 #endif
ClassPh1bpipeSimHit - Geant4 simulated hit for the Ph1bpipe detector.
float m_energyDep
Deposited energy in electrons.
float getEnergyDep() const
Return the energy deposition in electrons.
int getdetNb() const
Return the TPC number.
int m_detNb
pipe number
Ph1bpipeSimHit()
default constructor for ROOT
Ph1bpipeSimHit(float energyDep, int detNb)
Standard constructor.
Abstract base class for different kinds of events.