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