Belle II Software development
Ph1bpipeSimHit Class Reference

ClassPh1bpipeSimHit - Geant4 simulated hit for the Ph1bpipe detector. More...

#include <Ph1bpipeSimHit.h>

Inheritance diagram for Ph1bpipeSimHit:

Public Member Functions

 Ph1bpipeSimHit ()
 default constructor for ROOT
 
 Ph1bpipeSimHit (float energyDep, int detNb)
 Standard constructor.
 
float getEnergyDep () const
 Return the energy deposition in electrons.
 
int getdetNb () const
 Return the TPC number.
 

Private Attributes

float m_energyDep
 Deposited energy in electrons.
 
int m_detNb
 pipe number
 

Detailed Description

ClassPh1bpipeSimHit - Geant4 simulated hit for the Ph1bpipe 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 Ph1bpipeSimHit.h.

Constructor & Destructor Documentation

◆ Ph1bpipeSimHit() [1/2]

Ph1bpipeSimHit ( )
inline

default constructor for ROOT

Definition at line 31 of file Ph1bpipeSimHit.h.

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

◆ Ph1bpipeSimHit() [2/2]

Ph1bpipeSimHit ( float  energyDep,
int  detNb 
)
inline

Standard constructor.

Parameters
energyDepDeposited energy in electrons
detNbdetector number

Definition at line 38 of file Ph1bpipeSimHit.h.

38 :
39 m_energyDep(energyDep), m_detNb(detNb) {}

Member Function Documentation

◆ getdetNb()

int getdetNb ( ) const
inline

Return the TPC number.

Definition at line 44 of file Ph1bpipeSimHit.h.

44{ return m_detNb; }

◆ getEnergyDep()

float getEnergyDep ( ) const
inline

Return the energy deposition in electrons.

Definition at line 42 of file Ph1bpipeSimHit.h.

42{ return m_energyDep; }

Member Data Documentation

◆ m_detNb

int m_detNb
private

pipe number

Definition at line 51 of file Ph1bpipeSimHit.h.

◆ m_energyDep

float m_energyDep
private

Deposited energy in electrons.

Definition at line 49 of file Ph1bpipeSimHit.h.


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