 |
Belle II Software
release-05-02-19
|
11 #ifndef MicrotpcSIMHIT_H
12 #define MicrotpcSIMHIT_H
14 #include <simulation/dataobjects/SimHitBase.h>
32 class MicrotpcSimHit :
public SimHitBase {
45 MicrotpcSimHit(
int tkID,
float energyDep,
float energyNiel,
int tkPDG,
float tkKEnergy,
float detNb,
float GlTime,
46 const float* tkPos,
const float* tkMom,
const float* tkMomDir):
50 std::copy(tkPos, tkPos + 3,
m_tkPos);
51 std::copy(tkMom, tkMom + 3,
m_tkMom);
TVector3 gettkMomDir() const
Return the track momentum direction.
const float * gettkPosArray() const
Return track position as float array.
TVector3 gettkMom() const
Return the track momentum.
const float * getrkMomDirArray() const
Return track momentum direction as float array.
TVector3 gettkPos() const
Return the track position.
float getGlTime() const
Return the global time.
float m_tkMom[3]
track momentum
int m_tkPDG
PDG number of the track.
ClassDef(RelationsInterface, 0)
defines interface for accessing relations of objects in StoreArray.
float getEnergyNiel() const
Return the non-ionization energy in electrons.
Class SimHitBase - A common base for subdetector SimHits.
ClassMicrotpcSimHit - Geant4 simulated hit for the Microtpc detector.
float m_GlTime
global time
float m_detNb
detector number
float getEnergyDep() const
Return the energy deposition in electrons.
int gettkID() const
Return track ID.
MicrotpcSimHit()
default constructor for ROOT
float m_energyNiel
Non-ionization energy in electrons.
Abstract base class for different kinds of events.
float getdetNb() const
Return the TPC number.
float m_tkKEnergy
kinetic energy of the track
float m_tkPos[3]
track position
const float * getrkDirArray() const
Return track momentum as float array.
float gettkKEnergy() const
Return the kinetic energy of the track.
float m_energyDep
Deposited energy in electrons.
int gettkPDG() const
Return the PDG number of the track.
float m_tkMomDir[3]
track momentum direction