Belle II Software development
Ph1sustrSimHit Class Reference

ClassPh1sustrSimHit - Geant4 simulated hit for the Ph1sustr detector. More...

#include <Ph1sustrSimHit.h>

Inheritance diagram for Ph1sustrSimHit:

Public Member Functions

 Ph1sustrSimHit ()
 default constructor for ROOT
 
 Ph1sustrSimHit (float energyDep, int detID)
 Standard constructor.
 
float getEnergyDep () const
 Return the energy deposition in electrons.
 
int getdetID () const
 Return the TPC number.
 

Private Attributes

float m_energyDep
 Deposited energy in electrons.
 
int m_detID
 TPC number.
 

Detailed Description

ClassPh1sustrSimHit - Geant4 simulated hit for the Ph1sustr detector.

This class holds particle hit data from geant4 simulation. As the simulated hit classes are used to generate detector response, they contain local information.

Definition at line 28 of file Ph1sustrSimHit.h.

Constructor & Destructor Documentation

◆ Ph1sustrSimHit() [1/2]

Ph1sustrSimHit ( )
inline

default constructor for ROOT

Definition at line 31 of file Ph1sustrSimHit.h.

31: m_energyDep(0), m_detID(0) {}
float m_energyDep
Deposited energy in electrons.
int m_detID
TPC number.

◆ Ph1sustrSimHit() [2/2]

Ph1sustrSimHit ( float  energyDep,
int  detID 
)
inline

Standard constructor.

Parameters
energyDepDeposited energy in electrons
detIDdetector id

Definition at line 38 of file Ph1sustrSimHit.h.

38 :
39 m_energyDep(energyDep), m_detID(detID) {}

Member Function Documentation

◆ getdetID()

int getdetID ( ) const
inline

Return the TPC number.

Definition at line 44 of file Ph1sustrSimHit.h.

44{ return m_detID; }

◆ getEnergyDep()

float getEnergyDep ( ) const
inline

Return the energy deposition in electrons.

Definition at line 42 of file Ph1sustrSimHit.h.

42{ return m_energyDep; }

Member Data Documentation

◆ m_detID

int m_detID
private

TPC number.

Definition at line 51 of file Ph1sustrSimHit.h.

◆ m_energyDep

float m_energyDep
private

Deposited energy in electrons.

Definition at line 49 of file Ph1sustrSimHit.h.


The documentation for this class was generated from the following file: