Belle II Software  release-05-01-25
Ph1sustrSimHit.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: Martin Ritter, Igal Jaegle *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef Ph1sustrSIMHIT_H
12 #define Ph1sustrSIMHIT_H
13 
14 // ROOT
15 #include <TObject.h>
16 
17 namespace Belle2 {
30  class Ph1sustrSimHit : public TObject {
31  public:
34 
35 
39  Ph1sustrSimHit(float energyDep, int detID):
40  m_energyDep(energyDep), m_detID(detID) {}
41 
43  float getEnergyDep() const { return m_energyDep; }
45  int getdetID() const { return m_detID; }
46 
47 
48  private:
50  float m_energyDep;
52  int m_detID;
53 
54  ClassDef(Ph1sustrSimHit, 1)
55  };
56 
58 } // end namespace Belle2
59 
60 #endif
Belle2::Ph1sustrSimHit::m_energyDep
float m_energyDep
Deposited energy in electrons.
Definition: Ph1sustrSimHit.h:58
Belle2::Ph1sustrSimHit::getEnergyDep
float getEnergyDep() const
Return the energy deposition in electrons.
Definition: Ph1sustrSimHit.h:51
Belle2::Ph1sustrSimHit::getdetID
int getdetID() const
Return the TPC number.
Definition: Ph1sustrSimHit.h:53
Belle2::Ph1sustrSimHit
ClassPh1sustrSimHit - Geant4 simulated hit for the Ph1sustr detector.
Definition: Ph1sustrSimHit.h:38
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::Ph1sustrSimHit::Ph1sustrSimHit
Ph1sustrSimHit()
default constructor for ROOT
Definition: Ph1sustrSimHit.h:41
Belle2::Ph1sustrSimHit::m_detID
int m_detID
TPC number.
Definition: Ph1sustrSimHit.h:60