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