 |
Belle II Software
release-05-01-25
|
14 #include <simulation/dataobjects/SimHitBase.h>
30 class FANGSSimHit :
public SimHitBase {
45 FANGSSimHit(
int trkID,
int ladder,
int sensor,
int pdg,
float time,
float energyDep,
46 float length,
const float* posEntry,
const float* localposEntry,
47 const float* posExit,
const float* momEntry):
float m_energyDep
Deposited energy in GeV.
float m_posExit[3]
exit position, global coordinates
Class FANGSSimHit - Geant4 simulated hit for the FANGS detector.
const float * getPosEntryArray() const
Return track position as float array.
int m_trkID
Track ID number.
uint8_t m_ladder
Ladder id.
int gettrkID() const
Return track ID.
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
TVector3 getPosExit() const
Return the exit track position.
Class SimHitBase - A common base for subdetector SimHits.
const float * getPosExitArray() const
Return track position as float array.
TVector3 getMomEntry() const
Return the track momentum.
float m_localposEntry[3]
entry position, local coordinates
Abstract base class for different kinds of events.
float m_posEntry[3]
entry position, global coordinates
const float * getMomEntryArray() const
Return track momentum as float array.
int getSensor() const
Return the Sensor number (starting at 1, increasing with decreasing z)
TVector3 getLocalPosEntry() const
Return the local entry track position.
float getEnergyDep() const
Return the energy deposition in electrons.
TVector3 getPosEntry() const
Return the entry track position.
int getLadder() const
Return the Ladder number (starting at 1, increasing with phi)
int getPDG() const
Return the PDG number of the track.
uint8_t m_sensor
Sensor id.
float getTime() const
Return the global time.
float m_length
track length
int m_PDG
PDG number of the track.
float m_momEntry[3]
momentum at entry, global coordinates
FANGSSimHit()
default constructor for ROOT