Belle II Software development
CaveSimHit Class Reference

ClassCaveSimHit - Geant4 simulated hit for the Cave detector. More...

#include <CaveSimHit.h>

Inheritance diagram for CaveSimHit:

Public Member Functions

 CaveSimHit ()
 default constructor for ROOT
 
 CaveSimHit (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
 block number
 

Detailed Description

ClassCaveSimHit - Geant4 simulated hit for the Cave 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 CaveSimHit.h.

Constructor & Destructor Documentation

◆ CaveSimHit() [1/2]

CaveSimHit ( )
inline

default constructor for ROOT

Definition at line 31 of file CaveSimHit.h.

31: m_energyDep(0), m_detNb(0) {}
float m_energyDep
Deposited energy in electrons.
Definition: CaveSimHit.h:49
int m_detNb
block number
Definition: CaveSimHit.h:51

◆ CaveSimHit() [2/2]

CaveSimHit ( float  energyDep,
int  detNb 
)
inline

Standard constructor.

Parameters
energyDepDeposited energy in electrons
detNbdetector number

Definition at line 38 of file CaveSimHit.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 CaveSimHit.h.

44{ return m_detNb; }

◆ getEnergyDep()

float getEnergyDep ( ) const
inline

Return the energy deposition in electrons.

Definition at line 42 of file CaveSimHit.h.

42{ return m_energyDep; }

Member Data Documentation

◆ m_detNb

int m_detNb
private

block number

Definition at line 51 of file CaveSimHit.h.

◆ m_energyDep

float m_energyDep
private

Deposited energy in electrons.

Definition at line 49 of file CaveSimHit.h.


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